feat: add goto default config

This commit is contained in:
sxyazi 2023-07-24 08:20:06 +08:00
parent 2df2671f3c
commit 3b2d141ca4
No known key found for this signature in database
2 changed files with 9 additions and 0 deletions

View file

@ -68,6 +68,12 @@ keymap = [
# Tasks # Tasks
{ on = [ "w" ], exec = "tasks_show" }, { on = [ "w" ], exec = "tasks_show" },
# Goto
{ on = [ "g", "h" ], exec = "cd ~" },
{ on = [ "g", "c" ], exec = "cd ~/.config" },
{ on = [ "g", "d" ], exec = "cd ~/Downloads" },
{ on = [ "g", "t" ], exec = "cd /tmp" },
] ]
[tasks] [tasks]

View file

@ -16,6 +16,9 @@
- enter: Enter the child directory. - enter: Enter the child directory.
- back: Go back to the previous directory. - back: Go back to the previous directory.
- forward: Go forward to the next directory. - forward: Go forward to the next directory.
- cd: Change the current directory.
- `path`: the path to change to.
### Selection ### Selection