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

Alt Gr shortcut on Windows #29

Closed
BenjaminITS opened this issue Jun 8, 2018 · 2 comments
Closed

Alt Gr shortcut on Windows #29

BenjaminITS opened this issue Jun 8, 2018 · 2 comments

Comments

@BenjaminITS
Copy link

Hello,

Is it a way to disable the Alt Gr shortcut ? I use an azerty keyboard on Windows. And when the plugin is enable I can't use, for example, the shortcut Alt Gr + 6 to make the "|" char.

Thanks

@chabou
Copy link
Owner

chabou commented Jun 8, 2018

You have to remap default keys. For exemple, using ctrl+shift instead:

module.exports = {
  config: {
    // other configs...
    paneNavigation: {
      hotkeys: {
        navigation: {
          up: 'ctrl+shift+up',
          down: 'ctrl+shift+down',
          left: 'ctrl+shift+left',
          right: 'ctrl+shift+right'
        },
        jump_prefix: 'ctrl+shift', // completed with 1-9 digits
        permutation_modifier: 'alt', // Added to jump and navigation hotkeys for pane permutation
      },
      indicatorPrefix: '^⇧', // Will be completed with pane number
    }
  }
  //...
};

Good to know, on Windows: ctrl+alt === altGr

@BenjaminITS
Copy link
Author

It works, perfect.

Thank you

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