On Thu, Nov 27, 2014 at 09:55:36PM +0000, Marcin Szamotulski wrote: > I found that `:.,$-bdelete` will trigger a segfault. The attached patch > fixes that, and in addition it makes `:%bdelete` and `:%bwipeout` > work as well.
> diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt
> index d116c9f..30e62d9 100644
> --- a/runtime/doc/windows.txt
> +++ b/runtime/doc/windows.txt
> @@ -1029,7 +1029,11 @@ list of buffers. |unlisted-buffer|
> Actually, the buffer isn't completely deleted, it is removed
> from the buffer list |unlisted-buffer| and option values,
> variables and mappings/abbreviations for the buffer are
> - cleared.
> + cleared. Examples: >
> + :.,$-bdelete " delete buffers from the current one to
> + " penulimum one
Is that a word? Did you mean "penultimate"?
> + :%bdelete " delete all buffers
> +<
>
> :bdelete[!] {bufname} *E93*
> *E94*
> Like ":bdelete[!] [N]", but buffer given by name. Note that a
Marius Gedminas
--
If you're one of those types that "likes the smell of books", just buy one to
sniff and use the Kindle for reading.
-- shihchiun on reddit
--
--
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.
signature.asc
Description: Digital signature
