diff --git a/_src.posix/private_dot_config/sz.env/aliases.env.tmpl b/_src.posix/private_dot_config/sz.env/aliases.env.tmpl index ba9abca..18b954d 100644 --- a/_src.posix/private_dot_config/sz.env/aliases.env.tmpl +++ b/_src.posix/private_dot_config/sz.env/aliases.env.tmpl @@ -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 ' +