2010-10-15 22:49:29 +08:00
|
|
|
# eregex.vim
|
|
|
|
|
2010-10-15 23:21:53 +08:00
|
|
|
## Installation
|
|
|
|
|
2013-02-21 14:51:27 +08:00
|
|
|
Use [Vundle][] or [pathogen][] is suggested.
|
2010-10-15 23:21:53 +08:00
|
|
|
|
2013-02-21 14:51:27 +08:00
|
|
|
[Vundle]:https://github.com/gmarik/vundle
|
|
|
|
[pathogen]:https://github.com/tpope/vim-pathogen
|
2010-10-15 23:21:53 +08:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
Add the following three lines to your vimrc file.
|
|
|
|
|
2013-02-21 14:51:27 +08:00
|
|
|
nnoremap <expr> / ":<C-U>".v:count1."M/"
|
|
|
|
nnoremap <expr> ? ":<C-U>".v:count1."M?"
|
2010-10-15 23:21:53 +08:00
|
|
|
nnoremap ,/ /
|
2013-02-21 14:51:27 +08:00
|
|
|
nnoremap .? ?
|
2010-10-15 23:21:53 +08:00
|
|
|
|
|
|
|
Now you can use / to find. :%S// (uppercase S) to replace.
|
2010-10-18 12:57:45 +08:00
|
|
|
You can use ,/ to use the origin / .
|
2010-10-15 23:21:53 +08:00
|
|
|
|
|
|
|
## License
|
|
|
|
|
2010-10-15 22:50:38 +08:00
|
|
|
Author : 安久津
|
|
|
|
Origin : [eregex.vim][origin]
|
|
|
|
Maintainer : othree
|
2010-10-15 22:49:29 +08:00
|
|
|
|
2013-02-21 14:51:27 +08:00
|
|
|
`:help eregex-license-to-use` for license information.
|
2010-10-15 23:21:53 +08:00
|
|
|
|
2010-10-15 22:49:29 +08:00
|
|
|
[origin]:http://www.vector.co.jp/soft/unix/writing/se265654.html
|