vim-tmux-clipboard
vim-tmux-clipboard copied to clipboard
Focus event control sequences becomes visible with this plugin
Issue
When focus/unfocus events are fired, their control sequences ^[[I
and ^[[O
are visible after vim's cursor.
To reproduce
- 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()
- Start tmux
- Inside tmux, start vim via
vim -u mini.vim
- Focus/unfocus the terminal emulator, then observe the control sequences after the cursor
Env
- tmux 3.3a
- vim 9.0.1676
- Arch Linux