diff options
author | Ben Reilly <ben.reilly@arrayinteractive.com> | 2015-11-03 11:19:27 -0800 |
---|---|---|
committer | Ben Reilly <ben.reilly@arrayinteractive.com> | 2015-11-03 11:19:27 -0800 |
commit | 98370fa86fc34625533b58195cc2987d1f8e18e1 (patch) | |
tree | 5e13f164f2f93cc2e3dd95d5c07f207b45cf76c7 /plugin | |
parent | f3bdefba787d3748d09d4db520403b627abac0c6 (diff) |
Changed from comma prefix (,w) to mapleader (<leader>w).
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/camelcasemotion.vim | 4 |
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 |