summaryrefslogtreecommitdiff
path: root/config/old/vim/syntax
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-02-15 16:31:56 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-02-15 16:47:43 +0100
commit3b2a78935fd6550521f719a10e5b0fceb1ddb350 (patch)
tree7c50801d6bb5b7abba3df6352ed43df454a4dbcb /config/old/vim/syntax
Not really but, First commit!
Diffstat (limited to 'config/old/vim/syntax')
-rw-r--r--config/old/vim/syntax/bash.vim1
-rw-r--r--config/old/vim/syntax/html.vim12
-rw-r--r--config/old/vim/syntax/python.vim11
-rw-r--r--config/old/vim/syntax/tibasic.vim21
-rw-r--r--config/old/vim/syntax/z80.vim145
5 files changed, 190 insertions, 0 deletions
diff --git a/config/old/vim/syntax/bash.vim b/config/old/vim/syntax/bash.vim
new file mode 100644
index 0000000..b3832b8
--- /dev/null
+++ b/config/old/vim/syntax/bash.vim
@@ -0,0 +1 @@
+command printVar execute 'substitute/^\( *\)\(.*\)$/\1echo "${\2}"/'
diff --git a/config/old/vim/syntax/html.vim b/config/old/vim/syntax/html.vim
new file mode 100644
index 0000000..37eb3d0
--- /dev/null
+++ b/config/old/vim/syntax/html.vim
@@ -0,0 +1,12 @@
+let b:current_syntax = "html"
+set ts=4
+set sw=4
+
+inoremap < <><left>
+" map [[ ?{<CR>w99[{
+" map ][ /}<CR>b99]}
+" map ]] j0[[%/{<CR>
+" map [] k$][%?}<CR>
+
+":%s/b_call[(]\(.*\)[)]/bcall \1
+
diff --git a/config/old/vim/syntax/python.vim b/config/old/vim/syntax/python.vim
new file mode 100644
index 0000000..32608f4
--- /dev/null
+++ b/config/old/vim/syntax/python.vim
@@ -0,0 +1,11 @@
+set ts=4
+set sw=4
+
+" map [[ ?{<CR>w99[{
+" map ][ /}<CR>b99]}
+" map ]] j0[[%/{<CR>
+" map [] k$][%?}<CR>
+
+":%s/b_call[(]\(.*\)[)]/bcall \1
+noremap Zdp :execute 'norm _deds('<CR>
+noremap Zpp :execute 'norm yss)Iprint'<CR>
diff --git a/config/old/vim/syntax/tibasic.vim b/config/old/vim/syntax/tibasic.vim
new file mode 100644
index 0000000..7cfd94f
--- /dev/null
+++ b/config/old/vim/syntax/tibasic.vim
@@ -0,0 +1,21 @@
+
+" TI-Basic highlighting for VIM
+syn match tibGroupers '\v(\(|\)|\"|\{|\}|\[|\])'
+syn match tibOp '\v(%U0000fe62|%U000025c4|%U000025ba|%U000025a1|%U00002265|%U00002264|%U00002260|%U0000222b|%U00002220|%U0000221a|%U00002193|%U00002192|%U00002191|%U0000207b|%U00002044|%U00002026|%U000000d7|%U000000bf|%U000000b7|%U000000b4|%U000000b0|%U000000a8|%U000000a1|\~|\`|\^|\?|\>|\=|\<|\/|\-|\+|\*|\\\'|\%|\!|\ xor\ |\ or\ |\ nPr\ |\ nCr\ |\ and\ )'
+syn match tibNum '\v(0|1|2|3|4|5|6|7|8|9|\.|\|E|%U00001d07)'
+syn match tibName '\v(%U00002206Y|%U00002206X|%U00002206Tbl|%U00001e8b%U00002082|%U00001e8b%U00002081|%U00001e8b2|%U00001e8b1|%U00001e8b|%U00001e57%U00002082|%U00001e57%U00002081|%U00001e572|%U00001e571|%U000003c7%U000000b2|%U000003c7\^2|%U000003c3y|%U000003c3x|%U000003b8step|%U000003b8Min|%U000003b8Max|%U000003b8|%U000003a3y%U000000b2|%U000003a3y\^2|%U000003a3y|%U000003a3x%U000000b2|%U000003a3xy|%U000003a3x\^2|%U000003a3x|%U00000233|\|w|\|v|\|u|\|P\/Y|\|N|\|C\/Y|\{r6\}|\{r5\}|\{r4\}|\{r3\}|\{r2\}|\{r1\}|\{Y9\}|\{Y8\}|\{Y7\}|\{Y6\}|\{Y6T\}|\{Y5\}|\{Y5T\}|\{Y4\}|\{Y4T\}|\{Y3\}|\{Y3T\}|\{Y2\}|\{Y2T\}|\{Y1\}|\{Y1T\}|\{Y0\}|\{X6T\}|\{X5T\}|\{X4T\}|\{X3T\}|\{X2T\}|\{X1T\}|y%U00002083|y%U00002082|y%U00002081|x%U00002083|x%U00002082|x%U00002081|xhat%U00002082|xhat%U00002081|w\(nMin\)|v\(nMin\)|u\(nMin\)|thetastep|thetaMin|thetaMax|theta|sigmay%U000000b2|sigmax%U000000b2|r%U00002086|r%U00002085|r%U00002084|r%U00002083|r%U00002082|r%U00002081|r%U000000b2|phat%U00002082|phat%U00002081|n%U00002082|n%U00002081|nMin|nMax|chi%U000000b2|\[%U00001e57\]|\[\|e\]|\[\|d\]|\[\|c\]|\[\|b\]|\[\|a\]|\[\|F\]|\[z\]|\[yhat\]|\[y3\]|\[y2\]|\[y1\]|\[xhat\]|\[xhat2\]|\[xhat1\]|\[x3\]|\[x2\]|\[x1\]|\[upper\]|\[t\]|\[sigmay\]|\[sigmax\]|\[s\]|\[recursiven\]|\[r\^2\]|\[r\]|\[phat\]|\[phat2\]|\[phat1\]|\[p\]|\[n\]|\[n2\]|\[n1\]|\[minY\]|\[minX\]|\[maxY\]|\[maxX\]|\[lower\]|\[factordf\]|\[factorSS\]|\[factorMS\]|\[errordf\]|\[errorSS\]|\[errorMS\]|\[df\]|\[chi\^2\]|\[Sy\]|\[Sxp\]|\[Sx\]|\[Sx2\]|\[Sx1\]|\[Sigmay\^2\]|\[Sigmay\]|\[Sigmaxy\]|\[Sigmax\^2\]|\[Sigmax\]|\[RegEQ\]|\[R\^2\]|\[Q3\]|\[Q1\]|\[Med\]|\[J\]|\[I\]|\[H\]|\[G\]|\[F\]|\[E\]|\[D\]|\[C\]|\[B\]|\[A\]|Z%U000003b8step|Z%U000003b8min|Z%U000003b8max|Zw\(nMin\)|Zv\(nmin\)|Zu\(nmin\)|Zthetastep|Zthetamin|Zthetamax|ZnMin|ZnMax|ZYscl|ZYmin|ZYmax|ZXscl|ZXres|ZXmin|ZXmax|ZTstep|ZTmin|ZTmax|ZPlotStep|ZPlotStart|Z|Y%U00002089|Y%U00002088|Y%U00002087|Y%U00002086%U00001d1b|Y%U00002086|Y%U00002085%U00001d1b|Y%U00002085|Y%U00002084%U00001d1b|Y%U00002084|Y%U00002083%U00001d1b|Y%U00002083|Y%U00002082%U00001d1b|Y%U00002082|Y%U00002081%U00001d1b|Y%U00002081|Y%U00002080|Yscl|Ymin|Ymax|YFact|Y|X%U00002086%U00001d1b|X%U00002085%U00001d1b|X%U00002084%U00001d1b|X%U00002083%U00001d1b|X%U00002082%U00001d1b|X%U00002081%U00001d1b|Xscl|Xres|Xmin|Xmax|XFact|X|W|Vn\-%U00002081|Vn\-1|V|Un\-%U00002081|Un\-1|U|Tstep|Tmin|Tmax|TblStart|TblInput|T|Sx%U00002082|Sx%U00002081|Str9|Str8|Str7|Str6|Str5|Str4|Str3|Str2|Str1|Str0|S|R%U000000b2|R|Q|PlotStep|PlotStart|Pic9|Pic8|Pic7|Pic6|Pic5|Pic4|Pic3|Pic2|Pic1|Pic0|PV|PMT|P|O|N|M|L%U00002086|L%U00002085|L%U00002084|L%U00002083|L%U00002082|L%U00002081|L6|L5|L4|L3|L2|L1|L|K|J|I\%|I|H|GDB9|GDB8|GDB7|GDB6|GDB5|GDB4|GDB3|GDB2|GDB1|GDB0|G|Fix\ |FV|F|E|DeltaY|DeltaX|DeltaTbl|D|C|B|A)'
+syn match tibControl '\v(If\ |Then|Else|While\ |Repeat\ |For\(|End|Return|Lbl\ |Goto\ |Pause\ |Stop|IS\>\(|DS\<\()'
+syn match tibStatement '\v(\>DMS|%U000025baDMS|\>Dec|%U000025baDec|\>Frac|%U000025baFrac|\-\>|Boxplot|\^\^r|\^\^o|\^\^\-1|%U0000207b%U000000b9|%U000002c9%U000000b9|\^\^2|\^\^T|\^\^3|round\(|pxl\-Test\(|augment\(|rowSwap\(|row\+\(|\*row\(|\*row\+\(|max\(|min\(|R\>Pr\(|R%U000025baPr\(|R\>Ptheta\(|R%U000025baPtheta\(|R\>P%U000003b8\(|R%U000025baP%U000003b8\(|P\>Rx\(|P%U000025baRx\(|P\>Ry\(|P%U000025baRy\(|median\(|randM\(|mean\(|solve\(|seq\(|fnInt\(|nDeriv\(|fMin\(|fMax\(|\[i\]|CubicReg\ |QuartReg\ |\\\\n|Radian|Degree|Normal|Sci|Eng|Float|\<\=|\>\=|\!\=|Ans|Horiz|Full|Func|Param|Polar|Seq|IndpntAuto|IndpntAsk|DependAuto|DependAsk|Sequential|Simul|PolarGC|RectGC|CoordOn|CoordOff|Connected|Dot|AxesOn|AxesOff|GridOn|GridOff|LabelOn|LabelOff|Web|Time|uvAxes|vwAxes|uwAxes|plotsquare|squareplot|plotcross|crossplot|plotdot|dotplot|Trace|ClrDraw|ZStandard|ZTrig|ZBox|Zoom\ In|Zoom\ Out|ZSquare|ZInteger|ZPrevious|ZDecimal|ZoomStat|ZoomRcl|PrintScreen|ZoomSto|Text\(|FnOn\ |FnOff\ |StorePic\ |RecallPic\ |StoreGDB\ |RecallGDB\ |Line\(|Vertical\ |Pt\-On\(|Pt\-Off\(|Pt\-Change\(|Pxl\-On\(|Pxl\-Off\(|Pxl\-Change\(|Shade\(|Circle\(|Horizontal\ |Tangent\(|DrawInv\ |DrawF\ |rand|pi|getKey|\|\-|int\(|abs\(|det\(|identity\(|dim\(|sum\(|prod\(|not\(|iPart\(|fPart\(|npv\(|irr\(|bal\(|SigmaPrn\(|%U000003a3Prn\(|SigmaInt\(|%U000003a3Int\(|\>Nom\(|%U000025baNom\(|\>Eff\(|%U000025baEff\(|dbd\(|lcm\(|gcd\(|randInt\(|randBin\(|sub\(|stdDev|variance\(|inString\(|normalcdf\(|invNorm\(|tcdf\(|chi\^2cdf\(|%U000003c7\^2cdf\(|chi%U000000b2cdf\(|%U000003c7%U000000b2cdf\(|Fcdf\(|binompdf\(|binomcdf\(|poissonpdf\(|poissoncdf\(|geometpdf\(|geometcdf\(|normalpdf\(|tpdf\(|chi\^2pdf\(|%U000003c7\^2pdf\(|chi%U000000b2pdf\(|%U000003c7%U000000b2pdf\(|Fpdf\(|randNorm\(|tvm_Pmt|tvm_I\%|tvm_PV|tvm_N|tvm_FV|conj\(|real\(|imag\(|angle\(|cumSum\(|expr\(|length\(|DeltaList\(|ref\(|rref\(|\>Rect|%U000025baRect|\>Polar|%U000025baPolar|\[e\]|SinReg\ |Logistic\ |LinRegTTest\ |ShadeNorm\(|Shade_t\(|Shadechi\^2\(|Shade%U000003c7\^2\(|Shadechi%U000000b2\(|Shade%U000003c7%U000000b2\(|ShadeF\(|Matr\>list\(|Matr%U000025balist\(|List\>matr\(|List%U000025bamatr\(|Z\-Test\(|T\-Test\ |2\-SampZTest\(|1\-PropZTest\(|2\-PropZTest\(|chi\^2\-Test\(|%U000003c7\^2\-Test\(|chi%U000000b2\-Test\(|%U000003c7%U000000b2\-Test\(|ZInterval|2\-SampZInt\(|1\-PropZInt\(|2\-PropZInt\(|GraphStyle\(|2\-SampTTest\ |2\-SampFTest\ |TInterval\ |2\-SampTInt\ |SetUpEditor\ |Pmt_End|Pmt_Bgn|Real|re\^thetai|re\^%U000003b8i|a\+bi|ExprOn|ExprOff|ClrAllLists|GetCalc\(|DelVar\ |Equ\>String\(|Equ%U000025baString\(|String\>Equ\(|String%U000025baEqu\(|Clear\ Entries|Select\(|ANOVA\(|ModBoxPlot|NormProbPlot|G\-T|ZoomFit|DiagnosticOn|DiagnosticOff|Archive\ |UnArchive\ |Asm\(|AsmComp\(|AsmPrgm|\^\^\\\'|\|\\\'|\^\^\`|\|\`|\^\^\:|\|\:|\|\?|\|\!|alpha|beta|gamma|Delta|delta|epsilon|lambda|mu|greek_pi|\|%U000003c0|rho|Sigma|Phi|Omega|phat|chi|\|F|sigma|tau|GarbageCollect|\|\~|\.\.\.|\|\<|sharps|\^\^x|smallT|small0|small1|small2|small3|small4|small5|small6|small7|small8|small9|small10|%U00002081%U00002080|\<\||\|\>|uparrow|downarrow|xmark|integral|bolduparrow|bolddownarrow|squareroot|invertedequal|sqrt\(|%U0000221a\(|cuberoot\(|%U000000b3%U0000221a\(|ln\(|e\^\(|log\(|10\^|%U00002081%U00002080\^\(|sin\(|sin\^\-1\(|sin%U0000207b%U000000b9\(|cos\(|cos\^\-1\(|cos%U0000207b%U000000b9\(|tan\(|tan\^\-1\(|tan%U0000207b%U000000b9\(|sinh\(|sinh\^\-1\(|sinh%U0000207b%U000000b9\(|cosh\(|cosh\^\-1\(|soch%U0000207b%U000000b9\(|tanh\(|tanh\^\-1\(|tanh%U0000207b%U000000b9\(|Input\ |Prompt\ |Disp\ |DispGraph|Output\(|ClrHome|Fill\(|SortA\(|SortD\(|DispTable|Menu\(|Send\(|Get\(|PlotsOn\ |PlotsOff\ |Plot1\(|Plot2\(|Plot3\(|setDate\(|setTime\(|checkTmr\(|setDtFmt\(|setTmFmt\(|timeCnv\(|dayOfWk\(|getDtStr|getTmStr\(|getDate|getTime|startTmr|getDtFmt|getTmFmt|isClockOn|ClockOff|ClockOn|OpenLib\(|ExecLib|invT\(|chi\^2GOF\-Test\(|%U000003c7\^2GOF\-Test\(|chi%U000000b2GOF\-Test\(|%U000003c7%U000000b2GOF\-Test\(|LinRegTInt\ |Manual\-Fit\ |ZQuadrant1|ZFrac1\/2|ZFrac1\/3|ZFrac1\/4|ZFrac1\/5|ZFrac1\/8|ZFrac1\/10|mathprintbox|n\/d|Un\/d|\>n\/d\<\>Un\/d|%U000025ban\/d%U000025c4%U000025baUn\/d|\>n%U00002044d\<\>Un%U00002044d|%U000025ban%U00002044d%U000025c4%U000025baUn%U00002044d|\>F\<\>D|%U000025baF%U000025c4%U000025baD|remainder\(|Sigma\(|%U000003a3\(|logBASE\(|randIntNoRep\(|\[MATHPRINT\]|\[CLASSIC\]|\[n\/d\]|n%U00002044d|\[Un\/d\]|Un%U00002044d|\[AUTO\]|\[DEC\]|\[FRAC\]|xroot|%U000002e3%U0000221a|1\-Var\ Stats\ |2\-Var\ Stats|LinReg\(a\+bx\)\ |ExpReg\ |LnReg\ |PwrReg\ |Med\-Med\ |QuadReg\ |ClrList\ |ClrTable|Histogram|xyLine|Scatter|LinReg\(ax\+b\)\ )'
+syn match tibString '\v\".{-}(\"|(\r|%$|\n|\-\>|%U00002192)@=)'
+
+let b:current_syntax = "tibasic"
+
+
+hi def link tibGroupers Delimiters
+hi def link tibOp Operator
+hi def link tibNum Number
+hi def link tibName Identifier
+hi def link tibControl Keyword
+hi def link tibStatement Function
+hi def link tibString String
+
diff --git a/config/old/vim/syntax/z80.vim b/config/old/vim/syntax/z80.vim
new file mode 100644
index 0000000..8bafb14
--- /dev/null
+++ b/config/old/vim/syntax/z80.vim
@@ -0,0 +1,145 @@
+syn case ignore
+
+set isk=a-z,A-Z,48-57,',.,_
+
+syn sync fromstart
+
+" Common Z80 Assembly instructions
+syn keyword z80Inst adc add and bit call ccf cp cpd cpdr cpi cpir cpl
+syn keyword z80Inst daa dec di djnz ei ex exx halt im in
+syn keyword z80Inst inc ind ini indr inir jp jr ld ldd lddr ldi ldir
+syn keyword z80Inst neg nop or otdr otir out outd outi push pop
+syn keyword z80Inst res ret reti retn rl rla rlc rlca rld
+syn keyword z80Inst rr rra rrc rrca rrd rst sbc scf set sl1 sla slia sll sra
+syn keyword z80Inst srl sub xor
+
+" Grab the condition too
+syn match z80Inst "\s\+jp\s\+n\=[covz]\>" "Match Z C O V NZ NC NO NV
+syn match z80Inst "\s\+jp\s\+p[elo]\=\>" "Match P PE PO PL
+syn match z80Inst "\s\+jp\s\+mi\=\>" "Match M MI
+syn match z80Inst "\s\+jp\s\+eq\>" "Match EQ
+syn match z80Inst "\s\+jp\s\+[gn]e\>" "Match NE GE
+syn match z80Inst "\s\+jp\s\+lt\>" "Match LT
+syn match z80Inst "\s\+jp\s\+sn\=f\>" "Match SF SNF
+
+syn match z80Inst "\s\+jr\s\+n\=[zc]\>" "Match Z C NZ NC
+syn match z80Inst "\s\+jr\s\+eq\>" "Match EQ
+syn match z80Inst "\s\+jr\s\+[gn]e\>" "Match NE GE
+syn match z80Inst "\s\+jr\s\+lt\>" "Match LT
+
+syn match z80Inst "\s\+call\s\+n\=[covz]\>" "Match Z C O V NZ NC NO NV
+syn match z80Inst "\s\+call\s\+p[elo]\=\>" "Match P PE PO PL
+syn match z80Inst "\s\+call\s\+mi\=\>" "Match M MI
+syn match z80Inst "\s\+call\s\+eq\>" "Match EQ
+syn match z80Inst "\s\+call\s\+[gn]e\>" "Match NE GE
+syn match z80Inst "\s\+call\s\+lt\>" "Match LT
+syn match z80Inst "\s\+call\s\+sn\=f\>" "Match SF SNF
+
+syn match z80Inst "\s\+ret\s\+n\=[covz]\>" "Match Z C O V NZ NC NO NV
+syn match z80Inst "\s\+ret\s\+p[elo]\=\>" "Match P PE PO PL
+syn match z80Inst "\s\+ret\s\+mi\=\>" "Match M MI
+syn match z80Inst "\s\+ret\s\+eq\>" "Match EQ
+syn match z80Inst "\s\+ret\s\+[gn]e\>" "Match NE GE
+syn match z80Inst "\s\+ret\s\+lt\>" "Match LT
+syn match z80Inst "\s\+ret\s\+sn\=f\>" "Match SF SNF
+
+" Registers
+syn keyword z80Reg af af' bc de hl ix ixh ixl iy iyh iyl
+syn keyword z80Reg sp a b c d e f h i l r
+
+" Directives
+syn keyword z80PreProc equ org map ds defs dw defw db defb module endmodule
+syn keyword z80PreProc include incbin macro endmacro repeat rept endrepeat endr
+syn keyword z80PreProc ifdef ifndef if else endif rotate defpage page echo error
+
+syn keyword z80PreProc .equ .org .map .ds .defs .dw .defw .db .defb .module .endmodule
+syn keyword z80PreProc .include .incbin .macro .endmacro .repeat .rept .endrepeat .endr
+syn keyword z80PreProc .ifdef .ifndef .if .else .endif .rotate .defpage .page .echo .error
+
+" Strings
+syn region z80String start=/"/ skip=/\\"/ end=/"/ oneline
+syn region z80String start=/'/ end=/'/ oneline
+
+" Labels
+syn match z80Lbl "[A-Z_.?][A-Z_.?0-9]*:\="
+syn region z80Lbl2 start="(" end=")" oneline contains=z80Number,z80Lbl,z80Lbl2,z80Other
+
+" Operators
+syn match z80Other "[~+\-*/%^&=!<>]"
+
+" Numbers
+syn match z80Number "\<\$\>"
+syn match z80Number "\<[01]\+b\>"
+syn match z80Number "\<\d\x*h\>"
+syn match z80Number "\<\d\+\>"
+syn match z80Number "\<%[01]\+\>"
+syn match z80Number "\$[0-9a-fA-F]\+"
+syn match z80Number "\<&[01]\+\>"
+syn match z80Number "\<0x[0-9a-fA-F]\+\>"
+
+" Indirect register access
+syn region z80Reg start=/(ix/ end=/)/ keepend oneline contains=z80Lbl,z80Number,z80Reg,z80Other
+syn region z80Reg start=/(iy/ end=/)/ keepend oneline contains=z80Lbl,z80Number,z80Reg,z80Other
+syn match z80Reg "(b\=c)"
+syn match z80Reg "(de)"
+syn match z80Reg "(hl)"
+syn match z80Reg "(sp)"
+
+" Todo
+syn keyword cTodo contained TODO FIXME XXX
+
+" Comments
+syn match z80Comment ";.*$" contains=cTodo
+syn match z80Comment "^\*$"
+syn region z80Comment2 start="\<\.endasm\>" skip="\n" end="\<\.asm\>" keepend contains=z80Comment,z80Comment2
+syn region z80Comment start="\/\*" end="\*\/" contains=cTodo
+
+hi def link cTodo Todo
+
+" Define the default highlighting.
+" For version 5.7 and earlier: only when not done already
+" For version 5.8 and later: only when an item doesn't have highlighting yet
+if version >= 508 || !exists("did_z80_syntax_inits")
+if version < 508
+let did_z80_syntax_inits = 1
+command -nargs=+ HiLink hi link <args>
+else
+command -nargs=+ HiLink hi def link <args>
+endif
+
+HiLink z80Reg Constant
+HiLink z80Lbl Type
+HiLink z80Lbl2 Type
+HiLink z80Comment Comment
+HiLink z80Comment2 Comment
+HiLink z80Inst Statement
+HiLink z80Include Include
+HiLink z80PreProc PreProc
+HiLink z80Number Number
+HiLink z80String String
+HiLink z80Other Operator
+HiLink z80Todo Todo
+
+delcommand HiLink
+endif
+
+let b:current_syntax = "z80"
+set ts=4
+set sw=4
+
+" fails if comment on same line:
+command Z80Swap execute 'norm _wdt,wPld$F,P'
+noremap Zp :execute 'Z80Swap'<CR><CR>
+command Z80Template execute 'read template.z80'
+" Append template to file
+noremap Zt :execute 'Z80Template'<CR>
+" Set file to template
+noremap Zdd :execute 'norm ggdGZt11gg'<CR>
+" map [[ ?{<CR>w99[{
+" map ][ /}<CR>b99]}
+" map ]] j0[[%/{<CR>
+" map [] k$][%?}<CR>
+" vim: ts=8
+
+":%s/b_call[(]\(.*\)[)]/bcall \1
+