From Boldcore's wiki
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= My favorite addition to vimrc = | = My favorite addition to vimrc = | ||
− | 1. Line numbering | + | 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 | |
− | + | nohlsearch | |
</pre> | </pre> | ||
+ | |||
+ | 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).