maio
[h2N7SspZmY.git] / data / cache / c / c6a77152ead15fd026e73a79c9411c32.code
blob1cdf4294e0d3352c2e7a9cb2ac1842b58fef38a8
1 <span class="co0"># show line numbers</span>
2 <span class="kw1">set</span> number
3 <span class="co0"># incremental search</span>
4 <span class="kw1">set</span> incsearch
5 <span class="co0"># auto indentation</span>
6 <span class="kw1">set</span> autoindent
7 <span class="co0"># tab size</span>
8 <span class="kw1">set</span> <span class="re2">tabstop</span>=<span class="nu0">2</span>
9 <span class="co0"># indentation size (used on auto indentation)</span>
10 <span class="kw1">set</span> <span class="re2">shiftwidth</span>=<span class="nu0">2</span>
11 <span class="co0"># unindent on the end of blocks (e.g. '}' on c)</span>
12 <span class="kw1">set</span> smartindent
13 <span class="co0"># save with CTRL-S</span>
14        map<span class="sy0">!</span> <span class="sy0">&lt;</span>C-s<span class="sy0">&gt;</span> <span class="sy0">&lt;</span>Esc<span class="sy0">&gt;</span>:<span class="kw2">w</span><span class="sy0">&lt;</span>CR<span class="sy0">&gt;</span>
15        map  <span class="sy0">&lt;</span>C-s<span class="sy0">&gt;</span> <span class="sy0">&lt;</span>Esc<span class="sy0">&gt;</span>:<span class="kw2">w</span><span class="sy0">&lt;</span>CR<span class="sy0">&gt;</span>
16 <span class="co0"># call make with F9</span>
17        map<span class="sy0">!</span> <span class="sy0">&lt;</span>F9<span class="sy0">&gt;</span> <span class="sy0">&lt;</span>C-g<span class="sy0">&gt;</span>u<span class="sy0">&lt;</span>Esc<span class="sy0">&gt;</span>:<span class="kw2">w</span><span class="sy0">&lt;</span>CR<span class="sy0">&gt;</span>ggdG<span class="sy0">!!</span><span class="kw2">make</span><span class="sy0">&lt;</span>CR<span class="sy0">&gt;</span>
18        map  <span class="sy0">&lt;</span>F9<span class="sy0">&gt;</span> <span class="sy0">&lt;</span>C-g<span class="sy0">&gt;</span>u<span class="sy0">&lt;</span>Esc<span class="sy0">&gt;</span>:<span class="kw2">w</span><span class="sy0">&lt;</span>CR<span class="sy0">&gt;</span>ggdG<span class="sy0">!!</span><span class="kw2">make</span><span class="sy0">&lt;</span>CR<span class="sy0">&gt;</span>