Move all "new empty buffer" key bindings under SPC b N

and add documentation
This commit is contained in:
syl20bnr 2017-04-17 22:10:16 -04:00
parent 33acf40245
commit ff0bd88b0c
2 changed files with 16 additions and 5 deletions

View File

@ -120,6 +120,7 @@
- [[#golden-ratio][Golden ratio]]
- [[#buffers-and-files][Buffers and Files]]
- [[#buffers-manipulation-key-bindings][Buffers manipulation key bindings]]
- [[#create-a-new-empty-buffer][Create a new empty buffer]]
- [[#buffers-manipulation-transient-state][Buffers manipulation transient state]]
- [[#special-buffers][Special Buffers]]
- [[#files-manipulations-key-bindings][Files manipulations key bindings]]
@ -2077,6 +2078,16 @@ Buffer manipulation commands (start with ~b~):
| ~SPC b Y~ | copy whole buffer to clipboard (useful when copying to a browser) |
| ~z f~ | Make current function or comments visible in buffer as much as possible |
**** Create a new empty buffer
| Key Binding | Description |
|-------------+--------------------------------------------------------------|
| ~SPC b N h~ | create new empty buffer in a new window on the left |
| ~SPC b N j~ | create new empty buffer in a new window at the bottom |
| ~SPC b N k~ | create new empty buffer in a new window above |
| ~SPC b N l~ | create new empty buffer in a new window below |
| ~SPC b N n~ | create new empty buffer in current window |
**** Buffers manipulation transient state
A convenient buffer manipulation transient state allows to quickly cycles through
the opened buffer and kill them.

View File

@ -124,13 +124,13 @@
"bh" 'spacemacs/home
"b C-d" 'spacemacs/kill-other-buffers
"b C-S-d" 'spacemacs/kill-matching-buffers-rudely
"b M-h" 'spacemacs/new-empty-buffer-left
"b M-j" 'spacemacs/new-empty-buffer-below
"b M-k" 'spacemacs/new-empty-buffer-above
"b M-l" 'spacemacs/new-empty-buffer-right
"bn" 'next-buffer
"bm" 'spacemacs/switch-to-messages-buffer
"bN" 'spacemacs/new-empty-buffer
"b N h" 'spacemacs/new-empty-buffer-left
"b N j" 'spacemacs/new-empty-buffer-below
"b N k" 'spacemacs/new-empty-buffer-above
"b N l" 'spacemacs/new-empty-buffer-right
"b N n" 'spacemacs/new-empty-buffer
"bP" 'spacemacs/copy-clipboard-to-whole-buffer
"bp" 'previous-buffer
"bR" 'spacemacs/safe-revert-buffer