Try out nvim again

This commit is contained in:
Andrew Tomaka 2022-09-14 19:57:15 -04:00
parent 6d8aa31c95
commit 3a7a94ed34
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
5 changed files with 12 additions and 2 deletions

2
.gitignore vendored
View file

@ -5,3 +5,5 @@ zsh/.config/zsh/.zcompdump
zsh/.config/zsh/.zsh_history
zsh/.config/zsh/.zsh_sessions
vim/.config/vim/undo
nvim/.config/nvim/undo

View file

@ -128,7 +128,7 @@ main() {
;;
esac
stow alacritty bin git ruby tmux vim zsh
stow alacritty bin git nvim ruby tmux vim zsh
}
main

View file

@ -0,0 +1,3 @@
set runtimepath+=~/.vim,~/.vim/after
set packpath+=~/.vim
source ~/.vimrc

View file

View file

@ -73,8 +73,13 @@ set shiftround " make >> go to next tab
if has('persistent_undo')
set undolevels=5000
set undodir=$HOME/.vim/undo
set undofile
if has('nvim')
set undodir=$HOME/.config/nvim/undo
else
set undodir=$HOME/.vim/undo
endif
endif
" consistency is key - Y should act like C, D