mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
feat: add goto default config
This commit is contained in:
parent
2df2671f3c
commit
3b2d141ca4
2 changed files with 9 additions and 0 deletions
|
|
@ -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]
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue