Skip to content

Commit 46c0b21

Browse files
author
Alexander Serebryakov
committed
Fixes #33. Makes keymapping in normal mode more consistent
1 parent cd291fa commit 46c0b21

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,8 @@ Changelog
239239
* Item indentation level is kept when creating a new one
240240
* Removed migration from older formats
241241
* Added plugin initialization for `todo` filetype
242+
* New item can be created with keypad Enter key
243+
* Makes normal mode keys more consistent
242244

243245
#### 0.7.1
244246

@@ -294,4 +296,5 @@ Contributors
294296
* Jake Mason, contributor ([GitHub](https://github.com/jakemason))
295297
* Alexandr Kondratev, contributor ([GitHub](https://github.com/theg4sh))
296298
* Jannis Jorre, contributor ([GitHub](https://github.com/jeyj0))
297-
* thehunmonkgroup ([GitHub](https://github.com/thehunmonkgroup))
299+
* thehunmonkgroup, contributor ([GitHub](https://github.com/thehunmonkgroup))
300+
* Suchandra Thapa, contributor ([GitHub](https://github.com/sthapa))

plugin/vim-todo-lists.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ function! VimTodoListsSetNormalMode()
353353
nunmap <buffer> O
354354
nunmap <buffer> j
355355
nunmap <buffer> k
356+
iunmap <buffer> <CR>
357+
iunmap <buffer> <kEnter>
356358
nnoremap <buffer><silent> <Space> :VimTodoListsToggleItem<CR>
357359
vnoremap <buffer><silent> <Space> :'<,'>VimTodoListsToggleItem<CR>
358360
noremap <buffer><silent> <leader>e :silent call VimTodoListsSetItemMode()<CR>

0 commit comments

Comments
 (0)