Commit Graph
100 Commits
Author SHA1 Message Date
Israel Chauca Fuentes 765bdd80dc Fix typo. 2013-04-10 11:04:15 -04:00
Israel Chauca Fuentes 739d2f9bd4 Call #Finish() only when necessary for <BS>. As mentioned in #124. 2013-03-27 18:33:58 -04:00
Israel Chauca Fuentes eb7738e4aa Call #Finish() only when necessary. Closes #124. 2013-03-27 16:50:53 -04:00
Israel Chauca Fuentes 32f5d8df07 Do not map over <Esc>. Closes #118. 2013-02-12 10:37:42 -05:00
Israel Chauca Fuentes 7b5887c324 Do not create bogus imap. closes #113 , closes #87. 2013-02-08 20:43:32 -05:00
Israel Chauca Fuentes 0326b7c14a Flush buffer on scrolling. 2012-07-20 15:51:19 -04:00
Israel Chauca Fuentes 1dfe26a538 Fix CR expansion & syn fold enabled by InsertLeave
Benamin Fritz reported the following:

Without the "zv", if the user has syntax folding on, when the mapping
invokes <Esc> the pair of braces which were just separated by a <CR>
could become folded, so that the trailing "o" opens a new line AFTER
the pair.
2012-06-08 16:56:34 -04:00
Israel Chauca Fuentes 5a84c1a746 Update :DelimitMateTest for eol_marker. 2012-04-15 20:16:44 -04:00
Israel Chauca Fuentes 0f9563969d Update doc about #77. 2012-04-15 01:47:19 -04:00
Israel Chauca Fuentes d3ffebab74 Replace for loop with map(). Should finish with #77. 2012-04-15 01:34:56 -04:00
Israel Chauca Fuentes ece6c39a65 Add eol marker only if inserted on the same 'insert session'. 2012-04-15 01:02:28 -04:00
Israel Chauca Fuentes ad151d3e55 Fix readme. 2012-04-14 19:36:51 -04:00
Israel Chauca Fuentes b65d719353 Add string next to the closing matchpair when at the eol. Closes #77. 2012-04-14 19:36:51 -04:00
Israel Chauca Fuentes ad4430706e Fix conflict with cindent. Comment on #95. 2012-04-01 17:59:40 -04:00
Israel Chauca Fuentes 93d4a373fb Correct test for CR expansions. 2012-03-31 17:00:51 -04:00
Israel Chauca Fuentes a9f51531d9 Consider indentation with BS on empty expanded CR. 2012-03-31 16:56:31 -04:00
Israel Chauca Fuentes 6bb98110b4 Consider space and CR expansions when jumping over. Closes #95. 2012-03-31 13:33:24 -04:00
Israel Chauca Fuentes 0b34aea202 Always jump over the quote on the right. Closes #89. 2012-03-04 00:11:40 -05:00
Israel Chauca Fuentes f1e92d05d5 Make smart quote work beyond the first column. Closes #89. 2012-03-03 16:09:08 -05:00
Israel Chauca Fuentes 26a6def62f Add an option to prevent mapping to ^[OC.
Might be useful in #87.
2012-02-28 18:27:13 -05:00
Israel Chauca Fuentes 0fb597ef36 Make :DelimitMateTest more verbose.
- Add the output of :version.
- Print all mapping regardless of value.
- Ask before overwriting a modified buffer.
2012-02-25 17:45:28 -05:00
Israel Chauca Fuentes fe5dd9a61a Fix typo in doc. Closes #85. 2012-02-24 20:48:05 -05:00
Israel Chauca Fuentes bb9b0edcc5 Simplify CR expansion mapping. Add Test for it. 2012-02-24 20:32:42 -05:00
Israel Chauca Fuentes f3176a664c Merge branch 'master' of https://github.com/gyim/delimitMate 2012-02-23 20:46:02 -05:00
Israel Chauca Fuentes 9c77b8434a Use default cpo values while creating mappings. Closes #72. 2012-02-22 23:14:01 -05:00
Israel Chauca Fuentes 646794cbda Remove "apostrophe" feature. Closes #81. 2012-02-16 14:53:01 -05:00
Israel Chauca Fuentes 93fdcf92e1 Update README. 2012-02-16 02:30:35 -05:00
Israel Chauca Fuentes fbbd9514c5 Add real README. 2012-02-16 02:28:10 -05:00
Israel Chauca Fuentes be5c41b3c1 Add test files. 2012-02-16 01:59:28 -05:00
Israel Chauca Fuentes b853ee9f35 Handle backspace option gracefully. Quick test for #64. 2012-02-15 22:05:48 -05:00
Israel Chauca Fuentes eb2625c4a7 Consider non ascii chars for smart quote. 2012-02-15 15:38:11 -05:00
Israel Chauca Fuentes e17f6cd23c Consider non ascii chars for smart quote. Close #73. 2012-02-15 14:52:53 -05:00
Israel Chauca Fuentes 54acd56b48 Fix space expansion. Closes #68. 2012-02-15 14:25:36 -05:00
Israel Chauca Fuentes f5748da36c Fix issues with quotes. 2012-02-14 18:39:48 -05:00
Israel Chauca Fuentes eade67b409 Remove noise. 2012-02-12 13:33:04 -05:00
Israel Chauca Fuentes 9d133d5b69 Fix flushing of char buffer. 2012-02-09 21:28:53 -05:00
Israel Chauca Fuentes 9f003b5bf5 Add CursorIdx() multibyte aware col(). 2012-02-08 22:44:39 -05:00
Israel Chauca Fuentes e688e20151 Optimize IsSpaceExpansion. 2012-02-08 03:50:43 -05:00
Israel Chauca Fuentes 8749708115 Optimize IsEmptyPair. 2012-02-08 03:41:11 -05:00
Israel Chauca Fuentes 5cc5d8d9b3 Replace GeetChar*Cursor with GetCharFromCursor. 2012-02-08 03:07:49 -05:00
Israel Chauca Fuentes 98b4119746 Attempt to fix CR expansion. 2012-02-08 01:08:10 -05:00
Israel Chauca Fuentes c889905e47 Fix duplicated closing paren with <S-Tab>.
Code from @albertosantini. Closes #69.
2012-02-08 00:22:18 -05:00
Israel Chauca Fuentes db54dadb46 Remove unused var. 2012-02-08 00:22:04 -05:00
Israel Chauca Fuentes 604260f56e Use GetChar*Cursor() instead of byte indexes. 2012-02-08 00:02:58 -05:00
Israel Chauca Fuentes 581a3ebc17 Modify b:_l_delimitMate_matchpairs_list. 2012-02-07 22:32:17 -05:00
Israel Chauca Fuentes cc1acaba96 Allow multibyte chars with <BS>. Closes #78.
- Add delimitMate#GetCharUnderCursor()
- Add delimitMate#GetCharBeforeCursor()
- Simplify delimitMate#Del()
2012-02-07 22:11:53 -05:00
Israel Chauca Fuentes 7b781ab6b6 Merge branch 'master' of https://github.com/MSch/delimitMate 2012-02-07 18:46:04 -05:00
Israel Chauca Fuentes 39b8298390 Typo on doc. "brake->break" now all of them. 2011-07-04 16:51:48 -05:00
Israel Chauca Fuentes 57b80ea78a Typo on doc. "brake->break" 2011-07-04 16:50:02 -05:00
Israel Chauca Fuentes a5b7141fc4 Set and restore &cpo in the right place. 2011-04-17 15:49:27 -05:00
Israel Chauca Fuentes 9efb01da68 UPdate README. 2011-01-14 23:31:20 -06:00
Israel Chauca Fuentes 860c45ab2a Limit autocmd effects. 2011-01-14 22:13:00 -06:00
Israel Chauca Fuentes 8686edfc63 Update version. 2011-01-14 20:59:53 -06:00
Israel Chauca Fuentes 5e7a7c4738 Update change log. 2011-01-14 20:57:56 -06:00
Israel Chauca Fuentes 928cc1146a Fix behaviour of b:loaded_delimitMate. 2011-01-14 20:49:28 -06:00
Israel Chauca Fuentes d420afdacd Trivial formatting. 2011-01-14 20:37:40 -06:00
Israel Chauca Fuentes f6015300a0 Modify smart_matchpairs regex. 2011-01-14 20:37:04 -06:00
Israel Chauca Fuentes e183064744 Update change log. 2011-01-14 20:36:29 -06:00
Israel Chauca Fuentes 40849c94ef Update documentation. 2011-01-14 20:29:22 -06:00
Israel Chauca Fuentes 4c1424f9bd Reorder stuff. 2010-12-11 05:23:59 -06:00
Israel Chauca Fuentes 0783f97fc0 Modify :DelimitMateTest output. 2010-12-11 05:23:27 -06:00
Israel Chauca Fuentes e551885c24 Prevent indenting from propagating on the report. 2010-12-11 00:16:31 -06:00
Israel Chauca Fuentes 4891a04258 Fix double space. 2010-12-11 00:10:21 -06:00
Israel Chauca Fuentes ad77a9a75e Append output of :set to report. 2010-12-11 00:08:35 -06:00
Israel Chauca Fuentes 5bf35a6b31 Delete empty <CR> expansion with indentation. 2010-12-11 00:07:59 -06:00
Israel Chauca Fuentes 49044099dd Change format of report. 2010-12-11 00:07:19 -06:00
Israel Chauca Fuentes 7c423067a8 UPdate to delimitMateTests#Main(). 2010-12-10 23:26:21 -06:00
Israel Chauca Fuentes d08fa765b9 Update doc. 2010-12-10 23:25:10 -06:00
Israel Chauca Fuentes f47bcd8e3f Reorder mappings. 2010-12-08 21:56:47 -06:00
Israel Chauca Fuentes 873e79ec37 Allow jumping over contiguous delimiters. Closes #44. 2010-12-08 03:34:45 -06:00
Israel Chauca Fuentes 589b2ae85a Merge branch 'master' into jump_over 2010-12-07 17:05:00 -06:00
Israel Chauca Fuentes f9f2b5f177 Don't leave mappings around.
Some mappings weren't being unmapped on filetype change because options
were initialized before the call to Unmap().
2010-12-07 16:59:09 -06:00
Israel Chauca Fuentes 4157dc8a88 Make jumping back optional. 2010-12-06 22:08:59 -06:00
Israel Chauca Fuentes d0fc1456b7 Use \# to insert closing pair in smart_matchpairs. 2010-11-17 23:17:25 -06:00
Israel Chauca Fuentes 86f70a7d9c Use regex for smart_matchpairs.
If the text in the line to the right of the cursor matches
smart_matchpairs, do not auto close.

To match the opening paren, insert a escaped bang (\!) in the pattern.
2010-11-17 17:53:33 -06:00
Israel Chauca Fuentes f7b53f045d Fix typo. 2010-11-09 03:19:44 -06:00
Israel Chauca Fuentes f3d140e363 Update credits section. 2010-11-09 01:12:26 -06:00
Israel Chauca Fuentes 93a1770f37 Doc update. 2010-11-08 09:47:51 -06:00
Israel Chauca Fuentes 859a732509 Merge git://github.com/ervandew/delimitMate into temporal
Conflicts:
	autoload/delimitMate.vim
2010-11-08 09:22:20 -06:00
Israel Chauca Fuentes eb778be64b Update OptionsList(). 2010-11-06 22:47:05 -05:00
Israel Chauca Fuentes 2b2ae65182 Eliminate some noise from DelimitMateTest. 2010-11-06 22:43:03 -05:00
Israel Chauca Fuentes e1b52d3676 Some formating. 2010-11-06 22:41:31 -05:00
Israel Chauca Fuentes ff4745b191 More flexible test for 'backspace' values. 2010-11-06 22:38:13 -05:00
Israel Chauca Fuentes 2ba694830d Use '\w' instead of '[[:alnum:]]' in smart_quotes. 2010-11-06 22:35:40 -05:00
Israel Chauca Fuentes 12c5c96ca2 Add smart_matchpairs
This option will prevent delimitMate from inserting the closing
delimiter when there is a keyword character on the right of the cursor.
2010-11-06 20:05:40 -05:00
Israel Chauca Fuentes 5bf6a1e30c Fix DelimitMateTest. 2010-10-09 17:23:32 -05:00
Israel Chauca Fuentes f8883cb700 Release 2.5.1. 2010-09-30 18:55:35 -05:00
Israel Chauca Fuentes f72ffe3c12 b:vars take precedence over g:vars in report. 2010-09-30 18:50:52 -05:00
Israel Chauca Fuentes d2e896fbe1 Nicer report. 2010-09-29 14:33:14 -05:00
Israel Chauca Fuentes a0b1799270 Remove Visual Wrapping. Closes #38. 2010-09-27 15:27:45 -05:00
Israel Chauca Fuentes 1d423ab2b9 Release 2.5. 2010-09-22 21:49:19 -05:00
Israel Chauca Fuentes 7f5df4bf6e Update documentation. 2010-09-20 16:46:36 -05:00
Israel Chauca Fuentes 9f1fdc418d Version and doc update. 2010-09-20 01:47:01 -05:00
Israel Chauca Fuentes 64cf4beb8a Formating. 2010-09-20 00:55:30 -05:00
Israel Chauca Fuentes 119174b7dd Add -bar to commands. 2010-09-20 00:53:12 -05:00
Israel Chauca Fuentes b3a7728299 Use <Plug> and conditional mappings for delimiters. 2010-08-24 10:15:31 -05:00
Israel Chauca Fuentes 2266a19900 Rename mappings. 2010-08-24 09:04:57 -05:00
Israel Chauca Fuentes 1b587bee9a Better :DelimitMateReport. 2010-08-24 08:29:10 -05:00
Israel Chauca Fuentes 31b289adfe TestMappings handles "|". Closes #37. 2010-08-21 12:33:27 -05:00
Israel Chauca Fuentes efadb34c84 Allow "|" to be used in mappings. 2010-08-21 11:29:29 -05:00