-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Chords not working when terminal has focus #22211
Comments
Good point, chords won't work in the terminal unless configured to do so. This is as designed since cmd+k is used to clear the terminal which is a common keybinding on macs, on other platforms it's eaten by the terminal since we allow the terminal to handle it. Do we really need a default keybinding for this? |
We do not really need a default keybinding, but I can still add some chord which will work in all other panels except the terminal. |
I think no keybinding is the way to go, power users who would want a keybinding should by able to figure out how to add one. No one has mentioned anything about the fac that chords don't work in the terminal after I added the cmd+k to clear shortcut several months. If the user really wants to use chords then it's possible by unbinding cmd+k from clear. |
@Tyriar agree that no shortcut is the way to go. So currently you can not go in and out of zen mode while the terminal has focus for instance. |
@isidorn unfortunately it's not as simple as we just support chrods within the terminal, when we did do this there were quite a few requests from Mac users who had cmd+k muscle memory as it's a platform standard within Terminal.app and iTerm2. Additionally ctrl+k is a shortcut in bash that removes everything to the right of the cursor which is essentially for some users. I made a design decision to align with the terminal standards when the terminal is focused and allow configuration via |
@Tyriar if that's what the users want then it makes sense I guess. Thanks for the explanation. |
OS X, insiders, zsh shell
cmd + k z
) - it is not working, notice that the terminal is ignoring the switch to chord modeThe issues seems to be that most terminal clear the terminal with cmd + k or ctrl + k. At least I tried zsh on osx and powershell on win10 and they both have that behavior
The text was updated successfully, but these errors were encountered: