Vim tmux backspace ^

tmuxvim

I'm having a strange problem:

When sshing into a particular host (from OSX to RHEL5), vim seems to forget how to backspace, but only in a tmux session, ie:

  ssh foo@bar.com
  vim test

Backspace works fine above.

This doesn't however:

  ssh foo@bar.com
  tmux
  vim test

Hitting backspace in insert mode produces ^? What could the problem be?

Best Answer

You might need to change your Terminal to send ^h when you type Backspace.

In Terminal's preferences, the setting is part of the profile, so you can set up a dedicated profile for your SSH connection to that RHEL5 system.

Related Question