Skip to content

Can kitty change my vim theme? #4226

Answered by page-down
ldelossa asked this question in Q&A
Discussion options

You must be logged in to vote
  1. Calling "kitty @ send-text" seems to only work from the shell you call "kitty @ launch" from.

You can enable remote control via UNIX socket for kitty and then use the parameter --to when calling kitty @.

  1. I can't seem to find a way to send control characters such as "escape" with "send-text"

As for sending to all VIM windows, you can first find out all the window ids by -kitty @ ls and send them exactly. --match also supports matching running processes.

As for escape, you can just send it directly.

kitty @ send-text -m id:1 "\x1b"

You can see the key escape sequence with the following command.

kitty +kitten show_key

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@page-down
Comment options

@ldelossa
Comment options

@ldelossa
Comment options

@page-down
Comment options

@ldelossa
Comment options

Answer selected by ldelossa
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