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

[FR] Support Ctrl+J and Ctrl+K even on macOS #176

Closed
huyz opened this issue Oct 25, 2022 · 6 comments
Closed

[FR] Support Ctrl+J and Ctrl+K even on macOS #176

huyz opened this issue Oct 25, 2022 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@huyz
Copy link

huyz commented Oct 25, 2022

I'm on macOS. Strangely, when I select the additional keys "Ctrl/Cmd+N" for additional cycle, I can choose either "Ctrl" or "Cmd" with the "N". But if I select "Ctrl/Cmd+J" for additional cycle, I can only choose "Cmd" with the "J". I'm a vim, FZF, CtrlP user, and I'm used to doing "Ctrl+J" and "Ctrl+K" to navigate choices.

@tadashi-aikawa
Copy link
Owner

Thank you for your FR, @huyz :)

First of all, I'll implement this FR.

when I select the additional keys "Ctrl/Cmd+N" for additional cycle, I can choose either "Ctrl" or "Cmd" with the "N".

That's so weird.🤔 On macOS, Ctrl+N should not work, only Cmd+N.

But if I select "Ctrl/Cmd+J" for additional cycle, I can only choose "Cmd" with the "J".

It works as I expected.

@tadashi-aikawa tadashi-aikawa self-assigned this Oct 26, 2022
@tadashi-aikawa tadashi-aikawa added the enhancement New feature or request label Oct 26, 2022
@huyz
Copy link
Author

huyz commented Oct 26, 2022

I guess ideally it would be nice if we could choose between Cmd and Ctrl ahead of time in the Various Complements settings, to minimize potential conflicts with other plugins or Hotkeys.

But simultaneously supporting Cmd and Ctrl at the same time is a second best option (over disabling Cmd), if that's easier to implement. That's because I really prefer Ctrl even on macOS.

I've always loved that macOS has more available modifiers than Windows: allows us even more non-conflicting hotkeys, especially great for vi users who are accustomed to using Ctrl

@tadashi-aikawa
Copy link
Owner

tadashi-aikawa commented Oct 26, 2022

I guess ideally it would be nice if we could choose between Cmd and Ctrl ahead of time in the Various Complements settings, to minimize potential conflicts with other plugins or Hotkeys.

Sure.

  • "Ctrl/Cmd+N" means Cmd + N on macOS
  • "Ctrl+N" means Ctrl + N both on macOS and Windows (I'll implement)

@tadashi-aikawa
Copy link
Owner

After #245

@tadashi-aikawa
Copy link
Owner

@huyz
I have released it in v9.0.0-beta1 🚀

If you use BRAT, I would appreciate it if you could check it out before the official release.

@huyz
Copy link
Author

huyz commented Sep 4, 2023

Looks good so far. Thanks!

I appreciate the work :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants