1
0

Reopen files in last edit position

This commit is contained in:
2019-12-14 09:12:33 +01:00
parent 89b1d0231b
commit d746f192c0

3
vimrc
View File

@ -67,6 +67,9 @@ set hidden " Keep previous buffer when opening a new file
set wildmenu " Sexy autocomplete
set wildmode=longest:full,full
set wildignorecase
" Uncomment the following to have Vim jump to the last position when
" reopening a file
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
" Mappings
let mapleader=","