Bash: edit line with $EDITOR

One obscure, but very useful Bash trick is CTRL+X CTRL+E, which will open $EDITOR to edit the current line. This means I can switch to a Vim session with whatever I was typing on intact. This is handy for those times where I need a search-and-replace operation or fix things in a long command or