Go to the last position in files
This commit is contained in:
parent
91ebc3ca0d
commit
78f522f1cb
|
@ -260,12 +260,7 @@ catch
|
||||||
endtry
|
endtry
|
||||||
|
|
||||||
" Return to last edit position when opening files (You want this!)
|
" Return to last edit position when opening files (You want this!)
|
||||||
" autocmd BufReadPost *
|
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
|
||||||
" \ if line("'\"") > 0 && line("'\"") <= line("$") |
|
|
||||||
" \ exe "normal! g`\"" |
|
|
||||||
" \ endif
|
|
||||||
" Remember info about open buffers on close
|
|
||||||
" set viminfo^=%
|
|
||||||
|
|
||||||
|
|
||||||
""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""
|
||||||
|
|
Loading…
Reference in a new issue