130 Commits

Author SHA1 Message Date
machakann 59f95e614f Add a link to sandwich-compound-recipes 2022-07-03 17:53:58 +09:00
machakann 65e89ca377 Remove synchro options from document 2022-07-03 17:53:31 +09:00
machakann e0069cbef3 Style fixes
Related #145
2022-07-03 17:46:27 +09:00
BertrandSim a69c3f55f6 fix typos 2022-06-15 23:03:18 +08:00
BertrandSim aafe1cc834 Document how to create compound recipes
Illustrated through a tutorial that creates compound recipes for brackets `(),[],{}` and quotes `'',""`.
2022-06-15 16:54:22 +08:00
machakann 17266bab12 Update the docs on new key mappings 2022-05-14 21:48:50 +09:00
machakann 70022d9277 Implement g:sandwich#input_fallback option 2022-02-06 22:35:23 +09:00
machakann 17eb132421 Update document on default recipes (remained) 2021-11-28 20:26:34 +09:00
machakann 1b76e8f635 Update document on default recipes 2021-11-28 20:21:08 +09:00
machakann ffe2bae2fc Add a simple way to set timeout option both for operators and textobjects
Use g:sandwich#timeout and g:sandwich#timeoutlen.

Reported at #123
2021-11-28 16:30:11 +09:00
machakann 8314e35da5 Textobject should refer 'timeout' option
Use g:textobj#sandwich#timeout for private setting.

Reported at #123
2021-11-27 21:41:32 +09:00
machakann e5a3d58b8e Operators should refer 'timeout' option
Use g:operator#sandwich#timeout as for private setting.

Reported at #123
2021-11-27 21:41:01 +09:00
machakann 9e6340affe 'synchro' option is no longer required 2020-12-15 23:53:27 +09:00
machakann 056b25bae7 Correct documents of magicchar-t 2020-07-26 22:28:00 +09:00
machakann 4811a5c668 Correct typos in docs. (#76) 2019-06-06 20:09:22 +08:00
machakann 962b2444e9 Document on sandwich#util#addlocal()
Related #73
2019-03-02 16:31:23 +08:00
machakann fa2fc27b91 Add action filter for textobj-sandwich
"add" in the action filter prohibits to take effect for textobject and "delete" and "all" in it allows for convenience.
Related #72
2019-03-02 16:04:47 +08:00
Unknown d441cf5a45 Allow users to customize magicchar-f (#71)
Use `g:sandwich#magicchar#f#patterns` or `b:sandwich_magicchar_f_patterns`.
Each of those are a list of patterns dictionary like:
	let g:sandwich#magicchar#f#patterns = [
	\   {
	\     'header' : '\<\h\k*',
	\     'bra'    : '(',
	\     'ket'    : ')',
	\     'footer' : '',
	\   },
	\ ]
2019-02-02 16:20:56 +08:00
Alexander Gude 2ec0afd75b Fix typo in the documents 2017-12-15 13:48:14 -08:00
machakann 39a098f4dc Add an option to keep indent level anyway (#54) 2017-11-22 00:22:32 +08:00
machakann 95dc751500 Operator-pending mode mappings have long been missed
These are useful when one wants to make handy linewise shorthand like:

nmap saa <Plug>(operator-sandwich-add)<Plug>(operator-sandwich-add)

Though this is equal to:

nmap saa <Plug>(operator-sandwich-add)g@
2017-11-11 12:44:24 +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 16f4bebb68 Add notes on default recipes. 2017-08-21 23:01:32 +08:00
machakann 7168b6d40b Add a note on (,[,{ input (#44) 2017-08-14 19:15:58 +08:00
machakann f63eec7b4b Obsolete highlight group OperatorSandwichStuff.
Use OperatorSandwichChange instead.
2017-03-03 12:22:05 +08:00
machakann 575d0dad96 Update documents. (#36) 2017-02-22 21:08:43 +08:00
machakann 4c6998eab1 Add filetype plugin for tex.
Mentioned in #2.
2017-02-09 00:44:16 +08:00
machakann e4502e8132 Add vim-event-DotCommandPre support. 2016-12-31 15:13:27 +08:00
machakann 878b4841db Do not trigger autocmds in insertion. 2016-11-06 22:02:06 +08:00
machakann 340db3d0f7 Documentation: Appropriate usage of operator#sandwich#query1st(). 2016-10-07 19:39:29 +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 2b1d61bf7b Add a description about simple buffer completion. 2016-08-18 19:33:39 +08:00
machakann 49984c9ea6 Blash up magicchar:i and add magicchar:I. (#18) 2016-08-17 14:01:53 +08:00
machakann dc29bbd3e5 Plural sounds better. 2016-08-14 15:36:28 +08:00
machakann 5295080308 Correct Japanese document on 'cursor' option. 2016-08-13 18:50:13 +08:00
machakann 08daf36279 Rename magicchar:< to magicchar:T.
Related to #18.
2016-08-13 17:33:10 +08:00
machakann 77d676c1fa Release 'Magic characters's.
Ready for #18.
2016-08-13 17:13:57 +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 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 9546ad9655 I have missed to add a content to help index. 2016-07-25 00:26:54 +08:00
machakann 306d99d885 Update documents for the previous commit. 2016-05-19 12:34:21 +08:00
machakann 92a53758df Update the system for 'synchro' option. 2016-05-12 21:28:26 +08:00
machakann b5788b970d Set 'synchro' option as true in default. 2016-05-11 22:27:30 +08:00
machakann 82e0a47ae5 Polish the system for cooperation of operators and textobjects. 2016-05-11 22:03:45 +08:00
machakann 2be55b50cf Add persistent-highlighting feature.
- Add g:operator#sandwich#persistent_highlight. "blink" and "glow" are the available choices.
2016-04-30 17:45:31 +08:00
machakann c532054468 '@' to '{at}', maybe better than nothing. 2016-04-30 17:45:30 +08:00