kittykatattack / mirodark

A Vim color scheme based on Jason W Ryan's miromiro Vim color file and dark terminal color scheme.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vim Color File
==============

Name:        mirodark
Version:     0.5
Last Change: 11-16-2013
Maintainer:  Jerome Castaneda <djjcast@gmail.com>
URL:         https://github.com/djjcast/mirodark

About:       mirodark extends Jason W Ryan's miromiro(1) Vim color file with gVim, Linux console,
             xterm-88color, and xterm-256color support. mirodark uses Jason W Ryan's dark(2)
             terminal color scheme colors. mirodark uses Henry So, Jr.'s desert256(3) color
             approximation functions.

             1) https://bitbucket.org/jasonwryan/eeepc/src/40f27908ce98/.vim/colors/miromiro.vim
             2) https://bitbucket.org/jasonwryan/eeepc/src/40f27908ce98/.colours/dark
             3) http://www.vim.org/scripts/script.php?script_id=1243

Usage
=====

Installation:

1) Add mirodark.vim to your ~/.vim/colors directory.
2) Add the following to your ~/.vimrc file:

    syntax on
    colorscheme mirodark

Terminal Support:

mirodark uses color approximation functions to support xterm-88color and xterm-256color. If you
are not using xterm-88color or xterm-256color, then follow these instructions to set up your
terminal to use mirodark's color scheme. Also, if you are using xterm-88color or xterm-256color
but you want your terminal to use mirodark's color scheme, then follow these instructions.

1) If you are using a terminal that sets its color settings based on your ~/.Xresources file, like
   xterm or rxvt-unicode, then add the following to your ~/.Xresources file. If you are not using
   a terminal that sets its color settings based on your ~/.Xresources file, like gnome-terminal
   or konsole, then set its color settings to the following color values manually.

    !
    ! Terminal Color Scheme: dark
    !
    ! Maintainer: Jason W Ryan <http://jasonwryan.com/>
    !
    ! higher contrast background
    !*background: #000000
    *background: #121212
    *foreground: #999999
    ! black dark/light
    ! higher contrast black dark/light
    !*color0:     #121212
    !*color8:     #3d3d3d
    *color0:     #3d3d3d
    *color8:     #5e5e5e
    ! red dark/light
    *color1:     #8a2f58
    *color9:     #cf4f88
    ! green dark/light
    *color2:     #287373
    *color10:    #53a6a6
    ! yellow dark/light
    *color3:     #914e89
    *color11:    #bf85cc
    ! blue dark/light
    *color4:     #395573
    *color12:    #4779b3
    ! magenta dark/light
    *color5:     #5e468c
    *color13:    #7f62b3
    ! cyan dark/light
    *color6:     #2b7694
    *color14:    #47959e
    ! white dark/light
    *color7:     #899ca1
    *color15:    #c0c0c0

2) If you are using xterm-88color or xterm-256color, then add the following to your ~/.vimrc file,
   before 'colorscheme mirodark':

    let g:mirodark_disable_color_approximation=1

Linux Console Support:

1) Add the following to your ~/.bashrc file:

    #
    # Linux Console Color Scheme: dark
    #
    # Maintainer: Jason W Ryan <http://jasonwryan.com/>
    #
    if [[ $TERM == "linux" ]]; then
        echo -en "\033]P0000000" # black
        echo -en "\033]P85e5e5e" # darkgray
        echo -en "\033]P18a2f58" # darkred
        echo -en "\033]P9cf4f88" # lightred
        echo -en "\033]P2287373" # darkgreen
        echo -en "\033]Pa53a6a6" # lightgreen
        echo -en "\033]P3914e89" # darkyellow
        echo -en "\033]Pbbf85cc" # lightyellow
        echo -en "\033]P4395573" # darkblue
        echo -en "\033]Pc4779b3" # lightblue
        echo -en "\033]P55e468c" # darkmagenta
        echo -en "\033]Pd7f62b3" # lightmagenta
        echo -en "\033]P62b7694" # darkcyan
        echo -en "\033]Pe47959e" # lightcyan
        echo -en "\033]P7899ca1" # lightgray
        echo -en "\033]Pfc0c0c0" # white
    fi

Enable Higher Contrast Mode:

NOTE: Enabling Higher Contrast Mode only affects mirodark in xterm-256color and xterm-88color,
      assuming you did not disable color approximation, and gVim.

1) Add the following to your ~/.vimrc file, before 'colorscheme mirodark':

    let g:mirodark_enable_higher_contrast_mode=1

2) If you want to easily toggle Higher Contrast Mode on and off, then add the following to your
   ~/.vimrc file:

    nnoremap <Leader>m :MirodarkToggleHigherContrastMode<CR>

Contact
=======

Maintainer: Jerome Castaneda <djjcast@gmail.com>

URL: https://github.com/djjcast/mirodark

License
=======

The MIT License (MIT)

Copyright (c) 2013 Jerome Castaneda <djjcast@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A Vim color scheme based on Jason W Ryan's miromiro Vim color file and dark terminal color scheme.