Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haya14busa/incsearch-easymotion.vim
https://github.com/haya14busa/incsearch-easymotion.vim
incsearch vim vim-easymotion vim-plugin
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/haya14busa/incsearch-easymotion.vim
- Owner: haya14busa
- Created: 2015-07-05T21:32:44.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-18T17:18:32.000Z (almost 9 years ago)
- Last Synced: 2024-11-02T01:50:27.108Z (18 days ago)
- Topics: incsearch, vim, vim-easymotion, vim-plugin
- Language: VimL
- Size: 3.91 KB
- Stars: 101
- Watchers: 3
- Forks: 2
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
incsearch-easymotion.vim
========================Integration between [haya14busa/incsearch.vim](https://github.com/haya14busa/incsearch.vim) and [easymotion/vim-easymotion](https://github.com/easymotion/vim-easymotion)
![incsearch-easymotion.gif](https://raw.githubusercontent.com/haya14busa/i/master/incsearch.vim/extensions/incsearch-easymotion.gif)
### Dependencies
- https://github.com/haya14busa/incsearch.vim
- https://github.com/easymotion/vim-easymotion### Installtaion
[Neobundle](https://github.com/Shougo/neobundle.vim) / [Vundle](https://github.com/gmarik/Vundle.vim) / [vim-plug](https://github.com/junegunn/vim-plug)
```vim
NeoBundle 'haya14busa/incsearch.vim'
Plugin 'haya14busa/incsearch.vim'
Plug 'haya14busa/incsearch.vim'NeoBundle 'haya14busa/incsearch-easymotion.vim'
Plugin 'haya14busa/incsearch-easymotion.vim'
Plug 'haya14busa/incsearch-easymotion.vim'
```[pathogen](https://github.com/tpope/vim-pathogen)
```
git clone https://github.com/haya14busa/incsearch.vim ~/.vim/bundle/incsearch.vim
git clone https://github.com/haya14busa/incsearch-easymotion.vim ~/.vim/bundle/incsearch-easymotion.vim
```### Usage
**Give it a shot!** :gun: `:call incsearch#call(incsearch#config#easymotion#make()) `
```vim
map z/ (incsearch-easymotion-/)
map z? (incsearch-easymotion-?)
map zg/ (incsearch-easymotion-stay)
```### Advanced usage
#### incremental fuzzymotion
![incsearch-fuzzy-easymotion.gif](https://raw.githubusercontent.com/haya14busa/i/master/incsearch.vim/extensions/incsearch-fuzzy-easymotion.gif)```vim
" incsearch.vim x fuzzy x vim-easymotionfunction! s:config_easyfuzzymotion(...) abort
return extend(copy({
\ 'converters': [incsearch#config#fuzzy#converter()],
\ 'modules': [incsearch#config#easymotion#module()],
\ 'keymap': {"\": '(easymotion)'},
\ 'is_expr': 0,
\ 'is_stay': 1
\ }), get(a:, 1, {}))
endfunctionnoremap / incsearch#go(config_easyfuzzymotion())
```### API
- `incsearch#config#easymotion#module()`: return easymotion module for incsearch.vim
- It provide `(easymotion)` key to invoke easymotion feature from incsearch.vim
- `incsearch#config#easymotion#make`: return default config