Skip to content

lokop5116/ThemeControl.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🎨 ThemeControl.nvim

A very simple and small plugin to cycle through a list of installed colorschemes. Written completely in Lua.

Features

Command Description
:CycleThemeForward Goes forward in your list of colorschemes, starts at specified default/ current position
:CycleThemeBackward Goes backward in your list of colorschemes, starts at specified default/ current position
:ResetTheme Resets colorscheme to default and your position
:TransparentBackground Sets background to transparent, is reset in case colorscheme in changed

Requirements

  • Neovim >= 0.7.0

Installation

Install the plugin using whatever plugin manager.

Caution

Make sure the listed colourschemes are already installed.

Using lazy.nvim:

  {
  "lokop5116/ThemeControl.nvim",
  opts = { -- your configuration

    colorschemes = {
      -- list of installed colorschemes you will cycle through
      -- example:
      "carbonfox",
      "tokyonight",
      "rose-pine",
    },

    default = 1,
    -- index of the colorscheme you want to set as default, loads at startup
    -- set as "carbonfox" in this case
          },
  }

Configuration

Default Options
default = 1,
defaultColors = {
-- extracts all colorschemes from your runtime path
-- all installed colorschemes + default ones
"blue",
"darkblue",
"delek",
"desert",
"elflord",
"evening",
"habamax",
"industry",
"koehler",
"morning",
"murphy",
"pablo",
"peachpuff",
"ron",
"shine",
"slate",
"torte",
"zellner",
}

About

Very short and simple nvim plugin written in lua. Helps you conveniently cycle through installed colorschemes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages