add key bind for 'previous-buffer ; add config to allow multiple org-agenda buffers ; update main org workspace to be a 2 column split so habits/scheduled/deadline tasks are in one agenda at the top and main to do list at bottom ; use enter to edit agenda items and the new 'C-c v' keybind to jump back to the agenda when done editing
This commit is contained in:
parent
4c1317d202
commit
e0534e89c0
|
@ -199,6 +199,7 @@
|
|||
(global-set-key (kbd "M-a") 'mark-whole-buffer)
|
||||
(global-set-key (kbd "C-a") 'kmn/smart-beginning-of-line)
|
||||
(global-set-key (kbd "C-e") 'kmn/smart-end-of-line)
|
||||
(global-set-key (kbd "C-c v") 'previous-buffer)
|
||||
(global-set-key (kbd "C-c w")
|
||||
(lambda ()
|
||||
(interactive)
|
||||
|
@ -257,6 +258,9 @@
|
|||
; org mode syntax highlight code blocks
|
||||
(setq org-src-fontify-natively t)
|
||||
|
||||
; org mode - multiple agenda buffers
|
||||
(setq org-agenda-sticky t)
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; set font for emoji -- DOES NOT WORK ON MOBILE
|
||||
(when (eq system-type 'windows-nt)
|
||||
|
|
|
@ -35,20 +35,21 @@
|
|||
(delete-other-windows)
|
||||
(kmn/kill-other-buffers)
|
||||
(ignore-errors (kill-buffer "*scratch*"))
|
||||
; front load org-agenda so it doesnt reshuffle the frame layout on us
|
||||
(org-agenda nil "r")
|
||||
(split-window-below)
|
||||
(next-multiframe-window)
|
||||
; show kmn's slipbox
|
||||
(find-file "~/org/orgzly/_slipbox.org")
|
||||
; split window for additional file to show
|
||||
(split-window-below)
|
||||
(next-multiframe-window)
|
||||
; show kmn health notes/data tracker
|
||||
(find-file "~/org/health/health_mike.org")
|
||||
; switch to top of agenda window so most useful window is focused
|
||||
(next-multiframe-window)
|
||||
; top window for habits/scheduled
|
||||
(org-agenda nil "h")
|
||||
(goto-char 0)
|
||||
; main todo/slipbox
|
||||
(split-window-below)
|
||||
(next-multiframe-window)
|
||||
(org-agenda nil "t")
|
||||
(goto-char 0)
|
||||
; show kmn health notes/data tracker
|
||||
;(split-window-below)
|
||||
;(next-multiframe-window)
|
||||
;(find-file "~/org/health/health_mike.org")
|
||||
;(goto-char 0)
|
||||
; focus top most frame
|
||||
(next-multiframe-window)
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
@ -133,7 +133,7 @@
|
|||
|
||||
(setq org-agenda-custom-commands
|
||||
'(
|
||||
("r" "Personal"
|
||||
("r" "Personal (Combined)"
|
||||
(
|
||||
(agenda "" (
|
||||
(org-agenda-overriding-header "Scheduled")
|
||||
|
@ -161,6 +161,38 @@
|
|||
))
|
||||
)
|
||||
)
|
||||
("h" "Personal (Habits/Scheduled)"
|
||||
(
|
||||
(agenda "" (
|
||||
(org-agenda-overriding-header "Scheduled")
|
||||
(org-agenda-remove-tags t)
|
||||
(org-deadline-warning-days 14)
|
||||
(org-agenda-entry-types '(:deadline :scheduled))
|
||||
))
|
||||
(agenda "" (
|
||||
(org-agenda-overriding-header "Habits")
|
||||
(org-agenda-files (list "~/org/orgzly/_habits.org"
|
||||
"~/org/health/_meds.org"))
|
||||
(org-agenda-remove-tags t)
|
||||
))
|
||||
)
|
||||
)
|
||||
("t" "Personal (Tasks)"
|
||||
(
|
||||
(todo "WIP" (
|
||||
(org-agenda-overriding-header "WIP")
|
||||
(org-agenda-remove-tags t)
|
||||
))
|
||||
(todo "READY" (
|
||||
(org-agenda-overriding-header "Ready")
|
||||
(org-agenda-remove-tags t)
|
||||
))
|
||||
(tags-todo "-TODO=\"WIP\"-TODO=\"READY\"" (
|
||||
(org-agenda-overriding-header "")
|
||||
(org-agenda-remove-tags t)
|
||||
))
|
||||
)
|
||||
)
|
||||
("d" "Destiny"
|
||||
(
|
||||
(agenda "" (
|
||||
|
|
Reference in a new issue