Convert Figma logo to code with AI

ayu-theme logoayu-vim

Modern theme for modern VIMs

1,671
185
1,671
24

Top Related Projects

1,321

🧛🏻‍♂️ Dark theme for Vim

13,627

Retro groove color scheme for Vim

A dark Vim/Neovim color scheme inspired by Atom's One Dark syntax theme.

2,514

An arctic, north-bluish clean and elegant Vim theme.

1,984

Adaptation of one-light and one-dark colorschemes for Vim

:art: Light & Dark Vim color schemes inspired by Google's Material Design

Quick Overview

Ayu-vim is a modern color scheme for Vim and Neovim, inspired by the Ayu theme for Sublime Text. It offers three variants: light, mirage, and dark, providing a clean and visually appealing coding experience across different lighting conditions.

Pros

  • Offers three distinct color variants to suit different preferences and environments
  • Provides excellent syntax highlighting for a wide range of programming languages
  • Designed with readability and eye comfort in mind
  • Actively maintained and compatible with popular plugin ecosystems

Cons

  • May require additional configuration for optimal appearance in some terminal emulators
  • Limited customization options compared to some other color schemes
  • Some users may find the color palette too subtle or lacking in contrast

Getting Started

To install ayu-vim using a plugin manager like vim-plug, add the following to your .vimrc or init.vim:

Plug 'ayu-theme/ayu-vim'

Then, set the color scheme in your configuration file:

set termguicolors     " enable true colors support
let ayucolor="light"  " for light version of theme
" let ayucolor="mirage" " for mirage version of theme
" let ayucolor="dark"   " for dark version of theme
colorscheme ayu

After saving the changes, run :PlugInstall in Vim to install the plugin, and restart Vim for the changes to take effect.

Competitor Comparisons

1,321

🧛🏻‍♂️ Dark theme for Vim

Pros of Dracula

  • More extensive language support with syntax highlighting for over 80 languages
  • Larger community and more frequent updates
  • Consistent theme across multiple applications beyond Vim

Cons of Dracula

  • Less customization options compared to Ayu
  • Higher resource usage due to more complex color schemes
  • May not blend as well with minimalist setups

Code Comparison

Ayu-vim:

let g:ayu_color_override = {
  \ 'bg': { 'dark': '#0F1419', 'light': '#FAFAFA' },
  \ 'comment': { 'dark': '#5C6773', 'light': '#ABB0B6' },
}

Dracula:

let g:dracula_colorterm = 0
let g:dracula_italic = 0
let g:dracula_bold = 1
let g:dracula_underline = 1
let g:dracula_undercurl = 1

Both themes offer easy configuration, but Ayu provides more granular color overrides, while Dracula focuses on style toggles.

13,627

Retro groove color scheme for Vim

Pros of Gruvbox

  • More extensive color scheme options with light and dark variants
  • Wider language support and syntax highlighting
  • Larger community and more frequent updates

Cons of Gruvbox

  • Higher resource usage due to more complex color definitions
  • Steeper learning curve for customization
  • Less modern aesthetic compared to Ayu's sleek design

Code Comparison

Gruvbox color definition:

let s:gb.dark0_hard  = ['#1d2021', 234]     " 29-32-33
let s:gb.dark0       = ['#282828', 235]     " 40-40-40
let s:gb.dark0_soft  = ['#32302f', 236]     " 50-48-47
let s:gb.dark1       = ['#3c3836', 237]     " 60-56-54
let s:gb.dark2       = ['#504945', 239]     " 80-73-69

Ayu color definition:

let s:palette.bg        = {'dark': "#0F1419",  'light': "#FAFAFA",  'mirage': "#212733"}
let s:palette.comment   = {'dark': "#5C6773",  'light': "#ABB0B6",  'mirage': "#5C6773"}
let s:palette.markup    = {'dark': "#F07178",  'light': "#F07178",  'mirage': "#F07178"}
let s:palette.constant  = {'dark': "#FFEE99",  'light': "#A37ACC",  'mirage': "#D4BFFF"}

Both themes offer comprehensive color schemes, but Gruvbox provides more granular control over color variations, while Ayu focuses on a simpler, more streamlined approach with its three main variants (dark, light, and mirage).

A dark Vim/Neovim color scheme inspired by Atom's One Dark syntax theme.

Pros of onedark.vim

  • More extensive syntax highlighting support for various languages
  • Includes support for popular plugins like airline, lightline, and fzf
  • Offers a wider range of color schemes (light and dark variants)

Cons of onedark.vim

  • Less customization options compared to ayu-vim
  • May have a steeper learning curve for configuration

Code Comparison

onedark.vim:

