diff options
author | Daniel Schadt <kingdread@gmx.de> | 2017-03-02 14:30:23 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2017-03-02 14:30:23 +0100 |
commit | ff251f082b2198d852ea63abc9b405b908308e0b (patch) | |
tree | d63c55777b09c68b4419cfeaaf4bf7f846fd36e8 | |
parent | c183f261bbc9587ae9f864699173479bf0e868ad (diff) | |
download | dotfiles-ff251f082b2198d852ea63abc9b405b908308e0b.tar.gz dotfiles-ff251f082b2198d852ea63abc9b405b908308e0b.tar.bz2 dotfiles-ff251f082b2198d852ea63abc9b405b908308e0b.zip |
zsh: enable line-editing
-rw-r--r-- | zsh/.zshrc | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -42,6 +42,16 @@ precmd() unsetopt multibyte +# Enable Ctrl-x-e to edit command line +autoload -U edit-command-line +# Emacs style +zle -N edit-command-line +bindkey '^xe' edit-command-line +bindkey '^x^e' edit-command-line +# Vi style: +# zle -N edit-command-line +bindkey -M vicmd v edit-command-line + # key bindings bindkey "\e[1~" beginning-of-line bindkey "\e[4~" end-of-line |