about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
Diffstat (limited to 'configs')
-rw-r--r--configs/.emacs5
1 files changed, 4 insertions, 1 deletions
diff --git a/configs/.emacs b/configs/.emacs
index 9b8efaa7e70a..498c0286b47d 100644
--- a/configs/.emacs
+++ b/configs/.emacs
@@ -294,9 +294,12 @@
   (setq evil-insert-state-cursor '("VioletRed3" bar))
   (setq evil-replace-state-cursor '("VioletRed3" bar))
   (setq evil-operator-state-cursor '("VioletRed3" hollow))
+
   (global-evil-matchit-mode t)
   (global-evil-surround-mode t)
-  (global-evil-leader-mode t))
+  (global-evil-leader-mode t)
+  :config
+  (evil-ex-define-cmd (kbd "w") 'save-buffer-always))
 
 
 ;; Hack at the moment for extending the behavior of the jump to mark command