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.
I forgot the additional netrw settings by Vim-Vinegar. The ones just posted are
set after these:
let g:netrw_sort_sequence = '[\/]$,*,\%(' . join(map(split(&suffixes, ','),
'escape(v:val, ".*$~")'), '\|') . '\)[*@]\=$'
let s:escape = 'substitute(escape(v:val, ".$~"), "*", ".*", "g")'
let g:netrw_list_hide =
\ join(map(split(&wildignore, ','), '"^".' . s:escape . '. "$"'), ',') .
',^\.\.\=/\=$' .
\ (get(g:, 'netrw_list_hide', '')[-strlen(s:dotfiles)-1:-1] ==#
s:dotfiles ? ','.s:dotfiles : '')
let g:netrw_banner = 0
--
--
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.