<C-a> and <Home> should keep the original behavior

This commit is contained in:
sxyazi 2025-01-04 09:38:04 +08:00
parent 8ca43a53df
commit def6a3f4f5
No known key found for this signature in database

View file

@ -260,12 +260,12 @@ keymap = [
# Line-wise movement
{ on = "0", run = "move bol", desc = "Move to the BOL" },
{ on = "$", run = "move eol", desc = "Move to the EOL" },
{ 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 = "<C-a>", run = "move first-char", desc = "Move to the BOL" },
{ on = "<C-a>", run = "move bol", desc = "Move to the BOL" },
{ on = "<C-e>", run = "move eol", desc = "Move to the EOL" },
{ on = "<Home>", run = "move first-char", desc = "Move to the BOL" },
{ on = "<Home>", run = "move bol", desc = "Move to the BOL" },
{ on = "<End>", run = "move eol", desc = "Move to the EOL" },
# Delete