From c11369732bd59e26b19ff932e27ad18956e48dfc Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Thu, 21 Nov 2024 13:52:20 +0100 Subject: Update yazi with nice rice --- config/yazi/keymap.toml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'config/yazi/keymap.toml') 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 = "" 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" -- cgit