zsh, bindkeys, and CTRL+X CTRL+E editor

Sadiq Saif sadiq-KzRxrKfdH+/c+919tysfdA at public.gmane.org
Mon Jun 18 19:14:59 UTC 2012


This is how you do it:

autoload -U edit-command-line
zle -N edit-command-line
bindkey '^x^e' edit-command-line

That should bring up $EDITOR when Ctrl-x Ctrl-e is pressed.

On Mon, Jun 18, 2012 at 2:42 PM, Jamon Camisso
<jamon.camisso-H217xnMUJC0sA/PxXw9srA at public.gmane.org> wrote:
> Does anyone know how to get bindkeys to invoke an editor on a regular
> command like by using CTRL+X CTRL+E combination like bash?
>
> Admittedly I haven't searched much, thought I'd ask here first since
> folks who don't know about that shortcut in bash might appreciate it.
>
> Jamon
> --
> The Toronto Linux Users Group.      Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists



-- 
Sadiq S
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list