Sunday, August 5, 2012

Re: Multiple cursors in vim, is it possible?

On 05/08/12 20:12, Tim Chase wrote:
> On 08/05/12 12:25, Tony Mechelynck wrote:
>> On 05/08/12 15:12, Asis Hallab wrote:
>>> It has a very neat feature called *multiple cursors*, where the
>>> user just selects different positions in the current buffer and
>>> every editing done is applied to those multiple cursor
>>> positions.
>>
>> The nearest thing to multiple cursors that I can imagine which is
>> easy to do, would be to have your "several locations"
>
> The first thing that occurred to me was the use of the :g command
> which performs one or more Ex commands on every line that matches a
> pattern. In a way, "ed" allowed for editing at multiple "cursor"
> locations decades ago. :-)
>
> -tim
>

Ah, right, but not interactively, and in only one file at a time.


Best regards,
Tony.
--
"I had to censor everything my sons watched ... even on the Mary Tyler
Moore show I heard the word 'damn'!"
-- Mary Lou Bax

--
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: