typo
This commit is contained in:
parent
2d1b3e9dff
commit
c8801cd40e
@ -30,8 +30,8 @@ Default disable, put this line in vimrc:
|
|||||||
|
|
||||||
Custom search delimeter:
|
Custom search delimeter:
|
||||||
|
|
||||||
let g:eregx_forward_delim = '/'
|
let g:eregex_forward_delim = '/'
|
||||||
let g:eregx_backward_delim = '?'
|
let g:eregex_backward_delim = '?'
|
||||||
|
|
||||||
## Changes
|
## Changes
|
||||||
|
|
||||||
|
@ -287,12 +287,12 @@ let s:version = s:maj + s:min
|
|||||||
unlet s:tmp s:maj s:min
|
unlet s:tmp s:maj s:min
|
||||||
|
|
||||||
"v260
|
"v260
|
||||||
if !exists('g:eregx_forward_delim')
|
if !exists('g:eregex_forward_delim')
|
||||||
let g:eregx_forward_delim = '/'
|
let g:eregex_forward_delim = '/'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if !exists('g:eregx_backward_delim')
|
if !exists('g:eregex_backward_delim')
|
||||||
let g:eregx_backward_delim = '?'
|
let g:eregex_backward_delim = '?'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let s:enable = 0
|
let s:enable = 0
|
||||||
@ -303,14 +303,14 @@ function! eregex#toggle(...)
|
|||||||
let silent = 1
|
let silent = 1
|
||||||
endif
|
endif
|
||||||
if s:enable == 0
|
if s:enable == 0
|
||||||
exec 'nnoremap <expr> '.g:eregx_forward_delim.' ":<C-U>".v:count1."M/"'
|
exec 'nnoremap <expr> '.g:eregex_forward_delim.' ":<C-U>".v:count1."M/"'
|
||||||
exec 'nnoremap <expr> '.g:eregx_backward_delim.' ":<C-U>".v:count1."M?"'
|
exec 'nnoremap <expr> '.g:eregex_backward_delim.' ":<C-U>".v:count1."M?"'
|
||||||
if silent != 1
|
if silent != 1
|
||||||
echo "eregx.vim key mapping enabled"
|
echo "eregx.vim key mapping enabled"
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
exec 'nunmap '.g:eregx_forward_delim
|
exec 'nunmap '.g:eregex_forward_delim
|
||||||
exec 'nunmap '.g:eregx_backward_delim
|
exec 'nunmap '.g:eregex_backward_delim
|
||||||
if silent != 1
|
if silent != 1
|
||||||
echo "eregx.vim key mapping disabled"
|
echo "eregx.vim key mapping disabled"
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user