Skip to content

Instantly share code, notes, and snippets.

@amaia
Created December 3, 2010 18:15
Show Gist options
  • Save amaia/727307 to your computer and use it in GitHub Desktop.
Save amaia/727307 to your computer and use it in GitHub Desktop.
vim cheatsheet
cerrar todos los buffers abiertos
:%bd(delete)
cerrar el resto de ventanas
:on
:bw
Like |:bdelete|, but really delete the buffer.
:bd
Unload buffer [N] (default: current buffer) and delete it from the buffer list. If the buffer was changed, this fails, unless when [!] is specified, in which case changes are lost. The file remains unaffected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment