1
0
Fork 0
mirror of synced 2024-11-18 23:05:34 -05:00

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

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