about summary refs log tree commit diff stats
path: root/.emacs.d
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-09-25 16:33:45 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-09-25 16:33:45 +0100
commit9fe466c1fa6e1265854a1de89d684a9d22a2e451 (patch)
tree205aa3b9c54c77e1aa05180d7a8f1598347ebeea /.emacs.d
parent6c0b919d5c2a153c0bb26bcf86992576bbf405be (diff)
downloaddotfiles-9fe466c1fa6e1265854a1de89d684a9d22a2e451.tar.gz
Move binding to :bind
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/lisp/init-ui.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-ui.el b/.emacs.d/lisp/init-ui.el
index e3b94fd..93c396e 100644
--- a/.emacs.d/lisp/init-ui.el
+++ b/.emacs.d/lisp/init-ui.el
@@ -16,8 +16,6 @@
                          (global-display-line-numbers-mode)
                          (global-hl-line-mode +1)
 
-                         (global-set-key (kbd "C-x C-S-k") 'kill-buffer)
-
                          (add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
                          (load-theme 'non-modo t)))
   ;; http://yummymelon.com/devnull/enhancing-navigation-in-emacs-view-mode.html
@@ -46,6 +44,7 @@
                        (t
                         (define-key view-mode-map (kbd "p") 'scroll-down-command)
                         (define-key view-mode-map (kbd "n") 'scroll-up-command)))))
+  :bind ("C-x C-S-k" . kill-buffer)
   :config
   (setq-default display-line-numbers-widen t)
   ;; https://github.com/rougier/elegant-emacs/blob/master/sanity.el