A Yazi plugin which like flash.nvim in Neovim, allow use key char to precise selection.
keep mode, when select a dir, it will auto enter and keep in "keyjump" mode.
When select a file or press or select no match, it will leave "keyjump" mode.
2024-02-04.14-14-09.mp4
Normal mode, when select a item, it will auto leave keyjump mode
2024-02-03.12-00-43.mp4
git clone https://github.com/DreamMaoMao/keyjump.yazi.git ~/.config/yazi/plugins/keyjump.yazi
With Powershell
:
if (!(Test-Path $env:APPDATA\yazi\config\plugins\)) {mkdir $env:APPDATA\yazi\config\plugins\}
git clone https://github.com/DreamMaoMao/keyjump.yazi.git $env:APPDATA\yazi\config\plugins\keyjump.yazi
set shortcut key to toggle keyjump mode in ~/.config/yazi/keymap.toml
. for example set i
to toggle keyjump mode
[[manager.prepend_keymap]]
on = [ "i" ]
exec = "plugin keyjump --sync --args=keep"
desc = "Keyjump (Keep mode)"
[[manager.prepend_keymap]]
on = [ "i" ]
exec = "plugin keyjump --sync"
desc = "Keyjump (Normal mode)"
When you see some character(singal character or double character) in left of the entry. Press the key of the character will jump to the corresponding entry