Add to vimrc: (If not fixed, while in vim :echo $TERM to see what to replace with "screen") " Handle tmux $TERM quirks in vim if $TERM =~ '^screen' map OH map! OH map OF map! OF endif