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

Enable checklist box toggle if mouse support is enabled? #644

Open
mrjpaxton opened this issue Sep 22, 2023 · 1 comment
Open

Enable checklist box toggle if mouse support is enabled? #644

mrjpaxton opened this issue Sep 22, 2023 · 1 comment

Comments

@mrjpaxton
Copy link

Hey, I was wondering if there was a way for Vim, or this plugin, to have a way where if mouse support is enabled, such as if has('mouse') ... or if has('mouse_sgr'), then when clicking on the checkbox text directly - [ ] it would toggle that to - [x], and vise-versa.

This would be useful because if I'm using Termux on Android/mobile, and I have a checklist of items, I just want to tap on the screen to check them off. Might also be nice for the desktop, too.

@alerque
Copy link
Member

alerque commented Sep 22, 2023

It is probably doable. I'm not in a position to sit down and work on it, but if somebody did work up a PR I'll try to facilitate it.

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

No branches or pull requests

2 participants