~zge/bang

an improve shell-command for emacs
fixed link to shell-command+ in README
add deprecation notice to readme
simplify if-expressions where applicable

clone

read-only
https://git.sr.ht/~zge/bang
read/write
git@git.sr.ht:~zge/bang

You can also use your local clone with git send-email.

#bang.el

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 docstring explains.

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.

#How to use

Using MELPA and use-package, a minimal setup might look something like this:

(use-package bang
  :bind ("M-!" . bang))

Bug reports and patches should be sent to my public inbox.

#Copying

bang.el is distributed under the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication license.