Skip to content

Commit

Permalink
add <Delete> keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
grig-iv committed Feb 11, 2024
1 parent a1dca1a commit 28b02b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yazi-config/preset/keymap.toml
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ keymap = [
{ on = [ "<End>" ], exec = "move 999", desc = "Move to the EOL" },

# Delete
{ on = [ "<Backspace>" ], exec = "backspace", desc = "Delete the character before the cursor" },
{ on = [ "<Backspace>" ], exec = "backspace", desc = "Delete the character before the cursor" },
{ on = [ "<Delete>" ], exec = "backspace --under", desc = "Delete the character under the cursor" },
{ on = [ "<C-h>" ], exec = "backspace", desc = "Delete the character before the cursor" },
{ on = [ "<C-d>" ], exec = "backspace --under", desc = "Delete the character under the cursor" },

Expand Down

0 comments on commit 28b02b4

Please sign in to comment.