move the vim settings completely to query vim.
remove formatoption 'a'
Do not set terminal to xterm-256color if it is already set to
xterm-screen-256color.
This is useful in the zshrc of a remote machine, to which you ssh into
from a local tmux session.