diff --git a/config_files/.vimrc b/config_files/.vimrc index b7d5e22..2952a2a 100644 --- a/config_files/.vimrc +++ b/config_files/.vimrc @@ -55,9 +55,20 @@ set number " don't allow wrap set nowrap -" using alternate buffer, ':b#', comes back to last file, and not explore buffer +" 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 -let g:netrw_altfile = 1 +" ! 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