tell nvim to use the same vimrc as vim, add incremental display of search and replace when inside nvim

This commit is contained in:
Andrew Davidson 2019-09-19 16:07:55 -04:00
parent d12b1aefde
commit 349fc03c81
Signed by: amd
GPG key ID: 17AF8F2A49CF25C6
2 changed files with 7 additions and 0 deletions

View file

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

View file

@ -171,4 +171,8 @@ nnoremap <leader>gp :Gpush<CR>
vnoremap <leader>gb :Gblame<CR>
" =================== nvim ====================
if has('nvim')
set inccommand=nosplit
endif