diff --git a/bash/.bash_aliases b/bash/.bash_aliases index d2d4fdd..0b77ee1 100644 --- a/bash/.bash_aliases +++ b/bash/.bash_aliases @@ -33,6 +33,7 @@ alias ra='rg --no-ignore -.' alias ee='exit' alias ffprobe='ffprobe -hide_banner' alias shm='cd /dev/shm' +alias ip='ip -color' # =================================================================== @@ -109,7 +110,7 @@ fi # nVim if command -v nvim &> /dev/null; then alias vi='nvim' vih='nvim +Rooter' - alias vit='nvim +"tnoremap " +startinsert +terminal ' + alias vit='nvim +startinsert +terminal ' elif command -v vim &> /dev/null; then alias vi='vim' vih='vim +Rooter' fi diff --git a/bash/.bash_env b/bash/.bash_env index 3433d25..0873f59 100644 --- a/bash/.bash_env +++ b/bash/.bash_env @@ -57,11 +57,7 @@ export MANWIDTH=90 export GIT_PAGER='' # Vim can't properly read git-diff colors if [[ "$(uname -s)" == "Linux" ]] && command -v nvim &>/dev/null; then - export PAGER="/bin/sh -c \"unset PAGER;col -b -x | \ - nvim -R -c 'set ft=man nomod nolist' -c 'map q :q' \ - -c 'silent! %s/\v[0-9]+;[0-9];[0-9]+;[0-9]+;[0-9]+m//g' \ - -c 'silent! %s/0m//g' \ - -c 'nmap K :Man =expand(\\\"\\\")' -\"" + export MANPAGER='nvim +Man!' fi # Config =============================================================