aboutsummaryrefslogtreecommitdiff
path: root/evil-vars.el
diff options
context:
space:
mode:
authorTom Dalziel <tom_dl@hotmail.com>2022-01-07 16:16:22 +0100
committerTom Dalziel <33435574+tomdl89@users.noreply.github.com>2022-01-07 17:37:12 +0100
commit3232f9413f1bc0b4155fa20aaa8649d0f0c505d7 (patch)
tree538dca98ce65b0c4f85f6702a576a97107956c98 /evil-vars.el
parent8afda6f6493a7f32c31d0e948e65ade06e17d1be (diff)
Add `evil-want-empty-ex-last-command` to vars
fixes #883
Diffstat (limited to 'evil-vars.el')
-rw-r--r--evil-vars.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/evil-vars.el b/evil-vars.el
index 3887bb4..e4eded6 100644
--- a/evil-vars.el
+++ b/evil-vars.el
@@ -1943,6 +1943,11 @@ Otherwise the previous command is assumed as substitute.")
(define-key evil-ex-search-keymap [escape] 'abort-recursive-edit)
(set-keymap-parent evil-ex-search-keymap minibuffer-local-map)
+(defcustom evil-want-empty-ex-last-command t
+ "Whether to default to evil-ex-previous-command at empty ex prompt."
+ :type 'boolean
+ :group 'evil)
+
(defconst evil-version
(eval-when-compile
(with-temp-buffer