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:
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()
|
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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue