16 Commits

Author SHA1 Message Date
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 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 d945890f17 Add visualrepeat.vim plugin support.
Suggested at issue #19.
  - visualrepeat.vim (vimscript #3848)
2016-09-21 20:59:30 +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 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 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 63876a95b7 first commit 2015-05-23 16:43:17 +08:00