From 19ea37599db9feccf58af6c3ad8b36cc8c01cdb1 Mon Sep 17 00:00:00 2001 From: noa Date: Mon, 17 Feb 2025 01:22:36 +0800 Subject: Move kill-current-buffer into use-package simple declaration --- emacs/init.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'emacs/init.el') 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 -- cgit 1.4.1-2-gfad0