update keymap for org-mode

Signed-off-by: Frieder Schlesier <frieder@fschl.de>
This commit is contained in:
Frieder Schlesier 2023-07-19 22:29:48 +02:00
parent b3baf67eb4
commit afe85d9516
2 changed files with 8 additions and 8 deletions

View File

@ -10,10 +10,10 @@
;;(setq org-roam-directory (file-truename "~/org-roam")) ;;(setq org-roam-directory (file-truename "~/org-roam"))
;;(org-roam-db-autosync-mode) ;;(org-roam-db-autosync-mode)
(keymap-global-set "C-c c" #'org-capture) (keymap-global-set "C-c r r" #'org-capture)
(keymap-global-set "C-c l" #'org-store-link) (keymap-global-set "C-c r l" #'org-store-link)
(global-set-key (kbd "<f8>") #'org-agenda) (keymap-global-set "C-c r a" #'org-agenda)
(global-set-key (kbd "<f7>") #'org-cycle-agenda-files) (keymap-global-set "<f7>" #'org-cycle-agenda-files)
(setq org-default-notes-file "~/Documents/Org/tasks.org") (setq org-default-notes-file "~/Documents/Org/tasks.org")
(setq org-agenda-files (setq org-agenda-files

View File

@ -21,10 +21,10 @@
#+end_src #+end_src
** Setup Org-mode Key Map ** Setup Org-mode Key Map
#+begin_src emacs-lisp #+begin_src emacs-lisp
(keymap-global-set "C-c c" #'org-capture) (keymap-global-set "C-c r r" #'org-capture)
(keymap-global-set "C-c l" #'org-store-link) (keymap-global-set "C-c r l" #'org-store-link)
(global-set-key (kbd "<f8>") #'org-agenda) (keymap-global-set "C-c r a" #'org-agenda)
(global-set-key (kbd "<f7>") #'org-cycle-agenda-files) (keymap-global-set "<f7>" #'org-cycle-agenda-files)
#+end_src #+end_src
** Setup Agenda Files ** Setup Agenda Files