select text in v mode, then press n to search next one (N for prev one)
you can also find this plugin in www.vim.org here.
Bundle 'luochen1990/select-and-search'
- add this to your vimrc:
let g:select_and_search_active = 1
- first, put
rainbow.vim
(this file) to dir~/.vim/plugin
orvimfiles/plugin
- second, add the follow sentences to your
.vimrc
or_vimrc
:let g:select_and_search_active = 1
- third, restart your vim and enjoy coding.
let g:select_and_search_active = 2
will not jump when pressing the firstn
orN
let g:select_and_search_active = 3
will map*
instead ofn
andN
**Rate this script if you like it, and i'll appreciate it and improve this plugin for you because of your support !