Skip to content

Camouflager/coc-smartf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Make jump to character easier.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 93.6%
  • JavaScript 6.4%