aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorFelipe Morales <hel.sheep@gmail.com>2015-01-15 17:11:43 -0300
committerFelipe Morales <hel.sheep@gmail.com>2015-04-28 23:08:31 -0300
commitc5250857733e70d116ccec2cffe08d49772adcdd (patch)
treee0276a301c90ff6b75a7f5d6f8f096b1219d8644 /runtime
parentf6c55022ff9c5bc1c1be882498b1d4c44b032acb (diff)
downloadrneovim-c5250857733e70d116ccec2cffe08d49772adcdd.tar.gz
rneovim-c5250857733e70d116ccec2cffe08d49772adcdd.tar.bz2
rneovim-c5250857733e70d116ccec2cffe08d49772adcdd.zip
vim-patch:7.4.539
Patch 7.4.539 (after 7.4.530) Problem: Crash when computing buffer count. Problem with range for user commands. Line range wrong in Visual area. Solution: Avoid segfault in compute_buffer_local_count(). Check for CMD_USER when checking type of range. (Marcin Szamotulski) https://code.google.com/p/vim/source/detail?name=v7-4-539
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/windows.txt16
1 files changed, 11 insertions, 5 deletions
diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt
index 4c1ec0c0fd..0a1e114664 100644
--- a/runtime/doc/windows.txt
+++ b/runtime/doc/windows.txt
@@ -283,7 +283,7 @@ CTRL-W CTRL-Q *CTRL-W_CTRL-Q*
:1quit " quit the first window
:$quit " quit the last window
:9quit " quit the last window
- " if there are less than windows opened
+ " if there are less than 9 windows opened
:-quit " quit the previous window
:+quit " quit the next window
:+2quit " will also work as expected
@@ -1027,8 +1027,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
+ " last but one
+ :%bdelete " delete all buffers
+<
:bdelete[!] {bufname} *E93* *E94*
Like ":bdelete[!] [N]", but buffer given by name. Note that a
buffer whose name is a number cannot be referenced by that
@@ -1051,8 +1054,11 @@ list of buffers. |unlisted-buffer|
Like |:bdelete|, but really delete the buffer. Everything
related to the buffer is lost. All marks in this buffer
become invalid, option settings are lost, etc. Don't use this
- unless you know what you are doing.
-
+ unless you know what you are doing. Examples: >
+ :.+,$bwipeout " wipe out all buffers after the current
+ " one
+ :%bwipeout " wipe out all buffers
+<
:[N]bun[load][!] *:bun* *:bunload* *E515*
:bun[load][!] [N]
Unload buffer [N] (default: current buffer). The memory