blob: e4b4143fe6addaff846e6f657b6b466a6f78068c [file] [log] [blame]
Skyler Greye9e45852022-10-31 00:16:58 +00001let g:pear_tree_smart_openers = 1
2let g:pear_tree_smart_closers = 1
3let g:pear_tree_smart_backspace = 1
4let g:pear_tree_map_special_keys = 0
Skyler Grey0c024ef2022-10-31 00:17:14 +00005let g:pear_tree_repeatable_expand = 0
Skyler Greye9e45852022-10-31 00:16:58 +00006
7autocmd FileType tex let b:pear_tree_pairs = extend(deepcopy(g:pear_tree_pairs), {
8 \ '$': {'closer': '$'},
9 \ }, 'keep')
10autocmd FileType markdown let b:pear_tree_pairs = extend(deepcopy(g:pear_tree_pairs), {
11 \ '`': {'closer': '`'},
12 \ '```': {'closer': '```'},
13 \ '$': {'closer': '$'},
14 \ }, 'keep')
15
16imap <BS> <Plug>(PearTreeBackspace)
17imap <Esc> <Plug>(PearTreeFinishExpansion)
Skyler Grey8fd63d02022-10-31 00:26:44 +000018