Changed 'Q' to intelligently close window or kill buffer if it's the last one

This commit is contained in:
yan
2011-12-22 11:55:18 -08:00
parent 3eec4c39e6
commit 476e72ba63
3 changed files with 13 additions and 7 deletions

View File

@@ -214,8 +214,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
**Window Navigation**
* H L I M - to move left, right, up, down between windows
* Q - Quit window, kill buffer (:bw)
* \Q - Quit a window, keep buffer alive (Ctrl-w,c)
* Q - Intelligent Window Killer. Close window (wincmd c) if there are multiple windows to same buffer, or kill the buffer (bwipeout) if this is the last window into it.
**Splits**