bg.nvim
bg.nvim copied to clipboard
Automatically sync your terminal background with your colorscheme 🎆
bg.nvim 🎆
bg.nvim
automatically syncs terminal background and cursor with any neovim colorscheme.
Example
Changing colorscheme with and without bg.nvim
- | bg.nvim | |
---|---|---|
→ | ||
→ |
Install
-- Packer
use({ "typicode/bg.nvim" })
-- Lazy
{ "typicode/bg.nvim", lazy = false }
How it works
bg.nvim
uses escape sequences to change your terminal background and cursor whenever you change your colorscheme. When neovim exits, it will restore the original colors.
Supported by modern terminals (alacritty, foot, gnome-terminal, kitty, wezterm, ...).