blackbeard.nvim is a modern, customizable Neovim color scheme designed for productivity. Heavily inspired by TokyoNight, Kanagawa, Cyberdream, and Gruvbox. blackbeard-nvim is in it's early life. Palette and finetuning will come. User feedback is appreciated.
Watch the blackbeard-nvim on YouTube
- Dark and Light Themes: Inspired by popular colorschemes like Gruvbox, Kanagawa, TokyoNight, and Cyberdream.
- System-Wide Integration: Synchronizes Neovim, Alacritty, and GTK themes for a unified look across your desktop environment.
- Customizable Appearance: Use commands to switch themes, set Alacritty font sizes, and configure GTK icon themes.
- Plugin Support: Integrates with popular plugins such as Telescope, LSP, and more.
- User-Friendly Installation: Installs GTK themes to
~/.local/share/themes/
by default, with an option for system-wide installation. - Command-Driven Workflow: Provides a powerful
:Blackbeard
command to manage themes, font sizes, icon themes, and external components like DWM and Hyprland.
The :Blackbeard
command is the primary way to interact with the plugin. Below is a table of all available commands and their descriptions:
Command | Description |
---|---|
:Blackbeard dark |
Switches Neovim, Alacritty, and GTK themes to dark mode. |
:Blackbeard light |
Switches Neovim, Alacritty, and GTK themes to light mode. |
:Blackbeard toggle |
Toggles between dark and light themes for Neovim, Alacritty, and GTK. |
:Blackbeard fontsize <size> |
Sets the font size for Alacritty (e.g., :Blackbeard fontsize 16 ). Restart Alacritty to apply changes. |
:Blackbeard icon <theme> |
Sets the GTK icon theme (e.g., :Blackbeard icon Papirus-Dark ). The theme must be installed in /usr/share/icons/ . |
:Blackbeard install-themes |
Installs GTK themes to /usr/share/themes/ (requires sudo access). |
:Blackbeard update dwm |
Updates the DWM (Dynamic Window Manager) theme to match the current theme. |
:Blackbeard update hyprland |
Reloads Hyprland to apply theme changes. |
:Blackbeard update gtk |
Updates GTK theme configurations to reflect the current theme. |
Hey everyone! I’ve been working on my dotfiles and recently branched off my blackbeard-nvim
plugin to add some cool features. It’s a simple Neovim plugin for toggling between dark and light themes, and it’s super easy to install using Lazy.nvim (note: this doesn’t work with Packer). Follow the steps below to get started! 🚀
-
Visit the GitHub Repository
Head over to theblackbeard-nvim
repository:
https://github.com/cvusmo/blackbeard-nvim -
Add the Plugin to Your Neovim Config
Open your Neovim configuration directory (usually~/.config/nvim/
). If you don’t already have aplugins
directory for Lazy.nvim, create one:
mkdir -p ~/.config/nvim/lua/plugins
3.Create or Edit the Plugin File
Create (or edit) a file named blackbeard.lua in the ~/.config/nvim/lua/plugins/ directory:
bash
touch ~/.config/nvim/lua/plugins/blackbeard.lua
- Add the Plugin Configuration Copy the following Lua code into ~/.config/nvim/lua/plugins/blackbeard.lua. This sets up the plugin with the default dark theme and adds a keybinding to toggle between dark and light themes:
-- ~/.config/nvim/lua/plugins/blackbeard.lua
return {
"cvusmo-dev/blackbeard-nvim",
lazy = false,
config = function()
require("blackbeard").setup({
theme = "dark",
font_size = 26,
})
end,
}
- Sync Plugins with Lazy.nvim Open Neovim and run the following command to install the plugin:
:Lazy sync
-
This will download and install blackbeard-nvim from the master branch. Test the Plugin
Restart Neovim Press tt (e.g., if your leader key is the default , this would be \tt) to toggle between the dark and light themes.
Or enter command :Blackbeard dark OR :Blackbeard light You should see your Neovim colorscheme switch between the two themes!
Thank you to all who have created colorschmes for neovim. These four have been some of my favorites to use and their code was instrumental in setting up my own colorscheme. Thank you again!
- I stream M-W-F-Sat on twitch from 07:00AM EST to 01:00 PM EST. Come hang out in chat, and let me know what you're working on!
- youtube New series coming in May 2025 - The Rust Book. We're going to go through the entire Rust book and make a tutorial you can follow along.
- x Follow on x for more of day to day memes, random thoughts, and spicy fresh hot takes.
- Discord Join the wormhole and be part of our growing community! Games, programming, share projects, and learn about the lustre game engine!