On 05/08/12 02:05, Tim Chase wrote:
> On 08/04/12 18:51, John Little wrote:
>> On Saturday, August 4, 2012 11:59:49 PM UTC+12, Daan wrote:
>>> I was thinking about remapping s to $, because:
>> ...
>>> 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.
>
> That said, Vim is a sufficiently malleable editor that, if this is
> the way you want it to work, it will bend to your will. I guess I
> just don't find typing "$" all that onerous. If I had to make some
> functionality easier to type, I'd lean towards remapping something
> that has functionality duplicated elsewhere like "+" vs. <cr> in
> normal mode (they both do the same thing, and outside of VimGolf, I
> don't use either in my day-to-day vimming; likewise the underscore
> and minus don't see much use if any in my day-to-day).
>
> -tim
>
>
>
I've "discovered" s several times, by seeing Vim go to Insert mode when
I had absentmindedly typed an :s command without a colon; it's got to
the point when I'm considering mapping Normal-mode s to <Nop> or even to
<Esc> (to give a beep). I find cl easier to remember for the
single-character change (similarly cc rather than S for linewise). This
said, to each is own: some people seem to have difficulty moving their
hands over the keyboard, I don't; I type with all the fingers of my
right hand while leaving the left mostly resting, or maybe holding a
book I'm typing from, and the distance between the Escape key and the
numeric keypad, or even the mouse, doesn't disturb me. YMMV.
Best regards,
Tony.
--
Famous last words:
(1) "Don't worry, I can handle it."
(2) "You and what army?"
(3) "If you were as smart as you think you are, you wouldn't be
a cop."
--
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
Sunday, August 5, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment