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

Re: two useful binds



On 4/3/06, zzapper <david@xxxxxxxxxx> wrote:
> Hi,
>
> Hi thanks 2 whoever 4 these 2 binds
>
>
> bindkey -M viins '^O' copy-prev-shell-word
> bindkey '^L' push-line # push current command into a buffer
>
>
> the push-line allows you halfway thru a command to temporarily break-away
> and type and excute another command, you then automatically return to the
> command you were editting
>
> You WANT this!
>
> & your best binds? (Much binding in the Marsh : Obscure cultural
> reference))

I like push-input better, it works for multiline edits as well. My
zshrc is available here if you want to look,
http://mikachu.ath.cx/slask/dot-zshrc
Two other useful bindings are meta-a (alt-a) for accepting input and
keeping it, and ctrl-o for accepting input and going to next line in
history. Most of you are probably aware of them already though.

--
Mikael Magnusson


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