Convert Figma logo to code with AI

vim-airline logovim-airline-themes

A collection of themes for vim-airline

2,071
347
2,071
8

Top Related Projects

A light and configurable statusline/tabline plugin for Vim

lean & mean status/tabline for vim that's light as air

14,544

Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome and Qtile.

A blazing fast and easy to configure neovim statusline plugin written in pure lua.

Quick Overview

vim-airline-themes is a companion repository for vim-airline, providing a collection of themes for the popular Vim status line plugin. It offers a wide variety of color schemes and styles to customize the appearance of vim-airline, allowing users to match their Vim status line with their preferred color scheme or overall editor theme.

Pros

  • Large selection of pre-made themes
  • Easy integration with vim-airline
  • Customizable and extendable
  • Active community and regular updates

Cons

  • Requires vim-airline to be installed and configured
  • Some themes may not be compatible with all terminal color schemes
  • Can potentially slow down Vim startup time if many themes are installed

Getting Started

  1. Install vim-airline and vim-airline-themes using your preferred Vim plugin manager. For example, using vim-plug:
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
  1. Add the following to your .vimrc file to set a theme:
let g:airline_theme='<theme_name>'

Replace <theme_name> with the name of the desired theme (e.g., 'solarized', 'molokai', 'tomorrow').

  1. Restart Vim or source your .vimrc file to apply the changes.

Competitor Comparisons

A light and configurable statusline/tabline plugin for Vim

Pros of lightline.vim

  • Lightweight and fast performance
  • Highly customizable without relying on predefined themes
  • No external dependencies, works out of the box

Cons of lightline.vim

  • Less extensive theme collection compared to vim-airline-themes
  • Requires more manual configuration for advanced setups
  • Fewer built-in integrations with other plugins

Code Comparison

vim-airline-themes:

let g:airline_theme='solarized'
let g:airline#extensions#tabline#enabled = 1
let g:airline_powerline_fonts = 1

lightline.vim:

let g:lightline = {
      \ 'colorscheme': 'wombat',
      \ 'active': {
      \   'left': [ [ 'mode', 'paste' ],
      \             [ 'readonly', 'filename', 'modified' ] ]
      \ }
      \ }

Both vim-airline-themes and lightline.vim are popular statusline plugins for Vim and Neovim. vim-airline-themes offers a vast collection of pre-made themes and integrations, making it easier to achieve a polished look quickly. On the other hand, lightline.vim provides a more minimalist approach, focusing on performance and customization.

While vim-airline-themes excels in out-of-the-box aesthetics and plugin integrations, lightline.vim shines in its simplicity and flexibility. Users who prefer a lightweight solution with fine-grained control over their statusline appearance may find lightline.vim more appealing, whereas those who want a feature-rich, theme-oriented experience might lean towards vim-airline-themes.

lean & mean status/tabline for vim that's light as air

Pros of vim-airline

  • More comprehensive and feature-rich statusline plugin
  • Includes built-in functionality for displaying various information
  • Actively maintained with frequent updates and bug fixes

Cons of vim-airline

  • Larger codebase, potentially impacting performance
  • More complex configuration due to numerous options
  • May require additional setup for certain features

Code Comparison

vim-airline:

let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#branch#enabled = 1
let g:airline_powerline_fonts = 1

vim-airline-themes:

let g:airline_theme = 'solarized'
let g:airline_solarized_bg = 'dark'

Summary

vim-airline is a full-featured statusline plugin for Vim, offering extensive customization options and built-in functionality. It provides a rich set of features out of the box, including support for various plugins and integrations.

vim-airline-themes, on the other hand, is a companion repository specifically focused on providing color schemes for vim-airline. It offers a wide range of themes to customize the appearance of the statusline created by vim-airline.

While vim-airline provides the core functionality and structure for the statusline, vim-airline-themes complements it by offering visual customization options. Users often use both repositories together to create a fully customized and visually appealing Vim statusline.

14,544

Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome and Qtile.

Pros of Powerline

  • More versatile, supporting multiple applications beyond Vim (e.g., shells, tmux)
  • Highly customizable with a rich set of configuration options
  • Written in Python, allowing for more complex functionality

