Git Product home page Git Product logo

vim-256noir's Introduction

vim-256noir

A dark 256-color color scheme for vim.

Have you ever wondered why most syntax highlighting of source code is about as subtle and pretty as a candy shop explosion? A technical reason is the historical constraints imposed by 16 color terminals, but fortunately this limitation is easy to overcome.

Features

  • Minimal colors, to avoid distracting:
    • Shades of gray for most elements
    • Bright keywords to highlight structure.
    • Dark comments & strings to emphasize surrounding code.
    • Red for exceptional elements (constants & errors)
  • Works in vim and gvim. Rudimentary support for 16-color terminals.

Usage

  • Enable 256 colors in vim. Note that when using ssh, both client and server need to be properly configured.
  • Put 256_noir.vim in ~/.vim/colors/
  • Add the following to ~/.vimrc:
colorscheme 256_noir

" Change highlighting of cursor line when entering/leaving Insert Mode
set cursorline
highlight CursorLine cterm=NONE ctermfg=NONE ctermbg=233 guifg=NONE guibg=#121212
autocmd InsertEnter * highlight CursorLine cterm=NONE ctermfg=NONE ctermbg=234 guifg=NONE guibg=#1c1c1c
autocmd InsertLeave * highlight CursorLine cterm=NONE ctermfg=NONE ctermbg=233 guifg=NONE guibg=#121212

screenshot of vim with noir colorscheme

The font in the above screenshots is the default xterm bitmap font fixed at 6x13.

Bonus

  • mc, add the following to e.g. ~/.bashrc:

    export MC_SKIN=dark
  • mutt, add the following to ~/.muttrc:

    color normal      white default
    color status      black white
    color indicator   white red
    color hdrdefault  yellow default
    color signature   yellow default
    color attachment  brightyellow default
    color markers     brightred default
    color quoted      green default
    color tilde       blue default
    color tree        red default
    

Other recommended terminal apps with dark colors by default:

vim-256noir's People

Contributors

andreasvc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.