# vimrc: settings based on terminal background

DevFeed: [vimrc: settings based on terminal background](<https://devfeed.tech/articles/vimrc-settings-based-on-terminal-background-30278.md>)

Original publisher: [Read original article](<https://www.netmeister.org/blog/vim-color-by-bg.html>)

Published: 2025-09-05T17:22:45Z

Content type: tutorial

Language: en

Sources: [Signs of Triviality](<https://devfeed.tech/sources/signs-of-triviality.md>)

Topics: [Syntax Highlighting](<https://devfeed.tech/topics/syntax-highlighting.md>), [Terminal](<https://devfeed.tech/topics/terminal.md>)

Tags: [based](<https://devfeed.tech/tags/based.md>), [highlighting](<https://devfeed.tech/tags/highlighting.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [set](<https://devfeed.tech/tags/set.md>), [settings](<https://devfeed.tech/tags/settings.md>), [syntax](<https://devfeed.tech/tags/syntax.md>), [syntax-highlighting](<https://devfeed.tech/tags/syntax-highlighting.md>), [terminal](<https://devfeed.tech/tags/terminal.md>)

## AI overview

A tutorial on configuring Vim syntax-highlighting colorschemes based on the current terminal background.

## Source excerpt

How to set e.g., syntax highlighting colorschemes based on the current terminal's background.