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

Cannot add command Ctrl+Tab #3844

Closed
cayhorstmann opened this issue Dec 5, 2018 · 2 comments
Closed

Cannot add command Ctrl+Tab #3844

cayhorstmann opened this issue Dec 5, 2018 · 2 comments

Comments

@cayhorstmann
Copy link

Trying to define an action for Ctrl-Tab and Shift-Ctrl-Tab does not work.

        editor.commands.addCommand({
          name: "myamazingcommand",
          bindKey: {win: "Ctrl-Tab", mac: "Cmd-Tab"},
          exec: function() {
             // amazing stuff
          }
        });

The function is not called when hitting Ctrl-Tab.

I am trying to define these keys for accessibility, to escape an Ace editor that captures tabs.

@nightwing
Copy link
Member

ctrl-tab key is captured by chrome, and unfortunately they keep closing feature requests to add option to allow pages to use that keybinding.

Other browsers, like vivaldi, allow using ctrl-tab in web pages.

@cayhorstmann
Copy link
Author

Thanks for letting me know. That's unfortunate. I described a workaround in #3149.

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

2 participants