28 Commits

Author SHA1 Message Date
machakann 3ac6d5fffd Refactor bundled textobj-functioncall 2021-11-28 23:12:09 +09:00
machakann 6b9d8ec205 Lazily define highlight stuffs 2021-11-06 21:52:42 +09:00
machakann c3877254b0 Change the rules to disable default keymappings 2021-10-31 01:51:35 +09:00
machakann b5bd9f42ed Easy interface for key-remapping 2021-10-23 23:30:50 +09:00
machakann 4cd1ea8db6 Reduce global key mappings 2021-09-12 01:40:40 +09: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 8ad69bb415 The key sequence sasa as a linewise wrapping. 2017-03-17 21:11:58 +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 16c274d5b6 Update augroup name for a autocommand to update highlight group when the colorscheme has changed. 2017-03-13 00:19:27 +08:00
machakann f63eec7b4b Obsolete highlight group OperatorSandwichStuff.
Use OperatorSandwichChange instead.
2017-03-03 12:22:05 +08:00
machakann e4502e8132 Add vim-event-DotCommandPre support. 2016-12-31 15:13:27 +08:00
machakann 50d0327220 Textobj it/at is sometimes very slow. 2016-11-06 22:52:00 +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 b9de8c823c Map default keys more modelate. 2016-09-16 23:13:15 +09:00
machakann 77d676c1fa Release 'Magic characters's.
Ready for #18.
2016-08-13 17:13:57 +08:00
machakann 07abc9e999 Make the intrinsic textobjects silent. 2016-08-13 17:13:51 +08:00
machakann 67f8359ce9 Add magicchar:T for editing only tag name of html style tags.
Ready for #18.
2016-08-13 17:13:33 +08:00
machakann 5fa67d9a22 Add magicchar:f for editing function-callings.
Ready for #18.
2016-08-13 17:13:17 +08:00
machakann 369e0c7a1c Define highlight groups more carefuly.
Problem : Default highlight groups are possible to be cleared when colorscheme is changed.
Solution: Define highlight groups by autocmd.
2016-04-05 22:59:47 +08:00
machakann 878de3094f Rich highlighting. (#15) 2016-04-05 22:55:17 +08:00
machakann 158f3c73e9 Add keymappings <Plug>(textobj-sandwich-literal-query-i) and <Plug>(textobj-sandwich-literal-query-a). (#14) 2016-03-28 20:58:41 +08:00
machakann 8b15334998 The highlight setting could not have been overwritten in vimrc.
Add [default] attribute to :highlight command.
2016-02-09 16:52:22 +08:00
machakann 0c8265c3ba <Plug>(sandwich-nop) should be mapped also in normal mode.
It might be required in operator-pending mode also for furture.
2016-01-29 22:11:26 +08:00
machakann 97bb0e8c76 Add a supplementary keymapping, <Plug>(operator-sandwich-squash-count).
It is employed to ignore a  count always.
2015-10-09 15:50:05 +08:00
machakann 1a05d030a4 Suppress errorbells when they are called without count.
Since there is nothing to clear when they are called without count, <Esc> may cause errorbell in normal mode. Thus use <C-u> instead. In visual mode, <Esc> is sure to be used for the transition from visual mode to normal mode, and it is essential to store the correct cursor position for the "cursor" option. keep it.
This problem is reported in issue #9.
2015-09-22 12:58:20 +08:00
machakann a6118bc045 Add keymappings <Plug>(operator-sandwich-predot) and <Plug>(operator-sandwich-dot). 2015-07-12 12:21:52 +08:00
machakann 53e7a3a528 Enables to use textobjects in normal mode. 2015-07-10 16:55:53 +08:00
machakann 63876a95b7 first commit 2015-05-23 16:43:17 +08:00