Add `kill-buffer-and-window` keybinding
`kill-buffer-and-window` is now bound to `SPC b D` and the keybinding is documented.
This commit is contained in:
parent
a713189685
commit
878c45abf9
|
@ -1919,6 +1919,7 @@ Buffer manipulation commands (start with ~b~):
|
|||
| ~SPC TAB~ | switch to alternate buffer in the current window (switch back and forth) |
|
||||
| ~SPC b b~ | switch to a buffer using =helm= |
|
||||
| ~SPC b d~ | kill the current buffer (does not delete the visited file) |
|
||||
| ~SPC b D~ | kill the current buffer and its window |
|
||||
| ~SPC b e~ | erase the content of the buffer (ask for confirmation) |
|
||||
| ~SPC b h~ | open =*spacemacs*= home buffer |
|
||||
| ~SPC b k~ | kill a buffer |
|
||||
|
|
|
@ -118,6 +118,7 @@
|
|||
;; buffers --------------------------------------------------------------------
|
||||
(spacemacs/set-leader-keys
|
||||
"bd" 'spacemacs/kill-this-buffer
|
||||
"bD" 'kill-buffer-and-window
|
||||
"TAB" 'spacemacs/alternate-buffer
|
||||
"bh" 'spacemacs/home
|
||||
"be" 'spacemacs/safe-erase-buffer
|
||||
|
|
Loading…
Reference in New Issue