Send `⌘` key to Vim
#1480
-
How do I send ⌘ key to Vim running in wezterm. For example ⌘+s to save |
Beta Was this translation helpful? Give feedback.
Answered by
wez
Jan 1, 2022
Replies: 1 comment 2 replies
-
Only Ctrl, Alt and Shift modifiers have a defined encoding for the terminal. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
kuntau
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Only Ctrl, Alt and Shift modifiers have a defined encoding for the terminal.
If you wanted to, you could set up a key assignment (using https://wezfurlong.org/wezterm/config/lua/keyassignment/SendKey.html) that makes CMD-S send Ctrl-S and then you could set up vim to recognize that and trigger a save.