-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Doesn't recognise # on UK Mac keyboard (Alt-3) #1073
Comments
Probably related to / duplicate of #458. |
I've got a similar issue but only from within vim
|
Nice one, that works in vim for me too :) Still doesn't work in the shell, but I can live without that! |
I'm having this problem too. If I type Alt 3, I get a |
Hey @sorenmortensen I have the same issue, please check this out. I have made a screen-capture of the issue: Alacritty "#" issue |
I'm having the same issue with UK Mac keyboard. # inserts a # and newline/return. So effectively I can't use the hash key in vim or at the command prompt. Works fine in Terminal/iTerm2. |
Mixing the solutions from @thisistherk and @imjoshholloway , I managed to get it working both in the shell and in vim:
@thisistherk 's was using key |
This is the default config of alacritty v 0.2.3 with a workaround for alacritty/alacritty#1073
Many thanks! This fix makes a big difference. |
On macOS the hash character (#) is not recognised within Alacritty and is interpreted as a new line. This aims to fix the issue. Source: alacritty/alacritty#1073
Not sure what to do of this issue as a good workaround exists, but we should still consider it a bug. Is the workaround still needed on latest releases ? |
Workaround was needed for me as of last month, not checked without it since. |
Still needed |
I don't know if this is the same issue, but I am using Linux on a ThinkPad T480s with UK keyboard and I cannot get the correct code for Alt-Shift-3. In bash: All the other keys on that row seem to work as expected. This does not happen on gnome-terminal and it still happens with no |
So this is still an issue, brand new Alacritty user here. For some reason the workaround from the .yml didn't take, I had to add it to my own config, but it works - mostly. Randomly, the # doesn't actually appear in the terminal... but it is there, it works. In vim it works fine. |
Any plans to get this fixed upstream? |
Still an issue with |
https://github.com/alacritty/alacritty/blob/master/alacritty.yml#L558 Where does that line go? I find it pretty difficult to determine the place in the yaml hierarchy where that key binding list element should be placed by skimming the yaml file in the repo. |
OK, in proper #rubberduck fashion, after writing the above comment I came up with the content of
|
It doesn't really help that you start reading about Key bindings on line 558 but the actual config value doesn't show up until line 761 https://github.com/alacritty/alacritty/blob/master/alacritty.yml#L761 |
I've had this fixed in the past with...
But since updating to the latest Alacritty (0.11.0) and it has suddenly stopped working? Someone here suggested the following but that doesn't work for me...
This is a problem in vim it seems only. Even though I'm in INSERT mode, the moment I press Alt+3 it will switch me to NORMAL mode and then jump into searching for whatever word is under my cursor (or |
Same problem than @Integralist , keys alt+1, alt+2 and alt+3 don't works, but alt+4 from here on out works property. I'm using Magic keyboard (Spanish lang) |
I'm pretty sure with the help of |
OSX 10.12.6. Having problems getting a hash on UK Mac keyboard (done via Alt-3 rather than Shift-3), it seems to be interpreting it as a newline? Other Alt-key combinations (e.g. the euro symbol on Alt-2) appear to work fine.
Tried adding:
to key_bindings in alacritty.yml, but no difference in behaviour. Works fine in Terminal and iTerm2. Anything else I can try? Thanks!
The text was updated successfully, but these errors were encountered: