Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 6
    Better like this set -g default-terminal "xterm-256color". Otherwise I couldn't notice when in visual mode due to limited colors.
    – Macario
    Commented Feb 18, 2012 at 11:39
  • 1
    I had to combine this with set -g xterm-keys on. Commented Nov 25, 2012 at 5:03
  • 4
    It's worth noting that the man page for tmux says to never set default-terminal. I'm not sure what the ramifications are. Commented Nov 25, 2012 at 5:33
  • 1
    Given the warning that default-terminal should not be set, there is perhaps a better fix from the vim side: link. Commented Nov 25, 2012 at 14:34
  • Not working in my case...
    – Blaszard
    Commented Jul 5, 2018 at 12:19