89 lines
2.4 KiB
VimL
89 lines
2.4 KiB
VimL
|
let s:cpo_save = &cpo
|
|||
|
set cpo&vim
|
|||
|
|
|||
|
let b:undo_ftplugin = ''
|
|||
|
|
|||
|
for [sequence, symbol] in items(g:agda#glyphs)
|
|||
|
execute printf('noremap! <buffer> <LocalLeader>%s %s', sequence, symbol)
|
|||
|
endfor
|
|||
|
|
|||
|
setlocal matchpairs&vim
|
|||
|
setlocal matchpairs+=(:)
|
|||
|
setlocal matchpairs+=<:>
|
|||
|
setlocal matchpairs+=[:]
|
|||
|
setlocal matchpairs+={:}
|
|||
|
setlocal matchpairs+=«:»
|
|||
|
setlocal matchpairs+=‹:›
|
|||
|
setlocal matchpairs+=⁅:⁆
|
|||
|
setlocal matchpairs+=⁽:⁾
|
|||
|
setlocal matchpairs+=₍:₎
|
|||
|
setlocal matchpairs+=⌈:⌉
|
|||
|
setlocal matchpairs+=⌊:⌋
|
|||
|
setlocal matchpairs+=〈:〉
|
|||
|
setlocal matchpairs+=⎛:⎞
|
|||
|
setlocal matchpairs+=⎝:⎠
|
|||
|
setlocal matchpairs+=⎡:⎤
|
|||
|
setlocal matchpairs+=⎣:⎦
|
|||
|
setlocal matchpairs+=⎧:⎫
|
|||
|
setlocal matchpairs+=⎨:⎬
|
|||
|
setlocal matchpairs+=⎩:⎭
|
|||
|
setlocal matchpairs+=⎴:⎵
|
|||
|
setlocal matchpairs+=❨:❩
|
|||
|
setlocal matchpairs+=❪:❫
|
|||
|
setlocal matchpairs+=❬:❭
|
|||
|
setlocal matchpairs+=❮:❯
|
|||
|
setlocal matchpairs+=❰:❱
|
|||
|
setlocal matchpairs+=❲:❳
|
|||
|
setlocal matchpairs+=❴:❵
|
|||
|
setlocal matchpairs+=⟅:⟆
|
|||
|
setlocal matchpairs+=⟦:⟧
|
|||
|
setlocal matchpairs+=⟨:⟩
|
|||
|
setlocal matchpairs+=⟪:⟫
|
|||
|
setlocal matchpairs+=⦃:⦄
|
|||
|
setlocal matchpairs+=⦅:⦆
|
|||
|
setlocal matchpairs+=⦇:⦈
|
|||
|
setlocal matchpairs+=⦉:⦊
|
|||
|
setlocal matchpairs+=⦋:⦌
|
|||
|
setlocal matchpairs+=⦍:⦎
|
|||
|
setlocal matchpairs+=⦏:⦐
|
|||
|
setlocal matchpairs+=⦑:⦒
|
|||
|
setlocal matchpairs+=⦓:⦔
|
|||
|
setlocal matchpairs+=⦕:⦖
|
|||
|
setlocal matchpairs+=⦗:⦘
|
|||
|
setlocal matchpairs+=⸠:⸡
|
|||
|
setlocal matchpairs+=⸢:⸣
|
|||
|
setlocal matchpairs+=⸤:⸥
|
|||
|
setlocal matchpairs+=⸦:⸧
|
|||
|
setlocal matchpairs+=⸨:⸩
|
|||
|
setlocal matchpairs+=〈:〉
|
|||
|
setlocal matchpairs+=《:》
|
|||
|
setlocal matchpairs+=「:」
|
|||
|
setlocal matchpairs+=『:』
|
|||
|
setlocal matchpairs+=【:】
|
|||
|
setlocal matchpairs+=〔:〕
|
|||
|
setlocal matchpairs+=〖:〗
|
|||
|
setlocal matchpairs+=〘:〙
|
|||
|
setlocal matchpairs+=〚:〛
|
|||
|
setlocal matchpairs+=︗:︘
|
|||
|
setlocal matchpairs+=︵:︶
|
|||
|
setlocal matchpairs+=︷:︸
|
|||
|
setlocal matchpairs+=︹:︺
|
|||
|
setlocal matchpairs+=︻:︼
|
|||
|
setlocal matchpairs+=︽:︾
|
|||
|
setlocal matchpairs+=︿:﹀
|
|||
|
setlocal matchpairs+=﹁:﹂
|
|||
|
setlocal matchpairs+=﹃:﹄
|
|||
|
setlocal matchpairs+=﹇:﹈
|
|||
|
setlocal matchpairs+=﹙:﹚
|
|||
|
setlocal matchpairs+=﹛:﹜
|
|||
|
setlocal matchpairs+=﹝:﹞
|
|||
|
setlocal matchpairs+=(:)
|
|||
|
setlocal matchpairs+=<:>
|
|||
|
setlocal matchpairs+=[:]
|
|||
|
setlocal matchpairs+={:}
|
|||
|
setlocal matchpairs+=⦅:⦆
|
|||
|
setlocal matchpairs+=「:」
|
|||
|
let b:undo_ftplugin .= ' | setlocal matchpairs<'
|
|||
|
|
|||
|
let &cpo = s:cpo_save
|