-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Integrate Autocomplete with Alacritty Terminal #28
Comments
Important note: Alacritty does not support tabs, so all that is required for the integration is some way of determining the cursor position. |
This is landing in v1.0.49 (coming out in next day or two)!!! |
You guys never fail to amaze! 😌 |
We had to temporarily remove support for Alacritty due to issues with macOS Monterey. Luckily, we will be supporting it again soon. Re-opening this for now for anyone who wants to subscribe for when we've re-integrated |
A preview of the Alacritty integration is available. However, currently the integration is a bit tricky to setup which is why it is hidden by default. Instructions:
|
Thanks @mschrage! So interestingly, although I got the following error UI... It looks like it still worked fine 🤷🏻 🎉 ❤️ |
@mschrage I've just got a new MacBook Pro M1 and it seems the instructions above no longer apply 😞 |
Did you restart Fig @Integralist ? |
OK that is working now. It took...
|
Just going to leave another update, which is it seems it's working BUT not when within a tmux shell. Still debugging and will give an update if I find anything interesting. EDIT: I have
UPDATE: I removed the following two lines from my set -g default-terminal "screen-256color"
set -ga terminal-overrides ",*256col*:Tc" But then I put them back and started a fresh Alacritty + tmux instance and things still worked 🤔 UPDATE 2: LOL. The Alacritty terminal + tmux instance that was just working, and I didn't do anything other than look at my email in my web browser has suddenly stopped working again. 🤷🏻♂️ UPDATE 3: I continued on, accepting fig wasn't working, when suddenly it started working again!? Happened after 5 minutes or so. In that time I compiled a Rust project and ran a |
@Integralist could be related to #1229? |
@mschrage I don't full screen my apps, so in this case that linked issue looks to be unrelated. |
@Integralist can you run |
Fig now fully supports Alacritty by default! Run |
|
|
me too |
The new command is |
Still not working. The installation popup does appear: but after confirmation, there is no new input method registered by macOS. And there are no autocompletions at all in alacritty, even after restart. Dashboard shows everything looking good,
|
@chrisgrieser This is a big ask, but have you tried restarting your computer? This usually fixes input method issues. The problem is with Apple. We do our best, but Apple's implementation of input method is known to be very finicky. |
@brendanfalk |
not that big an ask, all good! I also tired restarting afterwards, and nothing changes, still not autocompletion, still nothing that has been added as input method |
ah, I just found something: Unfortunately, you cannot simply replace the latter with the former, since the binary supports options like |
@chrisgrieser can you run |
Not going to open a new issue for this but will say that for the longest time fig has just not worked with Alacritty as far as the 'position' of the autocomplete menu. To be clear: I do get autocomplete but the drop-down is always miles away from the actual prompt on screen (see screenshot below for an example, see if you can find the autocomplete drop-down). |
Oh, and that position was only from a few days ago. Before that, for the longest time (I honestly couldn't say how long exactly), the drop-down would appear on the far right-side of the screen (mostly top-right). |
@Integralist |
Running
|
Well. Looks like I should have asked sooner 🤦🏻 because seeing in the above diagnostics |
Thank you for your share. What's your alacritty version? |
I can see there is now |
#2126 |
@mschrage |
The title says it all.
Please subscribe to this issue to get an update when Fig's autocomplete integration with the Alacritty terminal is ready 😄
The text was updated successfully, but these errors were encountered: