summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el6
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)