Skip to content

Commit 5ef8e79

Browse files
authored
Merge pull request #33 from vitalk/31-add-visual-mode-mapping
Add VISUAL mode mapping for new __list item__ at start of line
2 parents 54a0eb9 + 70d1023 commit 5ef8e79

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugin/simple-todo.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ vnore <silent> <Plug>(simple-todo-new-start-of-line) I<c-r>=<SID>get_list_marker
105105
" Create a new item with some list prefix symbol at the start of this line
106106
nnore <silent> <Plug>(simple-todo-new-list-item-start-of-line) mzI<c-r>=g:simple_todo_list_symbol<cr><space>[ ]<space><Esc>`z6l
107107
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
108+
vnore <silent> <Plug>(simple-todo-new-list-item-start-of-line) I<c-r>=g:simple_todo_list_symbol<cr><space>[ ]<space>
108109

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

0 commit comments

Comments
 (0)