1.1 KiB
1.1 KiB
eregex.vim
Installation
Use Vundle or pathogen is suggested.
Quick Start
After installed. Just press / or ? for search, it will map to :M command.
You can call EregexToggle funtion to toggle the keymapping. For example, add the following line into your .vimrc file:
nnoremap <leader>/ :call eregex#toggle()<CR>
Then you can use <leader>/ to toggle eregex.vim.
For replacement, use :%S// (uppercase S) to use perl style regexp.
See :help eregex
for more information.
Config
Default disable, put this line in vimrc:
let g:eregex_default_enable = 0
Custom search delimeter:
let g:eregex_forward_delim = '/'
let g:eregex_backward_delim = '?'
Changes
2.60
- Support backword search.
- Support count argument.
- Use function to auto map keys.
- Define custom search delimeter
License
Author : 安久津
Origin : eregex.vim
Maintainer : othree
:help eregex-license-to-use
for license information.