Hello Dear Vim Lovers,
The situation is this.
I am editing something in vim. While I am in insert mode, I press alt-tab key to switch to another window. When I return back to vim, I am seeing alt and tab keys were captured by vim and inserted into my text.
It seems like [O[I[O[I[O[I[O[I
.
I am working in gnome-terminal. I do not recall this behavior in my previous setups. There must be something wrong but I could not figure it out yet. In case anyone knows how to fix it, please let me know.
Thank you!
\e[0[I
or whatever, but then you still probably run into problems with other shells, emacs, neovim, etc...ps...if you dosed -n l
, and then hit say...ctrl-right arrow, you should see a sequence...you should not see a sequence for alt-tab. Curious if you do – zzxyz'focus-events'
set (look at the output of$ tmux show-options -s | grep focus
)? Are you using the vim-tmux-focus-events plugin? If so, what's the output of:verb nno <f24>
and:verb nno <f25>
? – user938271n <F24> * :silent doautocmd FocusLost %<CR> Last set from ~/workshop/dotfiles/vim/bundle/vim-tmux-focus-events/plugin/tmux_focus_events.vim
n <F25> * :doautocmd FocusGained %<CR> Last set from ~/workshop/dotfiles/vim/bundle/vim-tmux-focus-events/plugin/tmux_focus_events.vim
– Validus Oculus