https://github.com/andreasvc/vim-256noir
A dark 256-color colorscheme for vim
https://github.com/andreasvc/vim-256noir
Last synced: 2 months ago
JSON representation
A dark 256-color colorscheme for vim
- Host: GitHub
- URL: https://github.com/andreasvc/vim-256noir
- Owner: andreasvc
- Created: 2014-02-03T23:18:38.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-01-10T18:20:24.000Z (over 2 years ago)
- Last Synced: 2023-11-07T21:19:48.435Z (over 1 year ago)
- Language: Vim script
- Size: 29.3 KB
- Stars: 136
- Watchers: 5
- Forks: 27
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
- awesome-ccamel - andreasvc/vim-256noir - A dark 256-color colorscheme for vim (Vim Script)
README
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``:.. code-block:: vim
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.. image:: screenshot.png
:alt: screenshot of vim with noir colorschemeThe font in the above screenshots is the default xterm bitmap font
`fixed `_ at 6x13.Bonus
-----
- `mc `_, add the following to e.g. ``~/.bashrc``:.. code-block:: bash
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 defaultOther recommended terminal apps with dark colors by default:
- https://ranger.github.io/
- http://hisham.hm/htop/
- https://github.com/andreasvc/cplay/