" Be smart about the mouse set mouse+=a if &term =~ '^screen' " tmux knows the extended mouse mode set ttymouse=xterm2 endif