Skip to content

Commit 4ce9da1

Browse files
committed
Allow enter key on keypad to create new list item
1 parent c9d08de commit 4ce9da1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugin/vim-todo-lists.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ function! VimTodoListsSetItemMode()
337337
nnoremap <buffer> <Space> :VimTodoListsToggleItem<CR>
338338
vnoremap <buffer> <Space> :VimTodoListsToggleItem<CR>
339339
inoremap <buffer> <CR> <ESC>:call VimTodoListsAppendDate()<CR>A<CR><ESC>:VimTodoListsCreateNewItem<CR>
340+
inoremap <buffer> <kEnter> <ESC>:call VimTodoListsAppendDate()<CR>A<CR><ESC>:VimTodoListsCreateNewItem<CR>
340341
noremap <buffer> <leader>e :silent call VimTodoListsSetNormalMode()<CR>
341342
nnoremap <buffer> <Tab> :VimTodoListsIncreaseIndent<CR>
342343
nnoremap <buffer> <S-Tab> :VimTodoListsDecreaseIndent<CR>

0 commit comments

Comments
 (0)