Table of Contents
What is it?
shift-mode.el is a minor mode for GNU Emacs / XEmacs that assists code
developers in changing the "indent" level of large sections of code. I
know we all usually let emacs (re)indent our code, but if for some reason
you want the control... here it is.
It is distributed under the GNU General Public License.
Why was it written?
To make my life as a developer a little easier. It is extremely useful
for those of us who align their variables in columns. You add a new one
whose type is a little bit longer and you have to "shift" all
the others over. Hence, shift-mode!
- shift-mode operates on rectangular regions.
- Press M-Left or M-Right to enter shift mode
- While in shift-mode, use left/right to shift text indent level.
- While in shift-mode, use up/down to change how much you shift by.
Bugs & Limitations
The download links are below. Installation instructions are at the top of
the file. I highly suggest you read all the comments at the top of the
file so that you fully understand all of shift-mode's features. I do ask
that if you add any features or fix any bugs that you
e-mail me your changes. If you find
any bugs, send them to me along with information about what version of
emacs you are using. Maybe I'll get around to fixing them...
Download the latest version (1.0):