Recent commits to clear highlighting break basic functionality of clever-f
Commits https://github.com/rhysd/clever-f.vim/commit/25e8c6bbbd11c63a831ecd88098643e3a20cbc3f and https://github.com/rhysd/clever-f.vim/commit/02e9871244a8df6cf0db4fd5799d93d0307a04f9 break basic functionality of clever-f for me: pressing f followed by the character to find, making a change, then pressing f again, and .-repeating the previous change, etc.
Unfortunately, the only way I’ve been able to get the old behaviour back is to revert to https://github.com/rhysd/clever-f.vim/commit/fd370f27cca93918184a8043220cef1aa440a1fd.
what does your 'break' mean? it works fine on my local. describe
- reproducible steps
- actual behavior
- expected behavior
Vim buffer example.
mutable_files="
/usr/lib/modules/${_kernver}/modules.builtin.bin
/usr/lib/modules/${_kernver}/modules.builtin.alias.bin
/usr/lib/modules/${_kernver}/modules.softdep
/usr/lib/modules/${_kernver}/modules.dep
/usr/lib/modules/${_kernver}/modules.dep.bin
/usr/lib/modules/${_kernver}/modules.symbols
/usr/lib/modules/${_kernver}/modules.symbols.bin
/usr/lib/modules/${_kernver}/modules.alias
/usr/lib/modules/${_kernver}/modules.alias.bin
/usr/lib/modules/${_kernver}/modules.devname"
Expected behaviour.
Using clever-f and vim-surround:
-
On line 0, column 0: press f { to find first opening curly brace (
{) -
With Vim cursor on first opening curly brace (
{): Delete surrounding curly braces (ds{) -
Press f to move Vim cursor to next opening curly brace
-
Press . to dot-repeat previous command (delete surrounding curly braces)
-
Press f to move Vim cursor to next opening curly brace
-
Press . to dot-repeat previous command (delete surrounding curly braces)
-
etc
Actual behaviour.
-
On line 0, column 0: press f { to find first opening curly brace (
{) -
With Vim cursor on first opening curly brace (
{): Delete surrounding curly braces (ds{) -
Press f, but need to type { again to find next opening curly brace.