mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
vimrc: can't live without this feature anymore :D
This commit is contained in:
parent
0c43eb0819
commit
aba1ef81dc
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue