Add key bindings <SPC> b 0 and <SPC> b $

This commit is contained in:
syl20bnr 2015-01-20 21:56:54 -05:00
parent 17a263d6d8
commit 6c655d29d9
2 changed files with 4 additions and 0 deletions

View file

@ -1025,6 +1025,8 @@ Buffer manipulation commands (start with `b`):
Key Binding | Description
------------------------------------------|----------------------------------------------------------------
<kbd>SPC b 0</kbd> | move to the beginning of buffer (useful in `emacs state` buffers)
<kbd>SPC b $</kbd> | move to the end of buffer (useful in `emacs state` buffers)
<kbd>SPC b b</kbd> or <kbd>SPC TAB</kbd> | switch to alternate buffer (switch back and forth)
<kbd>SPC b e</kbd> | erase the content of the buffer (ask for confirmation)
<kbd>SPC b k</kbd> | kill the current buffer

View file

@ -46,6 +46,8 @@
"au" 'undo-tree-visualize)
;; buffers --------------------------------------------------------------------
(evil-leader/set-key
"b0" 'beginning-of-buffer
"b$" 'end-of-buffer
"bb" 'spacemacs/alternate-buffer ;; switch back and forth between two last buffers
"TAB" 'spacemacs/alternate-buffer
"be" 'spacemacs/safe-erase-buffer