mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
Use XDG spec for goto navigation.
This commit is contained in:
parent
0baccdc9aa
commit
d92e0b15dc
1 changed files with 4 additions and 4 deletions
|
|
@ -121,10 +121,10 @@ keymap = [
|
|||
{ on = [ ",", "r" ], run = "sort random --reverse=no", desc = "Sort randomly" },
|
||||
|
||||
# Goto
|
||||
{ on = [ "g", "h" ], run = "cd ~", desc = "Go home" },
|
||||
{ on = [ "g", "c" ], run = "cd ~/.config", desc = "Goto ~/.config" },
|
||||
{ on = [ "g", "d" ], run = "cd ~/Downloads", desc = "Goto ~/Downloads" },
|
||||
{ on = [ "g", "<Space>" ], run = "cd --interactive", desc = "Jump interactively" },
|
||||
{ on = [ "g", "h" ], run = "cd ~", desc = "Go home" },
|
||||
{ on = [ "g", "c" ], run = "cd $XDG_CONFIG_HOME", desc = "Goto to configs" },
|
||||
{ on = [ "g", "d" ], run = "cd $XDG_DOWNLOAD_DIR", desc = "Goto to downloads" },
|
||||
{ on = [ "g", "<Space>" ], run = "cd --interactive", desc = "Jump interactively" },
|
||||
|
||||
# Tabs
|
||||
{ on = "t", run = "tab_create --current", desc = "Create a new tab with CWD" },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue