Go to file
othree 543ff4c2cb Merge pull request #14 from chocolateboy/refix_ignorecase_and_smartcase
correctly handle &ignorecase and &smartcase (re-fixes #4 and #7)
2015-01-20 18:33:25 +08:00
doc Minor fix for Japanese doc. 2010-10-19 17:47:29 +08:00
plugin correctly handle &ignorecase and &smartcase (re-fixes #4 and #7) 2015-01-17 07:52:24 +00:00
.gitignore Ignore doc/tags* files 2013-06-25 12:56:09 +02:00
config.mk Start 2.61 2013-09-05 16:48:21 +08:00
Makefile add Makefile 2010-10-19 17:30:45 +08:00
README.markdown Improved grammar 2014-12-20 12:18:51 +01:00

eregex.vim

Installation

It is recommended to install the script using Vundle or pathogen.

Quick Start

After installation, just press / or ? as usual. This will map to :M/ command, which is used to perform the PCRE search.

You can call eregex#toggle 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 / to toggle the eregex.vim.

For replacement, use :%S// (uppercase S) to trigger perl style regexp.

See :help eregex for more information.

Config

To disable the script by default, put this line in your .vimrc file:

let g:eregex_default_enable = 0

To change the search delimiter to something else than the default / and ?, following options can be used:

let g:eregex_forward_delim = '/'
let g:eregex_backward_delim = '?'

Changes

2.61

  • Support for ignorecase

2.60

  • Support for the backword search.
  • Support for the count argument.
  • Use function to auto map keys.
  • Support for custom search delimeters.
  • hlsearch works fine.

License

Author : 安久津
Origin : eregex.vim
Maintainer : othree

See :help eregex-license-to-use for license information.