https://github.com/luochen1990/select-and-search
an useful vim plugin: select text in v mode, then press n to search next one (N for prev one)
https://github.com/luochen1990/select-and-search
Last synced: 6 months ago
JSON representation
an useful vim plugin: select text in v mode, then press n to search next one (N for prev one)
- Host: GitHub
- URL: https://github.com/luochen1990/select-and-search
- Owner: luochen1990
- Created: 2014-01-06T04:17:14.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-04T05:47:54.000Z (almost 12 years ago)
- Last Synced: 2025-01-20T20:49:52.136Z (over 1 year ago)
- Language: VimL
- Size: 188 KB
- Stars: 12
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Select & Search
===
> 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](http://www.vim.org/scripts/script.php?script_id=4819)**.
Install & Configuration:
--------------------------------------------------------------------------------------------------------
### Install via Vundle:
- `Bundle 'luochen1990/select-and-search'`
- add this to your vimrc: `let g:select_and_search_active = 1`
### Install Manually:
- first, put `rainbow.vim`(this file) to dir `~/.vim/plugin` or `vimfiles/plugin`
- second, add the follow sentences to your `.vimrc` or `_vimrc` :
```vim
let g:select_and_search_active = 1
```
- third, restart your vim and enjoy coding.
### Configuration:
- `let g:select_and_search_active = 2` will not jump when pressing the first `n` or `N`
- `let g:select_and_search_active = 3` will map `*` instead of `n` and `N`
--------------------------------------------------------------------------------------------------------
**Rate this script if you like it,
and i'll appreciate it and improve this plugin for you because of your support !