A Neovim plugin for browsing and selecting themes with live preview and persistent selection.
- Interactive theme browser with bottom split UI
- Live preview - see themes as you navigate
- Persistent selection - your choice is saved across sessions
- Auto-apply - automatically loads your selected theme on startup
- Simple navigation - use j/k to browse, Enter to select
- Works with any colorscheme - not just MLTB themes
Using lazy.nvim
{
'enheit/mlts',
config = function()
require('mlts').setup()
end
}Using packer.nvim
use {
'enheit/mlts',
config = function()
require('mlts').setup()
end
}Run the command:
:MLTSSelectThis will:
- Scan your themes directory for available themes
- Open an interactive menu in a bottom split
- Show live preview as you navigate
Once the menu opens:
j- Move down (next theme)k- Move up (previous theme)Enter- Select theme and save it permanentlyq- Close without saving selection
- Preview: As you navigate with j/k, themes are temporarily applied
- Selection: Pressing Enter permanently saves and applies the theme
- Auto-apply: On next Neovim startup, your selected theme loads automatically
- Close without saving: Press
qto exit - no changes are made
require('mlts').setup({
-- Directory where themes are stored
themes_dir = vim.fn.stdpath('config') .. '/themes',
-- Auto-apply saved theme on startup
auto_apply = true,
})By default, MLTS scans for themes in:
~/.config/nvim/themes/
This is the same directory where MLTB saves generated themes.
Your theme selection is saved to:
~/.local/share/nvim/mlts_selection.txt
This file contains just the theme name. On startup, if auto_apply is enabled, MLTS will automatically load this theme.
- Generate themes with
:MLTBStart(from MLTB plugin) - Save multiple themes you like
- Use
:MLTSSelectto browse and pick your favorite - Selection persists - theme loads automatically on restart
- Place colorscheme
.luafiles in~/.config/nvim/themes/ - Run
:MLTSSelect - Browse and select
MLTS works great with MLTB (My Lovely Theme Builder):
- MLTB: Generate random themes using Tailwind colors and color theory
- MLTS: Browse and select from your generated themes
Together, they provide a complete theme creation and selection workflow!
MIT