Add neovim support

This commit is contained in:
Leon Grünewald 2021-02-15 01:19:18 +01:00
parent 43e1833d57
commit dda7fb4565
2 changed files with 6 additions and 7 deletions

View file

@ -47,12 +47,7 @@ alias dl-wp="curl https://wordpress.org/latest.tar.gz | tar -xzv"
alias gpgcb="xsel --clipboard | sed 's/^ *//g' | gpg2 -d"
if [ -n "$(command -v vimx)" ]; then
if [ -n "$(command -v nvim)" ]; then
alias oldvim='vim'
alias vim='vimx'
fi
if [ -n "$(command -v exa)" ]; then
alias ls='exa'
alias oldls='ls --color=tty'
alias vim='nvim'
fi

View file

@ -14,4 +14,8 @@ cp ./.profile ~
cp ./.gitconfig ~
vim +PlugInstall +qall
if [ -n "$(command -v nvim)" ]; then
nvim +PlugInstall +qall
fi
echo "Done installing configs."