Text Editing: Difference between revisions
Jump to navigation
Jump to search
m moved Unix to Text Editing |
No edit summary |
||
| Line 1: | Line 1: | ||
== Tab width == | == Tab width == | ||
Code '''MUST''' be indented with tabs. Anyone who tells you otherwise is simply foolish or misinformed. For those that don't like massive indentations, that's why tabs are magical. Below you can set your tab width for a few of the worthy text editors (4 columns in these examples). | |||
=== nano === | === nano === | ||
Revision as of 03:43, 8 November 2009
Tab width
Code MUST be indented with tabs. Anyone who tells you otherwise is simply foolish or misinformed. For those that don't like massive indentations, that's why tabs are magical. Below you can set your tab width for a few of the worthy text editors (4 columns in these examples).
nano
~/.nanorc:
set tabsize 4
nvi
~/.nexrc
set ts=4
vim
~/.exrc
set tabstop=2