all repos — nixfiles @ b8cbcd96e4c466e876d9551a23dc487f243e5985

System and user configuration, managed by nix and home-manager

emacs: unbind cmd-k
Alan Pearce alan@alanpearce.eu
Mon, 31 Mar 2025 22:00:05 +0200
commit

b8cbcd96e4c466e876d9551a23dc487f243e5985

parent

78e7a667b5d301d0c3016a7255a48963ae96f3a1

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -264,7 +264,8 @@ 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-current-buffer))
+  (define-key global-map (kbd "s-w") #'kill-current-buffer)
+  (define-key global-map (kbd "s-k") #'kill-current-buffer :remove))
 
 (use-package avy
   :defer 2