Add key bindings <SPC> b 0
and <SPC> b $
This commit is contained in:
parent
17a263d6d8
commit
6c655d29d9
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue