changes in vim manipulation of last oppened buffer

This commit is contained in:
hugogogo
2022-10-04 16:04:01 +02:00
8 changed files with 180 additions and 15 deletions

View File

@@ -55,9 +55,20 @@ set number
" don't allow wrap
set nowrap
" make the previous buffer be the last modified file and not the file explorer
" see `:help g:netrw_altfile`
let g:netrw_altfile = 1
" using alternate buffer with Explore, ':b#'
" =0 ot go back to explore buffer
" =1 ot go back to last edited file
" see :help g:netrw_altfile
" ! not good :
" with =1 the alternate buffer is not changed, so
" las edited file is not last file before Explore, but the previous one
" use :Lexplore instead of :Explore
"let g:netrw_altfile = 0
" choose how to print list in :Explore window
" =0 is default
" =3 is tree style
let g:netrw_liststyle = 3
"---------------------------------------------------------------