Edit the command line with ^F in normal mode
This commit is contained in:
parent
639e1b9cee
commit
52f42a7875
3
zshrc
3
zshrc
@ -66,6 +66,9 @@ bindkey -v
|
|||||||
# Enable yank, change, and delete whole line with 'Y', 'cc', and 'dd'
|
# Enable yank, change, and delete whole line with 'Y', 'cc', and 'dd'
|
||||||
bindkey -M vicmd 'Y' vi-yank-whole-line
|
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'
|
# Enable undo with 'u' and redo with 'U'
|
||||||
bindkey -M vicmd 'u' undo
|
bindkey -M vicmd 'u' undo
|
||||||
bindkey -M vicmd 'U' redo
|
bindkey -M vicmd 'U' redo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user