Open file on last saved location
This commit is contained in:
parent
810f4cc385
commit
b23708ce25
1 changed files with 5 additions and 0 deletions
|
|
@ -92,6 +92,11 @@ set statusline=\ %F\ %m%r%w\ %=\ %{hostname()}\ \ \ %{strlen(&ft)?&ft:'none'}\ %
|
|||
"Remove trailing spaces on save
|
||||
autocmd BufWritePre * :%s/\s\+$//e
|
||||
|
||||
"Make vim save and load the folding of the document each time it loads
|
||||
"Also places the cursor in the last place that it was left
|
||||
au BufWinLeave * mkview
|
||||
au BufWinEnter * silent loadview
|
||||
|
||||
" Plugins
|
||||
|
||||
" Nerdtree
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue