diff options
author | gxlin <[email protected]> | 2021-03-01 15:28:08 +0800 |
---|---|---|
committer | gxlin <[email protected]> | 2021-03-01 15:28:08 +0800 |
commit | c6a810bf52cebd4b4b4af7febf64634af907b8bc (patch) | |
tree | 0836e7450bbcb273b639ea66d824caa953c8f141 | |
parent | fc8c282cf036c95527f783d5759c01c689534171 (diff) | |
download | dotfiles-c6a810bf52cebd4b4b4af7febf64634af907b8bc.tar.gz dotfiles-c6a810bf52cebd4b4b4af7febf64634af907b8bc.tar.bz2 dotfiles-c6a810bf52cebd4b4b4af7febf64634af907b8bc.zip |
Add edit-command-line to .zshrc
-rw-r--r-- | .zshrc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -2,9 +2,13 @@ setopt histignorealldups sharehistory # Use emacs keybindings even if our EDITOR is set to vi bindkey -e - EDITOR=vim +# Edit command line +autoload -U edit-command-line +zle -N edit-command-line +bindkey '^x^e' edit-command-line + # Keep 1000 lines of history within the shell and save it to ~/.zsh_history: HISTSIZE=1000 SAVEHIST=1000 |