Add nvim
This commit is contained in:
parent
b6600e1bc5
commit
c8c9b2b8a0
2 changed files with 7 additions and 0 deletions
|
@ -41,6 +41,10 @@ alias l='ls -CF'
|
|||
alias envactivate='source .env/bin/activate'
|
||||
alias visudo='export EDITOR=$EDITOR && sudo -E visudo'
|
||||
|
||||
if [ -x /usr/bin/nvim ]; then
|
||||
alias vim='nvim'
|
||||
fi
|
||||
|
||||
# For common errors
|
||||
alias :q=' exit'
|
||||
alias :x=' exit'
|
||||
|
|
3
dotfiles/vim/init.vim
Normal file
3
dotfiles/vim/init.vim
Normal file
|
@ -0,0 +1,3 @@
|
|||
set runtimepath^=~/.vim runtimepath+=~/.vim/after
|
||||
let &packpath = &runtimepath
|
||||
source ~/.vimrc
|
Loading…
Add table
Reference in a new issue