[slim-vim] Vim like mappings for Emacs

Brad Beveridge brad.beveridge at gmail.com
Thu Nov 30 11:19:51 CST 2006


On 30/11/06, Tomas Zellerin <zellerin at gmail.com> wrote:
> On 11/30/06, Brad Beveridge <brad.beveridge at gmail.com> wrote:
> > No comments at all?
> >
>
> Ok, so some comments I wanted to postpone before I summarize them and
> formulate better, but you asked.
>
> I quite closely followed each of your Lisp/vim attempts. So I tried
> the last one as well. I found that I can use with some (often great)
> pain the modified viper mode, and that the coding is probably more
> efficient than my previous favourite setup (clisp + modified readline
> settings and vim). I love <Space-e>.
Thanks for the feedback - I'll try to answer inline.  Most of these
issues are because I personally don't use that feature, I will try to
address them.

>
> The rest of mail contains some detailed complains I recall. I suppose
> they all can be fixed, but I dont have time to learn how at the
> moment. It's from memory, so I apologize if something is not
> completely correct.

> I miss Ctrl-P (I use it more often than Ctrl-N, because I tend to
> repeat what I wrote above, not below).
Should be easy to fix.

>
> I miss Ctrl-X Ctrl-F (and it hurts when it wants to load new file). I
> am not sure whether gf works.
Auto complete file name in insert mode?  I've never really used any of
the Ctrl-X features, so I'm not familiar here.  The bad news is that
Emacs uses C-X as a prefix for many commands, and I would be loath to
change that too much.  Let me have a think about it.

>
> :sp used to take an argument on vim, and I used to rely on it,
I've fixed this in my current file, I'm not sure if I've pushed it to
the Darcs repo though.

>
> In lisp repl window, sometimes ":" ceases to work (goes to ex mode,
> cant be written into buffer).
Hmm, haven't seen this.  If you can figure out how to repro this,
please tell me.

>
> I miss visual mode (oh, I see it should work - i tried only V, not v).
I have some changes to visual mode that will fix many bugs and let v
and V both work.  I'll push them to darcs tonight probably.

>
> I miss =.
Indent to last change?

>
> Escape works strangely and does not always cause leaving insert mode
> (especially Esc-x, seems to behave like Meta-X).
Yes, quickly typing Esc then a key acts like Meta-key.  I think this
can be suppressed.  I personally use C-g as my Esc key in Viper, and
C-c in Vim - mostly because it is easier for me to type and there is
no pause after hitting Esc.

Cheers
Brad


More information about the slim-vim mailing list