Skip to content

Commit

Permalink
Merge pull request #33 from vitalk/31-add-visual-mode-mapping
Browse files Browse the repository at this point in the history
Add VISUAL mode mapping for new __list item__ at start of line
  • Loading branch information
vitalk authored Feb 25, 2017
2 parents 54a0eb9 + 70d1023 commit 5ef8e79
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 5ef8e79

Please sign in to comment.