Skip to content

Windows - Ctrl-Space doesn't work as select and advance #120

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

Open
clach04 opened this issue Aug 29, 2024 · 1 comment
Open

Windows - Ctrl-Space doesn't work as select and advance #120

clach04 opened this issue Aug 29, 2024 · 1 comment

Comments

@clach04
Copy link

clach04 commented Aug 29, 2024

"C-SPC" : lambda percol: percol.command.toggle_mark_and_next(),

Defines Ctrl-Space as toggle_mark_and_next and works great under Linux.

Under Windows this is a NOOP.
However one can manually setup additional/alternative keybindings that work. For example, with the sample code in the readme

### Calling percol from Python
add the line:

        p.import_keymap({
            'C-t': lambda percol: percol.command.toggle_mark_and_next(),  # works great, Ctrl-t now toggles multi-select
            })

Before the call to p.loop() and Ctrl-t now works, under Windows instead, under Linux for both ctrl-t and ctrl-space (c-spc).

Not figured out how to debug this yet.

@clach04
Copy link
Author

clach04 commented Aug 29, 2024

@mooz just wanted to say thank you for making this tool and making it available. You made my crappy tool, less-crappy :-) Percol was really easy to integrate.

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

3 participants
@clach04 and others