aboutsummaryrefslogtreecommitdiffstats
path: root/bundle/todo/plugin/todo.vim
diff options
context:
space:
mode:
Diffstat (limited to 'bundle/todo/plugin/todo.vim')
-rw-r--r--bundle/todo/plugin/todo.vim14
1 files changed, 2 insertions, 12 deletions
diff --git a/bundle/todo/plugin/todo.vim b/bundle/todo/plugin/todo.vim
index e6792e4..47e1732 100644
--- a/bundle/todo/plugin/todo.vim
+++ b/bundle/todo/plugin/todo.vim
@@ -1,12 +1,2 @@
-function! s:NextTODO()
- normal! m'
- call search('TODO')
-endfunction
-
-function! s:PreviousTODO()
- normal! m'
- call search('TODO', 'b')
-endfunction
-
-nnoremap [t :call <SID>PreviousTODO()<CR>
-nnoremap ]t :call <SID>NextTODO()<CR>
+nnoremap [t :call todo#PreviousTODO()<CR>
+nnoremap ]t :call todo#NextTODO()<CR>