• Stars
    star
    161
  • Rank 233,470 (Top 5 %)
  • Language
    Vim Script
  • Created almost 11 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A dark 256-color colorscheme for vim

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:

More Repositories

1

roaringbitmap

Roaring Bitmap in Cython
Cython
79
star
2

disco-dop

Discontinuous Data-Oriented Parsing
Python
46
star
3

dutchcoref

Dutch coreference resolution & dialogue analysis using deterministic rules
Python
21
star
4

seekaywhy

A probabilistic CKY parser for PCFGs
Python
19
star
5

eodop

Data-Oriented Parsing implementation for NLTK applied to Esperanto morphology and syntax
TeX
10
star
6

pdfbrowse

A simple AJAX PDF viewer and browser
Python
8
star
7

subsequences

Extract longest common subsequences from texts
Python
7
star
8

codingforhumanities

Coding for Humanities course materials
Jupyter Notebook
6
star
9

fmindex

Efficient substring searches on text corpora using a compressed index
C++
5
star
10

activedop

A treebank annotation tool based on a statistical parser that is re-trained during annotation
Python
4
star
11

litvecspace

Accompanying code for the paper "Vector space explorations of literary language"
Jupyter Notebook
4
star
12

dop-transformations

Transformations with Data-Oriented Parsing
Python
3
star
13

tgrep2

Fork of tgrep2
C
3
star
14

literariness

Code for the paper "A data-oriented model of literary language"
Python
2
star
15

udstyle

Compute complexity metrics from Universal Dependencies
Python
2
star
16

authident

Authorship attribution with syntactic fragments
Python
2
star
17

ethnlpgender

Code for paper "Bias and Fairness in Authorial Gender Attribution"
Jupyter Notebook
2
star
18

kinglit

Code for the paper "Stylometric Literariness Classification: the Case of Stephen King"
Jupyter Notebook
2
star
19

qrinductionsplit

Splitting qualitative process models as produced by model induction using a behavior graph
TeX
2
star
20

diction

diction / style UNIX utitlities
C
2
star
21

litcliches

Code for the paper "Cliche expressions in literary and genre novels"
Jupyter Notebook
1
star
22

litquest

Code and data for LaTeCH 2020 paper on a literariness questionnaire
Jupyter Notebook
1
star
23

dutchlitpreproc

Preprocessing pipeline for Dutch literature
Python
1
star
24

openboek

The OpenBoek corpus
1
star
25

fictiongenres

Code and data for the chapter "Computational Methods for the Analysis of Fiction Genres"
Jupyter Notebook
1
star