summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--emacs/init.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 42f340a..f3bf57f 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -107,6 +107,7 @@
 (use-package simple
   :hook ((text-mode . visual-line-mode)
          (after-init . auto-save-mode))
+  :bind ([remap kill-buffer] . kill-current-buffer)
   :custom
   (save-interprogram-paste-before-kill t)
   (kill-ring-max 25)
@@ -615,8 +616,6 @@ With prefix argument TIME, also add the current time."
 (use-package ace-window
   :bind ([remap other-window] . ace-window))
 
-(global-set-key (kbd "C-x k") 'kill-current-buffer)
-
 (defun snarf-song (url)
   (interactive "sYoutube url:")
   (async-shell-command