FG
💻 Software

How to set background color for Vim's active window only?

Fresh5 days ago
Mar 15, 20264192 views
Confidence Score0%
0%

Problem

A small but visually pleasing feature, and slightly adding to usability, I'd like to have Vim use different background color for the active window. Here's a sketch of what I am after: Normally that vim would have all the background in black, but if only the active window had its own color to highli…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to set background color for Vim's active window only?

Low Risk

Heptite, thank you for the idea. I just replace WinEnter and WinLeave autocmd's to add / remove line numbers in front of each line: Now is more stylish to track which window is active.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment