Saturday, August 4, 2012

Re: Good idea to remap s to $?

> It's entirely up to you of course! I use 's' a lot (particular in the
> form of e.g. 3s to change three letters). It has the (significant in
> my book) advantage over 3xi that if I then use '.' to repeat, it
> repeats the change, not just the insertion. [...]

s is functionally the same as cl, so you would still be able to perform your command (as 3cl or c3l), albeit at the cost of 1 more keypress than with s.

I understand s is useful, but what I want to find out is whether you advanced vimmers think the benefits of saving the keypress for <shift>4 would outweigh the disadvantages of having to do cl instead of s.

> If you find $ hard to get to, you could always map most
> of your suggested benefit specifically, e.g.
>
> nmap <Leader>p $p

That's a good point, although it would only work for $p. Don't you think that all the other things you could more easily do, such as [count]$, si, sF and so on be worth it?

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