Using a french macos keyboard layout, the default shortcut for gitlens.showCommitSearch is shiftoption:, which is conflicting the the way we type \ (backslash).
My workaround: I just disable the shortcut.
@maelvalais Hrm, I'm not sure what to do on this one. I quite like the alt+/ shortcut key and it seems no matter what I pick it conflicts with something :(. At least vscode makes it easy to remove a shortcut key.
Maybe it could be on vscode's side to warn the user when such conflicts appear, and maybe show him all the conflicting ones in the shortcut view. I'll propose this feature to the vscode's team.
Thanks anyway for your kind and helpful answer!
@maelvalais if you open a vscode issue, would you mind either posting the link back here -- or linking it from the vscode issue?
I'm having the same problem using a Swedish keyboard layout. Backslash in this layout is typed by hitting alt-shift-7 which I guess is the same as git-lens's "search-by-message" shorthand. Looking for a way to change or add an alternative when Swedish keyboard is used.
Although I agree with @maelvalais that shorthand-conflicts should be handled by visual-studio-code, in my case it's not actually a shorthand that conflicts, but rather the "plain" input of character "\". Thus it's not detected by visual studio code as a conflict. My solution for now is to add these lines to keybindings.json:
{
"key": "shift+alt+7",
"command": "-gitlens.showCommitSearch",
"when": "gitlens:enabled"
}
issue still existing for FR keyboards, as of version 8.0.0
You can use "gitlens.keymap": "chorded" (or none) to switch the set of keyboard shortcuts GitLens binds. This setting can also be tweaked using the new settings editor in GitLens 8 -- run GitLens: Open Settings from the Command Palette.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
issue still existing for FR keyboards, as of version 8.0.0