org: move global keys from :config to :init

This commit is contained in:
Muneeb Shaikh 2016-02-17 13:58:51 +05:30 committed by Eivind Fonn
parent a686fe99ce
commit b72e19629a
1 changed files with 5 additions and 5 deletions

View File

@ -264,7 +264,11 @@ Will work on both org-mode and any mode that accepts plain html."
;; other
"aoO" 'org-clock-out
"aoc" 'org-capture
"aol" 'org-store-link))
"aol" 'org-store-link)
(define-key global-map "\C-cl" 'org-store-link)
(define-key global-map "\C-ca" 'org-agenda)
(define-key global-map "\C-cc" 'org-capture))
:config
(progn
(setq org-default-notes-file "notes.org")
@ -274,10 +278,6 @@ Will work on both org-mode and any mode that accepts plain html."
(2 font-lock-function-name-face)
(3 font-lock-comment-face prepend))))
(define-key global-map "\C-cl" 'org-store-link)
(define-key global-map "\C-ca" 'org-agenda)
(define-key global-map "\C-cc" 'org-capture)
;; Open links and files with RET in normal state
(evil-define-key 'normal org-mode-map (kbd "RET") 'org-open-at-point)