Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bind ":" to execute-named-cmd in vicmd?
- X-seq: zsh-users 14042
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Bind ":" to execute-named-cmd in vicmd?
- Date: Fri, 17 Apr 2009 08:37:24 -0700
- In-reply-to: <20090417161426.66c6c2db@news01>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <c21da7250904170029s1b333208pe8a1c4aaa09ffda6@xxxxxxxxxxxxxx> <20090417161426.66c6c2db@news01>
On Apr 17, 4:14pm, Peter Stephenson wrote:
}
} On Fri, 17 Apr 2009 00:29:13 -0700
} Ian Tegebo <ian.tegebo@xxxxxxxxx> wrote:
} > It seems like one would naturally want to bind ":" to
} > execute-named-cmd in the vicmd keymap. Is there something I'm missing
} > that would prohibit this from being a sensible default?
}
} Well, there's no fundamental reason why not, and it's an easy change, but it
} doesn't really work the same way as ":" in vi so it's not clear to me it's
} something you'd do without thinking. Can't see any obvious disadvantage,
} though.
One problem is that execute-named-cmd doesn't use the viins keymap, so
to invoke it is in effect throwing a vi user into emacs mode with no
obvious way to get out of it -- they won't know to hit ^G and you can't
back out by hitting backspace/delete at the prompt. Yeah, it does work
to just hit enter, but ...
Messages sorted by:
Reverse Date,
Date,
Thread,
Author