feat: add gg, G to the navigation section

This commit is contained in:
sxyazi 2023-09-18 07:02:43 +08:00
parent a5949c5cb5
commit c540542da4
No known key found for this signature in database

View File

@ -27,6 +27,9 @@ keymap = [
{ on = [ "<Left>" ], exec = "leave", desc = "Go back to the parent directory" }, { on = [ "<Left>" ], exec = "leave", desc = "Go back to the parent directory" },
{ on = [ "<Right>" ], exec = "enter", desc = "Enter the child directory" }, { on = [ "<Right>" ], exec = "enter", desc = "Enter the child directory" },
{ on = [ "g", "g" ], exec = "arrow -99999999", desc = "Move cursor to the top" },
{ on = [ "G" ], exec = "arrow 99999999", desc = "Move cursor to the bottom" },
# Selection # Selection
{ on = [ "<Space>" ], exec = [ "select --state=none", "arrow 1" ], desc = "Toggle the current selection state" }, { on = [ "<Space>" ], exec = [ "select --state=none", "arrow 1" ], desc = "Toggle the current selection state" },
{ on = [ "v" ], exec = "visual_mode", desc = "Enter visual mode (selection mode)" }, { on = [ "v" ], exec = "visual_mode", desc = "Enter visual mode (selection mode)" },