Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

Colors are off when running Vim via SSH inside tmux. #4

@paddor

Description

@paddor

I'm using iTerm2 3.0.10 on macOS which connects via SSH to an Ubuntu 14.04 VM running Neovim 0.1.6-dev and Tmux 2.0.

I have the following vim config:

packadd vim-solarized8
colorscheme solarized8_dark
set t_8f=^[[38;2;%lu;%lu;%lum
set t_8b=^[[48;2;%lu;%lu;%lum
set termguicolors

(the ^[ are actual escape sequences)

This works pretty well without Tmux, like this:
screen shot 2016-10-12 at 21 43 34

But as soon as I start nvim inside Tmux, it looks FUCKED. Like this:

screen shot 2016-10-12 at 21 41 29

My TERM is xterm-256color outside of tmux, and screen-256color inside.

I've tried pretty much "everything" but no success. Any ideas why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions