top | item 12928985 (no title) yoo1I | 9 years ago This fails to mention the most vi-in-a-shell-yness:Press "v" and launch your currently typed command into a vim (or whatever $EDITOR is set to) editing buffer.Very useful for adhoc-but-long if or while statements. discuss order hn newest worldofprasanna|9 years ago Hi .. I couldn t do this .. Pressing "v" enables visual mode and only the text is selected.https://dougblack.io/words/zsh-vi-mode.htmlAbove link explains the usage, but I couldn t use it for some reason even after setting EDITOR variable. yoo1I|9 years ago not to leave you hanging there; this is what I found in my .zshrc to enable the functionality. autoload edit-command-line zle -N edit-command-line bindkey -M vicmd v edit-command-line ... could've sworn that was included more default-y load replies (1)
worldofprasanna|9 years ago Hi .. I couldn t do this .. Pressing "v" enables visual mode and only the text is selected.https://dougblack.io/words/zsh-vi-mode.htmlAbove link explains the usage, but I couldn t use it for some reason even after setting EDITOR variable. yoo1I|9 years ago not to leave you hanging there; this is what I found in my .zshrc to enable the functionality. autoload edit-command-line zle -N edit-command-line bindkey -M vicmd v edit-command-line ... could've sworn that was included more default-y load replies (1)
yoo1I|9 years ago not to leave you hanging there; this is what I found in my .zshrc to enable the functionality. autoload edit-command-line zle -N edit-command-line bindkey -M vicmd v edit-command-line ... could've sworn that was included more default-y load replies (1)
worldofprasanna|9 years ago
https://dougblack.io/words/zsh-vi-mode.html
Above link explains the usage, but I couldn t use it for some reason even after setting EDITOR variable.
yoo1I|9 years ago