include keymap.toml
This commit is contained in:
parent
89d76f4520
commit
818baa19e0
1 changed files with 108 additions and 0 deletions
108
.config/yazi/keymap.toml
Normal file
108
.config/yazi/keymap.toml
Normal file
|
@ -0,0 +1,108 @@
|
|||
[[manager.prepend_keymap]]
|
||||
on = "!"
|
||||
run = 'shell "$SHELL" --block'
|
||||
desc = "Open shell here"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = "T"
|
||||
run = "plugin toggle-pane min-preview"
|
||||
desc = "Show or hide the preview pane"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = [ "g", "d" ]
|
||||
run = "cd /mnt/M2/Downloads"
|
||||
desc = "Downloads"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = [ "g", "b" ]
|
||||
run = "cd /mnt/Backups"
|
||||
desc = "Backups"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = [ "g", "v" ]
|
||||
run = "cd /media/Games"
|
||||
desc = "Games"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = [ "g", "s" ]
|
||||
run = "cd /mnt/SSD"
|
||||
desc = "SSD"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = [ "g", "m" ]
|
||||
run = "cd /mnt/M2"
|
||||
desc = "M2"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = [ "g", "n" ]
|
||||
run = "cd /mnt/M2/Nextcloud"
|
||||
desc = "Nextcloud"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = [ "g", "r" ]
|
||||
run = "cd /run/media"
|
||||
desc = "Media"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = [ "g", "a" ]
|
||||
run = "cd /mnt/M2/Downloads/AUR"
|
||||
desc = "AUR"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = [ "g", "!" ]
|
||||
run = "cd ~/.bin/sh"
|
||||
desc = "Scripts"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = [ "g", "t" ]
|
||||
run = "cd ~/.local/share/Trash/files"
|
||||
desc = "Trash"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = [ "g", "y" ]
|
||||
run = "cd ~/Sync"
|
||||
desc = "Sync"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = [ "c", "m" ]
|
||||
run = "plugin chmod"
|
||||
desc = "Chmod on selected files"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = ["C"]
|
||||
run = "plugin ouch"
|
||||
desc = "Compress with ouch"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = "2"
|
||||
run = "plugin smart-switch 1"
|
||||
desc = "Switch or create tab 2"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = "3"
|
||||
run = "plugin smart-switch 2"
|
||||
desc = "Switch or create tab 3"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = "4"
|
||||
run = "plugin smart-switch 3"
|
||||
desc = "Switch or create tab 4"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = "5"
|
||||
run = "plugin smart-switch 4"
|
||||
desc = "Switch or create tab 5"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = "t"
|
||||
run = "plugin smart-tab"
|
||||
desc = "Create a tab and enter the hovered directory"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = [ "g", "R" ]
|
||||
run = 'shell -- ya emit cd "$(git rev-parse --show-toplevel)"'
|
||||
desc = "Repo root"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = "q"
|
||||
run = "plugin confirm-quit"
|
Loading…
Add table
Add a link
Reference in a new issue