1
0
mirror of https://github.com/Foltik/dotfiles synced 2024-11-28 05:27:06 -05:00

config.org fixes

This commit is contained in:
Jack Foltz 2019-09-07 11:07:25 -04:00
parent 6e648c076e
commit a3071780ba
Signed by: foltik
GPG Key ID: D1F0331758D1F29A

View File

@ -698,20 +698,21 @@ If the manual is not on your computer, it's [[https://orgmode.org/manual/][here]
:general :general
(jf-major-def (jf-major-def
:keymaps 'org-mode-map :keymaps 'org-mode-map
"e" 'org-export-dispatch "e" 'org-export-dispatch
"a" 'org-attach) "a" 'org-attach)
(jf-org-def (jf-org-def
"a" 'org-agenda "a" 'org-agenda
"c" 'org-capture "A" 'org-archive-to-archive-sibling
"C i" 'org-clock-in "c" 'org-capture
"C o" 'org-clock-out "C i" 'org-clock-in
"C c" 'org-clock-cancel "C o" 'org-clock-out
"l" 'org-insert-link "C c" 'org-clock-cancel
"L" 'org-store-link "l" 'org-insert-link
"b" 'org-switchb "L" 'org-store-link
"r" 'jf-org-deep-refile "b" 'org-switchb
"R" 'jf-org-deep-copy) "r" 'jf-org-deep-refile
"R" 'jf-org-deep-copy)
:custom :custom
(org-directory "~/Sync/org") (org-directory "~/Sync/org")
@ -901,6 +902,9 @@ Define some *useful* helper functions
(setq tab-width num) (setq tab-width num)
(setq indent-tabs-mode nil)) (setq indent-tabs-mode nil))
(setq-default indent-tabs-mode nil)
(setq-default tab-width 4)
;; Default to 4 spaces ;; Default to 4 spaces
(add-hook 'prog-mode-hook #'jf-indent-4-spaces) (add-hook 'prog-mode-hook #'jf-indent-4-spaces)