Extend h and l to adjust preview size.
smart-pane.demo.mp4
Copy main.lua to ~/.config/yazi/plugins/smart-pane.yazi/main.lua
Edit your ~/.config/yazi/keymap.toml to change the mapping of your main left/right keys (default h and l).
[[manager.prepend_keymap]]
on   = "h"
run  = 'plugin smart-pane leave'
desc = "Run smart-pane leave"[[manager.prepend_keymap]]
on   = "l"
run  = 'plugin smart-pane enter'
desc = "Run smart-pane enter"Shoutout to sxyazi for creating toggle-pane, which I basically copied for this plugin.
This plugin is MIT-licensed. For more information check the LICENSE file.