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