1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-05-18 09:53:22 -07:00

not sure what's causing the pause in vim

This commit is contained in:
Connor Olding 2013-07-08 17:45:51 -07:00
parent 46626312e7
commit e3cc623633

View File

@ -92,7 +92,6 @@ if has('autocmd')
au BufRead,BufNewFile *.json call TabFour()
augroup END
" FIXME: this requires input upon starting vim, annoying
fu! ResCur() " attempt to preserve cursor position
if line("'\"") > 1 && line("'\"") <= line("$")
normal! g`"
@ -101,7 +100,7 @@ if has('autocmd')
endf
augroup resCur
au!
"au BufWinEnter * call ResCur()
au BufWinEnter * call ResCur()
augroup END
endif