News for hackers. Stuff that matters.
Re:Git commit accepts several message flags (-m) to allow mu... by imglorp on Wednesday July 08, 2020 @07:24AM (#23768829)
Oh man nice tip. I've been using bash for 30 years and never noticed that binding.

    "\C-x\C-e": edit-and-execute-command
Re:Git commit accepts several message flags (-m) to allow mu... by atsaloli on Wednesday July 08, 2020 @08:32AM (#23769218)
That's right. If anyone wants to check their bindings, use:

    bind -p
or

    bind -P
For example:

    $ bind -P |grep execute
    edit-and-execute-command can be found on "\C-x\C-e".
    $
The "bind" shell built-in is detailed in the SHELL BUILTIN COMMANDS section of the "bash" manual.