]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - vim/vim/ftplugin/_common/personal.xpt.vim
Merge branch 'multimedia' again
[config/dotfiles.git] / vim / vim / ftplugin / _common / personal.xpt.vim
1 " Custom settings for XPTemplate.
2 XPTemplate priority=personal
3
4 XPTvar $author     Simon Ruderich
5 XPTvar $email      simon@ruderich.org
6
7
8 " Space settings related to brackets.
9
10 " if () ** {
11 " else ** {
12 XPTvar $BRif       ' '
13 " } ** else {
14 XPTvar $BRel       ' '
15 " for () ** {
16 " while () ** {
17 " do ** {
18 XPTvar $BRloop     ' '
19 " struct name ** {
20 XPTvar $BRstc      ' '
21 " int fun() ** {
22 " class name ** {
23 XPTvar $BRfun      ' '
24
25
26 " General space settings.
27
28 " int fun ** (
29 " class name ** (
30 XPTvar $SPfun      ''
31
32 " int fun( ** arg ** )
33 " if ( ** condition ** )
34 " for ( ** statement ** )
35 " [ ** a, b ** ]
36 " { ** 'k' : 'v' ** }
37 XPTvar $SParg      ''
38
39 " if ** (
40 " while ** (
41 " for ** (
42 XPTvar $SPcmd      ' '
43
44 " a ** = ** b
45 " a = a ** + ** 1
46 " (a, ** b, ** )
47 XPTvar $SPop       ' '