-
-
Notifications
You must be signed in to change notification settings - Fork 2
6.2. Buffer
shinokada edited this page Feb 28, 2014
·
2 revisions
command | action |
---|---|
:ls | show the buffer list |
:b | open the next buffer in the current window (cycles from the end of the list to the beginning). |
:bp | open the previous buffer in the current window (cycles from the start of the list to the end). |
CTRL-^ | Buffersswitch to the alternate file |
command | action |
---|---|
:with | save the changes to a file |
:e! | Buffersrestore the original file |
:bd! | Buffersforcibly remove the buffer from the buffer list, discarding any changes |
:q! | Buffersforce Vim to quit, discarding changes to all modified buffers |
In .vimrc setting hidden will allow you without vim errors/warnings.
set hidden
The argdo
command works best when the hidden
setting is enabled.
Important: The Tables of Content are generated. Any change will be overridden on the next update.
For more information: GitHub Wikifier