electric-spacing

Homepage: https://github.com/xwl/electric-spacing

Author: William Xu

Updated:

Summary

Insert operators with surrounding spaces smartly

Commentary

Electric spacing mode is a minor mode which automatically inserts
surrounding spaces around operator symbols.  For example, `='
becomes ` = ', `+=' becomes ` += '.  This is most handy for writing
C-style source code.

Type `M-x electric-spacing-mode' to toggle this minor mode.

Acknowledgements

Nikolaj Schumacher , for suggesting
reimplementing as a minor mode and providing an initial patch for
that.

Dependencies