emacs: fix error when killing current buffer
Alan Pearce alan@alanpearce.eu
Wed, 12 Mar 2025 15:30:21 +0100
1 files changed, 2 insertions(+), 2 deletions(-)
jump to
M user/emacs/init.el → user/emacs/init.el
@@ -262,7 +262,7 @@ mac-right-control-modifier 'left mac-command-modifier 'super mac-right-command-modifier 'left mac-function-modifier 'hyper) - (define-key global-map (kbd "s-w") #'kill-this-buffer)) + (define-key global-map (kbd "s-w") #'kill-current-buffer)) (use-package avy :defer 2 @@ -1375,7 +1375,7 @@ "u" #'universal-argument ";" #'execute-extended-command "a" #'my/ls-code-actions "bb" #'consult-buffer - "bx" #'kill-this-buffer + "bx" #'kill-current-buffer "br" #'revert-buffer "bk" #'kill-buffer "dd" #'dired