~zge/bang

an improve shell-command for emacs
removed trailing whitespace
require at least one non-whitespace character in command
required rx while compiling

refs

master
browse log
1.0.0
browse .tar.gz

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.

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.