Skip to content
/ vim-eldar Public
forked from agude/vim-eldar

A dark color scheme for vim based on Elflord.

License

Notifications You must be signed in to change notification settings

cjxh/vim-eldar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eldar logo

Eldar is a dark color theme for Vim using bright, high-contrast colors. It is based on elflord, one of the default Vim color schemes.

Eldar looks great in both the GUI and terminal because it uses fewer than 16 colors. Eldar uses the Tango color palette in the GUI by default, but these colors can be overridden by setting g:eldar_* variables (see below). Eldar uses both colors and font weight to differentiate various elements. It is not a subtle scheme; it uses white on black text with high contrast colors.

Installation

You can install Eldar by downloading the eldar.vim file and placing it in ~/.vim/colors/, or by using whatever plugin manager you prefer. For example, with vim-plug:

Plug 'agude/vim-eldar'

You can activate the color scheme with:

:colorscheme eldar

Or put it in your .vimrc so it activates every time you open Vim:

"------------------------
" Syntax: highlighting
"------------------------
if has('syntax')
    syntax enable             " Turn on syntax highlighting
    silent! colorscheme eldar " Custom color scheme
endif

Change Colors

To change the GUI colors, simply define the appropriate g:eldar_* variable in your .vimrc before calling colorscheme:

"------------------------
" Syntax: highlighting
"------------------------
if has('syntax')
    " Override Eldar GUI colors
    g:eldar_red     = "#ff0000"
    g:eldar_yellow  = "#ffff00"
    g:eldar_green   = "#00ff00"
    g:eldar_cyan    = "#00ffff"
    g:eldar_blue    = "#0000ff"
    g:eldar_magenta = "#ff00ff"

    syntax enable             " Turn on syntax highlighting
    silent! colorscheme eldar " Custom color scheme
endif

Screenshots

Python

Example of Vim Eldar with Python

C++

Example of Vim Eldar with C++

Markdown

Example of Vim Eldar with Markdown

Diff

Example of Vim Eldar performing a diff

About

A dark color scheme for vim based on Elflord.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%