let g:onedark_color_overrides = {
\ "black": {"gui": "#2F343F", "cterm": "235", "cterm16": "0" },
\ "purple": { "gui": "#C678DD", "cterm": "170", "cterm16": "5" }
\}

ayu-vim:

let ayucolor="light"  " for light version of theme
let ayucolor="mirage" " for mirage version of theme
let ayucolor="dark"   " for dark version of theme

Both themes offer easy configuration options, but ayu-vim's setup is more straightforward for switching between light, mirage, and dark variants. onedark.vim provides more granular control over individual color overrides, which can be beneficial for users who want to fine-tune their color scheme.

2,514

An arctic, north-bluish clean and elegant Vim theme.

Pros of vim

  • More comprehensive documentation and setup instructions
  • Larger community and more frequent updates
  • Supports a wider range of plugins and integrations

Cons of vim

  • Slightly more complex setup process
  • May require more system resources due to its extensive features
  • Less vibrant and colorful compared to ayu-vim's aesthetic

Code Comparison

vim color scheme example:

let g:nord_cursor_line_number_background = 1
let g:nord_uniform_status_lines = 1
let g:nord_bold_vertical_split_line = 1
let g:nord_uniform_diff_background = 1
let g:nord_bold = 1

ayu-vim color scheme example:

let ayucolor="light"  " for light version of theme
let ayucolor="mirage" " for mirage version of theme
let ayucolor="dark"   " for dark version of theme
colorscheme ayu

Both themes offer easy customization options, but vim provides more granular control over various elements. ayu-vim focuses on simplicity with its three main variants. vim's setup allows for finer adjustments to specific UI components, while ayu-vim offers a more straightforward approach to theme selection.

1,984

Adaptation of one-light and one-dark colorschemes for Vim

Pros of vim-one

  • Offers both light and dark color schemes, providing more versatility
  • Includes support for various plugins and language-specific highlighting
  • Has a larger user base and more frequent updates

Cons of vim-one

  • Less vibrant and distinctive color palette compared to ayu-vim
  • May require additional configuration for optimal appearance in some terminals
  • Doesn't offer multiple variants like ayu-vim (light, dark, and mirage)

Code Comparison

vim-one:

let g:one_allow_italics = 1
colorscheme one
set background=dark

ayu-vim:

let ayucolor="mirage"
colorscheme ayu

Both themes are easy to implement, but ayu-vim offers a simpler way to switch between variants using the ayucolor variable. vim-one requires changing the background setting to switch between light and dark modes.

Overall, vim-one provides more flexibility and wider support, while ayu-vim offers a more unique and visually striking appearance with its distinct color variants. The choice between the two largely depends on personal preference and specific use cases.

:art: Light & Dark Vim color schemes inspired by Google's Material Design

Pros of PaperColor Theme

  • More color schemes available (light and dark variants)
  • Broader language support with syntax highlighting
  • Active community with frequent updates and contributions

Cons of PaperColor Theme

  • Less modern and sleek appearance compared to Ayu
  • May require more configuration to achieve desired look
  • Limited integration with other tools and plugins

Code Comparison

PaperColor Theme:

let g:PaperColor_Theme_Options = {
  \   'theme': {
  \     'default': {
  \       'transparent_background': 1
  \     }
  \   }
  \ }

Ayu:

let ayucolor="light"  " for light version of theme
let ayucolor="mirage" " for mirage version of theme
let ayucolor="dark"   " for dark version of theme

Both themes offer easy customization options, but PaperColor provides more granular control over theme elements, while Ayu focuses on simplicity with predefined color schemes.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

🌟🌟🌟 Looking for a maintainer. 🌟🌟🌟 This project needs your care and knowledge of VIM. Open an issue if you want to take that role.

ayu-vim

Warning

ayu is still in development and a lot of things need to be covered. Theme works only if VIM supports termguicolors option. This is true for Neovim and VIM from 7.4.1799.

Installation

Plug 'ayu-theme/ayu-vim' " or other package manager
"...
set termguicolors     " enable true colors support
let ayucolor="light"  " for light version of theme
let ayucolor="mirage" " for mirage version of theme
let ayucolor="dark"   " for dark version of theme
colorscheme ayu

Term colors

For now In /term you can find color schemes for iTerm. More to come.

Indent line

To get indent line like in the screenshot install https://github.com/Yggdroot/indentLine with my version of Roboto Mono for Powerline from this repo and add this config. In this Roboto Mono version added powerline glyphs and increased line-height of the font itself.

" IndentLine {{
let g:indentLine_char = ''
let g:indentLine_first_char = ''
let g:indentLine_showFirstIndentLevel = 1
let g:indentLine_setColors = 0
" }}