Monday, August 8, 2022

Setting termcap entries: avoid literal Esc?

In my vimrc I have entries such as these:

set <s-right>=^[f
set <a-h>=^[h

where ^[ is a literal Esc. Is it possible to perform such assignments
without using a literal Esc? For other entries I am able to use the
& form (say, &t_BE = "\033[?2004h"). I am asking specifically about
entries like the above, which either don't have a corresponding option
in Vim AFAIK (<a-h>) or which have an option with special characters
(t_%i).

I am using Vim 9 script, if that matters.

Thanks,
Life.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/tcqu7q%24ddd%241%40ciao.gmane.io.

No comments: