vimrc: can't live without this feature anymore :D

This commit is contained in:
Franco Fichtner 2016-01-24 19:30:58 +01:00
parent 0c43eb0819
commit aba1ef81dc

View file

@ -4,3 +4,10 @@ syntax on
set ts=8
set hls
set nu
autocmd BufReadPost *
\ if ! exists("g:leave_my_cursor_position_alone") |
\ if line("'\"") > 0 && line ("'\"") <= line("$") |
\ exe "normal g'\"" |
\ endif |
\ endif