diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2024-11-21 13:52:20 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2024-11-21 13:52:20 +0100 |
| commit | c11369732bd59e26b19ff932e27ad18956e48dfc (patch) | |
| tree | 0d54fc1d694c8d9f319d9f9552485c115fe68ac5 /config/yazi/keymap.toml | |
| parent | 1cb65f44bc813fa4e4b24d518714736761f7e544 (diff) | |
| download | dotfiles-c11369732bd59e26b19ff932e27ad18956e48dfc.tar.gz dotfiles-c11369732bd59e26b19ff932e27ad18956e48dfc.tar.bz2 dotfiles-c11369732bd59e26b19ff932e27ad18956e48dfc.zip | |
Update yazi with nice rice
Diffstat (limited to 'config/yazi/keymap.toml')
| -rw-r--r-- | config/yazi/keymap.toml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/config/yazi/keymap.toml b/config/yazi/keymap.toml index 8f3ca8a..7ab5ee7 100644 --- a/config/yazi/keymap.toml +++ b/config/yazi/keymap.toml @@ -2,14 +2,21 @@ [[manager.prepend_keymap]] on = "<C-n>" run = ''' - shell 'dragon-drop -x -i -T "$1"' --confirm + shell 'dragon-drop --and-exit --on-top "$@"' --confirm ''' desc = "Open the drag and drop utility" + [[manager.prepend_keymap]] on = "!" run = 'shell "$SHELL" --block --confirm' desc = "Open shell in the current directory" + [[manager.prepend_keymap]] on = ["g", "d"] run = 'cd ~/dl' desc = "Open ~/dl" + +[[manager.prepend_keymap]] +on = "l" +run = 'plugin --sync smart-enter' +desc = "Enter the child directory, or open the file" |
