Skip to content

Send key to Vim #1480

Answered by wez
kuntau asked this question in Q&A
Jan 1, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kuntau
Comment options

@wez
Comment options

Answer selected by kuntau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants