Archived
1
0
Fork 0
This repository has been archived on 2024-10-19. You can view files and clone it, but cannot push or open issues or pull requests.
emacs/org/config-org-keyboard.el

39 lines
1.4 KiB
EmacsLisp
Raw Normal View History

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Setup global keys
(global-set-key (kbd "C-c l") 'org-store-link)
(global-set-key (kbd "C-c a") 'org-agenda)
(global-set-key (kbd "C-c s") 'org-schedule)
(global-set-key (kbd "C-c c") 'org-capture)
(global-set-key (kbd "C-c z") 'org-attach)
(global-set-key (kbd "C-c d v")
(lambda () (interactive) (dired "~/org/Document_Archive"))
)
(global-set-key (kbd "C-c d n")
(lambda () (interactive) (find-file "~/org/_index.org"))
)
(when (not kmn/is-dayjob)
(global-set-key (kbd "C-c d t")
(lambda () (interactive) (find-file "~/org/orgzly/_todo.org"))
)
(global-set-key (kbd "C-c d s")
(lambda () (interactive) (find-file "~/org/orgzly/_slipbox.org"))
)
(global-set-key (kbd "C-c d h")
(lambda () (interactive) (find-file "~/org/health/_health.org"))
)
(global-set-key (kbd "C-c d p")
(lambda () (interactive) (find-file "~/org/photography/_photography.org"))
)
(global-set-key (kbd "C-c d r")
(lambda () (interactive) (find-file "~/org/culinary/_culinary.org"))
)
)
2023-04-11 16:08:54 +00:00
(when kmn/is-dayjob
(global-set-key (kbd "C-c t")
(lambda () (interactive) (find-file "~/org/_todo.org"))
)
(global-set-key (kbd "C-c s")
(lambda () (interactive) (find-file "~/org/_slipbox.org"))
)
)