Make jump to character easier.
Run command:
:CocInstall coc-smartf
in your vim.
" press <esc> to cancel.
nmap f <Plug>(coc-smartf-forward)
nmap F <Plug>(coc-smartf-backward)
nmap ; <Plug>(coc-smartf-repeat)
nmap , <Plug>(coc-smartf-repeat-opposite)
augroup Smartf
autocmd User SmartfEnter :hi Conceal ctermfg=220 guifg=#6638F0
autocmd User SmartfLeave :hi Conceal ctermfg=239 guifg=#504945
augroup end
smartf.timeout
: timeout for jump in milliseconds, default1000
.smartf.jumpOnTrigger
: Jump to first available character on trigger, defaulttrue
.smartf.wordJump
: Consider first word character for jump only, default:true
.smartf.charactersIgnoreByNavigator
: Characters will not become a character for navigator, default: [].
MIT