aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-03-13 15:02:36 +0800
committerGuangxiong Lin <[email protected]>2022-03-13 15:02:36 +0800
commitcd9a16cf37fe45253770ba73ae1d437991d9cbc6 (patch)
tree847344c2e8f5fab6fb6f5c8950d94a6f156a9d64
parent5560be559b4b096e528b12d40d583dc027422a03 (diff)
downloaddotfiles-cd9a16cf37fe45253770ba73ae1d437991d9cbc6.tar.gz
dotfiles-cd9a16cf37fe45253770ba73ae1d437991d9cbc6.tar.bz2
dotfiles-cd9a16cf37fe45253770ba73ae1d437991d9cbc6.zip
Update the keymap of orgmode (emacs)
-rw-r--r--.emacs.d/lisp/init-org.el28
1 files changed, 19 insertions, 9 deletions
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 "<leader>os") 'org-schedule
- (kbd "<leader>od") 'org-deadline
+
(kbd "<leader>or") 'org-refile
- (kbd "<leader>oil") 'org-insert-link
- (kbd "<leader>oih") 'org-insert-heading
- (kbd "<leader>oci") 'org-clock-in
- (kbd "<leader>oco") 'org-clock-out
- (kbd "<leader>ocr") 'org-clock-report
+
+ ;; set
+ (kbd "<leader>ss") 'org-schedule
+ (kbd "<leader>sd") 'org-deadline
(kbd "<leader>sp") 'org-set-property
+
+ ;; insert
+ (kbd "<leader>il") 'org-insert-link
+ (kbd "<leader>ih") 'org-insert-heading
+ (kbd "<leader>in") 'org-roam-node-insert
+
+ ;; clock
+ (kbd "<leader>ci") 'org-clock-in
+ (kbd "<leader>co") 'org-clock-out
+ (kbd "<leader>cr") 'org-clock-report
+
+ ;; priority
(kbd "+") 'org-priority-up
- (kbd "-") 'org-priority-down
- (kbd "<leader>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