Skip to content

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

@mrjpaxton

Description

@mrjpaxton

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.

Activity

alerque

alerque commented on Sep 22, 2023

@alerque
Member

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @alerque@mrjpaxton

        Issue actions

          Enable checklist box toggle if mouse support is enabled? · Issue #644 · preservim/vim-markdown