Skyler Grey | e9e4585 | 2022-10-31 00:16:58 +0000 | [diff] [blame] | 1 | let g:pear_tree_smart_openers = 1 |
| 2 | let g:pear_tree_smart_closers = 1 |
| 3 | let g:pear_tree_smart_backspace = 1 |
| 4 | let g:pear_tree_map_special_keys = 0 |
Skyler Grey | 0c024ef | 2022-10-31 00:17:14 +0000 | [diff] [blame] | 5 | let g:pear_tree_repeatable_expand = 0 |
Skyler Grey | e9e4585 | 2022-10-31 00:16:58 +0000 | [diff] [blame] | 6 | |
| 7 | autocmd FileType tex let b:pear_tree_pairs = extend(deepcopy(g:pear_tree_pairs), { |
| 8 | \ '$': {'closer': '$'}, |
| 9 | \ }, 'keep') |
| 10 | autocmd FileType markdown let b:pear_tree_pairs = extend(deepcopy(g:pear_tree_pairs), { |
| 11 | \ '`': {'closer': '`'}, |
| 12 | \ '```': {'closer': '```'}, |
| 13 | \ '$': {'closer': '$'}, |
| 14 | \ }, 'keep') |
| 15 | |
| 16 | imap <BS> <Plug>(PearTreeBackspace) |
| 17 | imap <Esc> <Plug>(PearTreeFinishExpansion) |
Skyler Grey | 8fd63d0 | 2022-10-31 00:26:44 +0000 | [diff] [blame] | 18 | |