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

[Bug]<to_insert> in .vindrc behaves like <left_click><to_insert> #200

Open
longguzzz opened this issue Aug 25, 2023 · 2 comments
Open

[Bug]<to_insert> in .vindrc behaves like <left_click><to_insert> #200

longguzzz opened this issue Aug 25, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@longguzzz
Copy link

longguzzz commented Aug 25, 2023

Steps to reproduce

Config .vindrc with
gnnoremap <space> <to_insert>

The default i will take a left click, it is not the supposed behavior when I am editing something, because it will relocate the cursor in editor. So I tried to set <space> to <to_insert>, but it behaves the same as pessing key i .
The command i and insert work correctly.

Environments

Environments Delete the example and fill in your information.
Windows Edition [11 Home]
Windows Version [22H2]
Windows Build [22621.2134]
Architecture [64bit]
win-vind Version [e.g. 5.3.0]
win-vind Install Type [zip]
@pit-ray
Copy link
Owner

pit-ray commented Aug 27, 2023

I tried setting gnnoremap <space> <to_insert> in v5.4.0, but the click did not happen unlike i.
To reproduce this problem, is it correct to just do it in this setting?

@pit-ray pit-ray added the bug Something isn't working label Aug 27, 2023
@longguzzz
Copy link
Author

Maybe this problem is specific to my environment, In my case, gnnoremap <space> <to_insert> does not work, but gnnoremap <space> :i<cr> works, so I have already solved my problem. You can leave this issue alone if no others report the same thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants