From 4ff315fdd8efab3ca8f721373da7e04d8cfe0ac6 Mon Sep 17 00:00:00 2001 From: Blaise Thompson Date: Fri, 20 Jul 2018 19:03:48 -0500 Subject: 2018-07-20 19:03 --- emacs/init.el | 6 ++++-- 1 file 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) -- cgit v1.2.3