emacs: Apparently 'kill-this-buffer' doesn't work as you would expect from the name
This commit is contained in:
parent
b912f81e40
commit
c3925ee38c
2 changed files with 7 additions and 2 deletions
|
@ -17,6 +17,11 @@
|
|||
:config
|
||||
(general-evil-setup t)
|
||||
|
||||
(defun chvp--kill-current-buffer ()
|
||||
(interactive)
|
||||
(kill-buffer (current-buffer))
|
||||
)
|
||||
|
||||
;; Create bindings under the leader
|
||||
(general-create-definer lmap
|
||||
:states '(normal visual insert emacs motion)
|
||||
|
@ -33,7 +38,7 @@
|
|||
":" '(eval-expression :which-key "eval")
|
||||
|
||||
"b" '(:ignore t :which-key "buffer")
|
||||
"bd" '(kill-this-buffer :which-key "kill")
|
||||
"bd" '(chvp--kill-current-buffer :which-key "kill")
|
||||
"br" '(rename-buffer :which-key "rename")
|
||||
|
||||
"f" '(:ignore t :which-key "file")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue