fixes yazi setup
This commit is contained in:
parent
bb2b0375b7
commit
45b0d44136
9 changed files with 62 additions and 61 deletions
|
|
@ -87,9 +87,4 @@ require("yatline"):setup({
|
|||
},
|
||||
})
|
||||
|
||||
require("fuse-archive"):setup({
|
||||
smart_enter = true,
|
||||
mount_dir = "/tmp",
|
||||
})
|
||||
|
||||
require("git"):setup()
|
||||
|
|
|
|||
|
|
@ -3,17 +3,16 @@ 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 = "b", run = [ "toggle", "arrow next" ], desc = "Toggle the current selection state" },
|
||||
|
||||
{ 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 = ["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" },
|
||||
{ on = ["<Space>", 'c'], desc = "Compress file", run = "plugin ouch" }
|
||||
]
|
||||
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"}
|
||||
{ on = ["c", 'k'], desc = "Send using KDE Connect", run = "plugin kdeconnect-send"}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,42 +1,37 @@
|
|||
[[plugin.deps]]
|
||||
use = "imsi32/yatline"
|
||||
rev = "9328205"
|
||||
hash = "3e51d1fd8a2e481fcfa8eab1251d1c5f"
|
||||
rev = "2ecf715"
|
||||
hash = "38e2ea4703ea606d4eef574e8e8b8fd7"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "yazi-rs/plugins:mount"
|
||||
rev = "5186af7"
|
||||
hash = "5c4d8080367dd2561a18c1cf5a1dd295"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "pirafrank/what-size"
|
||||
rev = "b23e3a4"
|
||||
hash = "98e5f5af3efd3ba8bc2db0720187cc83"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "dawsers/fuse-archive"
|
||||
rev = "a58327c"
|
||||
hash = "6a6d24880ce7666048fb81ad758c48d3"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "KKV9/compress"
|
||||
rev = "60b24af"
|
||||
hash = "ee025be766240cc98e671754ac836da3"
|
||||
rev = "864a021"
|
||||
hash = "dd97eede8e20e59cd2604e8006e470e2"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "yazi-rs/plugins:git"
|
||||
rev = "5186af7"
|
||||
hash = "771f18427fb75fb19990ce602bb322f4"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "grappas/wl-clipboard"
|
||||
rev = "c4edc4f"
|
||||
hash = "51ff959c3c26cb3889589a0f8d394f14"
|
||||
rev = "864a021"
|
||||
hash = "e0ada736ea676c2bbb3ec705a49526ef"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "yazi-rs/plugins:chmod"
|
||||
rev = "5186af7"
|
||||
hash = "f28138c2e11e87962b66d583fef724c3"
|
||||
rev = "864a021"
|
||||
hash = "2f1053f89d1a301a648ab181d0948e38"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "pirafrank/what-size"
|
||||
rev = "f1c6b69"
|
||||
hash = "6e789212eb41d937bab04877ca361099"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "Deepak22903/kdeconnect-send"
|
||||
rev = "ac23a0e"
|
||||
hash = "a1e38696a2ab2c607923b77f85f8058e"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "ndtoan96/ouch"
|
||||
rev = "2496cd9"
|
||||
hash = "5b9dea47776a30946cfbf83232d18fb1"
|
||||
|
||||
[flavor]
|
||||
deps = []
|
||||
|
|
|
|||
|
|
@ -6,3 +6,13 @@ prepend_fetchers = [
|
|||
{ id = "git", name = "*", run = "git" },
|
||||
{ id = "git", name = "*/", run = "git" }
|
||||
]
|
||||
prepend_previewers = [
|
||||
# Archive previewer
|
||||
{ mime = "application/*zip", run = "ouch" },
|
||||
{ mime = "application/x-tar", run = "ouch" },
|
||||
{ mime = "application/x-bzip2", run = "ouch" },
|
||||
{ mime = "application/x-7z-compressed", run = "ouch" },
|
||||
{ mime = "application/x-rar", run = "ouch" },
|
||||
{ mime = "application/x-xz", run = "ouch" },
|
||||
{ mime = "application/xz", run = "ouch" },
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue