Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am always using multiple windows to edit multiple files. I can style my Vertical Split with

highlight VertSplit cterm=none gui=none 

But what about styling horizontal split? I want it to have visible border, just like Vertical split does.

Something like tmux can have it like this: enter image description here

But with vim default configuration I can only clearly see vertical splits:

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Vim always places a status line between two horizontally split windows (and potentially also at the bottom of a single window, depending on the 'laststatus' option). You can style it via the corresponding highlight groups: StatusLine (for the currently active window) and StatusLineNC (for all other windows).

share|improve this answer
    
So i need to style 'StatusLineNC' , i already have vim airline plugin for my status line –  kaktusas2598 Oct 8 at 7:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.