michaeljsmith / vim-indent-object

Vim plugin that defines a new text object representing lines of code at the same indent level. Useful for python/vim scripts, etc.
http://www.vim.org/scripts/script.php?script_id=3037
MIT License
735 stars 61 forks source link

Hello, is there a way to select all the lines below current line? #27

Open tristone13th opened 3 years ago

tristone13th commented 3 years ago

ii represents the inner object of the current indent level, and it also selects the line above the cursor (if their levels are the same). Is there a way to just select the lines below the cursor?

urxvtcd commented 2 years ago

Hi there, I have recently forked this repo and heavily refactored it and added some features. If I understood you correctly, then the mappings expanding the selection only downwards or upwards, while keeping the other end in place should do what you ask for.