Try out nvim again
This commit is contained in:
parent
6d8aa31c95
commit
3a7a94ed34
5 changed files with 12 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -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
|
||||
|
|
|
@ -128,7 +128,7 @@ main() {
|
|||
;;
|
||||
esac
|
||||
|
||||
stow alacritty bin git ruby tmux vim zsh
|
||||
stow alacritty bin git nvim ruby tmux vim zsh
|
||||
}
|
||||
|
||||
main
|
||||
|
|
3
nvim/.config/nvim/init.vim
Normal file
3
nvim/.config/nvim/init.vim
Normal file
|
@ -0,0 +1,3 @@
|
|||
set runtimepath+=~/.vim,~/.vim/after
|
||||
set packpath+=~/.vim
|
||||
source ~/.vimrc
|
0
nvim/.config/nvim/undo/.gitinclude
Normal file
0
nvim/.config/nvim/undo/.gitinclude
Normal 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
|
||||
|
|
Loading…
Reference in a new issue