Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

Commit

Permalink
Add rotate package for window/template placement leader keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Lyons committed Aug 9, 2021
1 parent 9d87265 commit b36f77c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
6 changes: 3 additions & 3 deletions emacs/.emacs.d/config.el
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,11 @@
;; Fast access to tag common contexts I use
(setq org-tag-alist '(("@inbox" . ?i) ("@home" . ?h) ("@computer" . ?c) ("@phone" . ?p)))

(add-hook 'org-finalize-agenda-hook
(add-hook 'org-agenda-finalize-hook
(lambda ()
(save-excursion
(color-org-header "2021-08-01:" "azure" "black")
(color-org-header "2021-08-05:" "RosyBrown1" "red"))))
(color-org-header "2021-08-01" "azure" "black")
(color-org-header "2021-08-05" "RosyBrown1" "red"))))

(defun color-org-header (tag backcolor forecolor)
""
Expand Down
18 changes: 12 additions & 6 deletions emacs/.emacs.d/config.org
Original file line number Diff line number Diff line change
Expand Up @@ -620,15 +620,21 @@ This is what makes emacs possible for me. All evil mode packages and related con

#+END_SRC

** Utility packages
** Utility packages and functions
Various helpers and packages I find useful.

*** Google
*** Rotate
#+BEGIN_SRC emacs-lisp
;; You can probably guess
(use-package google-this
:config
(google-this-mode 1))

;; Rotates windows and layouts
(use-package rotate
:config)

(dl/leader-keys
"r" '(:ignore t :which-key "rotate")
"rw" '(rotate-window :which-key "rotate window")
"rl" '(rotate-layout :which-key "rotate layout"))

#+END_SRC

** Managing projects
Expand Down

0 comments on commit b36f77c

Please sign in to comment.