diff options
author | Blaise Thompson <blaise@untzag.com> | 2018-07-20 19:03:48 -0500 |
---|---|---|
committer | Blaise Thompson <blaise@untzag.com> | 2018-07-20 19:03:48 -0500 |
commit | 4ff315fdd8efab3ca8f721373da7e04d8cfe0ac6 (patch) | |
tree | 2f2646bc11b681417f434181b71f4d8dec33a5f7 | |
parent | c523b5d654473d684200a93b5938c13df99bc7cc (diff) |
2018-07-20 19:03
-rw-r--r-- | emacs/init.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/emacs/init.el b/emacs/init.el index e258f35..59f25a2 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -134,11 +134,11 @@ (load-file "~/source/dotfiles/emacs/color-theme-tomorrow.el") (color-theme-tomorrow-night) -(set-face-attribute 'helm-selection nil +(set-face-attribute 'helm-selection nil :background "#373b41" :foreground "#c5c8c6" ) -(set-face-attribute 'highlight nil +(set-face-attribute 'highlight nil :background "#373b41" ) @@ -217,6 +217,7 @@ ;; global (add-hook 'after-init-hook 'global-company-mode) +(add-hook 'before-save-hook 'delete-trailing-whitespace) ;;; keybindings ----------------------------------------------------------------------------------- @@ -224,6 +225,7 @@ (evil-leader/set-key "a" 'org-agenda-list) (evil-leader/set-key "b" 'org-brain-visualize) (evil-leader/set-key "B" 'org-brain-visualize) +(evil-leader/set-key "c" 'calc) (evil-leader/set-key "f" 'helm-find-files) (evil-leader/set-key "j" 'dired-jump) (evil-leader/set-key "k" 'kill-buffer) |