Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zk-phi/electric-align
Insert a certain amout of spaces at once to easily align columns
https://github.com/zk-phi/electric-align
emacs
Last synced: about 1 month ago
JSON representation
Insert a certain amout of spaces at once to easily align columns
- Host: GitHub
- URL: https://github.com/zk-phi/electric-align
- Owner: zk-phi
- Created: 2016-04-30T15:48:43.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-09-24T04:19:26.000Z (4 months ago)
- Last Synced: 2024-12-11T04:22:11.279Z (about 2 months ago)
- Topics: emacs
- Language: Emacs Lisp
- Homepage:
- Size: 71.3 KB
- Stars: 52
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.org
Awesome Lists containing this project
README
* electric-align.el
Insert a certain amout of spaces at once to easily align columns.
一気にスペースを挿入して簡単に桁をそろえる
NOTE: This is an experimental work and needs improvement, in the sense
that it's not clear that what the word "alignment" means in the real
examples.** Screencast
[[imgs/screencast.gif]]
[[imgs/screencast2.gif]]
** Usage
Put electric-align.el in a "load-path"ed directory, and require this
script.: (require 'electric-align)
then call =M-x electric-align-mode= to turn on the mode.
You can also add the function to =prog-mode-hook=, to enable the mode
in all buffers editing programs.: (add-hook 'prog-mode-hook 'electric-align-mode)
While =electric-align-mode= is turned on, you can insert a certain
amount of spaces at once by pressing =SPC= multiple times.