aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-06 20:04:28 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-06 20:04:28 +1300
commit198b52b84209a6ecf78fc50634f1fe8120fd8bfe (patch)
treeffc420001d6903833a484980973771102850e5b4
parentUse non-interpolating single quotes in remaps (diff)
downloadvim-nextag-198b52b84209a6ecf78fc50634f1fe8120fd8bfe.tar.gz
vim-nextag-198b52b84209a6ecf78fc50634f1fe8120fd8bfe.zip
Use nnoremap/onoremap/... etc
-rw-r--r--plugin/nextag.vim12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugin/nextag.vim b/plugin/nextag.vim
index 2523204..ad503c1 100644
--- a/plugin/nextag.vim
+++ b/plugin/nextag.vim
@@ -39,9 +39,9 @@ endfunction
"
" Default remappings.
"
-nmap <silent> <leader>. :<C-U>call <SID>MoveToSGMLTag('next', 'n', v:count1)<CR>
-nmap <silent> <leader>, :<C-U>call <SID>MoveToSGMLTag('prev', 'n', v:count1)<CR>
-omap <silent> <leader>. :<C-U>call <SID>MoveToSGMLTag('next', 'o', v:count1)<CR>
-omap <silent> <leader>, :<C-U>call <SID>MoveToSGMLTag('prev', 'o', v:count1)<CR>
-vmap <silent> <leader>. :<C-U>call <SID>MoveToSGMLTag('next', 'v', v:count1)<CR>
-vmap <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>