How can I invoke VIM with C-X e for long, complex, tricky commands?
问题 I found an awesome tip here. You can "[r]apidly invoke an editor to write a long, complex, or tricky command". However, when I press the key combination above, I get Emacs open. I would like to switch it to Vim. How can I invoke Vim with C-X e? [1. Problem SOLVED by Brian Cambell] export EDITOR=vim Add to your .bashrc or appropriate shell rc file [2. Problem SOLVED thanks to Pax] I was unable to get the tricky command back to Bash. The errors were: > Error detected while processing BufRead