diff options
author | noa | 2025-02-17 01:22:36 +0800 |
---|---|---|
committer | noa | 2025-02-17 01:22:36 +0800 |
commit | 19ea37599db9feccf58af6c3ad8b36cc8c01cdb1 (patch) | |
tree | e6da56e242ff5bd2a3e348af0892d7625af356af /emacs | |
parent | 754b5eba18da71fe6d7e0a2f894199787108f413 (diff) |
Move kill-current-buffer into use-package simple declaration
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/init.el | 3 |
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 |