Force save files with :w

This commit is contained in:
William Carroll 2017-06-17 21:28:13 -04:00
parent 6f251694d6
commit c1b97b0a2b

View file

@ -294,9 +294,12 @@
(setq evil-insert-state-cursor '("VioletRed3" bar)) (setq evil-insert-state-cursor '("VioletRed3" bar))
(setq evil-replace-state-cursor '("VioletRed3" bar)) (setq evil-replace-state-cursor '("VioletRed3" bar))
(setq evil-operator-state-cursor '("VioletRed3" hollow)) (setq evil-operator-state-cursor '("VioletRed3" hollow))
(global-evil-matchit-mode t) (global-evil-matchit-mode t)
(global-evil-surround-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 ;; Hack at the moment for extending the behavior of the jump to mark command