1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2025-03-20 00:15:36 -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() au BufRead,BufNewFile *.json call TabFour()
augroup END augroup END
" FIXME: this requires input upon starting vim, annoying
fu! ResCur() " attempt to preserve cursor position fu! ResCur() " attempt to preserve cursor position
if line("'\"") > 1 && line("'\"") <= line("$") if line("'\"") > 1 && line("'\"") <= line("$")
normal! g`" normal! g`"
@ -101,7 +100,7 @@ if has('autocmd')
endf endf
augroup resCur augroup resCur
au! au!
"au BufWinEnter * call ResCur() au BufWinEnter * call ResCur()
augroup END augroup END
endif endif