Ctrl+s keybinding not working in Neovim/LazyVim #9935
Replies: 3 comments 33 replies
-
|
If you run then the issue is most likely due to either Neovim or your Neovim configuration. It could also be an issue with LazyVim. If your keycodes being sent to Neovim are correct, then you can rule out Neovim by testing it with |
Beta Was this translation helpful? Give feedback.
-
|
You can also see what keycode Neovim sees by going into insert mode, then pressing |
Beta Was this translation helpful? Give feedback.
-
|
Add this to your config/keymaps.lua
|
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Issue Description
The
Ctrl+skeybinding (commonly used for 'Save') does not work when using Neovim (LazyVim) inside Ghostty on macOS. The keypress seems to be consumed by the terminal or not forwarded to the application, effectively ignoring the input.Ctrl+s.<C-s>).Expected Behavior
When running Neovim inside Ghostty, pressing
Ctrl+sshould send the corresponding key code to Neovim, triggering the "Save" action.Actual Behavior
Pressing
Ctrl+sdoes nothing. Neovim does not receive the input, and the file is not saved.Reproduction Steps
Ctrl+sto attempt to save.Ghostty Logs
Ghostty Version
OS Version Information
macOS 13.7.1(22H221)
(Linux only) Display Server
None
(Linux only) Desktop Environment/Window Manager
No response
Minimal Ghostty Configuration
Additional Relevant Configuration
Neovim Version:
LazyVim Version:
I acknowledge that:
```) on separate lines.Beta Was this translation helpful? Give feedback.
All reactions