bang is a
shell-command substitute that makes it easier to run
commands on regions or whole buffers. This is done by potentially
interpreting the first character differently, as the
Bang has been based on a function of the same name by Leah Neukirchen.
Note: bang is being deprecated in favour of shell-command+, available on ELPA.
Using MELPA and
use-package, a minimal setup might look something like
(use-package bang :bind ("M-!" . bang))
Bug reports and patches should be sent to my public inbox.
bang.el is distributed under the CC0 1.0 Universal (CC0 1.0) Public
Domain Dedication license.