diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-06 20:07:00 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-06 20:07:00 +1300 |
commit | 44cbe2e02464efc596151c7454dd763b06a26c3e (patch) | |
tree | d5394fd416a8fc373a1524e24285f23a1cbb5463 | |
parent | Use nnoremap/onoremap/... etc (diff) | |
download | vim-nextag-44cbe2e02464efc596151c7454dd763b06a26c3e.tar.gz vim-nextag-44cbe2e02464efc596151c7454dd763b06a26c3e.zip |
Break long remap lines up semantically
-rw-r--r-- | plugin/nextag.vim | 24 |
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> |