summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
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)