Monday, September 27, 2010

Re: i_CTRL-A + i_CTRL-E as home + end

* <meino.cramer@gmx.de> [2010-09-28 02:08]:
> What happens to CTRL-A and CTRL-E at input mode ?

see here:

:help i_CTRL-A -> Insert previously inserted text.
:help i_CTRL-E -> Insert the character which is below the cursor.

you may want these to behave like <home> and <end>:

:imap <c-a> <c-o>0
:imap <c-e> <c-o>$

enjoy!

Sven

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