add delete keymap

This commit is contained in:
grig-iv 2024-02-12 00:25:47 +03:00
parent 4222c0ed45
commit 8786797bfb

View file

@ -230,7 +230,8 @@ keymap = [
{ on = [ "<End>" ], exec = "move 999", desc = "Move to the EOL" }, { on = [ "<End>" ], exec = "move 999", desc = "Move to the EOL" },
# Delete # 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-h>" ], exec = "backspace", desc = "Delete the character before the cursor" },
{ on = [ "<C-d>" ], exec = "backspace --under", desc = "Delete the character under the cursor" }, { on = [ "<C-d>" ], exec = "backspace --under", desc = "Delete the character under the cursor" },