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

Is <count> really working? #21

Open
097115 opened this issue Nov 9, 2018 · 2 comments
Open

Is <count> really working? #21

097115 opened this issue Nov 9, 2018 · 2 comments

Comments

@097115
Copy link

097115 commented Nov 9, 2018

I'm probably missing something, but v2ii, for example, does not selects 2 indentation levels for me.

Given this example with cursor at cccc:

aaaa
    bbbb
        cc[|]cc

...pressing vii + ii does select both cccc and bbbb lines. However, pressing v2ii selects only cccc line.

Where am I wrong? :)

@jdhao
Copy link

jdhao commented Jan 10, 2019

It does not work for me either. For example, for the following code,

def some_funct():
    for i in range(5):
        print(i)
        do_something_else()

if cursor is in the for loop, using something like v2ii only select the block inside for loop.

@urxvtcd
Copy link

urxvtcd commented Jan 8, 2022

Shameless plug, but it works on my fork: https://github.com/urxvtcd/vim-indent-object

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

3 participants