Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: vi-open-line-* in Emacs mode



"Michael Drzal" <mdrzal@xxxxxxxxx> writes:

> On 19 Apr 2007 22:18:45 -0700, Philippe Troin <phil@xxxxxxxx> wrote:
> > meino.cramer@xxxxxx writes:
> >
> > >  I often edit """scripts""" on the commandline, like
> > >  short loops etc.
> > >  Often too I forget to insert a specific line and
> > >  have to re-edit my """script""". In the real world
> > >  I am a Vi(m) user, but for command-line-editing
> > >  I prefer Emacs-mode.
> > >  In this mode I miss a keysequence to add/insert/open
> > >  a new line.
> >
> > ALT--ENTER opens a new line in emacs mode.
> 
> That doesn't seem to work on my Mac.  It looks like I have to hit
> Esc-Enter.  I've always used ^v^j, but this is a bit quicker to type.

The MacOSX Terminal is missing a lot of bindings involving ALT.
You can add them by hand.

Phil.



Messages sorted by: Reverse Date, Date, Thread, Author