Add neovim support
This commit is contained in:
parent
43e1833d57
commit
dda7fb4565
2 changed files with 6 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue