Saturday, August 25, 2012

Re: Good idea to remap s to $?

On Aug/06, Adri Verhoef wrote:
> On Mon, Aug 06, 2012 at 00:56:36 +0000, Aaron Bohannon wrote:
> > $ and ^
> > are probably two of the least optimal built-in keystrokes, given how
> > often they are needed.
>
> Since the keys <Home> and <End> are on my keyboard, I try to use those instead
> of ^ and $ (and there are no extra mappings required).
>
> - Adri
>

What about mapping H and L to ^ and $?

I have never had the need to move to the top/bottom of the screen. On the other
hand, I often need to move the cursor to the beginning/end of the current line
and given that my index is always positioned on the j key, I find it handy to
use H and L for those movements (those bindings are also aligned with the idea
that the h is used to move to the left and l to move to the right).


Cheers,

Matteo

--
http://www.matteolandi.net

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

Post a Comment