diff -r 95a79aeb9abb -r 8fd48debf4cc .inputrc --- a/.inputrc Sat Apr 03 10:56:25 2010 +0300 +++ b/.inputrc Sat Apr 03 11:09:46 2010 +0300 @@ -50,6 +50,13 @@ # is 'off' by default. set mark-modified-lines off +$if Bash +# Invoke an editor on the current command line, and execute the result as +# shell commands. Bash attempts to invoke $FCEDIT, $EDITOR, and emacs as the +# editor, in that order. +"\C-x\C-e": edit-and-execute-command +$endif + # Local Variables: # mode: shell-script # fill-column: 78