Skip to content

vim-scripts/Nefertiti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Nefertiti

A warm dark-background color scheme for Vim, featuring dynamic control of brightness-levels as needed.

Brighten select (normal and syntax) colors with ":NefertitiBrighten", or darken them with ":NefertitiDarken". Conveniently bound to "META-2" and "META-1", respectively, but you can, of course, suppress the key mappings and/or replace them with others of your own preference.

NOTE: GUI Vim only at the present time.

Installation

$ cd ~/.vim/bundle
$ git clone git://github.com/jeetsukumaran/vim-nefertiti
:BundleInstall jeetsukumaran/vim-nefertiti

Manually

Copy the file "colors/nefertiti.vim" to your "~.vim/colors/" subdirectory.

Usage

As with any other color scheme, simply use the ":colorscheme" command, e.g.:

:colors nefertiti

To set the color scheme permanently, add the following to your "~/.vimrc":

if has("gui")
    colorscheme nefertiti
endif

Three commands are provided to control the brightness levels: ":NefertitiBrighten", ":NefertitiDarken", and "NefertitiReset"; see the help for more details.

By default, "META-2" ("ALT-2" on some keyboards) increases the brightness of the text while "META-1" ("ALT-1" on some keyboards) decreases the brightness of text. These key-mappings can be suppressed and or customized: see the help for more details.

Note that for the default (or any other "META" or "ALT") key mappings to work, if you are using MacVim, you will also need something like the following in your "~/.vimrc":

if has("gui_macvim")
    set macmeta
endif

Samples

About

Dark-background Vim Color Scheme with Dynamic Brightness Control (GUI-only)

Resources

Stars

Watchers

Forks

Packages

No packages published