Skip to content

tpsteiner/smart-pane

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

smart-pane.yazi

Extend h and l to adjust preview size.

smart-pane.demo.mp4

Pressing l on a file progressively hides the parent panel, then the current panel, maximizing the preview. Pressing h restores them. Pressing l on a directory enters it as normal.

Installation

ya pkg add tpsteiner/smart-pane

Usage

Add to your ~/.config/yazi/keymap.toml:

[[mgr.prepend_keymap]]
on  = "h"
run = "plugin smart-pane leave"
desc = "Smart leave"

[[mgr.prepend_keymap]]
on  = "l"
run = "plugin smart-pane enter"
desc = "Smart enter"

License

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

Shoutout to sxyazi for creating toggle-pane, which this plugin is based on.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages