Am Freitag, 23. Mai 2014 10:42:55 UTC+2 schrieb Enno: > Can one configure netrw so that when opening a file in netrw the just left > netrw buffer is automatically deleted? > > For example type :e ., navigate to a file, hit <CR>. Then there is the netrw > buffer, created by :e . that we just left, and has done its service. Is there > an autocmd to delete it? Naive attempts under Gvim 7.4.282 and Windows 7 64 > bit failed.
Hello Charles, Thank you for your responsiveness. Here are my netrw settings: let g:netrw_banner = 0 let g:netrw_special_syntax = 1 let g:netrw_dirhistmax=100 let g:netrw_winsize=30 let g:netrw_altv = 1 let g:netrw_altfile=1 let g:netrw_preview=1 let g:netrw_chgwin = winnr() let g:netrw_retmap = 1 let g:netrw_home = $HOME."/.cache" let g:netrw_liststyle=3 Now that I discovered let g:netrw_liststyle=2, I prefer to keep it this way and everything works fine for the moment, buffer switching and closing netrw on hitting <CR> on a file. I will check your newest version as soon as it hits the github mirror, and check back. Merci aussi Enno -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
