diff options
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/init.el | 16 |
1 files 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 (("<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) + ("C-j C-d" . ctrlj/open-todays-diary) + ("C-j C-a" . ctrlj/view-agenda) + ("C-j C-o" . ctrlj/jump-to-other-related-note))) (defun noa/consult-rg-notes () (interactive) |