Saturday, September 3, 2011

Re: How can I select multiple lines that are not in a continuous chunk?

On Sep 3, 5:33 pm, K Z <no.deep....@gmail.com> wrote:
> Hello,
> I am trying to select multiple lines that are not in a continuous
> chunk. E.g., I want to select line 1 and 3 simultaneously without
> selecting line 2:
>
> this is line 1
> this is line 2
> this is line 3
>

Not possible. However, depending on what you are actually trying to
accomplish, we may still be able to help you.

If you're trying to highlight multiple lines so they stand out,
see :he matchadd()

If you're trying to run a command on multiple lines, see :he :g
and :he :v

For any of these, the "match on this line" regex items may be of
use, :he /\%l

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: