diff options
author | noa | 2024-11-11 12:05:26 +0800 |
---|---|---|
committer | noa | 2024-11-11 12:05:26 +0800 |
commit | 7a8141c5166227cdbf24ea9cbd207e335be37523 (patch) | |
tree | dd3d2157696670a7b54f0816ba58bc4f77222949 | |
parent | 5733c8111c7c607b22c18180e5c01db4f8e03f13 (diff) |
Use-package bind* ensures ctrlj binding is not overridden
-rw-r--r-- | emacs/init.el | 3 |
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) |