aboutsummaryrefslogtreecommitdiffstats
path: root/bundle/todo/autoload/todo.vim
diff options
context:
space:
mode:
Diffstat (limited to 'bundle/todo/autoload/todo.vim')
-rw-r--r--bundle/todo/autoload/todo.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/bundle/todo/autoload/todo.vim b/bundle/todo/autoload/todo.vim
new file mode 100644
index 0000000..d5579c1
--- /dev/null
+++ b/bundle/todo/autoload/todo.vim
@@ -0,0 +1,9 @@
+function! todo#NextTODO()
+ normal! m'
+ call search('TODO')
+endfunction
+
+function! todo#PreviousTODO()
+ normal! m'
+ call search('TODO', 'b')
+endfunction