Sunday, August 5, 2012

Re: Good idea to remap s to $?

>> ...
>>> What do you think?
>>
>> I used vi for years, before 'discovering' s. Then I used it
>> intensively when coding; it saves a keystroke and facilitates
>> using a period to repeat the change. Only vim's text objects
>> have reduced my use of s. It appears you haven't 'discovered' s;
>> if you do, you won't think of mapping it, IMO.
>
> I've had a reply to the OP pending for a while, and John beat me to
> actually pushing<send> on the ideas I wanted to convey. I too
> ignored "s" for a long time, but once it became part of my
> muscle-memory, I found myself using it on a regular basis.

Me, too.

I often use s to split lines, e.g. I position the cursor on a space,
press s and type enter (possibly followed by some tabs). Then I move to
the next place I need to do it and repeat with dot.

Ben.



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