Improve Zathura, move to zoxide, add yazi plugins

This commit is contained in:
Janis Hutz 2025-04-02 11:08:15 +02:00
parent 97c49f17e6
commit c52c5b5a42
3 changed files with 14 additions and 3 deletions

View File

@ -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

View File

@ -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" },

View File

@ -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" },
]