Ajout du paramètre pour sauvegarder la position du curseur à la prochaine ouverture

master
ycharbi 2 years ago
parent 20cb975791
commit 2b049c3e37

@ -65,3 +65,8 @@ let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#buffer_nr_show = 1 let g:airline#extensions#tabline#buffer_nr_show = 1
let g:airline#extensions#whitespace#enabled = 0 let g:airline#extensions#whitespace#enabled = 0
let g:airline#extensions#whitespace#symbol = '!' let g:airline#extensions#whitespace#symbol = '!'
" Sauvegarder la position du curseur à la prochaine ouverture
if has("autocmd")
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
endif

Loading…
Cancel
Save