1 <span class="co1">" show line numbers</span>
3 <span class="co1">" incremental search</span>
5 <span class="co1">" auto indentation</span>
7 <span class="co1">" tab size</span>
8 set tabstop=<span class="nu0">2</span>
9 <span class="co1">" indentation size (used on auto indentation)</span>
10 set shiftwidth=<span class="nu0">2</span>
11 <span class="co1">" smart indentation (indent beginning of blocks (e.g. '{') and unnindent ending of blocks (e.g. '}'))</span>
13 <span class="co1">" save with Ctrl+S</span>
14 <span class="kw3">map</span><span class="sy0">!</span> <span class="sy0"><</span>C<span class="sy0">-</span>s<span class="sy0">></span> <span class="sy0"><</span>Esc<span class="sy0">>:</span>w<span class="sy0"><</span>CR<span class="sy0">></span>
15 <span class="kw3">map</span> <span class="sy0"><</span>C<span class="sy0">-</span>s<span class="sy0">></span> <span class="sy0"><</span>Esc<span class="sy0">>:</span>w<span class="sy0"><</span>CR<span class="sy0">></span>
16 <span class="co1">" call make with F9</span>
17 <span class="kw3">map</span><span class="sy0">!</span> <span class="sy0"><</span>F9<span class="sy0">></span> <span class="sy0"><</span>Esc<span class="sy0">>:</span>make<span class="sy0"><</span>CR<span class="sy0">><</span>CR<span class="sy0">></span>
18 <span class="kw3">map</span> <span class="sy0"><</span>F9<span class="sy0">></span> <span class="sy0"><</span>Esc<span class="sy0">>:</span>make<span class="sy0"><</span>CR<span class="sy0">><</span>CR<span class="sy0">></span>
19 <span class="co1">" auto save files</span>
22 <span class="co1">" abreviations</span>
25 <span class="co1">" reload file automatically when it changes</span>