created
last commit
_ repositories
created
last commit
created
last commit
created
last commit
created
last commit
created
last commit
created
last commit
created
last commit
created
last commit
created
last commit
created
last commit
1419 repositories
12
set background=colorschemeNORMAL.vimrcunixutf-80%0:2
123456789101112
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet l:raw_color = trim(a:color, '#')let l:red = str2nr(substitute(l:raw_color, '.{0}(.{2})', '1', 'g'), 16)let l:green = str2nr(substitute(l:raw_color, '.{2}(.{2}).{2}', '1', 'g'), 16)let l:blue = str2nr(substitute(l:raw_color, '.{4}(.{2})', '1', 'g'), 16)let l:brightness = ((l:red * 299) + (l:green * 587) + (l:blue * 114)) / 1000return l:brightness > 155endfunctionNORMALcode.vimunixutf-850%6:12
88
A vim color scheme based on xoria256
created almost 13 years ago
last commit almost 9 years ago
12
set background=colorschemeNORMAL.vimrcunixutf-80%0:2
123456789101112
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet l:raw_color = trim(a:color, '#')let l:red = str2nr(substitute(l:raw_color, '.{0}(.{2})', '1', 'g'), 16)let l:green = str2nr(substitute(l:raw_color, '.{2}(.{2}).{2}', '1', 'g'), 16)let l:blue = str2nr(substitute(l:raw_color, '.{4}(.{2})', '1', 'g'), 16)let l:brightness = ((l:red * 299) + (l:green * 587) + (l:blue * 114)) / 1000return l:brightness > 155endfunctionNORMALcode.vimunixutf-850%6:12
5
full bodied vim color scheme
created about 7 years ago
last commit 9 months ago
12
set background=colorschemeNORMAL.vimrcunixutf-80%0:2
123456789101112
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet l:raw_color = trim(a:color, '#')let l:red = str2nr(substitute(l:raw_color, '.{0}(.{2})', '1', 'g'), 16)let l:green = str2nr(substitute(l:raw_color, '.{2}(.{2}).{2}', '1', 'g'), 16)let l:blue = str2nr(substitute(l:raw_color, '.{4}(.{2})', '1', 'g'), 16)let l:brightness = ((l:red * 299) + (l:green * 587) + (l:blue * 114)) / 1000return l:brightness > 155endfunctionNORMALcode.vimunixutf-850%6:12
1
Useful plugins, themes and settings for the popular code editor.
created about 13 years ago
last commit about 13 years ago
12
set background=colorschemeNORMAL.vimrcunixutf-80%0:2
123456789101112
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet l:raw_color = trim(a:color, '#')let l:red = str2nr(substitute(l:raw_color, '.{0}(.{2})', '1', 'g'), 16)let l:green = str2nr(substitute(l:raw_color, '.{2}(.{2}).{2}', '1', 'g'), 16)let l:blue = str2nr(substitute(l:raw_color, '.{4}(.{2})', '1', 'g'), 16)let l:brightness = ((l:red * 299) + (l:green * 587) + (l:blue * 114)) / 1000return l:brightness > 155endfunctionNORMALcode.vimunixutf-850%6:12
26
Themes for (Mac)VIM
created about 10 years ago
last commit over 8 years ago
12
set background=colorschemeNORMAL.vimrcunixutf-80%0:2
123456789101112
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet l:raw_color = trim(a:color, '#')let l:red = str2nr(substitute(l:raw_color, '.{0}(.{2})', '1', 'g'), 16)let l:green = str2nr(substitute(l:raw_color, '.{2}(.{2}).{2}', '1', 'g'), 16)let l:blue = str2nr(substitute(l:raw_color, '.{4}(.{2})', '1', 'g'), 16)let l:brightness = ((l:red * 299) + (l:green * 587) + (l:blue * 114)) / 1000return l:brightness > 155endfunctionNORMALcode.vimunixutf-850%6:12
2
A dark theme with low contrast for vim/neovim
created over 3 years ago
last commit almost 3 years ago
12
set background=colorschemeNORMAL.vimrcunixutf-80%0:2
123456789101112
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet l:raw_color = trim(a:color, '#')let l:red = str2nr(substitute(l:raw_color, '.{0}(.{2})', '1', 'g'), 16)let l:green = str2nr(substitute(l:raw_color, '.{2}(.{2}).{2}', '1', 'g'), 16)let l:blue = str2nr(substitute(l:raw_color, '.{4}(.{2})', '1', 'g'), 16)let l:brightness = ((l:red * 299) + (l:green * 587) + (l:blue * 114)) / 1000return l:brightness > 155endfunctionNORMALcode.vimunixutf-850%6:12
2
A dark background color scheme, with light color for text comments
created about 14 years ago
last commit over 22 years ago
12
set background=colorschemeNORMAL.vimrcunixutf-80%0:2
123456789101112
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet l:raw_color = trim(a:color, '#')let l:red = str2nr(substitute(l:raw_color, '.{0}(.{2})', '1', 'g'), 16)let l:green = str2nr(substitute(l:raw_color, '.{2}(.{2}).{2}', '1', 'g'), 16)let l:blue = str2nr(substitute(l:raw_color, '.{4}(.{2})', '1', 'g'), 16)let l:brightness = ((l:red * 299) + (l:green * 587) + (l:blue * 114)) / 1000return l:brightness > 155endfunctionNORMALcode.vimunixutf-850%6:12
3
Black and White cterm color scheme
created about 14 years ago
last commit over 22 years ago
12
set background=colorschemeNORMAL.vimrcunixutf-80%0:2
123456789101112
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet l:raw_color = trim(a:color, '#')let l:red = str2nr(substitute(l:raw_color, '.{0}(.{2})', '1', 'g'), 16)let l:green = str2nr(substitute(l:raw_color, '.{2}(.{2}).{2}', '1', 'g'), 16)let l:blue = str2nr(substitute(l:raw_color, '.{4}(.{2})', '1', 'g'), 16)let l:brightness = ((l:red * 299) + (l:green * 587) + (l:blue * 114)) / 1000return l:brightness > 155endfunctionNORMALcode.vimunixutf-850%6:12
3
A simple monochrome colorscheme for vim.
created almost 5 years ago
last commit about 4 years ago
12
vim.o.background = ""vim.cmd.colorscheme ""NORMALinit.luaunixutf-80%0:2
123456789101112
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet l:raw_color = trim(a:color, '#')let l:red = str2nr(substitute(l:raw_color, '.{0}(.{2})', '1', 'g'), 16)let l:green = str2nr(substitute(l:raw_color, '.{2}(.{2}).{2}', '1', 'g'), 16)let l:blue = str2nr(substitute(l:raw_color, '.{4}(.{2})', '1', 'g'), 16)let l:brightness = ((l:red * 299) + (l:green * 587) + (l:blue * 114)) / 1000return l:brightness > 155endfunctionNORMALcode.vimunixutf-850%6:12
229
Neovim colorscheme using Gnome Adwaita syntax
created over 2 years ago
last commit 7 months ago
12
set background=colorschemeNORMAL.vimrcunixutf-80%0:2
123456789101112
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet l:raw_color = trim(a:color, '#')let l:red = str2nr(substitute(l:raw_color, '.{0}(.{2})', '1', 'g'), 16)let l:green = str2nr(substitute(l:raw_color, '.{2}(.{2}).{2}', '1', 'g'), 16)let l:blue = str2nr(substitute(l:raw_color, '.{4}(.{2})', '1', 'g'), 16)let l:brightness = ((l:red * 299) + (l:green * 587) + (l:blue * 114)) / 1000return l:brightness > 155endfunctionNORMALcode.vimunixutf-850%6:12
1
Vim plugin for using color scheme (navigation, creation, additional color schemes)
created about 5 years ago
last commit over 2 years ago