From 3e41a823334abbba9cf16e482855699054d9dfe0 Mon Sep 17 00:00:00 2001 From: Tom Dalziel Date: Wed, 9 Mar 2022 22:10:31 +0000 Subject: Default to start-col when evil-shifts called non-interactively --- evil-commands.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evil-commands.el b/evil-commands.el index 12d1148..a0dfca6 100644 --- a/evil-commands.el +++ b/evil-commands.el @@ -2009,7 +2009,7 @@ See also `evil-shift-left'." (move-to-column (max 0 (+ col-for-insert first-shift)))) (evil-start-of-line (evil-first-non-blank)) ((evil--stick-to-eol-p) (move-end-of-line 1)) - (t (move-to-column (or goal-column evil-operator-start-col)))) + (t (move-to-column (or goal-column evil-operator-start-col col-for-insert)))) (setq temporary-goal-column 0))) (defun evil-delete-indentation () -- cgit v1.0