aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2015-07-22 11:24:49 +0200
committerMarco Hinz <mh.codebro@gmail.com>2015-11-11 21:46:46 +0100
commitbb43d9b9a2aae7f799eed4fc4f793afd6e466d7d (patch)
treea4de8a9db139d718e41b70b69005dd75705ccbbf /runtime
parent632408af4a3baa987cc13005675bba63675825cb (diff)
downloadrneovim-bb43d9b9a2aae7f799eed4fc4f793afd6e466d7d.tar.gz
rneovim-bb43d9b9a2aae7f799eed4fc4f793afd6e466d7d.tar.bz2
rneovim-bb43d9b9a2aae7f799eed4fc4f793afd6e466d7d.zip
vim-patch:7.4.791 #3078
Problem: The buffer list can be very long. Solution: Add an argument to ":ls" to specify the type of buffer to list. (Marcin Szamotulski) https://github.com/vim/vim/commit/d51cb706a4e3ae99555bc214a64c83603c701139
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/windows.txt22
1 files changed, 19 insertions, 3 deletions
diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt
index 95be125c33..0e83c1fc89 100644
--- a/runtime/doc/windows.txt
+++ b/runtime/doc/windows.txt
@@ -971,9 +971,10 @@ A buffer can also be unlisted. This means it exists, but it is not in the
list of buffers. |unlisted-buffer|
-:files[!] *:files*
-:buffers[!] *:buffers* *:ls*
-:ls[!] Show all buffers. Example:
+:files[!] [flags] *:files*
+:buffers[!] [flags] *:buffers* *:ls*
+:ls[!] [flags]
+ Show all buffers. Example:
1 #h "/test/text" line 1 ~
2u "asdf" line 0 ~
@@ -999,6 +1000,21 @@ list of buffers. |unlisted-buffer|
+ a modified buffer
x a buffer with read errors
+ [flags] can be a combination of the following characters,
+ which restrict the buffers to be listed:
+ + modified buffers
+ - buffers with 'modifiable' off
+ = readonly buffers
+ a active buffers
+ u unloaded buffers (overrides the "!")
+ h hidden buffers
+ x buffers with a read error
+ % current buffer
+ # alternate buffer
+ Combining flags means they are "and"ed together, e.g.:
+ h+ hidden buffers which are modified
+ a+ active buffers which are modified
+
*:bad* *:badd*
:bad[d] [+lnum] {fname}
Add file name {fname} to the buffer list, without loading it.