From c1b97b0a2b4cdfcaf8f60cf4f0324b0bf487f628 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sat, 17 Jun 2017 21:28:13 -0400 Subject: [PATCH] Force save files with :w --- configs/.emacs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/.emacs b/configs/.emacs index 9b8efaa7e..498c0286b 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