Home Download Buy Blog Forum Support

Emacs style tab / indentation behavior

Emacs style tab / indentation behavior

Postby skarfacegc on Thu Sep 13, 2012 1:47 pm

Is there anyway to get the emacs style tab key behavior for indenting?

Basically the tab key re-indents the current line. I rarely actually want to insert spacing when I hit the tab key.

Is it as simple as mapping reindent-line to tab? Will other things break if I do that?
skarfacegc
 
Posts: 2
Joined: Thu Sep 13, 2012 1:40 pm

Re: Emacs style tab / indentation behavior

Postby adzenith on Thu Sep 13, 2012 6:03 pm

Seems like that'd work. You'll notice tab is bound to a lot of things—if you just replace the binding that inserts a tab character (keeping the order of bindings the same) seems like it should work fine.
adzenith
 
Posts: 1214
Joined: Mon Oct 19, 2009 9:12 pm


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: Exabot [Bot] and 5 guests