This commit is contained in:
fz0x1 2024-11-28 14:54:14 +01:00
parent 76a27e4750
commit 6629c85f02
2 changed files with 33 additions and 17 deletions

View file

@ -46,6 +46,16 @@
:config :config
(evil-mode 1)) (evil-mode 1))
(use-package helm
:ensure t
:config
(helm-mode 1))
(use-package helm-org-rifle
:ensure t
:init
(global-set-key (kbd "C-c r") 'helm-org-rifle-agenda-files))
(setq aw-dispatch-always t) (setq aw-dispatch-always t)
(setq use-package-always-ensure t) (setq use-package-always-ensure t)
@ -74,14 +84,16 @@
;; Shortcuts for storing links, viewing the agenda, and starting a capture ;; Shortcuts for storing links, viewing the agenda, and starting a capture
(define-key global-map "\C-cl" '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-ca" 'org-agenda)
(define-key global-map "\C-cc" 'org-capture) (define-key global-map (kbd "C-c c") 'org-capture)
(define-key global-map "\C-ci" 'org-id-get-create) (define-key org-mode-map (kbd "C-c i") 'org-id-get-create)
;; (define-key global-map "\C-ci" 'org-id-copy) (define-key org-mode-map (kbd "C-c p") 'org-set-property)
(define-key global-map "\C-cp" 'org-set-property)
(global-set-key (kbd "C-c n") (lambda () (interactive) (find-file "~/org/notes.org"))) (global-set-key (kbd "C-c n") (lambda () (interactive) (find-file "~/org/notes.org")))
(global-set-key (kbd "C-c w") (lambda () (interactive) (find-file "~/org/work-log.org"))) (global-set-key (kbd "C-c w") (lambda () (interactive) (find-file "~/org/work-log.org")))
(define-key helm-map (kbd "C-M-n") 'helm-next-source)
(define-key helm-map (kbd "C-M-p") 'helm-previous-source)
;; When you want to change the level of an org item, use SMR ;; When you want to change the level of an org item, use SMR
(define-key org-mode-map (kbd "C-c C-g C-r") 'org-shiftmetaright) (define-key org-mode-map (kbd "C-c C-g C-r") 'org-shiftmetaright)
@ -107,7 +119,7 @@
(define-key evil-normal-state-map (kbd "TAB") 'org-cycle) ;; return the standard functionality for TAB (define-key evil-normal-state-map (kbd "TAB") 'org-cycle) ;; return the standard functionality for TAB
(add-hook 'org-mode-hook (lambda () (org-load-modules-maybe t))) (add-hook 'org-mode-hook (lambda () (org-load-modules-maybe t)))
(setq org-id-link-to-org-use-id t) ;; (setq org-id-link-to-org-use-id t)
;; autosave org-mode buffers ;; autosave org-mode buffers
(setq auto-save-timeout 20) (setq auto-save-timeout 20)
@ -156,17 +168,17 @@
("r" "Grocery list" ("r" "Grocery list"
entry (file+headline "~/org/grocery.org" "Grocery list") entry (file+headline "~/org/grocery.org" "Grocery list")
"* NEED2BUY [#B] %?\n:Created: %T\n " "* NEED2BUY [#B] %?\n:PROPERTIES:\n:Created: %T\n:END:\n "
:empty-lines 0) :empty-lines 0)
("g" "General To-Do" ("g" "General To-Do"
entry (file+headline "~/org/todos.org" "General Tasks") entry (file+headline "~/org/todos.org" "General Tasks")
"* TODO [#B] %?\n:Created: %T\n " "* TODO [#B] %?\n:PROPERTIES:\n:Created: %T\n:END:\n "
:empty-lines 0) :empty-lines 0)
("m" "Meeting" ("m" "Meeting"
entry (file+datetree "~/org/meetings.org") entry (file+datetree "~/org/meetings.org")
"* %? :meeting:%^g \n:Created: %T\n** Notes\n** Action Items\n*** TODO [#A] " "* %? :meeting:%^g \n:PROPERTIES:\n:Created: %T\n:END:\n** Notes\n** Action Items\n*** TODO [#A] "
:tree-type week :tree-type week
:clock-in t :clock-in t
:clock-resume t :clock-resume t
@ -174,7 +186,7 @@
("c" "Code To-Do" ("c" "Code To-Do"
entry (file+headline "~/org/todos.org" "Code Related Tasks") entry (file+headline "~/org/todos.org" "Code Related Tasks")
"* TODO [#B] %?\n:Created: %T\n%i\nProposed Solution:\n" "* TODO [#B] %?\n:PROPERTIES:\n:Created: %T\n:END:\n%i\nProposed Solution:\n"
:empty-lines 0) :empty-lines 0)
@ -185,7 +197,7 @@
("L" "Unselected web capture" ("L" "Unselected web capture"
entry (file "~/org/web-links.org") entry (file "~/org/web-links.org")
"* %? [[%:link][%(transform-square-brackets-to-round-ones \"%:description\")]]\n" "** %(transform-square-brackets-to-round-ones \"%:description\")%?\n:PROPERTIES:\n:Created: %T\n:END:\n- %:link\n"
:empty-lines 1))) :empty-lines 1)))
(setq org-todo-keywords (setq org-todo-keywords
@ -200,8 +212,7 @@
("VERIFYING" . (:foreground "DarkOrange" :weight bold)) ("VERIFYING" . (:foreground "DarkOrange" :weight bold))
("BLOCKED" . (:foreground "Red" :weight bold)) ("BLOCKED" . (:foreground "Red" :weight bold))
("DONE" . (:foreground "LimeGreen" :weight bold)) ("DONE" . (:foreground "LimeGreen" :weight bold))
("OBE" . (:foreground "LimeGreen" :weight bold)) ("NEED2BUY" . (:foreground "Red" :weight bold))
("WONT-DO" . (:foreground "LimeGreen" :weight bold))
)) ))
@ -234,6 +245,7 @@
("friends" . ?E) ("friends" . ?E)
("hobby" . ?B) ("hobby" . ?B)
("research" . ?G) ("research" . ?G)
("article" . ?I)
(:endgroup) (:endgroup)
;; Special tags ;; Special tags
@ -251,6 +263,9 @@
("devops") ("devops")
("pet") ("pet")
("accomplishment") ("accomplishment")
("music")
("youtube")
("trash")
)) ))
@ -358,11 +373,6 @@
:todo "IN-PROGRESS" :todo "IN-PROGRESS"
:order 1 :order 1
) )
;; Filter where TODO state is PLANNING
(:name "Planning Next Steps"
:todo "PLANNING"
:order 2
)
;; Filter where TODO state is BLOCKED or where the tag is obstacle ;; Filter where TODO state is BLOCKED or where the tag is obstacle
(:name "Problems & Blockers" (:name "Problems & Blockers"
:todo "BLOCKED" :todo "BLOCKED"
@ -403,6 +413,11 @@
:todo "VERIFYING" :todo "VERIFYING"
:order 10 :order 10
) )
;; Filter where TODO state is PLANNING
(:name "Planning Next Steps"
:todo "PLANNING"
:order 11
)
) )
) )
) )

View file

@ -62,6 +62,7 @@ set -g @plugin 'tmux-plugins/tmux-sensible'
# set -g @plugin 'tmux-plugins/tmux-continuum' # set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'MunifTanjim/tmux-mode-indicator' set -g @plugin 'MunifTanjim/tmux-mode-indicator'
set -g @plugin 'christoomey/vim-tmux-navigator' set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'schasse/tmux-jump'
run '~/.tmux/plugins/tpm/tpm' run '~/.tmux/plugins/tpm/tpm'