A comprehensive collection of colorschemes for Vim/Neovim based on the popular VSCode Oscura theme. This collection provides comfortable, eye-friendly themes that maintain excellent contrast and readability for both dark and light environments.
Based on: Oscura for VSCode by Fey. Please show your support by starring the original repository!
The original dark theme, perfect for low-light environments and extended coding sessions. Features a balanced color palette with excellent contrast.
A warmer dark variant with dusk-inspired colors. Ideal for those who prefer warmer tones while maintaining the dark aesthetic.
A clean, modern light theme designed for bright environments. Provides excellent readability with a professional appearance.
A warm light variant with dusk-inspired colors. Perfect for users who want the benefits of a light theme with warmer, more comfortable tones.
oscura (Dark) | oscura-dusk (Dark Dusk) |
---|---|
![]() |
![]() |
oscura-light | oscura-dusk-light |
---|---|
![]() |
![]() |
- 4 Complete Themes: 2 dark + 2 light variants
- Optimized for Productivity: Designed for long coding sessions
- High Contrast: Excellent readability in all lighting conditions
- Comprehensive Syntax Highlighting: Support for 50+ programming languages
- Modern UI Support: Status lines, line numbers, popup menus, and more
- Git Integration: Enhanced diff highlighting and merge conflict markers
- Search & Visual Mode: Clear highlighting for search results and selections
- Plugin Compatibility: Works with popular plugins like LSP, Treesitter, and more
Add to your .vimrc
:
Plug 'vinitkumar/oscura-vim'
Add to your Neovim config:
use 'vinitkumar/oscura-vim'
Add to your Neovim config:
{
'vinitkumar/oscura-vim',
lazy = false, -- Load during startup for immediate availability
}
Add to your .vimrc
:
Plugin 'vinitkumar/oscura-vim'
- Clone or download this repository
- Copy the theme files to your colors directory:
# For Vim
mkdir -p ~/.vim/colors
cp colors/oscura*.vim ~/.vim/colors/
# For Neovim
mkdir -p ~/.config/nvim/colors
cp colors/oscura*.vim ~/.config/nvim/colors/
If you only want specific themes, download them individually:
# Download specific themes
curl -o ~/.vim/colors/oscura.vim https://raw.githubusercontent.com/vinitkumar/oscura-vim/main/colors/oscura.vim
curl -o ~/.vim/colors/oscura-light.vim https://raw.githubusercontent.com/vinitkumar/oscura-vim/main/colors/oscura-light.vim
# ... and so on for other themes
Add one of these lines to your .vimrc
or Neovim config:
" Dark themes
colorscheme oscura " Classic dark
colorscheme oscura-dusk " Dark dusk variant
" Light themes
colorscheme oscura-light " Classic light
colorscheme oscura-dusk-light " Light dusk variant
function! SetOscuraTheme()
let hour = str2nr(strftime('%H'))
if hour >= 6 && hour < 18
" Daytime - use light theme
colorscheme oscura-light
else
" Nighttime - use dark theme
colorscheme oscura
endif
endfunction
" Call on startup
call SetOscuraTheme()
" Optional: Auto-switch every hour
autocmd CursorHold * call SetOscuraTheme()
-- In your init.lua or colorscheme config
local function set_oscura_theme()
local hour = tonumber(os.date('%H'))
if hour >= 6 and hour < 18 then
vim.cmd('colorscheme oscura-light')
else
vim.cmd('colorscheme oscura')
end
end
-- Set theme on startup
set_oscura_theme()
-- Optional: Auto-switch every hour
vim.timer.start(3600000, set_oscura_theme, {repeat = true})
For better terminal integration, ensure your terminal supports true colors:
" Add to your .vimrc
set termguicolors
set background=dark " or 'light' for light themes
colorscheme oscura
" For the dusk variant
colorscheme oscura-dusk
- Vim: 7.4 or later
- Neovim: 0.5 or later
- Terminal: True color support (recommended)
- GUI: Any Vim GUI (GVim, MacVim, etc.)
# Test if your terminal supports true colors
curl -s https://raw.githubusercontent.com/termstandard/colors/master/256colors2.pl | perl
These themes work well with popular plugins:
- LSP: Language Server Protocol highlighting
- Treesitter: Advanced syntax highlighting
- Git: Fugitive, Gitsigns, etc.
- Status Lines: Lightline, Airline, Lualine
- File Explorers: NERDTree, Nvim-tree
- Fuzzy Finders: FZF, Telescope
Contributions are welcome! Here's how you can help:
- Report Issues: Found a bug or have a suggestion? Open an issue!
- Submit Pull Requests: Improvements, new features, or bug fixes
- Share Screenshots: Show off your setup with different themes
- Improve Documentation: Help make the README even better
git clone https://github.com/vinitkumar/oscura-vim.git
cd oscura-vim
# Make your changes
# Test with: vim -u NONE -c 'colorscheme oscura'
MIT License - see LICENSE file for details.
- Original Theme: Oscura by Fey
- VSCode Extension: Oscura
- Community: All contributors and users who provide feedback
⭐ If you like this colorscheme collection, please give it a star!