Skip to content

tpsteiner/smart-pane.yazi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

smart-pane.yazi

Extend h and l to adjust preview size.

smart-pane.demo.mp4

Installation and Usage

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.

License

This plugin is MIT-licensed. For more information check the LICENSE file.

About

Yazi file manager plugin to dynamically resize the preview pane while navigating

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages