Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it work with numpad asterisk #3

Open
nkmathew opened this issue Nov 3, 2015 · 8 comments
Open

Make it work with numpad asterisk #3

nkmathew opened this issue Nov 3, 2015 · 8 comments

Comments

@nkmathew
Copy link

nkmathew commented Nov 3, 2015

No description provided.

@ironhouzi
Copy link
Owner

I am unable to reproduce the error.

I have started Vim without any plugins and verified that numpad asterix does in deed work correctly and again with vim-stim the numpad asterix key on my keyboard works as it should.

If you want me to look into it any further, you will have to provide more information.

I will leave the issue open until then, but if I don't hear from you within a couple of days I will close the issue.

@nkmathew
Copy link
Author

nkmathew commented Nov 3, 2015

Shift+8 highlights the word but doesn't move the cursor as desired
numpad * highlights and moves the cursor to the next match like the default asterisk does

@ironhouzi
Copy link
Owner

Again. I cannot reproduce this. The two keys produce different keycodes, yet they both trigger star command as defined in vim-stim. I've tried on both Vim 7.4.1-884 and NeoVim.

Can you please provide more information about what is actually causing the trouble?

@nkmathew
Copy link
Author

nkmathew commented Nov 4, 2015

I'm not even sure what's going on. I tried it with this custom vimrc and still has the problem:

set nocompatible
set noswapfile
colorscheme desert

set rtp+=~/.vim/
set rtp+=~/.vim/bundle/Vundle.vim

call vundle#begin("~/.vim/bundle")
Plugin 'ironhouzi/vim-stim'
call vundle#end()

Version:

Behaviour(first with shift+8 then with the asterisk in the numpad):

HTH

@nkmathew
Copy link
Author

nkmathew commented Nov 8, 2015

Did you manage to reproduce it?

@ironhouzi
Copy link
Owner

No. I don't have windows though.

Also, I don't really understand why you'd want this feature anyways. Vim is designed to keep your hands on home row and far reaches to the numpad is highly undesired from a normal use case.

What is your use case when you need to use the numpad keys for text editing? I understand that the numpad can be useful for text numerical input, but for editing? I don't get it, so please make me understand why you'd want this.

@nkmathew
Copy link
Author

nkmathew commented Nov 8, 2015

Well it's easier to peruse through code using the mouse wheel than when in the home row(at least for me) at which time my hands are far from the keyboard. Highlighting a word is easier to do with the numpad asterisk in that case than with shift+8

It's not really that critical anyway, just thought it would be a nice feature to have. Don't lose sleep over of it

@nkmathew
Copy link
Author

nkmathew commented Nov 8, 2015

Well it's easier to peruse through code using the mouse wheel than when in the home row(at least for me) at which time my hands are far from the keyboard. Highlighting a word is easier to do with the numpad asterisk in that case than with shift+8

It's not really that critical anyway, just thought it would be a nice feature to have. Don't lose sleep over it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants