Stuck in overwrite mode in tmux
<p>Scenario: I open a new tmux session, and run  <strong>emacs .tmux.conf</strong>. </p>

<p>The second line of .tmux.conf reads: <em>set-option -g prefix C-a</em>. I type 'asd', and the second line now reads: <em>asdset-option -g prefix C-a</em>. All good.</p>

<p>I ssh to another server, do some stuff, and then close the connection.  I now re-run <strong>emacs .tmux.conf</strong>, and type 'asd'. The second line now reads <em>asd-option -g prefix C-a</em>, but if I save and run <strong>emacs .tmux.conf</strong> again, I'll see <em>asdset-option -g prefix C-a</em>. </p>

<p>This issue affects all lines except the first, even when I'm typing commands in the prompt. </p>

<p>Sourcing .bashrc, resetting the pane with <em>respawn-pane</em>, does not fix this. If I create a new pane or window, the issue is fixed in the new pane or window until I run ssh again. </p>

<p>What's happening? It's clearly a display issue, since inspection of the actual file reveals that i'm not actually overwriting. </p>