Add pager configuration

This commit is contained in:
Lockszmith (@kateryna) 2025-04-03 22:01:52 -04:00
parent 0cb7475cf2
commit 019cfbaf1c
1 changed files with 12 additions and 2 deletions

View File

@ -14,11 +14,21 @@ alias lu='l -U '
alias sudo='sudo '
is_cmd ov \
&& alias less="ov " \
&& export PAGER=ov
is_cmd moar \
&& alias less="moar " \
&& export PAGER=moar
is_cmd nvim \
&& export VISUAL="nvim" EDITOR="nvim" \
&& alias nvim='POSTFIX_BUITINS=1 command nvim -p ' \
|| alias nvim='POSTFIX_BUITINS=1 command vim -p '
|| export VISUAL="vim" EDITOR="vim"
alias nvim="POSTFIX_BUITINS=1 command $EDITOR -p "
alias vi='nvim '
alias vim='nvim '
alias nvimdiff='nvim -d '
alias vimdiff='nvimdiff '