Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support 'g CTRL-A' #13

Open
garrett-hopper opened this issue Jun 1, 2019 · 0 comments
Open

Support 'g CTRL-A' #13

garrett-hopper opened this issue Jun 1, 2019 · 0 comments

Comments

@garrett-hopper
Copy link

'g CTRL-A' is very useful for creating lines of increasing numbers.

                                                        CTRL-A
CTRL-A                  Add [count] to the number or alphabetic character at
                        or after the cursor.  {not in Vi}

                                                        v_CTRL-A
{Visual}CTRL-A          Add [count] to the number or alphabetic character in
                        the highlighted text.  {not in Vi}

                                                        v_g_CTRL-A
{Visual}g CTRL-A        Add [count] to the number or alphabetic character in
                        the highlighted text. If several lines are
                        highlighted, each one will be incremented by an
                        additional [count] (so effectively creating a
                        [count] incrementing sequence).  {not in Vi}
                        For Example, if you have this list of numbers:
                                1.
                                1.
                                1.
                                1.
                        Move to the second "1." and Visually select three
                        lines, pressing g CTRL-A results in:
                                1.
                                2.
                                3.
                                4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant