Skip to content

Commit bdb7014

Browse files
committed
separated viminfo for vim and nvim
1 parent 85d38a3 commit bdb7014

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.config/nvim/init.vim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ let g:ruby_host_prog = '/home/nikhgupta/.asdf/installs/ruby/2.7.1/bin/neovim-rub
55
set runtimepath^=~/.vim runtimepath+=~/.vim/after
66
let &packpath = &runtimepath
77
source ~/.vimrc
8+
9+
set shada='500,:100,@100,/20,f1,%,<200
10+
set shadafile=$HOME/.nviminfo
11+

.vimrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ set nocompatible " No to the total compatibility with the ancient vi
326326
let g:indent_guides_guide_size = 1
327327
let g:indent_guides_start_level = 2
328328
" }}}
329-
" Upgrade: has a beautiful startup screen (via Startify) {{{
329+
" Upgrade: has a beautiful startup screen (via mtartify) {{{
330330
set shortmess+=I " do not display intro message on Vim startup
331331

332332
Plug 'mhinz/vim-startify'
@@ -1796,6 +1796,7 @@ endif
17961796
" f: Store file marks ('0 to '9 and 'A to 'Z)
17971797
" Further, reading: :h viminfo
17981798
set viminfo='500,:100,@100,/20,f1,%,<200
1799+
set viminfofile=$HOME/.viminfo
17991800
endif
18001801
" }}}
18011802
" Expected: restores editor's window's size, as well {{{

0 commit comments

Comments
 (0)