aboutsummaryrefslogtreecommitdiff
path: root/evil-commands.el
diff options
context:
space:
mode:
authorTom Dalziel <tom_dl@hotmail.com>2022-03-09 22:10:31 +0000
committerTom Dalziel <33435574+tomdl89@users.noreply.github.com>2022-03-09 23:16:52 +0100
commit3e41a823334abbba9cf16e482855699054d9dfe0 (patch)
tree9e74d306ef2a37f88c32467c73e725fb9ec677c8 /evil-commands.el
parent2ba00479db3f71f46444733c0edc5f8d16155b69 (diff)
Default to start-col when evil-shifts called non-interactively
Diffstat (limited to 'evil-commands.el')
-rw-r--r--evil-commands.el2
1 files changed, 1 insertions, 1 deletions
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 ()