From 0bed9d131277cdfceea8bdc8279ea8c7dc6b9124 Mon Sep 17 00:00:00 2001 From: Andrew Whatson Date: Mon, 21 Oct 2019 19:25:15 +1000 Subject: [PATCH] Restore save file binding on SPC f s Put `save-buffer` back on `SPC f s` to save without prompt, and add `write-file` as `SPC f S` for saving with prompt for filename. Fixes #1923 --- modules/config/default/+evil-bindings.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/config/default/+evil-bindings.el b/modules/config/default/+evil-bindings.el index 088a0b716..0c6cb86cc 100644 --- a/modules/config/default/+evil-bindings.el +++ b/modules/config/default/+evil-bindings.el @@ -647,7 +647,8 @@ :desc "Browse private config" "P" #'doom/open-private-config :desc "Recent files" "r" #'recentf-open-files :desc "Recent project files" "R" #'projectile-recentf - :desc "Save file" "s" #'write-file + :desc "Save file" "s" #'save-buffer + :desc "Save file as..." "S" #'write-file :desc "Sudo find file" "u" #'doom/sudo-find-file :desc "Yank filename" "y" #'+default/yank-buffer-filename)