A warm dark-background color scheme for Vim (previously known as "MochaLatte"), featuring dynamic control of brightness-levels as needed.
Brighten select (normal and syntax) colors with "
darken them with "
:NefertitiDarken". Conveniently bound to "
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.
$ cd ~/.vim/bundle $ git clone git://github.com/jeetsukumaran/vim-nefertiti
Copy the file "
colors/nefertiti.vim" to your "
Updating from "MochaLatte"
This color scheme was previously known as "MochaLatte", as was the repository. If you cloned this repository from its "MochaLatte" days, everything should still work fine, though you will probably need to update your "~/.vimrc" to set the color scheme correctly.
If you installed this color scheme as a Git submodule, you might want to update by:
$ cd ~/.vim/bundle $ git submodule deinit vim-mochalatte $ git submodule add git://github.com/jeetsukumaran/vim-nefertiti vim-nefertiti $ git commit -a -m "Updated MochaLatte to Nefertiti"
As with any other color scheme, simply use the "
:colorscheme" command, e.g.:
To set the color scheme permanently, add the following to your "
if has("gui") colorscheme nefertiti endif
Three commands are provided to control the brightness levels: "
:NefertitiDarken", and "
NefertitiReset"; see the help for more details.
By default, "
ALT-2" on some keyboards) increases the brightness of the text while "
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 "
if has("gui_macvim") set macmeta endif