Repository navigation
Alt key not working correctly on macOS/iTerm (specifically <a-enter>) #4576
Answered
by
stefanhaller
itsonlyjames
asked this question in
Q&A
|
For some reason when lazygit is open, my alt key does not get recognised whether by I've checked iTerm settings and confirmed that alt does work correctly, as in when outside of lazygit I can os:
editPreset: "nvim"
gui:
theme:
activeBorderColor:
- "#f38ba8"
- bold
inactiveBorderColor:
- "#a6adc8"
optionsTextColor:
- "#89b4fa"
selectedLineBgColor:
- "#313244"
cherryPickedCommitBgColor:
- "#45475a"
cherryPickedCommitFgColor:
- "#f38ba8"
unstagedChangesColor:
- "#f38ba8"
defaultFgColor:
- "#cdd6f4"
searchingActiveBorderColor:
- "#f9e2af"
authorColors:
"*": "#b4befe"Thanks for any help! |
Answered by
stefanhaller
May 21, 2025
Replies: 1 comment 1 reply
|
Alt-backspace is not supported by lazygit; you can use ctrl-w instead to delete words. To make alt-enter work in iTerm2, you need to do a bit of configuration in iTerm. |
1 reply
Answer selected by
itsonlyjames
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Alt-backspace is not supported by lazygit; you can use ctrl-w instead to delete words.
To make alt-enter work in iTerm2, you need to do a bit of configuration in iTerm.