Why does 'x' then 'ctrl+a' not increment all numbers in line? #8097
Answered
by
the-mikedavis
Nikola-Milovic
asked this question in
Q&A
-
Title, I am used to shift+V and ctrl+a to increment all numbers under selection in vim. Any similar behavior in helix? |
Beta Was this translation helpful? Give feedback.
Answered by
the-mikedavis
Aug 28, 2023
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Nikola-Milovic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
C-a
/C-x
act on the current selection when the whole selection is a number or date. You can select the line withX
and then subselect the numbers withs
using a regex like\d+
, then hit Enter and useC-a
/C-x
.