summary refs log tree commit diff
path: root/emacs/init.el
diff options
context:
space:
mode:
authornoa2024-11-11 12:05:26 +0800
committernoa2024-11-11 12:05:26 +0800
commit7a8141c5166227cdbf24ea9cbd207e335be37523 (patch)
treedd3d2157696670a7b54f0816ba58bc4f77222949 /emacs/init.el
parent5733c8111c7c607b22c18180e5c01db4f8e03f13 (diff)
Use-package bind* ensures ctrlj binding is not overridden
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index a30532f..5cbd521 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -808,7 +808,8 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
     (kill-new (file-name-nondirectory (buffer-file-name)))))
 
 (use-package ctrlj
-  :bind (("<menu>" . ctrlj/open-note)
+  :init (global-unset-key (kbd "C-j"))
+  :bind* (("<menu>" . ctrlj/open-note)
          ("C-j C-j" . ctrlj/open-note)
          ("C-j C-n" . ctrlj/new-note)
          ("C-j C-l" . ctrlj/insert-link-to-note)