Suppose I have 2 windows open, each one with its respective buffer (b1 != b2 meaning two different files), so:
w1 -> b1 w2 -> b2
If now I open netrw using Vexplore!
thus having a new window w3, and I decide to open b1 (which is already opened in w1), vim re-opens the buffer b1 as expected in w3.
Is there a way to avoid this buffer duplication in netrw ?
My current netrw setup from .gvimrc is the following:
" hide netrw menu
let g:netrw_banner = 0
" tree listing
let g:netrw_liststyle = 0
" open files in new tab
let g:netrw_browse_split = 0
let g:netrw_bufsettings = 'noma nomod nu nobl nowrap ro'
let g:netrw_fastbrowse = 1
let g:netrw_list_hide = '^\./$'
let g:netrw_hide = 1
let g:netrw_dirhistmax = 0
:help netrw
?