Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.42 KB

Readme.md

File metadata and controls

52 lines (37 loc) · 1.42 KB

coc-smartf

Make jump to character easier.

Git

Install

Run command:

:CocInstall coc-smartf

in your vim.

Usage

" 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

Options

  • smartf.timeout: timeout for jump in milliseconds, default 1000.
  • smartf.jumpOnTrigger: Jump to first available character on trigger, default true.
  • smartf.wordJump: Consider first word character for jump only, default: true.
  • smartf.charactersIgnoreByNavigator: Characters will not become a character for navigator, default: [].

Related

License

MIT