Updated yazi config

This commit is contained in:
2026-06-02 10:02:50 +01:00
parent a68eeead4b
commit 2518de3c92
6 changed files with 19 additions and 16 deletions
+6
View File
@@ -46,3 +46,9 @@
[submodule "dot_config/noctalia/plugins-custom/workday-progress"]
path = dot_config/noctalia/plugins-custom/workday-progress
url = https://github.com/Cian-H/workday-progress
[submodule "dot_config/yazi/plugins/clipboard.yazi"]
path = dot_config/yazi/plugins/clipboard.yazi
url = https://github.com/XYenon/clipboard.yazi.git
[submodule "dot_config/yazi/plugins/yazi-rs-plugins"]
path = dot_config/yazi/plugins/yazi-rs-plugins
url = https://github.com/yazi-rs/plugins.git
+3 -14
View File
@@ -250,7 +250,7 @@ keymap = [
{ on = "}", run = "tab_swap 1", desc = "Swap current tab with next tab" },
# Tasks
{ on = "w", run = "tasks_show", desc = "Show task manager" },
{ on = "w", run = "tasks:show", desc = "Show task manager" },
# Help
{ on = "~", run = "help", desc = "Open help" },
@@ -477,14 +477,14 @@ keymap = [
{ on = "<F1>", run = "help", desc = "Open help" },
]
[completion]
[cmp]
keymap = [
{ on = "<A-c>", run = "close", desc = "Cancel completion" },
{ on = "<Tab>", run = "close --submit", desc = "Submit the completion" },
{ on = "<Enter>", run = [
"close --submit",
"close_input --submit",
"input:close --submit",
], desc = "Submit the completion and input" },
{ on = "<A-k>", run = "arrow -1", desc = "Move cursor up" },
@@ -530,18 +530,7 @@ on = "T"
run = "plugin --sync max-preview"
desc = "Maximize or restore preview"
[[mgr.prepend_keymap]]
on = "<C-y>"
run = ["plugin wl-clipboard"]
desc = "Yank to wl-clipboard"
[[mgr.prepend_keymap]]
on = ["C"]
run = "plugin ouch"
desc = "Compress with ouch"
[opener]
extract = [
{ run = 'ouch d -y "%*"', desc = "Extract here with ouch", for = "windows" },
{ run = 'ouch d -y "$@"', desc = "Extract here with ouch", for = "unix" },
]
+1
View File
@@ -0,0 +1 @@
yazi-rs-plugins/piper.yazi
+7 -2
View File
@@ -1,10 +1,15 @@
[opener]
extract = [
{ run = 'ouch d -y "%*"', desc = "Extract here with ouch", for = "windows" },
{ run = 'ouch d -y "$@"', desc = "Extract here with ouch", for = "unix" },
]
[plugin]
prepend_previewers = [
{ url = "*.md", run = "glow" },
{ url = "*.md", run = "piper -- CLICOLOR_FORCE=1 glow -w=$w -s=dark \"$1\"" },
{ url = "*.bin", run = "hexyl" },
]
append_previewers = [
{ url = "*.md", run = "glow" },
{ url = "*.csv", run = "rich-preview" },
{ url = "*.rst", run = "rich-preview" },
{ url = "*.ipynb", run = "rich-preview" },