aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-06 20:07:00 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-06 20:07:00 +1300
commit44cbe2e02464efc596151c7454dd763b06a26c3e (patch)
treed5394fd416a8fc373a1524e24285f23a1cbb5463
parentUse nnoremap/onoremap/... etc (diff)
downloadvim-nextag-44cbe2e02464efc596151c7454dd763b06a26c3e.tar.gz
vim-nextag-44cbe2e02464efc596151c7454dd763b06a26c3e.zip
Break long remap lines up semantically
-rw-r--r--plugin/nextag.vim24
1 files changed, 18 insertions, 6 deletions
diff --git a/plugin/nextag.vim b/plugin/nextag.vim
index ad503c1..eb543c6 100644
--- a/plugin/nextag.vim
+++ b/plugin/nextag.vim
@@ -39,9 +39,21 @@ endfunction
"
" Default remappings.
"
-nnoremap <silent> <leader>. :<C-U>call <SID>MoveToSGMLTag('next', 'n', v:count1)<CR>
-nnoremap <silent> <leader>, :<C-U>call <SID>MoveToSGMLTag('prev', 'n', v:count1)<CR>
-onoremap <silent> <leader>. :<C-U>call <SID>MoveToSGMLTag('next', 'o', v:count1)<CR>
-onoremap <silent> <leader>, :<C-U>call <SID>MoveToSGMLTag('prev', 'o', v:count1)<CR>
-vnoremap <silent> <leader>. :<C-U>call <SID>MoveToSGMLTag('next', 'v', v:count1)<CR>
-vnoremap <silent> <leader>, :<C-U>call <SID>MoveToSGMLTag('prev', 'v', v:count1)<CR>
+nnoremap <silent>
+ \ <leader>.
+ \ :<C-U>call <SID>MoveToSGMLTag('next', 'n', v:count1)<CR>
+nnoremap <silent>
+ \ <leader>,
+ \ :<C-U>call <SID>MoveToSGMLTag('prev', 'n', v:count1)<CR>
+onoremap <silent>
+ \ <leader>.
+ \ :<C-U>call <SID>MoveToSGMLTag('next', 'o', v:count1)<CR>
+onoremap <silent>
+ \ <leader>,
+ \ :<C-U>call <SID>MoveToSGMLTag('prev', 'o', v:count1)<CR>
+vnoremap <silent>
+ \ <leader>.
+ \ :<C-U>call <SID>MoveToSGMLTag('next', 'v', v:count1)<CR>
+vnoremap <silent>
+ \ <leader>,
+ \ :<C-U>call <SID>MoveToSGMLTag('prev', 'v', v:count1)<CR>