Commit Graph

398 Commits

Author SHA1 Message Date
Israel Chauca Fuentes
22e6272b1a Migrate testing to tcltest + expect 2017-04-12 15:58:49 -04:00
Israel Chauca Fuentes
c4d51a21b3 Refactor pairs handling 2017-04-01 18:14:12 -04:00
Israel Chauca Fuentes
9ec998e87a Rewrite s:keys4right() 2017-03-20 22:49:37 -04:00
Israel Chauca Fuentes
0246f25de8 Some cleanup 2017-03-15 03:11:38 -04:00
Israel Chauca Fuentes
1eafd59b9c Quick fixes 2017-02-21 22:11:52 -05:00
Israel Chauca Fuentes
4eaeef01bf Fix problem with jumping over an existing closing delimiter. 2017-02-21 22:11:27 -05:00
Israel Chauca Fuentes
fb60f3cc9f Try to avoid breaking redo. 2017-02-21 22:09:40 -05:00
Israel Chauca Fuentes
e362f5a69d Add jump_over. Close #220. 2017-02-14 14:59:19 -05:00
Israel Chauca Fuentes
c97a824ed4 Do not jump over next delimiter when unbalanced pairs. Close #229. 2017-02-14 14:59:18 -05:00
Israel Chauca Fuentes
37122299b7 Add license. Close #247. 2017-02-14 14:59:17 -05:00
Israel Chauca Fuentes
d882e342f7 Add :DMDebug 2017-02-14 14:59:08 -05:00
Israel Chauca Fuentes
b1ff7f7942 Simplify expand_cr a bit and add some to do tests 2017-02-13 12:12:12 -05:00
Israel Chauca Fuentes
e48ea9f852 Allow jumping over quote on the right if in ignored syntax group 2017-02-12 23:48:13 -05:00
Israel Chauca Fuentes
cb6866f1c3 Improve smart rules 2017-02-11 22:38:51 -05:00
Israel Chauca Fuentes
8204ab4cb8 Better handling of syntax regions 2017-02-11 22:38:13 -05:00
Israel Chauca Fuentes
6f038350de Reorder some tests and add modelines everywhere 2017-02-11 20:07:40 -05:00
Israel Chauca Fuentes
0f6581c6f3 Add insert_eol_marker 2017-02-11 19:13:09 -05:00
Israel Chauca Fuentes
7752546515 Add jump_expansion 2017-02-11 17:55:03 -05:00
Israel Chauca Fuentes
7809c5e171 Add expand_cr 2017-02-11 11:11:17 -05:00
Israel Chauca Fuentes
b6cc751cc9 Rename some things. 2017-02-10 22:59:22 -05:00
Israel Chauca Fuentes
24cffe07b3 Consider that double quotes start comments in viml 2017-02-10 21:13:45 -05:00
Israel Chauca Fuentes
6fddbc5568 Add jump_expansion 2017-02-10 19:55:02 -05:00
Israel Chauca Fuentes
015e0efe53 Add expand_inside_quotes and fix a nesting problem. 2017-02-10 14:25:52 -05:00
Israel Chauca Fuentes
03a0e5d8b3 Simplify the format of the tests. 2017-02-10 00:32:17 -05:00
Israel Chauca Fuentes
d970ecc4ca Prevent recursive nesting of quotes in tests. 2017-02-10 00:30:23 -05:00
Israel Chauca Fuentes
353fb9a718 Sort things a bit. 2017-02-10 00:29:30 -05:00
Israel Chauca Fuentes
4d0060f22b Add support for quotes and a couple of other things. 2017-02-09 12:59:33 -05:00
Israel Chauca Fuentes
65016ebe37 Implement balance_pairs 2017-02-07 00:52:01 -05:00
Israel Chauca Fuentes
85d76972e6 Implement smart pairs. 2017-02-06 00:28:48 -05:00
Israel Chauca Fuentes
c4b5877958 Allow abbreviations to expand. 2017-02-06 00:25:44 -05:00
Israel Chauca Fuentes
2335c4ae27 Simplify makefiles. 2017-02-04 20:19:16 -05:00
Israel Chauca Fuentes
6f1a9d00af Implement autoclosingpairs. 2017-02-04 20:12:21 -05:00
Israel Chauca Fuentes
b99ecfa2e3 Simplify tests. 2017-01-23 20:40:55 -05:00
Israel Chauca Fuentes
50d97fd76e Simplify pattern 2015-09-11 09:18:12 -04:00
Israel Chauca Fuentes
8bc47fd1c4 Merge pull request #227 from wellle/fix-repeat-and-undo
Fix repeat and undo
2015-09-07 14:58:42 -04:00
Christian Wellenbrock
bc97837c71 Don't break undo sequence when moving in insert mode
Since Vim version 7.4.849 [1] we can move in insert mode without
breaking the undo sequence by inserting <C-G>U before the movement key.

Add s:joinUndo which returns "\<C-G>U" if available.
Use s:joinUndo before doing any <Left> or <Right> movements in insert
mode to keep a single undo point which can be repeated and undone
with a single command.

[1] https://github.com/vim/vim/releases/tag/v7.4.849
2015-09-06 15:42:30 +02:00
Israel Chauca Fuentes
d24ad6b301 Merge pull request #210 from codebeige/fix_expand_cr_for_excluded_ft
Prevent errors inside excluded filetype
2015-05-18 13:24:02 -04:00
Israel Chauca Fuentes
81de76fe52 Update help. 2015-05-17 19:42:50 -04:00
Israel Chauca Fuentes
5945fdfd14 Consider more characters in smart_matchpairs default value. 2015-05-17 19:34:11 -04:00
Israel Chauca Fuentes
9a77c3aee6 Merge branch 'RGBD-fix-maparg-typo' 2015-05-01 22:35:56 -04:00
Oleg Zubchenko
342a04b427 fix maparg typo 2015-04-27 21:11:57 +03:00
Tibor Claassen
03e94587ae Add a guard clause to disable expansion for excluded filetypes 2015-03-28 15:48:40 +02:00
Israel Chauca Fuentes
c78a6e6d93 Allow using commas and colons in matchpairs. Fix #208. 2015-02-12 09:09:48 -05:00
Israel Chauca Fuentes
470c053a3b Better handling of insert_eol_marker. Should fix #195. 2015-01-17 14:03:48 -05:00
Israel Chauca Fuentes
254a89d67c Call s:setup() directly in the plugin. Should fix #202.
- Move 'call s:setup()' out of the autocmd.
- Add a test for the first buffer without filetype set.
2015-01-15 11:21:09 -05:00
Israel Chauca Fuentes
e7b4dedb84 Add option delimitMate_insert_eol_marker. Closes #195. 2015-01-08 17:14:27 -05:00
Israel Chauca Fuentes
21a3ade90c Use s:get() and s:set() instead of the abbreviated forms. 2015-01-06 08:50:17 -05:00
Israel Chauca Fuentes
8e30e70bcd Refactor reporting code. 2015-01-05 02:16:09 -05:00
Israel Chauca Fuentes
ac792c01b6 Indent with spaces. 2015-01-04 20:25:50 -05:00
Israel Chauca Fuentes
c23ef684e3 Add :DelimitMateOn, :DelimitMateOff & remove s:DelimitMateSwitch(). 2015-01-04 20:13:11 -05:00