mirror of
https://github.com/Cian-H/dotfiles.git
synced 2026-06-10 06:59:51 +01:00
Updated yazi config
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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" },
|
||||
]
|
||||
|
||||
Submodule
+1
Submodule dot_config/yazi/plugins/clipboard.yazi added at 0ac03203a8
+1
@@ -0,0 +1 @@
|
||||
yazi-rs-plugins/piper.yazi
|
||||
Submodule
+1
Submodule dot_config/yazi/plugins/yazi-rs-plugins added at 598cdb6714
@@ -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" },
|
||||
|
||||
Reference in New Issue
Block a user