comparison rc/vimrc @ 645:7e4b3136f55e

More histories and copypaste
author nanaya <me@nanaya.pro>
date Wed, 16 Sep 2020 14:19:54 +0900
parents 84a1e86d1afc
children 5bd223d5a97f
comparison
equal deleted inserted replaced
644:485c0f09d01f 645:7e4b3136f55e
142 autocmd FileType nginx setlocal iskeyword& 142 autocmd FileType nginx setlocal iskeyword&
143 endif 143 endif
144 144
145 if has('autocmd') 145 if has('autocmd')
146 "Restore cursor position 146 "Restore cursor position
147 set viminfo='10,\"100,:20,%,n~/.viminfo 147 set viminfo='50,\"1000,<1000,:100,%,h,n~/.viminfo
148 function! ResCur() 148 function! ResCur()
149 if line("'\"") <= line("$") 149 if line("'\"") <= line("$")
150 normal! g`" 150 normal! g`"
151 return 1 151 return 1
152 endif 152 endif