Skip to content

Commit

Permalink
Add VISUAL mode mapping for <plug>(simple-todo-new-list-item-start-of…
Browse files Browse the repository at this point in the history
…-line)
  • Loading branch information
vitalk committed Feb 25, 2017
1 parent 54a0eb9 commit 70d1023
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/simple-todo.vim
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ vnore <silent> <Plug>(simple-todo-new-start-of-line) I<c-r>=<SID>get_list_marker
" Create a new item with some list prefix symbol at the start of this line
nnore <silent> <Plug>(simple-todo-new-list-item-start-of-line) mzI<c-r>=g:simple_todo_list_symbol<cr><space>[ ]<space><Esc>`z6l
inore <silent> <Plug>(simple-todo-new-list-item-start-of-line) <Esc>mzI<c-r>=g:simple_todo_list_symbol<cr><space>[ ]<space><Esc>`z6la
vnore <silent> <Plug>(simple-todo-new-list-item-start-of-line) I<c-r>=g:simple_todo_list_symbol<cr><space>[ ]<space>

" Create a new item below
nnore <silent> <Plug>(simple-todo-below) o<c-r>=<SID>get_list_marker(line('.')-1)<cr>[ ]<space>
Expand Down

0 comments on commit 70d1023

Please sign in to comment.