vim-tmux-clipboard icon indicating copy to clipboard operation
vim-tmux-clipboard copied to clipboard

Focus event control sequences becomes visible with this plugin

Open moetayuko opened this issue 1 year ago • 0 comments

Issue

When focus/unfocus events are fired, their control sequences ^[[I and ^[[O are visible after vim's cursor. 图片

To reproduce

  1. Add the following MWE config:
╰─ cat ~/.tmux.conf
set -s focus-events on
╰─ cat mini.vim
set nocp
let &t_fe = "\e[?1004h"
let &t_fd = "\e[?1004l"

call plug#begin()
 Plug 'roxma/vim-tmux-clipboard'
call plug#end()
  1. Start tmux
  2. Inside tmux, start vim via vim -u mini.vim
  3. Focus/unfocus the terminal emulator, then observe the control sequences after the cursor

Env

  • tmux 3.3a
  • vim 9.0.1676
  • Arch Linux

moetayuko avatar Aug 05 '23 04:08 moetayuko