Fix setting my org-mode global key bindings
This commit is contained in:
parent
7b40172d9c
commit
05c9146f2e
10
README.org
10
README.org
@ -1211,14 +1211,12 @@ advising to override ~TeX-brace-count-line~ with ~my-TeX-brace-count-line~.
|
|||||||
#+caption: Activate =Org=.
|
#+caption: Activate =Org=.
|
||||||
#+name: lst:activate-org
|
#+name: lst:activate-org
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(when (cl-every #'fboundp '(org-agenda
|
(when (cl-every #'fboundp '(org-agenda org-capture))
|
||||||
org-capture
|
|
||||||
org-store-link
|
|
||||||
org-store-link-global))
|
|
||||||
(global-set-key (kbd "C-c a") #'org-agenda)
|
(global-set-key (kbd "C-c a") #'org-agenda)
|
||||||
(global-set-key (kbd "C-c c") #'org-capture)
|
(global-set-key (kbd "C-c c") #'org-capture)
|
||||||
(global-set-key (kbd "C-c l") #'org-store-link)
|
(with-eval-after-load 'ol
|
||||||
(global-set-key (kbd "C-c C-l") #'org-insert-link-global))
|
(global-set-key (kbd "C-c l") #'org-store-link)
|
||||||
|
(global-set-key (kbd "C-c C-l") #'org-insert-link-global)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Org customization
|
*** Org customization
|
||||||
|
Loading…
x
Reference in New Issue
Block a user