These are the Vim commands applied to the flattened_dark colour scheme (commit 86656af) in order to transmogrify it into vim-crunchbang.
1 | d4 |
7s/flattened_dark/crunchbang/ |
%s/002b36/2e3436/g |
%s/073642/3b4245/g |
%s/586e75/999999/g |
%s/657b83/acacac/g |
%s/839496/bfbfbf/g |
%s/93a1a1/dfdfdf/g |
%s/eee8d5/e6e6e6/g |
%s/fdf6e3/ffffff/g |
%s/dc322f/c48d93/g |
%s/cb4b16/bf9277/g |
%s/b58900/ab9a6a/g |
%s/859900/6fa868/g |
%s/719e07/6fa868/g |
%s/2aa198/68a6a8/g |
%s/268bd2/75a0bd/g |
%s/6c71c4/a793c4/g |
%s/d33682/bd8ea1/g |
18s/ctermbg=12/ctermbg=10/ |
18s/guibg=#bfbfbf/guibg=#999999/ |
21s/ctermfg=11/ctermfg=12/ |
21s/guifg=yellow/guifg=#bfbfbf/ |
21s/gui=NONE/gui=bold/ |
54s/ctermfg=14/ctermfg=10/ |
54s/ctermbg=0/ctermbg=8/ |
54s/guifg=#dfdfdf/guifg=#999999/ |
54s/guibg=#3b4245/guibg=#2e3436/ |
call append(321,["",
"\" This colour scheme was generated by modifying the 'flattened_dark' colour",
"\" scheme by Romain Lafourcade (https://github.com/romainl/flattened), which",
"\" is in turn derived from the 'Solarized' colour scheme by Ethan Schnoonover",
"\" (https://github.com/altercation/vim-colors-solarized)."])
Each block of above code alters the original colour scheme in the following ways:
- comments are removed
- theme name is changed
- colours are switched
- colours assigned to certain elements are changed
- cursor background
- current line number text
- status line text and background
- a credit comment block is appended