From Boldcore's wiki
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
1. Line numbering<br> | 1. Line numbering<br> | ||
− | 2. Smaller Tab size | + | 2. Smaller Tab size<br> |
+ | 3. Syntax<br> | ||
+ | 4. Clear search leftovers | ||
<pre> | <pre> | ||
+ | set softtabstop=4 shiftwidth=4 expandtab | ||
set number | set number | ||
− | |||
− | |||
syntax on | syntax on | ||
nohlsearch | nohlsearch | ||
</pre> | </pre> | ||
− | I like 3 spaces more, but because of Python, use four. | + | I like 3 spaces more, but because of Python, use four (according to PEP). |
Latest revision as of 07:25, 22 November 2017
My favorite addition to vimrc
1. Line numbering
2. Smaller Tab size
3. Syntax
4. Clear search leftovers
set softtabstop=4 shiftwidth=4 expandtab set number syntax on nohlsearch
I like 3 spaces more, but because of Python, use four (according to PEP).