On Sat, 24 Jun 2023 19:35:47 +0100
Bram Moolenaar <Bram@moolenaar.net> wrote:
> You need to tell Vim to recognize these escape sequences:
>
> execute "set <FocusGained>=\<Esc>[I"
> execute "set <FocusLost>=\<Esc>[O"
>
> Since this is quite common it was made the default in patch 9.0.1619.
> You only need to define the escape sequences for older Vim versions.
Interesting. I wondered why it was there in the help doc but Vim didn't
seem to need it. Thank you for the clarification.
By the way, in my second email, I wrote what the solution to my problem
was:
> [...]
> Turns out, the control code "^[[O" was emitted from TmuxOrSplitSwitch().
> All I had to do was prepend a ":h :silent" (not ":h map-<silent>; that
> was already there) to the keymap. Now Vim corrupt the window with that
> control code.
But I forgot "doesn't" in there. The last line should've said: Now Vim
_doesn't_ corrupt the window with that control code.
--
Enan
--
--
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/20230625100617.00001bfc%40gmail.com.
Saturday, June 24, 2023
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment