Archived
1
0
Fork 0

Compare commits

..

2 commits

3 changed files with 18 additions and 3 deletions

View file

@ -261,6 +261,11 @@
; org mode - multiple agenda buffers ; org mode - multiple agenda buffers
(setq org-agenda-sticky t) (setq org-agenda-sticky t)
; org show file name in refile, also allows refiling to the file as a top level headline
(setq org-refile-use-outline-path 'file)
(setq org-outline-path-complete-in-steps nil)
(setq org-refile-allow-creating-parent-nodes 'confirm)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; set font for emoji -- DOES NOT WORK ON MOBILE ;; set font for emoji -- DOES NOT WORK ON MOBILE
(when (eq system-type 'windows-nt) (when (eq system-type 'windows-nt)

View file

@ -98,6 +98,11 @@
)) ))
) )
; use *all* org agenda files as refile targets
(setq org-refile-targets
'((nil :maxlevel . 3)
(org-agenda-files :maxlevel . 3)))
(require 'org-super-agenda) (require 'org-super-agenda)
(org-super-agenda-mode) (org-super-agenda-mode)

View file

@ -2,9 +2,14 @@
; Setup global keys ; Setup global keys
(global-set-key (kbd "C-c l") 'org-store-link) (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 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 c") 'org-capture)
(global-set-key (kbd "C-c z") 'org-attach) (global-set-key (kbd "C-c z") 'org-attach)
(global-set-key (kbd "C-c m x") 'org-cut-subtree)
(global-set-key (kbd "C-c m r") 'org-archive-subtree)
(global-set-key (kbd "C-c m f") 'org-refile)
(global-set-key (kbd "C-c m s") 'org-agenda-schedule)
(global-set-key (kbd "C-c m d") 'org-agenda-deadline)
(global-set-key (kbd "C-c d v") (global-set-key (kbd "C-c d v")
(lambda () (interactive) (dired "~/org/Document_Archive")) (lambda () (interactive) (dired "~/org/Document_Archive"))
) )
@ -29,10 +34,10 @@
) )
) )
(when kmn/is-dayjob (when kmn/is-dayjob
(global-set-key (kbd "C-c t") (global-set-key (kbd "C-c d t")
(lambda () (interactive) (find-file "~/org/_todo.org")) (lambda () (interactive) (find-file "~/org/_todo.org"))
) )
(global-set-key (kbd "C-c s") (global-set-key (kbd "C-c d s")
(lambda () (interactive) (find-file "~/org/_slipbox.org")) (lambda () (interactive) (find-file "~/org/_slipbox.org"))
) )
) )