1 2 3 4 5 6 7 8 9 10 11 12 13
let s:INCOMPLETE_MATCHER = '^\s*[\-_!] ' function! todo#motion#NextIncomplete() normal! m' call search(s:INCOMPLETE_MATCHER) endfunction function! todo#motion#PreviousIncomplete() normal! m' call search(s:INCOMPLETE_MATCHER, 'b') endfunction