Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Sep 9, 2023
1 parent c981ca5 commit e2fd383
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/preset/keymap.toml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ keymap = [
{ on = [ "g", "<Space>" ], exec = "cd --interactive", desc = "Go to a directory interactively" },

# Help
{ on = [ "?" ], exec = "help", desc = "Open help" },
{ on = [ "~" ], exec = "help", desc = "Open help" },
]

[tasks]
Expand All @@ -131,7 +131,7 @@ keymap = [
{ on = [ "<Enter>" ], exec = "inspect", desc = "Inspect the task" },
{ on = [ "x" ], exec = "cancel", desc = "Cancel the task" },

{ on = [ "?" ], exec = "help", desc = "Open help" }
{ on = [ "~" ], exec = "help", desc = "Open help" }
]

[select]
Expand All @@ -150,7 +150,7 @@ keymap = [
{ on = [ "<Up>" ], exec = "arrow -1", desc = "Move cursor up" },
{ on = [ "<Down>" ], exec = "arrow 1", desc = "Move cursor down" },

{ on = [ "?" ], exec = "help", desc = "Open help" }
{ on = [ "~" ], exec = "help", desc = "Open help" }
]

[input]
Expand Down Expand Up @@ -196,7 +196,7 @@ keymap = [
{ on = [ "<C-r>" ], exec = "redo", desc = "Redo the last operation" },

# Help
{ on = [ "?" ], exec = "help", desc = "Open help" }
{ on = [ "~" ], exec = "help", desc = "Open help" }
]

[help]
Expand Down

0 comments on commit e2fd383

Please sign in to comment.