aboutsummaryrefslogtreecommitdiff
path: root/plugin/camelcasemotion.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/camelcasemotion.vim')
-rw-r--r--plugin/camelcasemotion.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/camelcasemotion.vim b/plugin/camelcasemotion.vim
index fd5e341..5a53ad8 100644
--- a/plugin/camelcasemotion.vim
+++ b/plugin/camelcasemotion.vim
@@ -159,7 +159,7 @@ function! s:CreateMotionMappings()
let l:targetMapping = '<Plug>CamelCaseMotion_' . l:motion
execute l:mode . 'noremap <silent> ' . l:targetMapping . ' :<C-U>call camelcasemotion#Motion(''' . l:motion . ''',v:count1,''' . l:mode . ''')<CR>'
if ! hasmapto(l:targetMapping, l:mode)
- execute (l:mode ==# 'v' ? 'x' : l:mode) . 'map <silent> ,' . l:motion . ' ' . l:targetMapping
+ execute (l:mode ==# 'v' ? 'x' : l:mode) . 'map <silent> <leader>' . l:motion . ' ' . l:targetMapping
endif
endfor
endfor
@@ -189,7 +189,7 @@ function! s:CreateInnerMotionMappings()
let l:targetMapping = '<Plug>CamelCaseMotion_i' . l:motion
execute l:mode . 'noremap <silent> ' . l:targetMapping . ' :<C-U>call camelcasemotion#InnerMotion(''' . l:motion . ''',v:count1)<CR>'
if ! hasmapto(l:targetMapping, l:mode)
- execute (l:mode ==# 'v' ? 'x' : l:mode) . 'map <silent> i,' . l:motion . ' ' . l:targetMapping
+ execute (l:mode ==# 'v' ? 'x' : l:mode) . 'map <silent> i<leader>' . l:motion . ' ' . l:targetMapping
endif
endfor
endfor