From cd9a16cf37fe45253770ba73ae1d437991d9cbc6 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 13 Mar 2022 15:02:36 +0800 Subject: Update the keymap of orgmode (emacs) --- .emacs.d/lisp/init-org.el | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) (limited to '.emacs.d') diff --git a/.emacs.d/lisp/init-org.el b/.emacs.d/lisp/init-org.el index 8329ab0..5fcbdf4 100644 --- a/.emacs.d/lisp/init-org.el +++ b/.emacs.d/lisp/init-org.el @@ -41,18 +41,28 @@ (kbd "TAB") 'org-cycle (kbd "RET") 'org-open-at-point (kbd "H") 'org-toggle-heading - (kbd "os") 'org-schedule - (kbd "od") 'org-deadline + (kbd "or") 'org-refile - (kbd "oil") 'org-insert-link - (kbd "oih") 'org-insert-heading - (kbd "oci") 'org-clock-in - (kbd "oco") 'org-clock-out - (kbd "ocr") 'org-clock-report + + ;; set + (kbd "ss") 'org-schedule + (kbd "sd") 'org-deadline (kbd "sp") 'org-set-property + + ;; insert + (kbd "il") 'org-insert-link + (kbd "ih") 'org-insert-heading + (kbd "in") 'org-roam-node-insert + + ;; clock + (kbd "ci") 'org-clock-in + (kbd "co") 'org-clock-out + (kbd "cr") 'org-clock-report + + ;; priority (kbd "+") 'org-priority-up - (kbd "-") 'org-priority-down - (kbd "oin") 'org-roam-node-insert) + (kbd "-") 'org-priority-down) + (evil-set-initial-state 'org-agenda-mode 'motion) (evil-define-key 'motion org-agenda-mode-map -- cgit v1.2.3