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

Inner loop text object #3

Open
momoneko opened this issue Jul 13, 2018 · 3 comments
Open

Inner loop text object #3

momoneko opened this issue Jul 13, 2018 · 3 comments

Comments

@momoneko
Copy link

Hi,

an awesome functionality would be to have a inner loop text object. In brace languages this is easily done with i{ but for Python there's no such option, the same as with classes and functions.

@jeetsukumaran
Copy link
Owner

For this (and other similar sub blocks), I think the indent text object works very, very, very well 99.9% of the time?

@momoneko
Copy link
Author

@jeetsukumaran, I am not familiar with the indent text object? How can I use it?

@Warpulis
Copy link

the problem with the indent text object is that you can't move the whole block.

the worst case are multiple if/elif/else statements: you could move one of the "elif" clauses. If you're within the clause or the statement spans more than one screen, moving with counting becomes a chore.

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