zsh editor integration

A top tip from the zsh book:

autoload -U edit-command-line
zle -N edit-command-line
bindkey 'ee' edit-command-line

Binds M-e to “stick this command line in your text editor.”

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s