mirror of
https://github.com/notwa/rc
synced 2024-11-05 03:29:02 -08:00
not sure what's causing the pause in vim
This commit is contained in:
parent
46626312e7
commit
e3cc623633
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue