Yeah, my vim style is actually a hybrid of vim and readline:
cnoremap <c-a> <Home>| " hides insert-all-matches
noremap! <c-f> <Right>| " hides cedit (c)
set cedit=<c-g> " restores cedit
noremap! <c-b> <Left>
noremap! <c-d> <Del>| " hides dedent (i) and show matches (c)
<c-e> is already "goto end" on the commandline, but I don't map it in insert mode because it would hide "insert character from below".
It's a mess, but it works nicely for me :-D
And you're right, Alt + C is equivalent to readline kill-line (delete to eol), which is not available from within vim (<c-k> is used for digraphs). What I meant is apparently called unix-line-discard (delete to bol, which is what <c-u> does).
I've switched from :mapping to langmap so the new keys also work in combinations such as "ge", "gj", "gk", "<c-w>H" (/J/K/L)...
set langmap=kn,KN,nj,NJ,je,JE,ek,EK,lu,LU,ui,UI,il,IL
EDIT: Ah, I just saw you also mapped the window movements back. But there are still "ge", "gj", "gk", "zj", "zk" and others.
EDIT2: Hmmm... langmap has disadvantages as well. The "inner" text object command ("cip" ~ "change inner paragraph") is changed, and that's confusing :-/
Last edited by erw (25-Mar-2011 00:01:59)