comammand to wipe buffer and save view
- I have this command in my vimrc which I got from the internet:
command! Kwbd let kwbd_bn= bufnr("%")|enew|exe "bdel ".kwbd_bn|unlet kwbd_bn
this keeps the view but I would prefer to have another buffer from the list opened in the window instead of a new one. If no other buffer in the list then it should create a new one.
Any idea on how to do this or pluggins that implement this?
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
For more options, visit https://groups.google.com/groups/opt_out.