From 6645cc491781f9ee49fa80e28ecd3d14849f9844 Mon Sep 17 00:00:00 2001 From: noa Date: Fri, 25 Oct 2024 15:04:09 +0800 Subject: Put ctrlj bindings in use-package declaration --- emacs/init.el | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/emacs/init.el b/emacs/init.el index a717f22..d8ca11e 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -791,14 +791,14 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word." (when (buffer-file-name) (kill-new (file-name-nondirectory (buffer-file-name))))) -(use-package ctrlj) -(global-unset-key (kbd "C-j")) -(global-set-key (kbd "C-j C-j") #'ctrlj/open-note) -(global-set-key (kbd "C-j C-n") #'ctrlj/new-note) -(global-set-key (kbd "C-j C-l") #'ctrlj/insert-link-to-note) -(global-set-key (kbd "C-j C-d") #'ctrlj/open-todays-diary) -(global-set-key (kbd "C-j C-a") #'ctrlj/view-agenda) -(global-set-key (kbd "C-j C-o") #'ctrlj/jump-to-other-related-note) +(use-package ctrlj + :bind (("