448 shaares
39 private links
39 private links
Edit ~/.vimrc
or /etc/vim/vimrc
:
" Return to last edit position when opening files (You want this!)
autocmd BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal! g`\"" |
\ endif