Hello,
First of all: Thank You for this great tool. I enjoy using it. This is my first issue report ever, so if there is something valuable missing please just let me know!
I created a custom keybind to copy a line of code, focus the terminal, paste it, execute it, and put focus back on the editor. That worked. However something goes horribly wrong sometimes:
When I open a fresh instance of gram and one of my projects, focus a line of code and use my custom keybind - gram immediately freezes completely and does not recover from it - it has to be terminated by the system.
When I open a project, focus a line of code- copy and paste it to the terminal and then execute it - without my keybind- it works. Nothing unexpected happens. When I press my custom keybind now - it just works and I can use it all the time...
It seems that gram needs to be 'activated' in a way I do not understand before being able to perform my keybind safely. I would expect that the keybind works all the time or at least that gram does not crash completely?
Further information /logs: You find the log and my keymap file attached.
The gram log says the following (repeated) at the moment of crash:
- 2026年05月01日T06:26:24+02:00 INFO [gram::reliability] hang detected, trace file saved at: /home/xxx/.local/share/gram/hang_traces
In the hang_traces folder I have a .miniprof file with one giant line of rust? associated informations which I don't understand. I think it does not contain sensitive information? I could also send it to someone.
System: I am on Fedora 44 x86 using gram 1.2.1. My keyboad layout is german. Inside of gram I did install the R-zed and the julia extension.
Background: I wanted to use gram for coding in R&julia. So I thought to use a Jupyter Kernel and the REPL feature which I failed to get to work, so the keybind is what I tried as a workaround.
Thank You!
EDIT: Tested it on zed today: It has the same issue.