From 0ff86594168054b6c0b130e56c5e8ced440bcdb5 Mon Sep 17 00:00:00 2001 From: sxyazi Date: Sat, 15 Mar 2025 17:39:43 +0800 Subject: [PATCH] .. --- yazi-config/preset/keymap-default.toml | 52 +++++++++++++------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/yazi-config/preset/keymap-default.toml b/yazi-config/preset/keymap-default.toml index f8e87469..e9f00f81 100644 --- a/yazi-config/preset/keymap-default.toml +++ b/yazi-config/preset/keymap-default.toml @@ -8,16 +8,16 @@ keymap = [ { on = "", run = "escape", desc = "Exit visual mode, clear selection, or cancel search" }, { on = "", run = "escape", desc = "Exit visual mode, clear selection, or cancel search" }, { on = "q", run = "quit", desc = "Quit the process" }, - { on = "Q", run = "quit --no-cwd-file", desc = "Quit the process without outputting cwd-file" }, + { on = "Q", run = "quit --no-cwd-file", desc = "Quit without outputting cwd-file" }, { on = "", run = "close", desc = "Close the current tab, or quit if it's last" }, { on = "", run = "suspend", desc = "Suspend the process" }, # Hopping - { on = "k", run = "arrow prev", desc = "Move cursor to the previous file" }, - { on = "j", run = "arrow next", desc = "Move cursor to the next file" }, + { on = "k", run = "arrow prev", desc = "Go to previous file" }, + { on = "j", run = "arrow next", desc = "Go to next file" }, - { on = "", run = "arrow prev", desc = "Move cursor to the previous file" }, - { on = "", run = "arrow next", desc = "Move cursor to the next file" }, + { on = "", run = "arrow prev", desc = "Go to previous file" }, + { on = "", run = "arrow next", desc = "Go to next file" }, { on = "", run = "arrow -50%", desc = "Move cursor up half page" }, { on = "", run = "arrow 50%", desc = "Move cursor down half page" }, @@ -39,8 +39,8 @@ keymap = [ { on = "", run = "leave", desc = "Go back to the parent directory" }, { on = "", run = "enter", desc = "Enter the child directory" }, - { on = "H", run = "back", desc = "Go back to the previous directory" }, - { on = "L", run = "forward", desc = "Go forward to the next directory" }, + { on = "H", run = "back", desc = "Back to previous directory" }, + { on = "L", run = "forward", desc = "Forward to next directory" }, # Toggle { on = "", run = [ "toggle", "arrow next" ], desc = "Toggle the current selection state" }, @@ -105,8 +105,8 @@ keymap = [ # Find { on = "/", run = "find --smart", desc = "Find next file" }, { on = "?", run = "find --previous --smart", desc = "Find previous file" }, - { on = "n", run = "find_arrow", desc = "Goto the next found" }, - { on = "N", run = "find_arrow --previous", desc = "Goto the previous found" }, + { on = "n", run = "find_arrow", desc = "Go to next found" }, + { on = "N", run = "find_arrow --previous", desc = "Go to previous found" }, # Sorting { on = [ ",", "m" ], run = [ "sort mtime --reverse=no", "linemode mtime" ], desc = "Sort by modified time" }, @@ -125,25 +125,25 @@ keymap = [ # Goto { on = [ "g", "h" ], run = "cd ~", desc = "Go home" }, - { on = [ "g", "c" ], run = "cd ~/.config", desc = "Goto ~/.config" }, - { on = [ "g", "d" ], run = "cd ~/Downloads", desc = "Goto ~/Downloads" }, + { on = [ "g", "c" ], run = "cd ~/.config", desc = "Go ~/.config" }, + { on = [ "g", "d" ], run = "cd ~/Downloads", desc = "Go ~/Downloads" }, { on = [ "g", "" ], run = "cd --interactive", desc = "Jump interactively" }, # Tabs { on = "t", run = "tab_create --current", desc = "Create a new tab with CWD" }, - { on = "1", run = "tab_switch 0", desc = "Switch to the first tab" }, - { on = "2", run = "tab_switch 1", desc = "Switch to the second tab" }, - { on = "3", run = "tab_switch 2", desc = "Switch to the third tab" }, - { on = "4", run = "tab_switch 3", desc = "Switch to the fourth tab" }, - { on = "5", run = "tab_switch 4", desc = "Switch to the fifth tab" }, - { on = "6", run = "tab_switch 5", desc = "Switch to the sixth tab" }, - { on = "7", run = "tab_switch 6", desc = "Switch to the seventh tab" }, - { on = "8", run = "tab_switch 7", desc = "Switch to the eighth tab" }, - { on = "9", run = "tab_switch 8", desc = "Switch to the ninth tab" }, + { on = "1", run = "tab_switch 0", desc = "Switch to first tab" }, + { on = "2", run = "tab_switch 1", desc = "Switch to second tab" }, + { on = "3", run = "tab_switch 2", desc = "Switch to third tab" }, + { on = "4", run = "tab_switch 3", desc = "Switch to fourth tab" }, + { on = "5", run = "tab_switch 4", desc = "Switch to fifth tab" }, + { on = "6", run = "tab_switch 5", desc = "Switch to sixth tab" }, + { on = "7", run = "tab_switch 6", desc = "Switch to seventh tab" }, + { on = "8", run = "tab_switch 7", desc = "Switch to eighth tab" }, + { on = "9", run = "tab_switch 8", desc = "Switch to ninth tab" }, - { on = "[", run = "tab_switch -1 --relative", desc = "Switch to the previous tab" }, - { on = "]", run = "tab_switch 1 --relative", desc = "Switch to the next tab" }, + { on = "[", run = "tab_switch -1 --relative", desc = "Switch to previous tab" }, + { on = "]", run = "tab_switch 1 --relative", desc = "Switch to next tab" }, { on = "{", run = "tab_swap -1", desc = "Swap current tab with previous tab" }, { on = "}", run = "tab_swap 1", desc = "Swap current tab with next tab" }, @@ -188,13 +188,13 @@ keymap = [ { on = "k", run = "arrow -1", desc = "Move cursor up" }, { on = "j", run = "arrow 1", desc = "Move cursor down" }, - { on = "h", run = "swipe -1", desc = "Swipe to the previous file" }, - { on = "l", run = "swipe 1", desc = "Swipe to the next file" }, + { on = "h", run = "swipe -1", desc = "Swipe to previous file" }, + { on = "l", run = "swipe 1", desc = "Swipe to next file" }, { on = "", run = "arrow -1", desc = "Move cursor up" }, { on = "", run = "arrow 1", desc = "Move cursor down" }, - { on = "", run = "swipe -1", desc = "Swipe to the next file" }, - { on = "", run = "swipe 1", desc = "Swipe to the previous file" }, + { on = "", run = "swipe -1", desc = "Swipe to next file" }, + { on = "", run = "swipe 1", desc = "Swipe to previous file" }, # Copy { on = [ "c", "c" ], run = "copy cell", desc = "Copy selected cell" },