diff --git a/yazi-config/preset/keymap-default.toml b/yazi-config/preset/keymap-default.toml index 906698ce..45862be5 100644 --- a/yazi-config/preset/keymap-default.toml +++ b/yazi-config/preset/keymap-default.toml @@ -256,14 +256,14 @@ keymap = [ { on = "", run = "forward --end-of-word", desc = "Move forward to the end of the current or next word" }, # Line-wise movement - { on = "0", run = "move bol", desc = "Move to the BOL" }, - { on = "_", run = "move first-char", desc = "Move to the first non-whitespace character" }, - { on = "^", run = "move first-char", desc = "Move to the first non-whitespace character" }, - { on = "$", run = "move eol", desc = "Move to the EOL" }, - { on = "", run = "move first-char", desc = "Move to the BOL" }, - { on = "", run = "move eol", desc = "Move to the EOL" }, - { on = "", run = "move first-char", desc = "Move to the BOL" }, - { on = "", run = "move eol", desc = "Move to the EOL" }, + { on = "0", run = "move bol", desc = "Move to the BOL" }, + { on = "_", run = "move first-char", desc = "Move to the first non-whitespace character" }, + { on = "^", run = "move first-char", desc = "Move to the first non-whitespace character" }, + { on = "$", run = "move eol", desc = "Move to the EOL" }, + { on = "", run = "move first-char", desc = "Move to the BOL" }, + { on = "", run = "move eol", desc = "Move to the EOL" }, + { on = "", run = "move first-char", desc = "Move to the BOL" }, + { on = "", run = "move eol", desc = "Move to the EOL" }, # Delete { on = "", run = "backspace", desc = "Delete the character before the cursor" }, @@ -278,14 +278,14 @@ keymap = [ { on = "", run = "kill forward", desc = "Kill forwards to the end of the current word" }, # Cut/Yank/Paste - { on = "d", run = "delete --cut", desc = "Cut the selected characters" }, - { on = "D", run = [ "delete --cut", "move eol" ], desc = "Cut until the EOL" }, - { on = "c", run = "delete --cut --insert", desc = "Cut the selected characters, and enter insert mode" }, - { on = "C", run = [ "delete --cut --insert", "move eol" ], desc = "Cut until the EOL, and enter insert mode" }, - { on = "x", run = [ "delete --cut", "move 1 --in-operating" ], desc = "Cut the current character" }, - { on = "y", run = "yank", desc = "Copy the selected characters" }, - { on = "p", run = "paste", desc = "Paste the copied characters after the cursor" }, - { on = "P", run = "paste --before", desc = "Paste the copied characters before the cursor" }, + { on = "d", run = "delete --cut", desc = "Cut the selected characters" }, + { on = "D", run = [ "delete --cut", "move eol" ], desc = "Cut until the EOL" }, + { on = "c", run = "delete --cut --insert", desc = "Cut the selected characters, and enter insert mode" }, + { on = "C", run = [ "delete --cut --insert", "move eol" ], desc = "Cut until the EOL, and enter insert mode" }, + { on = "x", run = [ "delete --cut", "move 1 --in-operating" ], desc = "Cut the current character" }, + { on = "y", run = "yank", desc = "Copy the selected characters" }, + { on = "p", run = "paste", desc = "Paste the copied characters after the cursor" }, + { on = "P", run = "paste --before", desc = "Paste the copied characters before the cursor" }, # Undo/Redo { on = "u", run = "undo", desc = "Undo the last operation" },