From c8801cd40e71dd1dfefe2402cab3193cad860393 Mon Sep 17 00:00:00 2001 From: othree_kao Date: Fri, 22 Feb 2013 17:17:27 +0800 Subject: [PATCH] typo --- README.markdown | 4 ++-- plugin/eregex.vim | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.markdown b/README.markdown index 66831d4..f90fefe 100644 --- a/README.markdown +++ b/README.markdown @@ -30,8 +30,8 @@ Default disable, put this line in vimrc: Custom search delimeter: - let g:eregx_forward_delim = '/' - let g:eregx_backward_delim = '?' + let g:eregex_forward_delim = '/' + let g:eregex_backward_delim = '?' ## Changes diff --git a/plugin/eregex.vim b/plugin/eregex.vim index 52e291f..a3110d5 100644 --- a/plugin/eregex.vim +++ b/plugin/eregex.vim @@ -287,12 +287,12 @@ let s:version = s:maj + s:min unlet s:tmp s:maj s:min "v260 -if !exists('g:eregx_forward_delim') - let g:eregx_forward_delim = '/' +if !exists('g:eregex_forward_delim') + let g:eregex_forward_delim = '/' endif -if !exists('g:eregx_backward_delim') - let g:eregx_backward_delim = '?' +if !exists('g:eregex_backward_delim') + let g:eregex_backward_delim = '?' endif let s:enable = 0 @@ -303,14 +303,14 @@ function! eregex#toggle(...) let silent = 1 endif if s:enable == 0 - exec 'nnoremap '.g:eregx_forward_delim.' ":".v:count1."M/"' - exec 'nnoremap '.g:eregx_backward_delim.' ":".v:count1."M?"' + exec 'nnoremap '.g:eregex_forward_delim.' ":".v:count1."M/"' + exec 'nnoremap '.g:eregex_backward_delim.' ":".v:count1."M?"' if silent != 1 echo "eregx.vim key mapping enabled" endif else - exec 'nunmap '.g:eregx_forward_delim - exec 'nunmap '.g:eregx_backward_delim + exec 'nunmap '.g:eregex_forward_delim + exec 'nunmap '.g:eregex_backward_delim if silent != 1 echo "eregx.vim key mapping disabled" endif