Alt-Enter in file picker does nothing #12413
-
SummaryThe Alt-Enter picker keybinding added in #4435 does not work for me on macOS, independent of which terminal emulator I'm using. (I'm unsure if the issue is macOS-specific, but other reports seem to indicate that it works on other platforms.) Instead of opening the selected file in the background, the keybinding does nothing. This issue differs from #2280 / other macOS Alt-related issues I've found in that I can confirm that I've properly configured my terminal emulator to treat the Option key as Alt. I've tested Helix on Terminal.app, iTerm, WezTerm, Kitty, Ghostty, and Warp and have seen the same behavior across all of them. I can also confirm that the terminal is receiving the correct keys: All other Alt key bindings do work in Helix, and if I manually set up an Finally, I also tried building Helix using Reproduction StepsI tried this:
I expected this to happen: The selected file is opened in the background, as per #4435. Instead, this happened: Nothing happens. Helix logThere's nothing relevant in the log, but here it is (I cleared it before running the reproduction steps above): ~/.cache/helix/helix.log
PlatformmacOS Sequoia 15.2 Terminal EmulatoriTerm 3.5.11 (but as mentioned I replicated the issue on just about every macOS terminal emulator) Installation Methodbrew Helix Versionhelix 24.7 (079f544) |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
If the behavior is consistent across all terminal emulators then it sounds to me like macOS is eating the A-ret combination. Maybe the macOS settings have this set to something and unsetting it will allow A-ret to pass through to the terminal and Helix? |
Beta Was this translation helpful? Give feedback.
-
On a similar note, is it possible to map a different key combination to this action? I don't see a relevant name in #4435 or in the command pallet. Wezterm unfortunately eats this binding for me and unfortunately I don't believe it's trivial to disable a single default. |
Beta Was this translation helpful? Give feedback.
-
Opens the file, just doesn't make the current buffer become that file. |
Beta Was this translation helpful? Give feedback.
-
Also note that |
Beta Was this translation helpful? Give feedback.
Also note that
A-ret
in the picker loads the file in the background so it will not replace the currently open document. You need to open the buffer picker to see whether the file was loaded