:[N]sbm[odified] [+cmd] [N] *:sbm* *:sbmodified*
Split window and go to [N]th next modified buffer.
Respects 'switchbuf' option.
Note: this command also finds buffers not in the buffer list.
:[N]unh[ide] [N] *:unh* *:unhide* *:sun* *:sunhide*
:[N]sun[hide] [N]
Rearrange the screen to open one window for each loaded buffer
in the buffer list. When a count is given, this is the
maximum number of windows to open.
:[N]ba[ll] [N] *:ba* *:ball* *:sba* *:sball*
:[N]sba[ll] [N] Rearrange the screen to open one window for each buffer in
the buffer list. When a count is given, this is the maximum
number of windows to open. 'winheight' also limits the number
of windows opened ('winwidth' if |:vertical| was prepended).
Buf/Win Enter/Leave autocommands are not executed for the new
windows here, that's only done when they are really entered.
When the |:tab| modifier is used new windows are opened in a
new tab, up to 'tabpagemax'.
Note: All the commands above that start editing another buffer, keep the
'readonly' flag as it was. This differs from the ":edit" command, which sets
the 'readonly' flag each time the file is read.
==============================================================================
12. Special kinds of buffers *special-buffers*
Instead of containing the text of a file, buffers can also be used for other
purposes. A few options can be set to change the behavior of a buffer:
'bufhidden' what happens when the buffer is no longer displayed
in a window.
'buftype' what kind of a buffer this is
'swapfile' whether the buffer will have a swap file
'buflisted' buffer shows up in the buffer list
A few useful kinds of a buffer:
quickfix Used to contain the error list or the location list. See
|:cwindow| and |:lwindow|. This command sets the 'buftype'
option to "quickfix". You are not supposed to change this!
'swapfile' is off.
help Contains a help file. Will only be created with the |:help|
command. The flag that indicates a help buffer is internal
and can't be changed. The 'buflisted' option will be reset
for a help buffer.
terminal A terminal window buffer, see |terminal|. The contents cannot
be read or changed until the job ends.
directory Displays directory contents. Can be used by a file explorer
plugin. The buffer is created with these settings: >
:setlocal buftype=nowrite
:setlocal bufhidden=delete
:setlocal noswapfile
< The buffer name is the name of the directory and is adjusted
when using the |:cd| command.
*scratch-buffer*
scratch Contains text that can be discarded at any time. It is kept
when closing the window, it must be deleted explicitly.
Settings: >
:setlocal buftype=nofile
:setlocal bufhidden=hide
:setlocal noswapfile
< The buffer name can be used to identify the buffer, if you
give it a meaningful name.
*unlisted-buffer*
unlisted The buffer is not in the buffer list. It is not used for
normal editing, but to show a help file, remember a file name
or marks. The ":bdelete" command will also set this option,
thus it doesn't completely delete the buffer. Settings: >
:setlocal nobuflisted
<
vim:tw=78:ts=8:noet:ft=help:norl: