Files
neovim/runtime
Pedro L. Ramos 57c7e1d4a0 vim-patch:8.1.0648: custom operators can't act upon forced motion
Problem:    Custom operators can't act upon a forced motion. (Christian
            Wellenbrock)
Solution:   Add the forced motion to the mode() result. (Christian Brabandt,
            closes vim/vim#3490)
5976f8ff00

closes #8667
closes #9476

Christian Wellenbrock:

> For (most) built in text objects it's possible to force operation on
> them to be linewise, for example by using `dVab` (`:h o_V`,
> `motion_force`). When using custom text objects (defined as mappings
> by plugins for example), this doesn't currently work.
>
> Example:
>
>     onoremap x viw
>
> Open a file with a few lines each containing some words. With the
> cursor on any word, try:
>
> 1. `dw` (builtin) deletes some characters
> 2. `dVw` (builtin) deletes linewise
> 3. `dx` (from mapping) deletes some characters
> 4. `dVx` (from mapping) deletes some characters, but should delete
>    linewise

ref: https://github.com/wellle/targets.vim/issues/214
ref: https://gitter.im/neovim/neovim?at=5b379ff7f1664406610e7483
2019-01-10 08:50:07 +01:00
..
2018-10-29 23:55:45 +01:00
2018-10-29 23:57:24 +01:00
2018-10-30 00:05:25 +01:00
2018-10-28 14:18:21 +01:00
2018-12-20 11:57:30 +01:00
2017-11-07 01:16:42 +01:00
2014-12-19 15:28:49 -05:00
2018-01-15 23:58:52 +01:00
2018-10-29 09:32:29 +01:00
2019-01-04 02:17:23 +01:00
2016-04-16 23:06:24 -07:00
2018-10-29 23:54:15 +01:00
2018-10-29 09:50:08 +01:00
2017-01-31 02:02:09 +01:00
2017-01-31 02:02:09 +01:00
2014-07-29 02:12:31 +00:00
2018-10-28 14:05:14 +01:00
2017-11-07 23:07:03 +01:00