From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050719 Epiphany/1.6.5 Description of problem: Users of Fedora miss out on one of bash's biggest time savers because $EDITOR is not set. Say you're constructing a long command: $ for i in *.c; do something $i; somethingelse $i; mv $i /path/to/somewhere^X^E (Ctrl-X, Ctrl-E) the shortcut to open your default editor will fail because EDITOR is not set. I don't have emacs installed. It would be nice if vi loaded. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: x Additional info:
Hm, I'm not sure defaulting $EDITOR is really best. Perhaps bash should fall back to _PATH_VI (from paths.h) if emacs isn't found.
set -o vi Then press 'v'
I don't want to change my line editing interface, I'm happy with the default - but I do want to be able to use ^X^E without it falling over because it can't use emacs.
So you want to use emacs keybindings for command line editing, but vi keybindings for editing the command line. I suspect you are in the minority. Please take this up with the bash maintainer if you'd like it changed.
Yes, why not? vi is the standard default editor, and bash - complete with emacs keybindings - is the standard default shell. I don't think the request is so strange.