Skip to content

Instantly share code, notes, and snippets.

@jvz
Created November 16, 2016 00:55
Show Gist options
  • Save jvz/ead8bd21c3708061e3d6e0eb784f7c7a to your computer and use it in GitHub Desktop.
Save jvz/ead8bd21c3708061e3d6e0eb784f7c7a to your computer and use it in GitHub Desktop.
:h hidden
- allows you to keep buffers open
:ls
- lists open buffers
:b (:buffer)
- edit buffer N from list (jump between buffers)
- can also use :Nb for buffer number N
Ctrl-6 or Ctrl-^
- switch to previous buffer
:bd (:bdelete)
- buffer delete (makes buffer unloaded)
:ls!
- lists all buffers (including hidden ones)
:bw (:bwipeout)
- completely unloads a buffer from memory
BufExplorer
- cool buffer plugin
BufOnly
- :BO clears all but current buffer
Related stuff:
- :bufdo - execute command on buffers
- jumplist - navigating between buffers and such
- marks
:bn and :bp (:bnext, :bprevious)
- switches buffers sequentially
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment