Lotfi laroussi
Lotfi laroussi

Reputation: 41

How to customize tmux pane separator

I'm customizing my tmux setup to match Neovim's appearance, specifically the vertical pane separator used in vsplits (|).

In Neovim, I use this configuration for the separator:

vim.opt.fillchars = {
    vert = "|",  -- Simple vertical line
}

In tmux, I have tried setting pane border styles like this:

set -g pane-border-style 'fg=#232629,bg=default'
set -g pane-active-border-style 'fg=magenta,bg=default'

However, tmux still uses a continuous line as the separator, not a simple | like in Neovim.

How can I customize tmux to show a separator that matches Neovim's vsplit (|), without the continuous line?

What I tried:

What I experienced:

here is tmux separator

enter image description here

here my nvim separator

enter image description here

Upvotes: 2

Views: 140

Answers (1)

Lotfi laroussi
Lotfi laroussi

Reputation: 41

i solved that by: set -g pane-border-lines simple

Upvotes: 1

Related Questions