All Projects → othree → Eregex.vim

othree / Eregex.vim

Perl/Ruby style regexp notation for Vim

Labels

Projects that are alternatives of or similar to Eregex.vim

Vim Indentwise
A Vim plugin for indent-level based motion.
Stars: ✭ 160 (-11.11%)
Mutual labels:  viml
Detectindent
Vim script for automatically detecting indent settings
Stars: ✭ 169 (-6.11%)
Mutual labels:  viml
Jshint.vim
A plugin that integrates JSHint with Vim
Stars: ✭ 177 (-1.67%)
Mutual labels:  viml
Vim Github Comment
Comment commits on GitHub using Vim
Stars: ✭ 162 (-10%)
Mutual labels:  viml
Vim Subversive
Vim plugin providing operator motions to quickly replace text
Stars: ✭ 168 (-6.67%)
Mutual labels:  viml
Zoomwin
Zoom in/out of windows (toggle between one window and multi-window)
Stars: ✭ 173 (-3.89%)
Mutual labels:  viml
Vimerl
A set of erlang plugins for VIM. This is not maintained, better use som modern fork of this!
Stars: ✭ 159 (-11.67%)
Mutual labels:  viml
Neovim Config
Neovim configuration
Stars: ✭ 180 (+0%)
Mutual labels:  viml
Vim Argumentative
Argumentative aids with manipulating and moving between function arguments.
Stars: ✭ 169 (-6.11%)
Mutual labels:  viml
Snipmate.vim
snipMate.vim aims to be a concise vim script that implements some of TextMate's snippets features in Vim.
Stars: ✭ 2,051 (+1039.44%)
Mutual labels:  viml
Paredit.vim
Paredit Mode: Structured Editing of Lisp S-expressions
Stars: ✭ 162 (-10%)
Mutual labels:  viml
Stackanswers.vim
Vim plugin to fetch and display answers from Stack Overflow
Stars: ✭ 165 (-8.33%)
Mutual labels:  viml
Replacewithregister
Replace text with the contents of a register.
Stars: ✭ 174 (-3.33%)
Mutual labels:  viml
Vim Operator User
Vim plugin: Define your own operator easily
Stars: ✭ 161 (-10.56%)
Mutual labels:  viml
Vim Pipe
Send a vim buffer through a command and instantly see the output.
Stars: ✭ 178 (-1.11%)
Mutual labels:  viml
Vim Config Python Ide
Symlink the .vim dir and the .vimrc file and start kicking ass
Stars: ✭ 159 (-11.67%)
Mutual labels:  viml
Vim Shell
Improved integration between Vim and its environment (fullscreen, open URL, background command execution)
Stars: ✭ 171 (-5%)
Mutual labels:  viml
Tabman.vim
Tab management for Vim
Stars: ✭ 180 (+0%)
Mutual labels:  viml
Vim Lua Ftplugin
Lua file type plug-in for the Vim text editor
Stars: ✭ 178 (-1.11%)
Mutual labels:  viml
Vimconf
Extensive vimrc with super easy install and everything in the vimrc is explained!
Stars: ✭ 175 (-2.78%)
Mutual labels:  viml

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 = '?'

To force case sensitive like perl re. Add the following config:

let g:eregex_force_case = 1

Then you will have case sensitive match by default. You can always change it by adding /i modifier.

Changes

2.62

  • Support ignorecase, smartcase. Add force case sensitive mode.

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].