Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/neoclide/coc-smartf

Make jump to character easier.
https://github.com/neoclide/coc-smartf

coc neovim vim

Last synced: 11 days ago
JSON representation

Make jump to character easier.

Lists

README

        

# coc-smartf

Make jump to character easier.

Git

## Install

Run command:

```vim
:CocInstall coc-smartf
```

in your vim.

## Usage

```vim
" press to cancel.
nmap f (coc-smartf-forward)
nmap F (coc-smartf-backward)
nmap ; (coc-smartf-repeat)
nmap , (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

- [vim-sneak](https://github.com/justinmk/vim-sneak)
- [Seek](https://github.com/goldfeld/vim-seek)
- [EasyMotion](https://github.com/Lokaltog/vim-easymotion)
- [smalls](https://github.com/t9md/vim-smalls)
- [improvedft](https://github.com/chrisbra/improvedft)
- [clever-f](https://github.com/rhysd/clever-f.vim)
- [vim-extended-ft](https://github.com/svermeulen/vim-extended-ft)
- [Fanf,ingTastic;](https://github.com/dahu/vim-fanfingtastic)

## License

MIT