mirror of
https://github.com/arcan1s/dotfiles.git
synced 2025-07-16 23:29:57 +00:00
fix links because exception capturing is not allowed in exante
add highlighting add vimpager
This commit is contained in:
14
zsh/use-vimpager
Normal file
14
zsh/use-vimpager
Normal file
@ -0,0 +1,14 @@
|
||||
# use vimcat instead of cat
|
||||
# till vimpager doesn't use pipe disable it
|
||||
#alias cat='vimcat'
|
||||
|
||||
# use vimpager instead of less
|
||||
# find vimpager
|
||||
if which vimpager &> /dev/null; then
|
||||
export PAGER="vimpager"
|
||||
else
|
||||
export PAGER="$HOME/.zsh/vimpager"
|
||||
fi
|
||||
alias less="$PAGER"
|
||||
alias zless="$PAGER"
|
||||
|
Reference in New Issue
Block a user