pivotalcommon / vim-config

(Mac)Vim configuration
MIT License
56 stars 42 forks source link

Mac's ⌘-Tab in iTerm inserts F24 and F25 #51

Open getaaron opened 7 years ago

getaaron commented 7 years ago

Reproduction steps:

  1. Open vim in iTerm2 (I'm using Build 3.0.10)
  2. Enable set paste
  3. Press i to enter Insert mode
  4. Press +tab twice (to switch to another app, then back)

    Expected behavior:

It looks the same.

Actual behavior:

<F24><F25> appears:

image

(<F24> appears when I leave; <F25> appears when I return.)

captainfffsama commented 4 years ago

do you use tmux?I meet same question,here is some idea that maybe can fix it:https://github.com/tmux-plugins/vim-tmux-focus-events/issues/6