mirror of
1
0
Fork 0

Go to the last position in files

This commit is contained in:
amix 2016-05-14 16:57:26 +01:00
parent 91ebc3ca0d
commit 78f522f1cb
1 changed files with 1 additions and 6 deletions

View File

@ -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
""""""""""""""""""""""""""""""