blob: 1c7ccfd72e9807f03c9b5f0e8d1fecbb1edee405 (
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 <Plug>(todo-previous) :call todo#PreviousTODO()<CR>
nnoremap <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
|