Adds yazi

This commit is contained in:
Michel Fedde 2025-02-23 22:36:48 +01:00
parent 9c0d6169ec
commit 04e5f213d4
6 changed files with 158 additions and 1 deletions

View file

@ -1,9 +1,19 @@
[manager]
prepend_keymap = [
{ on = [ "<Space>", "m" ], run = "plugin mount", desc = "Displays mount dialog"},
{ on = [ "<Space>", 's'], run = "plugin what-size", desc = "Calc size of selection or cwd" },
{ on = [ "<Space>", '<S-s>'], run = "plugin what-size --args='--clipboard'", desc = "Calc size of selection or cwd" },
{ on = ["<Space>", 'c'], desc = "Archive selected files", run = "plugin compress"},
{ on = ["<Space>", "<Space>"], desc = "Jump with zoxide", run = "plugin zoxide" },
{ on = "<S-l>", desc = "Move to the tab on the left", run = "tab_switch 1 --relative" },
{ on = "<S-h>", desc = "Move to the tab on the right", run = "tab_switch -1 --relative" },
{ on = ["<Space>", 'z'], desc = "Zip the selected files", run = "shell '7z a .zip \"$@\"' --interactive --cursor=5"}
{ on = ["c", 'm'], desc = "Change file mod", run = "plugin chmod"},
{ on = [ "l" ], run = "plugin fuse-archive mount", desc = "Enter or Mount selected archive" },
{ on = [ "h" ], run = "plugin fuse-archive unmount", desc = "Leave or Unmount selected archive" },
]
append_keymap = [
{ on = ['c', 'v'], desc = "Drag selected files", run = "shell 'blobdrop -b \"$@\"'" },
{ on = ['c', 'y'], desc = "Copy file/files to wl-clipboard", run = "plugin wl-clipboard"}
]