32 Commits

Author SHA1 Message Date
machakann 70022d9277 Implement g:sandwich#input_fallback option 2022-02-06 22:35:23 +09:00
machakann b0a4a10f15 Define keymappings explicitly in tests 2022-01-29 22:17:43 +09:00
machakann 95d41c9ab1 Revert "Change the rule to select by auto-textobject"
This reverts commit a68205cdc7.
It's not so easy to understand the rules to select buffer text.
2021-12-31 18:54:51 +09:00
machakann a68205cdc7 Change the rule to select by auto-textobject
It has been chosen only by the length of inner wrapped text.
Now a text under the cursor will be prioritized.
2021-12-26 02:14:59 +09:00
machakann ac3affcb8f Could not cancel action with Esc if input is not a character 2021-11-28 20:15:32 +09:00
machakann e1467e2e4d Fix a bug when canceled. 2017-03-18 16:04:44 +08:00
machakann 1fa19101f8 Delete surroundings selectively when 'synchro' option is on. (#21) 2016-10-11 00:47:43 +09:00
machakann 03308424cf Make 'listexpr' option valid also with textobj-sandwich. (#16) 2016-08-16 18:59:19 +08:00
machakann 1de59a01ca Drop funcref support of buns.
It is nothing convenient. Make the source codes messing up.
2016-04-05 11:35:46 +08:00
machakann 3fff0f9103 Fix wrong test of 'quoteescape' option for textobjects. 2016-04-05 00:16:29 +08:00
machakann 9a5c5f1c8f Test more strictly. 2016-04-02 20:30:20 +08:00
machakann 81d07deef2 Change numbering for tests. 2016-03-15 22:43:05 +08:00
machakann 9f7a9c3298 Fix a bug on 'skip_break' option.
If line-breaking is not included in the region, textobjects should not skip.
2015-10-25 14:40:34 +08:00
machakann 7395e5659f Improve the behavior of 'skip_break' option.
'skip_break' option has not worked well with indentation. To do well with indentation, skip white spaces with line breaking together.
2015-10-25 00:23:06 +08:00
machakann cdd6f29c36 Add test for multibyte characters. 2015-09-29 19:14:52 +08:00
machakann 6eafe830fa Fix a bug on 'filetype' filter. 2015-08-22 23:59:07 +08:00
machakann 73b14ab73d Change specs in case that 'expr' buns would be Funcref. 2015-08-22 12:54:03 +08:00
machakann 866317b5ba Add 'skip_expr' local option.
It gives the way to skip candidate positions by expressions.
2015-08-22 00:11:58 +08:00
machakann b9593d2e55 Add "skip_regex_head" and "skip_regex_tail" options. 2015-08-15 09:19:51 +08:00
machakann ed06738588 Add 'inner_syntax' option to check the syntax highlight of a surrounded text. (#8) 2015-08-10 22:47:10 +08:00
machakann 3b0c1e8101 Add the case that 'matched_syntax' option is 3. 2015-08-10 22:11:45 +08:00
machakann aa2d30a278 There should be a way to cancel an operation in a evaluation of 'expr' buns. 2015-08-09 11:33:37 +08:00
machakann ca96b9f6f6 Fix a bug on 'synchro' option with 'external' textobjects (after 45189e9b4d). 2015-08-03 20:44:06 +08:00
machakann 45189e9b4d Better implementation for "synchro" option. 2015-07-25 17:09:34 +08:00
machakann 25d21a2232 Fix a bug on resolving method of input. 2015-07-10 13:18:10 +08:00
machakann 456373da97 Fix a bug when 'matched_syntax' is 2. 2015-07-04 20:20:27 +08:00
machakann c50ef0cd88 Rename a filter: 'user_filter' to 'expr_filter'. 2015-07-03 13:32:15 +08:00
machakann 3145a7e32f Raname a local option: 'eval' to 'expr'. 2015-07-03 13:27:14 +08:00
machakann 69018d0d66 Define the spec of key mapping functions. 2015-07-03 11:08:47 +08:00
machakann ec05c169bb Add 'user_filter'. 2015-06-19 15:41:40 +08:00
machakann e78e54a38c Add test for 'input' and 'filter's 2015-06-19 14:23:36 +08:00
machakann 63876a95b7 first commit 2015-05-23 16:43:17 +08:00