Skip to content
/ bg.nvim Public
forked from typicode/bg.nvim

Automatically sync your terminal background with your colorscheme πŸŽ†

License

Notifications You must be signed in to change notification settings

mei28/bg.nvim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bg.nvim πŸŽ†

bg.nvim automatically syncs terminal background and cursor with any neovim colorscheme.

Example

Changing colorscheme with and without bg.nvim

- bg.nvim
without2 β†’ with2
without1 β†’ with1

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, ...).

For reset colors support, st needs to be patched.

About

Automatically sync your terminal background with your colorscheme πŸŽ†

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%