diff --git a/general/configs/fish/config.fish b/general/configs/fish/config.fish index 565030c..f28e6ea 100755 --- a/general/configs/fish/config.fish +++ b/general/configs/fish/config.fish @@ -2,7 +2,7 @@ alias ls='ls -l --color' alias ll='ls -la --color' alias v='nvim' alias c='clear' -alias z='zathura-sandbox' +alias zs='zathura-sandbox' alias bt='bashtop' alias vicfg='cd ~/.config/nvim/ && nvim' alias fm='thunar .' @@ -34,7 +34,8 @@ function y rm -f -- "$tmp" end -[ -f /usr/share/autojump/autojump.fish ]; and source /usr/share/autojump/autojump.fish +zoxide init --cmd j fish | source +# [ -f /usr/share/autojump/autojump.fish ]; and source /usr/share/autojump/autojump.fish if status is-interactive function fish_prompt diff --git a/general/configs/yazi/keymap.toml b/general/configs/yazi/keymap.toml index 44f3a19..46f2a92 100644 --- a/general/configs/yazi/keymap.toml +++ b/general/configs/yazi/keymap.toml @@ -4,7 +4,7 @@ prepend_keymap = [ # # undo trash # { on = "u", run = "plugin restore", desc = "Restore last deleted files/folders" }, # # compress - # { on = "C", run = "plugin ouch --args=zip", desc = "Compress with ouch" }, + { on = "C", run = "plugin ouch", desc = "Compress with ouch" }, # Goto { on = [ "g", "h" ], run = "cd ~", desc = "Go to ~" }, { on = [ "g", "c", "c" ], run = "cd ~/.config", desc = "Go to ~/.config" }, diff --git a/general/configs/yazi/yazi.toml b/general/configs/yazi/yazi.toml new file mode 100644 index 0000000..0225ecd --- /dev/null +++ b/general/configs/yazi/yazi.toml @@ -0,0 +1,10 @@ +[plugin] +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" }, +]