t9md / atom-vim-mode-plus

vim-mode improved
https://atom.io/packages/vim-mode-plus
MIT License
1.4k stars 111 forks source link

Allow numpad0 to be used when entering a number before a command #989

Closed sunjay closed 6 years ago

sunjay commented 6 years ago

Discovered that this wasn't working and then used the keybinding debugger (ctrl+.) to figure out the issue. Checked whether this works by adding this line to my local keymap. It fixes the problem.

Without this, typing something like 420G fails while typing 0 because numpad0 always takes you to the front of the line. This change is consistent with the rest of the file because numpad0 is mapped to all of the same things as 0 everywhere else.

t9md commented 6 years ago

Nice catch! thanks!

sunjay commented 6 years ago

Thank you for the excellent vim plugin! I use your plugin and atom over actual vim and have even switched back to atom after switching away because other editor vim plugins just aren't nearly as good! :smile:

t9md commented 6 years ago

Released as v1.22.1 patch.

And thanks for your encouraging comment! vmp is not just vim emulator, it's have unique enhancement, if you master it, you even cannot switch back to pureVim(at least true for me). https://www.youtube.com/watch?v=01yHgi59ASg&t=119s https://twitter.com/t9md/status/928155248283197440

sunjay commented 6 years ago

Yes I totally know what you mean. I can't go back! Thanks for the release! :smile: