mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
nvim compatibility
This commit is contained in:
4
dotfiles/config/nvim/init.vim
Normal file
4
dotfiles/config/nvim/init.vim
Normal file
@@ -0,0 +1,4 @@
|
||||
" nvim config
|
||||
set runtimepath^=~/.vim runtimepath+=~/.vim/after
|
||||
let &packpath = &runtimepath
|
||||
source ~/.vimrc
|
||||
@@ -31,7 +31,9 @@ set number
|
||||
set ruler
|
||||
|
||||
" Setup viminfo for recording positions, etc.
|
||||
if !has('nvim')
|
||||
set viminfo='10,\"100,:20,%,n~/.viminfo
|
||||
endif
|
||||
" Jump back when editing a file
|
||||
function! ResCur()
|
||||
" Don't jump in git commits since they're generated.
|
||||
|
||||
Reference in New Issue
Block a user