Browse Source

Reopen files in last edit position

master
djib 3 months ago
parent
commit
d746f192c0
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      vimrc

+ 3
- 0
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=","

Loading…
Cancel
Save