# HG changeset patch # User Oleksandr Gavenko # Date 1270282186 -10800 # Node ID 8fd48debf4cc86d89f75b27ccdcec2a151cb8667 # Parent 95a79aeb9abb05d6b6236e2329c451f15811c9ee Point to 'C-x C-e' command in bash. 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