diff --git a/vim/plugin/todo.vim b/vim/plugin/todo.vim index 5944efe..e798a0f 100644 --- a/vim/plugin/todo.vim +++ b/vim/plugin/todo.vim @@ -17,15 +17,15 @@ function! TodoList(args) endif call Todo('list ' . list_args) nnoremap q :q - execute 'nnoremap o :call TodoAddInput():TodoList ' . list_args . '' + execute 'nnoremap o :call TodoAddInput():silent TodoList ' . list_args . '' execute 'nnoremap r :TodoList ' . list_args . '' - execute 'nnoremap d :silent call TodoDoneCurrent():TodoList ' . list_args . '' - execute 'nnoremap D :silent call TodoDeleteCurrent():TodoList ' . list_args . '' - execute 'nnoremap p :call TodoPriorityCurrent():TodoList ' . list_args . '' - execute 'nnoremap P :call TodoAppendProjectCurrent():TodoList ' . list_args . '' - execute 'nnoremap C :call TodoAppendContextCurrent():TodoList ' . list_args . '' - execute 'nnoremap + :silent call TodoPriorityAdjust(-1):TodoList ' . list_args . '' - execute 'nnoremap - :silent call TodoPriorityAdjust(1):TodoList ' . list_args . '' + execute 'nnoremap d :silent call TodoDoneCurrent():silent TodoList ' . list_args . '' + execute 'nnoremap D :silent call TodoDeleteCurrent():silent TodoList ' . list_args . '' + execute 'nnoremap p :call TodoPriorityCurrent():silent TodoList ' . list_args . '' + execute 'nnoremap P :call TodoAppendProjectCurrent():silent TodoList ' . list_args . '' + execute 'nnoremap C :call TodoAppendContextCurrent():silent TodoList ' . list_args . '' + execute 'nnoremap + :silent call TodoPriorityAdjust(-1):silent TodoList ' . list_args . '' + execute 'nnoremap - :silent call TodoPriorityAdjust(1):silent TodoList ' . list_args . '' endfunction function! TodoPriorityAdjust(amount) @@ -58,7 +58,7 @@ function! TodoAddInput() let task .= " " . g:todo_project_context endif call inputrestore() - call TodoAction('add "' . task . '"') + silent call TodoAction('add "' . task . '"') endfunction function! TodoCurrentLineId() let row = split(getline('.'))