Cons of Powerline

  • Requires Python installation and setup, which can be complex for some users
  • Generally heavier and slower than Vim-specific alternatives
  • Less frequently updated compared to Vim-airline-themes

Code Comparison

Powerline configuration (Python):

from powerline import Powerline
powerline = Powerline()
powerline.theme = "default"
powerline.colorscheme = "default"

Vim-airline-themes configuration (Vimscript):

let g:airline_theme='solarized'
let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#enabled = 1

Summary

Powerline is a more comprehensive statusline plugin that works across multiple applications, offering extensive customization options. However, it requires Python and can be more complex to set up. Vim-airline-themes, on the other hand, is specifically designed for Vim, making it lighter and easier to configure for Vim users. It offers a wide range of themes and is more frequently updated. The choice between the two depends on whether you need cross-application support and are willing to deal with a more complex setup, or if you prefer a simpler, Vim-specific solution.

A blazing fast and easy to configure neovim statusline plugin written in pure lua.

Pros of lualine.nvim

  • Written in Lua, offering better performance and easier configuration
  • More customizable with a wider range of built-in components
  • Actively maintained with frequent updates and new features

Cons of lualine.nvim

  • Requires Neovim 0.5+ and Lua knowledge for advanced customization
  • Smaller community and fewer pre-made themes compared to vim-airline-themes

Code Comparison

vim-airline-themes:

let g:airline_theme='solarized'
let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#enabled = 1

lualine.nvim:

require('lualine').setup {
  options = { theme = 'solarized' },
  sections = {
    lualine_a = {'mode'},
    lualine_b = {'branch', 'diff', 'diagnostics'},
    lualine_c = {'filename'}
  }
}

Summary

lualine.nvim offers improved performance and customization options for Neovim users comfortable with Lua. It provides a modern alternative to vim-airline-themes with active development and a growing ecosystem. However, it has a steeper learning curve and fewer pre-made themes. vim-airline-themes remains a solid choice for Vim users or those preferring VimScript configuration. The choice between the two depends on your editor preference, desired features, and willingness to learn Lua for advanced customization.

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

vim-airline-themes Build Status reviewdog

This is the official theme repository for vim-airline

Installation

This plugin follows the standard runtime path structure, and as such it can be installed with a variety of plugin managers:

Plugin ManagerInstall with...
Pathogengit clone https://github.com/vim-airline/vim-airline-themes ~/.vim/bundle/vim-airline-themes
Remember to run :Helptags to generate help tags
NeoBundleNeoBundle 'vim-airline/vim-airline-themes'
VundlePlugin 'vim-airline/vim-airline-themes'
PlugPlug 'vim-airline/vim-airline-themes'
VAMcall vam#ActivateAddons([ 'vim-airline-themes' ])
Deincall dein#add('vim-airline/vim-airline-themes')
minpaccall minpac#add('vim-airline/vim-airline-themes')
pack feature (native Vim 8 package feature)git clone https://github.com/vim-airline/vim-airline-themes ~/.vim/pack/dist/start/vim-airline-themes
Remember to run :helptags ~/.vim/pack/dist/start/vim-airline-themes/doc to generate help tags
manualcopy all of the files into your ~/.vim directory

Using a Theme

Once installed, use :AirlineTheme <theme> to set the theme, e.g. :AirlineTheme simple

To set in .vimrc, use let g:airline_theme='<theme>', e.g. let g:airline_theme='simple'

Note: The command :AirlineTheme is only available, if you have also cloned and installed the main vim-airline repository.

Contribution Guidelines

New themes

  • Pull requests for new themes are welcome. Please be sure to include a screenshot. You can paste an image into issue #1, and then editing the post to reveal the uploaded image URL. Please don't forgot to update the documentation.

Modifications to existing themes

  • Themes are subjective, so if you are going to make modifications to an existing theme, please expose a configurable variable to allow users to choose how the theme will react.

Screenshots

Screenshots are in the process of being migrated here. In the meantime you can find screenshots in the existing repository's Wiki.

Maintenance

If you are interested in becoming the official maintainer of this project, please contact @bling, @chrisbra, or @mhartington.

License

MIT License. Copyright (c) 2013-2021 Bailey Ling & Contributors.