summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorBlaise Thompson <blaise@untzag.com>2019-03-28 20:16:11 -0500
committerBlaise Thompson <blaise@untzag.com>2019-03-28 20:16:11 -0500
commit2755799a1b6dc74f209593288ebe65740f67ad6b (patch)
treefe87f5f993485c153512abebc35c204bc7828a35 /emacs
parenta95614ae9565885703331e696f017e76e56ed017 (diff)
2019-03-28 20:16
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el22
1 files changed, 20 insertions, 2 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 77bf895..1f24206 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -120,12 +120,31 @@
(setq org-agenda-files '("~/org/"))
(setq org-agenda-span 30)
(setq org-agenda-window-setup 'only-window)
+ (setq org-clock-mode-line-total 'today)
)
;; spaceline
(use-package spaceline :ensure t)
+(spaceline-compile
+ ; left side
+ '(
+ (buffer-id :priority 99)
+ (major-mode :priority 76)
+ (version-control :when active :priority 75)
+ (org-clock :when active :priority 99)
+ )
+ ; right side
+ '(
+ (line-column :priority 99)
+ (buffer-position :priority 75)
+ (buffer-size :priority 95)
+ )
+ )
(setq powerline-default-separator 'bar)
(spaceline-emacs-theme)
+(spaceline-toggle-minor-modes-off)
+(spaceline-toggle-buffer-encoding-abbrev-off)
+(spaceline-compile)
;; which-key
(use-package which-key
@@ -257,8 +276,7 @@
(evil-leader/set-key "m" 'helm-mini)
(evil-leader/set-key "q" 'save-buffers-kill-terminal)
(evil-leader/set-key "s" 'check-next-spelling-error)
-(evil-leader/set-key "t" 'color-theme-tomorrow-night)
-(evil-leader/set-key "T" 'color-theme-tomorrow)
+(evil-leader/set-key "t" 'org-clock-goto)
(evil-leader/set-key "," 'other-window)
(evil-leader/set-key "/" 'helm-swoop)
(evil-leader/set-key "<SPC>" 'helm-M-x)