Improve Zathura, move to zoxide, add yazi plugins
This commit is contained in:
parent
97c49f17e6
commit
c52c5b5a42
@ -2,7 +2,7 @@ alias ls='ls -l --color'
|
|||||||
alias ll='ls -la --color'
|
alias ll='ls -la --color'
|
||||||
alias v='nvim'
|
alias v='nvim'
|
||||||
alias c='clear'
|
alias c='clear'
|
||||||
alias z='zathura-sandbox'
|
alias zs='zathura-sandbox'
|
||||||
alias bt='bashtop'
|
alias bt='bashtop'
|
||||||
alias vicfg='cd ~/.config/nvim/ && nvim'
|
alias vicfg='cd ~/.config/nvim/ && nvim'
|
||||||
alias fm='thunar .'
|
alias fm='thunar .'
|
||||||
@ -34,7 +34,8 @@ function y
|
|||||||
rm -f -- "$tmp"
|
rm -f -- "$tmp"
|
||||||
end
|
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
|
if status is-interactive
|
||||||
function fish_prompt
|
function fish_prompt
|
||||||
|
@ -4,7 +4,7 @@ prepend_keymap = [
|
|||||||
# # undo trash
|
# # undo trash
|
||||||
# { on = "u", run = "plugin restore", desc = "Restore last deleted files/folders" },
|
# { on = "u", run = "plugin restore", desc = "Restore last deleted files/folders" },
|
||||||
# # compress
|
# # compress
|
||||||
# { on = "C", run = "plugin ouch --args=zip", desc = "Compress with ouch" },
|
{ on = "C", run = "plugin ouch", desc = "Compress with ouch" },
|
||||||
# Goto
|
# Goto
|
||||||
{ on = [ "g", "h" ], run = "cd ~", desc = "Go to ~" },
|
{ on = [ "g", "h" ], run = "cd ~", desc = "Go to ~" },
|
||||||
{ on = [ "g", "c", "c" ], run = "cd ~/.config", desc = "Go to ~/.config" },
|
{ on = [ "g", "c", "c" ], run = "cd ~/.config", desc = "Go to ~/.config" },
|
||||||
|
10
general/configs/yazi/yazi.toml
Normal file
10
general/configs/yazi/yazi.toml
Normal 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" },
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user