aboutsummaryrefslogtreecommitdiffstats
path: root/bundle/todo/plugin/todo.vim
blob: a27171fae669bc65c20e340bb56e0b1dba0c27e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if exists('g:loaded_todo')
	finish
endif
let g:loaded_todo = 1


nnoremap <silent> <Plug>(todo-previous) :call todo#PreviousTODO()<CR>
nnoremap <silent> <Plug>(todo-next) :call todo#NextTODO()<CR>


if !hasmapto('<Plug>(todo-previous)', 'n') && !maparg('[t', 'n')
	nmap [t <Plug>(todo-previous)
endif

if !hasmapto('<Plug>(todo-next)', 'n') && !maparg(']t', 'n')
	nmap ]t <Plug>(todo-next)
endif