-
Notifications
You must be signed in to change notification settings - Fork 328
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
MacOS Cmd + k
stopped working with the tmux plugin
#273
Comments
Cmd + k
stopped working with the pluginCmd + k
stopped working with the tmux plugin
The plugin should not have any effect on keybindings using Otherwise, some additional questions to help figure this out:
|
My setup is standard with no customizations related to the plugin. I refer specifically to
|
By the way, this may be important, I use the Alacritty 0.4.3 terminal emulator. |
|
Hi @osenvosem I have noticed many things not working out-of-the-box myself with Alacritty; most noticeably this plugin. Although I'm not a Mac user, I believe issues like alacritty/alacritty#2204 are relevant to me and you. I've not gone to investigate much further that this. |
Is the ⌘-k key combo is defined via Alacritty by binding this to the usual Ctrl-k to clear end of the line ? |
I briefly investigated this issue on my Mac, I think the issue lies with
When you press cmd-k the terminal emulator remaps it to Ctrl+l command to the terminal. But Tmux with the config above captures it and interprets the command as I have rebound my keyboard with For now I'm content typing |
So I have found a work around which isn't perfect like Ctrl+l. If you're using [keyboard]
bindings = [
{ key = "k", mods = "Command", chars = "clear -x\n" },
] The This workaround leaves a blank line at the top which is a little unflattering, but functionally it's good enough for me. |
This keystroke is intended for clearing terminal buffer on MacOS.
MacOS 10.15.5
tmux 3.1b
neovim 0.4.3
Alacritty 0.4.3
The text was updated successfully, but these errors were encountered: