machakann
55cb454c58
Do not touch unused registers
2022-01-30 23:08:45 +09:00
machakann
1d67705ec1
Merge branch 'master' into develop
2022-01-30 21:51:05 +09:00
Iron-E
4d79f6eaa4
fix: don't override existing highlight w/ default
...
highlight! default overrides the existing highlight in order to set a default link. So any highlight group that exists before will be wiped over.
To fix this I have changed highlight! default to highlight default, which only sets the highlight group if it wasn't already defined.
2021-11-29 16:07:28 -05:00
machakann
d02072964a
Do not load lib module in a/o/sandwich.vim
2021-11-28 23:25:19 +09:00
machakann
f462636297
Merge branch 'develop'
2021-11-28 23:12:59 +09:00
machakann
8a5fdcb534
Rename global option pickers
2021-11-27 22:14:51 +09:00
machakann
6b9d8ec205
Lazily define highlight stuffs
2021-11-06 21:52:42 +09:00
machakann
fbf0761981
Fix inappropriate naming
2019-01-29 21:45:22 +08:00
machakann
c36889803e
operator#sandwich#show() function should not ignore "highlight" option. ( #52 )
2017-10-28 17:21:14 +08:00
machakann
b497e0d8fa
No way to know the type of a target region of the current operation
2017-10-28 16:30:23 +08:00
machakann
0cf4eb9738
Now vim-sandwich is available also in (insert) mode.
...
These operator can be used after <C-o> in insert mode.
2017-03-17 21:10:01 +08:00
machakann
ab5a791840
Merge branch 'dev'
2017-03-14 20:23:59 +08:00
machakann
e88162acbe
Refactoring: Update option handlings.
2017-03-13 00:19:28 +08:00
machakann
380aff22ad
Fix a bug missing highlight group. ( #38 )
...
Related f63eec7b4b
2017-03-04 22:58:42 +08:00
machakann
8de8df292b
Remove :silent command from the autocmd events.
...
It was a big barrier to debug hooked functions.
2016-12-14 17:57:29 +08:00
machakann
538a790dc6
Get blockwise visual information without flickering.
2016-12-12 17:42:34 +08:00
machakann
2d26cc95ef
Safer registers handling.
2016-12-12 17:36:31 +08:00
machakann
a67ed9708c
Update highlight system.
2016-12-10 20:16:59 +08:00
machakann
cf48694059
Add :noautocmd command.
2016-12-09 20:31:06 +08:00
machakann
94f6b9505b
Refactoring: cut out common code as a function.
2016-10-23 23:23:56 +09:00
machakann
ed00ea94cc
Rename 'message' object to 'messenger' object and move into global scope.
2016-10-23 23:18:28 +09:00
machakann
2a26af059f
Drop 'x' flag of feedkeys() function.
...
Added at e959f2db91 . It has problem with an abbreviation keymapping like:
nmap s( <Plug>(operator-sandwich-add-query1st)(
2016-10-13 01:12:47 +09:00
machakann
1fa19101f8
Delete surroundings selectively when 'synchro' option is on. ( #21 )
2016-10-11 00:47:43 +09:00
machakann
e959f2db91
Add 'i' and 'x' flag to feedkeys() function.
2016-10-07 19:36:53 +08:00
machakann
9ae4b323e2
Add visualrepeat.vim plugin support in blockwise visual mode. ( #19 )
2016-09-22 18:56:30 +08:00
machakann
d945890f17
Add visualrepeat.vim plugin support.
...
Suggested at issue #19 .
- visualrepeat.vim (vimscript #3848 )
2016-09-21 20:59:30 +08:00
machakann
49984c9ea6
Blash up magicchar:i and add magicchar:I. ( #18 )
2016-08-17 14:01:53 +08:00
machakann
50b6ebe9b4
Add operator#sandwich#kind().
...
Return the operator set currently.
2016-08-13 17:13:56 +08:00
machakann
4bf6023a4e
Make the first argument omittable of operator#sandwich#show/quench.
2016-08-13 17:13:51 +08:00
machakann
9e8526a70f
Revert "Add operator#sandwich#last_deletion."
...
This reverts commit ddf5acc8df .
2016-08-13 17:13:32 +08:00
machakann
ddf5acc8df
Add operator#sandwich#last_deletion.
...
It was not easy to get the text last deleted.
2016-07-30 21:45:31 +08:00
machakann
6b97f59465
Surely get colmax ( #17 ).
2016-07-28 21:58:46 +08:00
machakann
644632a30b
Add operator#sandwich#get_info().
...
There has been no way to get information of the current operator.
2016-07-25 00:28:06 +08:00
machakann
be830ac762
Fix a potential bug after vim-7.4.1976
...
Use s:colmax instead of 1/0 because 1/0 might be 'long' type, 64bit.
2016-07-23 19:56:31 +08:00
machakann
4aec34e3e4
Drop obsolete messages.
2016-06-26 19:24:11 +08:00
machakann
62677f6672
Warn only if needed.
2016-05-19 20:49:11 +08:00
machakann
46b03cc1b4
'g:operator#sandwich#highlgihgt_duration' will become obsolete soon.
2016-05-19 12:23:05 +08:00
machakann
92a53758df
Update the system for 'synchro' option.
2016-05-12 21:28:26 +08:00
machakann
82e0a47ae5
Polish the system for cooperation of operators and textobjects.
2016-05-11 22:03:45 +08:00
machakann
925ea29b0f
Better default coloring for operator#sandwich#show().
2016-04-27 19:15:01 +08:00
machakann
b6fde93194
Refactoring: attribute "keepable" should belong to cursor info family.
2016-04-22 21:28:54 +08:00
machakann
a1c79123e2
Quench highlight anytime.
...
No reason to limit quenching timing in an operation.
2016-04-22 21:12:29 +08:00
machakann
a3c8704ce6
Fix a bug on query1st mappings.
2016-04-10 22:09:20 +08:00
machakann
82c06f0bd3
Revise notification and error messaging.
2016-04-10 18:55:17 +08:00
machakann
dbeaae3339
Add a new local option "listexpr". ( #16 )
2016-04-10 18:55:08 +08:00
machakann
e9a2e1229f
Refactoring: Squash needless arguments.
2016-04-08 22:57:56 +08:00
machakann
f0858ce829
Allow to set buffer-local options.
2016-04-08 18:56:39 +08:00
machakann
aa02ce5341
Allow buffer local recipe lists.
2016-04-07 19:21:25 +08:00
machakann
914993a411
Add API functions to highlight texts.
...
Add operator#sandwich#show() and operator
2016-04-06 21:38:56 +08:00
machakann
878de3094f
Rich highlighting. ( #15 )
2016-04-05 22:55:17 +08:00