Edit the command line with ^F in normal mode

This commit is contained in:
Kenneth Benzie 2018-06-09 17:41:07 +01:00
parent 639e1b9cee
commit 52f42a7875

3
zshrc
View File

@ -66,6 +66,9 @@ bindkey -v
# Enable yank, change, and delete whole line with 'Y', 'cc', and 'dd'
bindkey -M vicmd 'Y' vi-yank-whole-line
# Edit the command line in vim
bindkey -M vicmd '^F' edit-command-line
# Enable undo with 'u' and redo with 'U'
bindkey -M vicmd 'u' undo
bindkey -M vicmd 'U' redo