nmap f <Plug>(coc-smartf-forward)
nmap F <Plug>(coc-smartf-backward)
nmap ; <Plug>(coc-smartf-repeat)
nmap , <Plug>(coc-smartf-repeat-opposite)
i notice that when there are many matches to a query character, the key ; is used to jump to matches that could not be indexed by using a-z0-1,. , so to jump back you might have to press ; then c (if it were the 41st match , for example). If I initiate a repeat-opposite search by pressing ,, and any of the results are so far away in the match jump list to require a ; key press, the plugin jumps to the match indicated by ., then switches to a repeat search, in opposite direction of original repeat-opposite search.. I would expect it to realize i'm in the middle of a repeat-opposite search and continue jumping through match list in that direction.
hope that makes sense.
hi, i currently have the following key maps:
i notice that when there are many matches to a query character, the key
;
is used to jump to matches that could not be indexed by usinga-z0-1,.
, so to jump back you might have to press;
thenc
(if it were the 41st match , for example). If I initiate arepeat-opposite
search by pressing,
, and any of the results are so far away in the match jump list to require a;
key press, the plugin jumps to the match indicated by.
, then switches to arepeat
search, in opposite direction of originalrepeat-opposite
search.. I would expect it to realize i'm in the middle of arepeat-opposite
search and continue jumping through match list in that direction. hope that makes sense.