diff --git a/plugin/simple-todo.vim b/plugin/simple-todo.vim index c4a7bb7..c35233f 100644 --- a/plugin/simple-todo.vim +++ b/plugin/simple-todo.vim @@ -111,19 +111,19 @@ nnore (simple-todo-above) O=get_list_marker(line('.')+1 inore (simple-todo-above) O=get_list_marker(line('.')+1)[ ] " Mark item under cursor as done -nnore (simple-todo-mark-as-done) :execute 's/^\(\s*[-+*]\?\s*\)\[ \]/\1[' . g:simple_todo_tick_symbol . ']/' +nnore (simple-todo-mark-as-done) :execute 's/^\(\s*[-+*]\?\s*\)\[ \]/\1[' . g:simple_todo_tick_symbol . ']/':noh \:silent! call repeat#set("\(simple-todo-mark-as-done)") -vnore (simple-todo-mark-as-done) :execute 's/^\(\s*[-+*]\?\s*\)\[ \]/\1[' . g:simple_todo_tick_symbol . ']/' +vnore (simple-todo-mark-as-done) :execute 's/^\(\s*[-+*]\?\s*\)\[ \]/\1[' . g:simple_todo_tick_symbol . ']/':noh \:silent! call repeat#set("\(simple-todo-mark-as-done)") -inore (simple-todo-mark-as-done) :execute 's/^\(\s*[-+*]\?\s*\)\[ \]/\1[' . g:simple_todo_tick_symbol . ']/' +inore (simple-todo-mark-as-done) :execute 's/^\(\s*[-+*]\?\s*\)\[ \]/\1[' . g:simple_todo_tick_symbol . ']/':noh \:silent! call repeat#set("\(simple-todo-mark-as-done)") " Mark as undone -nnore (simple-todo-mark-as-undone) :execute 's/^\(\s*[-+*]\?\s*\)\[' . g:simple_todo_tick_symbol . ']/\1[ ]/' +nnore (simple-todo-mark-as-undone) :execute 's/^\(\s*[-+*]\?\s*\)\[' . g:simple_todo_tick_symbol . ']/\1[ ]/':noh \:silent! call repeat#set("\(simple-todo-mark-as-undone)") -vnore (simple-todo-mark-as-undone) :execute 's/^\(\s*[-+*]\?\s*\)\[' . g:simple_todo_tick_symbol . ']/\1[ ]/' +vnore (simple-todo-mark-as-undone) :execute 's/^\(\s*[-+*]\?\s*\)\[' . g:simple_todo_tick_symbol . ']/\1[ ]/':noh \:silent! call repeat#set("\(simple-todo-mark-as-undone)") -inore (simple-todo-mark-as-undone) :execute 's/^\(\s*[-+*]\?\s*\)\[' . g:simple_todo_tick_symbol . ']/\1[ ]/' +inore (simple-todo-mark-as-undone) :execute 's/^\(\s*[-+*]\?\s*\)\[' . g:simple_todo_tick_symbol . ']/\1[ ]/':noh \:silent! call repeat#set("\(simple-todo-mark-as-undone)") " Switch marks for visual selected lines