From c0ff122c97c9ca48be9c19802d8150d8a97401fe Mon Sep 17 00:00:00 2001 From: hugo gogo Date: Mon, 29 Aug 2022 13:22:33 +0200 Subject: [PATCH] changes vimrc Explore variable --- config_files/.vimrc | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) 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