help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Use tab key to indent both region AND line?


From: mopi
Subject: Use tab key to indent both region AND line?
Date: 20 Apr 2007 05:10:40 -0700
User-agent: G2/1.0

Hi

I'm feeling a little lost when it comes to indentation and Emacs.

If there is a region marked I want the tab key to indent the region.
Shift-tab would preferably unindent the region. But if there is no
region marked I want tab to indent the current line. This is the
default behaviour in e.g Visual Studio and Ultraedit so I'm sure there
is someone out there who has some code snippets to share.

Thanks in advance.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]