todo-vim icon indicating copy to clipboard operation
todo-vim copied to clipboard

Cannot move up the list with 'k'

Open jwav opened this issue 2 years ago • 2 comments

I use neovim 0.6.1 and downloaded the plugin today (Apr 21st)

In the todo-vim buffer, all keybindings seem to work okay except k. Instead of moving the cursor one line up, it moves the cursor to the space between [todo] and the todo's content:

[todo] display user interface keybindings
      ^
right here

j, h, l all work fine, it's only k.

This can be worked around by using gk, which is weird since my k is nnoremaped to gk.

Clearly a bug, but no idea what causes it.

jwav avatar Apr 21 '22 14:04 jwav

I found a bodgy yet effective fix: in ~/.config/nvim/plugged/todo-vim/autoload/, add the following line within the s:MappingKeys() function: nnoremap <script> <silent> <buffer> k k

Now k moves the cursor to the line above. Still no idea why this bug is there, though. So I'll leave this issue open.

jwav avatar Apr 21 '22 14:04 jwav

Thank's for report. Interesting behavior. I need a time to testing this in neovim.

Dimercel avatar Apr 25 '22 08:04 Dimercel