Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Occasionally, I use Notepad to edit some form of code/html, which means I need to tab a lot. The default indent size when hitting tab is eight spaces when ideally I'd like it be four.

Is there any way to change this setting?

share|improve this question
2  
Just in case someone's wondering "why stop at every 8th column?" This is the standard for text mode which DOS and Unix/Linux are consistent with as well. Since Windows Notepad was provided for Windows users to edit plain ASCII text files, most of which would have been created in a pre-Windows text mode editor that likely implements tabs in the same manner (because plain ASCII text file users would expect this behaviour), it was important to preserve the tab stops consistently to ensure accurate editing. –  Randolf Richardson Jun 18 '11 at 5:31

1 Answer 1

up vote 7 down vote accepted

Not with Window's Notepad, but the default tab for Notepad++ (free) is 4 characters. And it does A LOT more.

http://notepad-plus-plus.org/release/5.9.2

share|improve this answer
    
Good plan! By the way, I don't mind getting my hands dirty in the registry. –  aligray Jun 18 '11 at 5:01
1  
@aligray It is hard-coded as I expected, but I actually did search the registry before answering. –  KCotreau Jun 18 '11 at 5:03
    
Appreciate that, I'll just stick to Notepad++. –  aligray Jun 18 '11 at 5:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.