2014-04-09 08:07:12 -04:00
|
|
|
"============================================================"
|
|
|
|
" "
|
|
|
|
" Darkcloud Vim Config: theme
|
|
|
|
" "
|
|
|
|
" Maintainer: Prurigro (prurigro-at-gmail-dot-com) "
|
|
|
|
" Website: https://github.com/prurigro/darkcloud-vimconfig "
|
|
|
|
" "
|
|
|
|
" License: MIT "
|
|
|
|
" "
|
|
|
|
"============================================================"
|
2014-02-20 23:24:20 -05:00
|
|
|
"
|
|
|
|
" Acknowledgements:
|
Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
|
|
|
"
|
2014-02-20 23:24:20 -05:00
|
|
|
" I found the jellybeans theme part way through creating
|
|
|
|
" this one and liked how it scripted compatibility between
|
2014-02-22 03:34:59 -05:00
|
|
|
" cterm and gui, so I stripped its colours and ported
|
|
|
|
" my own in, using jellybeans as a functional template.
|
2014-02-20 23:24:20 -05:00
|
|
|
"
|
|
|
|
" As referenced in the original jellybean theme, the set
|
Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
|
|
|
" of color approximation functions were created by Henry
|
2014-02-20 23:24:20 -05:00
|
|
|
" So, Jr. and David Liang
|
|
|
|
"
|
|
|
|
|
|
|
|
"remove all the colours before writing our own
|
|
|
|
hi clear
|
|
|
|
if exists("syntax_on")
|
|
|
|
syntax reset
|
|
|
|
endif
|
|
|
|
|
|
|
|
if has("gui_running") || &t_Co == 88 || &t_Co == 256
|
|
|
|
let s:low_color = 0
|
|
|
|
else
|
|
|
|
let s:low_color = 1
|
|
|
|
endif
|
|
|
|
|
|
|
|
let colors_name = "darkcloud"
|
|
|
|
|
Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
|
|
|
"color approximation functionality {{{
|
2014-02-20 23:24:20 -05:00
|
|
|
"approximate the grey index from a given grey level
|
|
|
|
fun! s:grey_number(x)
|
|
|
|
if &t_Co == 88
|
|
|
|
if a:x < 23
|
|
|
|
return 0
|
|
|
|
elseif a:x < 69
|
|
|
|
return 1
|
|
|
|
elseif a:x < 103
|
|
|
|
return 2
|
|
|
|
elseif a:x < 127
|
|
|
|
return 3
|
|
|
|
elseif a:x < 150
|
|
|
|
return 4
|
|
|
|
elseif a:x < 173
|
|
|
|
return 5
|
|
|
|
elseif a:x < 196
|
|
|
|
return 6
|
|
|
|
elseif a:x < 219
|
|
|
|
return 7
|
|
|
|
elseif a:x < 243
|
|
|
|
return 8
|
|
|
|
else
|
|
|
|
return 9
|
|
|
|
endif
|
|
|
|
else
|
|
|
|
if a:x < 14
|
|
|
|
return 0
|
|
|
|
else
|
|
|
|
let l:n = (a:x - 8) / 10
|
|
|
|
let l:m = (a:x - 8) % 10
|
|
|
|
if l:m < 5
|
|
|
|
return l:n
|
|
|
|
else
|
|
|
|
return l:n + 1
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endfun
|
|
|
|
|
|
|
|
"find the grey level for a given grey index
|
|
|
|
fun! s:grey_level(n)
|
|
|
|
if &t_Co == 88
|
|
|
|
if a:n == 0
|
|
|
|
return 0
|
|
|
|
elseif a:n == 1
|
|
|
|
return 46
|
|
|
|
elseif a:n == 2
|
|
|
|
return 92
|
|
|
|
elseif a:n == 3
|
|
|
|
return 115
|
|
|
|
elseif a:n == 4
|
|
|
|
return 139
|
|
|
|
elseif a:n == 5
|
|
|
|
return 162
|
|
|
|
elseif a:n == 6
|
|
|
|
return 185
|
|
|
|
elseif a:n == 7
|
|
|
|
return 208
|
|
|
|
elseif a:n == 8
|
|
|
|
return 231
|
|
|
|
else
|
|
|
|
return 255
|
|
|
|
endif
|
|
|
|
else
|
|
|
|
if a:n == 0
|
|
|
|
return 0
|
|
|
|
else
|
|
|
|
return 8 + (a:n * 10)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endfun
|
|
|
|
|
|
|
|
"find the palette index for a given grey index
|
|
|
|
fun! s:grey_color(n)
|
|
|
|
if &t_Co == 88
|
|
|
|
if a:n == 0
|
|
|
|
return 16
|
|
|
|
elseif a:n == 9
|
|
|
|
return 79
|
|
|
|
else
|
|
|
|
return 79 + a:n
|
|
|
|
endif
|
|
|
|
else
|
|
|
|
if a:n == 0
|
|
|
|
return 16
|
|
|
|
elseif a:n == 25
|
|
|
|
return 231
|
|
|
|
else
|
|
|
|
return 231 + a:n
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endfun
|
|
|
|
|
|
|
|
"approximate the color index from a given color level
|
|
|
|
fun! s:rgb_number(x)
|
|
|
|
if &t_Co == 88
|
|
|
|
if a:x < 69
|
|
|
|
return 0
|
|
|
|
elseif a:x < 172
|
|
|
|
return 1
|
|
|
|
elseif a:x < 230
|
|
|
|
return 2
|
|
|
|
else
|
|
|
|
return 3
|
|
|
|
endif
|
|
|
|
else
|
|
|
|
if a:x < 75
|
|
|
|
return 0
|
|
|
|
else
|
|
|
|
let l:n = (a:x - 55) / 40
|
|
|
|
let l:m = (a:x - 55) % 40
|
|
|
|
if l:m < 20
|
|
|
|
return l:n
|
|
|
|
else
|
|
|
|
return l:n + 1
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endfun
|
|
|
|
|
|
|
|
"find the color level for a given color index
|
|
|
|
fun! s:rgb_level(n)
|
|
|
|
if &t_Co == 88
|
|
|
|
if a:n == 0
|
|
|
|
return 0
|
|
|
|
elseif a:n == 1
|
|
|
|
return 139
|
|
|
|
elseif a:n == 2
|
|
|
|
return 205
|
|
|
|
else
|
|
|
|
return 255
|
|
|
|
endif
|
|
|
|
else
|
|
|
|
if a:n == 0
|
|
|
|
return 0
|
|
|
|
else
|
|
|
|
return 55 + (a:n * 40)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endfun
|
|
|
|
|
|
|
|
"find the palette index for a set of RGB color indices
|
|
|
|
fun! s:rgb_color(x, y, z)
|
|
|
|
if &t_Co == 88
|
|
|
|
return 16 + (a:x * 16) + (a:y * 4) + a:z
|
|
|
|
else
|
|
|
|
return 16 + (a:x * 36) + (a:y * 6) + a:z
|
|
|
|
endif
|
|
|
|
endfun
|
|
|
|
|
|
|
|
"find the palette index to approximate a set of RGB color levels
|
|
|
|
fun! s:color(r, g, b)
|
|
|
|
"get the closest grey
|
|
|
|
let l:gx = s:grey_number(a:r)
|
|
|
|
let l:gy = s:grey_number(a:g)
|
|
|
|
let l:gz = s:grey_number(a:b)
|
|
|
|
|
|
|
|
"get the closest color
|
|
|
|
let l:x = s:rgb_number(a:r)
|
|
|
|
let l:y = s:rgb_number(a:g)
|
|
|
|
let l:z = s:rgb_number(a:b)
|
|
|
|
|
|
|
|
if l:gx == l:gy && l:gy == l:gz
|
|
|
|
let l:dgr = s:grey_level(l:gx) - a:r
|
|
|
|
let l:dgg = s:grey_level(l:gy) - a:g
|
|
|
|
let l:dgb = s:grey_level(l:gz) - a:b
|
|
|
|
let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb)
|
|
|
|
let l:dr = s:rgb_level(l:gx) - a:r
|
|
|
|
let l:dg = s:rgb_level(l:gy) - a:g
|
|
|
|
let l:db = s:rgb_level(l:gz) - a:b
|
|
|
|
let l:drgb = (l:dr * l:dr) + (l:dg * l:dg) + (l:db * l:db)
|
|
|
|
if l:dgrey < l:drgb
|
|
|
|
return s:grey_color(l:gx)
|
|
|
|
else
|
|
|
|
return s:rgb_color(l:x, l:y, l:z)
|
|
|
|
endif
|
|
|
|
else
|
|
|
|
return s:rgb_color(l:x, l:y, l:z)
|
|
|
|
endif
|
|
|
|
endfun
|
|
|
|
|
|
|
|
"find the palette index to approximate the 'rrggbb' hex string
|
|
|
|
fun! s:rgb(rgb)
|
|
|
|
let l:r = ("0x" . strpart(a:rgb, 0, 2)) + 0
|
|
|
|
let l:g = ("0x" . strpart(a:rgb, 2, 2)) + 0
|
|
|
|
let l:b = ("0x" . strpart(a:rgb, 4, 2)) + 0
|
|
|
|
return s:color(l:r, l:g, l:b)
|
|
|
|
endfun
|
|
|
|
|
|
|
|
"sets the highlighting for the given group
|
|
|
|
fun! s:X(group, fg, bg, attr, lcfg, lcbg)
|
|
|
|
if s:low_color
|
|
|
|
let l:fge = empty(a:lcfg)
|
|
|
|
let l:bge = empty(a:lcbg)
|
|
|
|
|
|
|
|
if !l:fge && !l:bge
|
|
|
|
exec "hi ".a:group." ctermfg=".a:lcfg." ctermbg=".a:lcbg
|
|
|
|
elseif !l:fge && l:bge
|
|
|
|
exec "hi ".a:group." ctermfg=".a:lcfg." ctermbg=NONE"
|
|
|
|
elseif l:fge && !l:bge
|
|
|
|
exec "hi ".a:group." ctermfg=NONE ctermbg=".a:lcbg
|
|
|
|
endif
|
|
|
|
else
|
2014-04-07 10:04:48 -04:00
|
|
|
let l:fgs = substitute(a:fg, '^#', '', '')
|
|
|
|
let l:bgs = substitute(a:bg, '^#', '', '')
|
|
|
|
let l:fge = empty(l:fgs)
|
|
|
|
let l:bge = empty(l:bgs)
|
2014-02-20 23:24:20 -05:00
|
|
|
|
|
|
|
if !l:fge && !l:bge
|
2014-04-07 10:04:48 -04:00
|
|
|
exec "hi ".a:group." guifg=#".l:fgs." guibg=#".l:bgs." ctermfg=".s:rgb(l:fgs)." ctermbg=".s:rgb(l:bgs)
|
2014-02-20 23:24:20 -05:00
|
|
|
elseif !l:fge && l:bge
|
2014-04-07 10:04:48 -04:00
|
|
|
exec "hi ".a:group." guifg=#".l:fgs." guibg=NONE ctermfg=".s:rgb(l:fgs)." ctermbg=NONE"
|
2014-02-20 23:24:20 -05:00
|
|
|
elseif l:fge && !l:bge
|
2014-04-07 10:04:48 -04:00
|
|
|
exec "hi ".a:group." guifg=NONE guibg=#".l:bgs." ctermfg=NONE ctermbg=".s:rgb(l:bgs)
|
2014-02-20 23:24:20 -05:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
if a:attr == ""
|
|
|
|
exec "hi ".a:group." gui=none cterm=none"
|
|
|
|
else
|
|
|
|
let noitalic = join(filter(split(a:attr, ","), "v:val !=? 'italic'"), ",")
|
|
|
|
if empty(noitalic)
|
|
|
|
let noitalic = "none"
|
|
|
|
endif
|
|
|
|
exec "hi ".a:group." gui=".a:attr." cterm=".noitalic
|
|
|
|
endif
|
|
|
|
endfun
|
|
|
|
"}}}
|
|
|
|
|
|
|
|
if !exists("g:colorscheme_use_lowcolor_black") || g:colorscheme_use_lowcolor_black
|
|
|
|
let s:termBlack = "Black"
|
|
|
|
else
|
|
|
|
let s:termBlack = "Grey"
|
|
|
|
endif
|
|
|
|
|
Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
|
|
|
"SPELL CHECKING UNDERLINE: (blue, yellow, none, none)
|
|
|
|
hi SpellBad guisp=#87d7ff gui=undercurl guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE term=bold,underline cterm=bold,underline
|
|
|
|
hi SpellCap guisp=#ffd787 gui=undercurl guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE term=underline cterm=underline
|
|
|
|
hi SpellRare guisp=NONE gui=NONE guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE term=NONE cterm=NONE
|
|
|
|
hi SpellLocal guisp=NONE gui=NONE guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE term=NONE cterm=NONE
|
|
|
|
|
2014-04-03 06:17:16 -04:00
|
|
|
"SYNTAX COLORS:
|
Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
|
|
|
|
|
|
|
"format:
|
Added a new script that can be used to update the repo if bash is
available. Updated the README. Improved the theme by adding a bunch
of syntax highlighting definitions (mostly rooted in html, though
a bunch of other languages base their colours on it), as well as
tweaking visual selection to longer invert on the block with the cursor,
and parenthesis matching to look the same at both ends. Added a plugin
that improves the theme and adds some keyboard shortcuts to markdown,
which is what the README.md files in Github are written in. I realized
that the h,j,k,l shortcuts equivalent to the ones with arrow keys I'd
added were overwriting other shortcuts with the shift combinations, so
I removed those and the ctrl-ones for consistency. The diff shortcuts
weren't intuitive or easy on the hands, so I tried something else and
I think it works much better now (check vim/keyboard.vim). An update
script has also been added to simplify updating submodules; I'm not
completely clear as to whether following this method will properly
update the submodules in certain conditions like when one is removed,
but this should add new ones and update the existing ones after pulling
from the repo.
2014-04-01 00:03:52 -04:00
|
|
|
"format: ('name','fg ','bg ','style ',s:lowcolor-fg,'lowcolor-bg')
|
|
|
|
"example:('Line','000000','f0f0f0','italic,bold',s:termBlack ,'White')
|
2014-02-20 23:24:20 -05:00
|
|
|
|
Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
|
|
|
"core style
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("Normal","#eaeaea","#262626","","White",s:termBlack)
|
Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
|
|
|
hi Normal ctermfg=254 ctermbg=235
|
|
|
|
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("Cursor","","#262626","standout,underline,bold",s:termBlack,"White")
|
|
|
|
call s:X("CursorColumn","","#303030","","",s:termBlack)
|
Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
|
|
|
hi CursorColumn ctermbg=236
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("CursorLine","","#303030","","",s:termBlack)
|
Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
|
|
|
hi CursorLine ctermbg=236
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("CursorLineNr","#87d7ff","#303030","bold","Blue",s:termBlack)
|
Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
|
|
|
hi CursorLineNr ctermbg=236
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("LineNr","#4e4e4e","","bold","White",s:termBlack)
|
Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
|
|
|
hi LineNr ctermfg=239
|
|
|
|
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("Visual","","#262626","standout","",s:termBlack)
|
|
|
|
call s:X("MatchParen","#ffffff","","bold,underline","","")
|
2014-02-20 23:24:20 -05:00
|
|
|
|
Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
|
|
|
"whitespace
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("TabLine","","#000000","","",s:termBlack)
|
|
|
|
call s:X("TabLineFill","","#000000","","",s:termBlack)
|
|
|
|
call s:X("TabLineSel","#000000","#d0d0d0","",s:termBlack,"White")
|
|
|
|
call s:X("ExtraWhitespace","#262626","","standout",s:termBlack,"")
|
Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
|
|
|
|
|
|
|
"menu call
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("Pmenu","#87d7ff","#303030","","Grey","Blue")
|
|
|
|
call s:X("PmenuSel","#87d7ff","#4e4e4e","bold","White","Black")
|
2014-02-20 23:24:20 -05:00
|
|
|
|
Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
|
|
|
"search
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("Search","#87d7ff","#262626","standout","Blue",s:termBlack)
|
|
|
|
call s:X("IncSearch","#87d7ff","#262626","standout,bold","Blue",s:termBlack)
|
Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
|
|
|
|
|
|
|
"status line
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("StatusLine","#000000","#d75f5f","bold",s:termBlack,"Red")
|
|
|
|
call s:X("StatusLineNC","#ffffff","#626262","","White","Grey")
|
|
|
|
call s:X("VertSplit","#626262","#626262","",s:termBlack,s:termBlack)
|
|
|
|
call s:X("WildMenu","#808080","#303030","","White",s:termBlack)
|
2014-02-20 23:24:20 -05:00
|
|
|
|
Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
|
|
|
"folding
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("Folded","#87d7ff","#4e4e4e","bold","Blue",s:termBlack)
|
|
|
|
call s:X("FoldColumn","#87d7ff","","bold","Blue","")
|
2014-04-07 10:20:47 -04:00
|
|
|
call s:X("SignColumn","#ffd787","","bold","Red","")
|
2014-04-03 07:48:52 -04:00
|
|
|
hi! link ColorColumn SignColumn
|
2014-02-20 23:24:20 -05:00
|
|
|
|
Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
|
|
|
"syntax style
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("Title","#d75f5f","","underline","Red","")
|
|
|
|
call s:X("Comment","#6c6c6c","","italic","Grey","")
|
|
|
|
call s:X("Constant","#87d7ff","","bold","Blue","")
|
|
|
|
call s:X("Special","#ffd787","","bold","Yellow","")
|
|
|
|
call s:X("Delimiter","#ffffff","","","White","")
|
|
|
|
call s:X("String","#ffffff","","italic","White","")
|
|
|
|
call s:X("StringDelimiter","#d0d0d0","","","White","")
|
|
|
|
call s:X("Identifier","#87d7ff","","bold","Blue","")
|
|
|
|
call s:X("Type","#d75f5f","","bold","Red","")
|
|
|
|
call s:X("Function","#87d7ff","","","Blue","")
|
|
|
|
call s:X("Label","#d75f5f","","","Red","")
|
|
|
|
call s:X("Statement","#ffd787","","","Yellow","")
|
|
|
|
call s:X("PreProc","#ffd787","","","Yellow","")
|
|
|
|
call s:X("Keyword","#ffd787","","bold","Yellow","")
|
|
|
|
call s:X("Operator","#d75f5f","","","Red","")
|
|
|
|
call s:X("NonText","#87d7ff","","","Blue","")
|
|
|
|
call s:X("SpecialKey","#626262","","",s:termBlack,"")
|
|
|
|
call s:X("Directory","#87d7ff","","","Blue","")
|
|
|
|
call s:X("Question","#87d7ff","","","Blue","")
|
|
|
|
call s:X("Todo","#d75f5f","","bold","Red","")
|
Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
|
|
|
|
|
|
|
"errors
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("Error","#d75f5f","#000000","standout","Red",s:termBlack)
|
2014-04-03 07:48:52 -04:00
|
|
|
hi! link WarningMsg Error
|
2014-04-02 01:33:03 -04:00
|
|
|
hi! link ErrorMsg Error
|
2014-02-20 23:24:20 -05:00
|
|
|
hi! link MoreMsg Special
|
2014-04-02 01:33:03 -04:00
|
|
|
hi! link Structure PreProc
|
|
|
|
hi! link Number Type
|
2014-02-20 23:24:20 -05:00
|
|
|
|
Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
|
|
|
"vimdiff
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("DiffAdd","#000000","#ffd787","italic",s:termBlack,"Yellow")
|
|
|
|
call s:X("DiffDelete","#000000","#d75f5f","italic",s:termBlack,"Red")
|
|
|
|
call s:X("DiffChange","#000000","#87d7ff","italic",s:termBlack,"Blue")
|
|
|
|
call s:X("DiffText","#000000","#c6c6c6","italic",s:termBlack,"White")
|
2014-02-20 23:24:20 -05:00
|
|
|
|
2014-04-07 12:05:52 -04:00
|
|
|
"version control
|
|
|
|
call s:X("SignifySignAdd","#ffd787","","bold","","Yellow")
|
|
|
|
call s:X("SignifySignDelete","#d75f5f","","bold","","Red")
|
|
|
|
call s:X("SignifySignChange","#87d7ff","","bold","","Blue")
|
2014-04-07 20:59:33 -04:00
|
|
|
hi! link SignifyLineAdd DiffAdd
|
|
|
|
hi! link SignifyLineDelete DiffDelete
|
|
|
|
hi! link SignifyLineChange DiffChange
|
Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
|
|
|
hi! link gitconfigAssignment Label
|
|
|
|
|
Added a new script that can be used to update the repo if bash is
available. Updated the README. Improved the theme by adding a bunch
of syntax highlighting definitions (mostly rooted in html, though
a bunch of other languages base their colours on it), as well as
tweaking visual selection to longer invert on the block with the cursor,
and parenthesis matching to look the same at both ends. Added a plugin
that improves the theme and adds some keyboard shortcuts to markdown,
which is what the README.md files in Github are written in. I realized
that the h,j,k,l shortcuts equivalent to the ones with arrow keys I'd
added were overwriting other shortcuts with the shift combinations, so
I removed those and the ctrl-ones for consistency. The diff shortcuts
weren't intuitive or easy on the hands, so I tried something else and
I think it works much better now (check vim/keyboard.vim). An update
script has also been added to simplify updating submodules; I'm not
completely clear as to whether following this method will properly
update the submodules in certain conditions like when one is removed,
but this should add new ones and update the existing ones after pulling
from the repo.
2014-04-01 00:03:52 -04:00
|
|
|
"html
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("htmlTitle","#ffffff","","underline,bold","White","")
|
|
|
|
call s:X("htmlH1","#d75f5f","","underline,bold","Red","")
|
|
|
|
call s:X("htmlH2","#ffd787","","underline,bold","Yellow","")
|
|
|
|
call s:X("htmlH3","#87d7ff","","underline,bold","Blue","")
|
|
|
|
call s:X("htmlH4","#d75f5f","","underline","Red","")
|
|
|
|
call s:X("htmlH5","#ffd787","","underline","Yellow","")
|
|
|
|
call s:X("htmlH6","#87d7ff","","underline","Blue","")
|
2014-04-04 03:15:02 -04:00
|
|
|
call s:X("htmlSpecialChar","","","italic","","")
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("htmlArg","#d75f5f","","bold","Red","")
|
|
|
|
call s:X("htmlTagName","#ffd787","","bold","Yellow","")
|
|
|
|
call s:X("htmlTag","#87d7ff","","bold","Blue","")
|
|
|
|
call s:X("commentURL","#ffd787","","italic,underline","Yellow","")
|
|
|
|
call s:X("htmlLink","#ffd787","","underline","Yellow","")
|
Added a new script that can be used to update the repo if bash is
available. Updated the README. Improved the theme by adding a bunch
of syntax highlighting definitions (mostly rooted in html, though
a bunch of other languages base their colours on it), as well as
tweaking visual selection to longer invert on the block with the cursor,
and parenthesis matching to look the same at both ends. Added a plugin
that improves the theme and adds some keyboard shortcuts to markdown,
which is what the README.md files in Github are written in. I realized
that the h,j,k,l shortcuts equivalent to the ones with arrow keys I'd
added were overwriting other shortcuts with the shift combinations, so
I removed those and the ctrl-ones for consistency. The diff shortcuts
weren't intuitive or easy on the hands, so I tried something else and
I think it works much better now (check vim/keyboard.vim). An update
script has also been added to simplify updating submodules; I'm not
completely clear as to whether following this method will properly
update the submodules in certain conditions like when one is removed,
but this should add new ones and update the existing ones after pulling
from the repo.
2014-04-01 00:03:52 -04:00
|
|
|
|
2014-02-20 23:24:20 -05:00
|
|
|
"php
|
|
|
|
hi! link phpFunctions Function
|
|
|
|
hi! link phpSuperglobal Identifier
|
|
|
|
hi! link phpQuoteSingle StringDelimiter
|
|
|
|
hi! link phpQuoteDouble StringDelimiter
|
|
|
|
hi! link phpBoolean Constant
|
|
|
|
hi! link phpNull Constant
|
|
|
|
hi! link phpArrayPair Operator
|
Added a new script that can be used to update the repo if bash is
available. Updated the README. Improved the theme by adding a bunch
of syntax highlighting definitions (mostly rooted in html, though
a bunch of other languages base their colours on it), as well as
tweaking visual selection to longer invert on the block with the cursor,
and parenthesis matching to look the same at both ends. Added a plugin
that improves the theme and adds some keyboard shortcuts to markdown,
which is what the README.md files in Github are written in. I realized
that the h,j,k,l shortcuts equivalent to the ones with arrow keys I'd
added were overwriting other shortcuts with the shift combinations, so
I removed those and the ctrl-ones for consistency. The diff shortcuts
weren't intuitive or easy on the hands, so I tried something else and
I think it works much better now (check vim/keyboard.vim). An update
script has also been added to simplify updating submodules; I'm not
completely clear as to whether following this method will properly
update the submodules in certain conditions like when one is removed,
but this should add new ones and update the existing ones after pulling
from the repo.
2014-04-01 00:03:52 -04:00
|
|
|
hi! link StorageClass Type
|
2014-02-20 23:24:20 -05:00
|
|
|
|
2014-04-02 01:33:03 -04:00
|
|
|
"javaScript
|
|
|
|
hi! link javaScriptParens Delimiter
|
|
|
|
hi! link javaScriptBraces Delimiter
|
|
|
|
hi! link javaScriptValue Constant
|
|
|
|
hi! link javascriptHtmlEvents javaScriptSpecial
|
|
|
|
hi! link javascriptDomElemAttrs javaScriptSpecial
|
|
|
|
hi! link javascriptDomElemFuncs javaScriptFunction
|
|
|
|
|
|
|
|
"coffeeScript
|
|
|
|
hi! link coffeeRegExp javaScriptRegexpString
|
|
|
|
|
|
|
|
"c
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("cBraces","#ffd787","","","Yellow","")
|
2014-04-05 00:55:40 -04:00
|
|
|
hi! link cBlock cBraces
|
2014-04-02 01:33:03 -04:00
|
|
|
hi! link cOperator cBraces
|
|
|
|
hi! link cCharacter String
|
|
|
|
hi! link cBlock String
|
2014-04-05 00:55:40 -04:00
|
|
|
hi! link cNumbersCom Number
|
2014-04-02 01:33:03 -04:00
|
|
|
|
|
|
|
"objective-c/cocoa
|
|
|
|
hi! link objcClass Type
|
|
|
|
hi! link cocoaClass objcClass
|
|
|
|
hi! link objcSubclass objcClass
|
|
|
|
hi! link objcSuperclass objcClass
|
|
|
|
hi! link objcDirective Type
|
|
|
|
hi! link objcStatement Constant
|
|
|
|
hi! link cocoaFunction Function
|
|
|
|
hi! link objcMethodName Identifier
|
|
|
|
hi! link objcMethodArg Normal
|
|
|
|
hi! link objcMessageName Identifier
|
|
|
|
|
2014-02-20 23:24:20 -05:00
|
|
|
"ruby
|
|
|
|
hi! link rubySharpBang Comment
|
|
|
|
hi! link rubyConstant Type
|
|
|
|
hi! link rubyFunction Function
|
|
|
|
hi! link rubyGlobalVariable rubyInstanceVariable
|
|
|
|
hi! link rubyModule rubyClass
|
|
|
|
hi! link rubyString String
|
|
|
|
hi! link rubyStringDelimiter StringDelimiter
|
|
|
|
hi! link rubyInterpolationDelimiter Identifier
|
Added a new script that can be used to update the repo if bash is
available. Updated the README. Improved the theme by adding a bunch
of syntax highlighting definitions (mostly rooted in html, though
a bunch of other languages base their colours on it), as well as
tweaking visual selection to longer invert on the block with the cursor,
and parenthesis matching to look the same at both ends. Added a plugin
that improves the theme and adds some keyboard shortcuts to markdown,
which is what the README.md files in Github are written in. I realized
that the h,j,k,l shortcuts equivalent to the ones with arrow keys I'd
added were overwriting other shortcuts with the shift combinations, so
I removed those and the ctrl-ones for consistency. The diff shortcuts
weren't intuitive or easy on the hands, so I tried something else and
I think it works much better now (check vim/keyboard.vim). An update
script has also been added to simplify updating submodules; I'm not
completely clear as to whether following this method will properly
update the submodules in certain conditions like when one is removed,
but this should add new ones and update the existing ones after pulling
from the repo.
2014-04-01 00:03:52 -04:00
|
|
|
hi! link rubyClass Type
|
|
|
|
hi! link rubyIdentifier Identifier
|
2014-04-03 13:16:12 -04:00
|
|
|
hi! link rubyPredefinedIdentifier PreProc
|
Added a new script that can be used to update the repo if bash is
available. Updated the README. Improved the theme by adding a bunch
of syntax highlighting definitions (mostly rooted in html, though
a bunch of other languages base their colours on it), as well as
tweaking visual selection to longer invert on the block with the cursor,
and parenthesis matching to look the same at both ends. Added a plugin
that improves the theme and adds some keyboard shortcuts to markdown,
which is what the README.md files in Github are written in. I realized
that the h,j,k,l shortcuts equivalent to the ones with arrow keys I'd
added were overwriting other shortcuts with the shift combinations, so
I removed those and the ctrl-ones for consistency. The diff shortcuts
weren't intuitive or easy on the hands, so I tried something else and
I think it works much better now (check vim/keyboard.vim). An update
script has also been added to simplify updating submodules; I'm not
completely clear as to whether following this method will properly
update the submodules in certain conditions like when one is removed,
but this should add new ones and update the existing ones after pulling
from the repo.
2014-04-01 00:03:52 -04:00
|
|
|
call s:X("rubyGlobalVariable","","","bold","","")
|
2014-02-20 23:45:15 -05:00
|
|
|
"call s:X("rubySymbol","","","","","")
|
|
|
|
"call s:X("rubyControl","","","","","")
|
|
|
|
"call s:X("rubyRegexpDelimiter","","","","","")
|
|
|
|
"call s:X("rubyRegexp","","","","","")
|
|
|
|
"call s:X("rubyRegexpSpecial","","","","","")
|
2014-02-20 23:24:20 -05:00
|
|
|
|
|
|
|
"lua
|
|
|
|
hi! link luaOperator Conditional
|
|
|
|
|
Tons of changes all in one commit because I'd broken a commit a while
back and opted to simply reverse them all- Lots of colour changes, the
update script now removes decommissioned bundles, gentags script can now
have additional paths added to it when generating a tags file, README is
much improved, fixed a few issues that required remapping some toggles,
fixed a bunch of issues with the colourscheme between the terminal and
gvim. You can now setup a custom config file to have loaded after the
darkcloud-vimconfig ones, and there's a custom location for pathogen
modules too, to make things tidier without necessarily needing to use
an additional runtimepath. You can also create a file in your home
directory to assign filetypes to programs, for use with the file
manager. A file can be placed in ~/.vim/ with file associations and
prorams to launch them with. The file manager will also open a file with
vim by hitting shift+enter, since e isn't all that comfortablly placed.
The vimrc can now also point to the darkcloud-vimconfig folder, rather
than relying on the vim folder being in a specific location, and the
after folder is now configured to work in the project too.
2014-04-04 19:49:02 -04:00
|
|
|
"vim config/vimscript
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("IndentGuidesOdd","","#7c7c7c","","","Grey")
|
|
|
|
call s:X("IndentGuidesEven","","#1c1c1c","","",s:termBlack)
|
2014-04-03 06:17:16 -04:00
|
|
|
if !exists("g:indent_guides_auto_colors")
|
|
|
|
let g:indent_guides_auto_colors=0
|
|
|
|
endif
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("vimOperParen","#87d7ff","","","Blue","")
|
2014-04-03 06:17:16 -04:00
|
|
|
|
2014-04-03 07:48:52 -04:00
|
|
|
"notes
|
2014-04-03 13:16:12 -04:00
|
|
|
call s:X("notesRule","","","bold","","")
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("WarningMsg","#ffd787","#2c2c2c","standout,bold","Yellow",s:termBlack)
|
|
|
|
call s:X("notesTitle","#d75f5f","","underline,bold","Red","")
|
|
|
|
call s:X("notesName","#ffd787","","underline,bold","Yellow","")
|
|
|
|
call s:X("notesShortHeading","#ffd787","#262626","standout,underline,bold","Yellow","")
|
|
|
|
call s:X("Underlined","#87d7ff","","underline,bold","Blue","")
|
|
|
|
call s:X("notesInProgress","#87d7ff","#262626","standout,underline,bold","Blue","")
|
|
|
|
call s:X("notesRealURL","#d75f5f","","underline,bold","Red","")
|
2014-04-03 13:16:12 -04:00
|
|
|
hi! link notesTextURL notesRealURL
|
2014-04-04 01:51:14 -04:00
|
|
|
hi! link notesSubtleURL notesRealURL
|
2014-04-03 07:48:52 -04:00
|
|
|
hi! link notesListBullet FoldColumn
|
2014-04-03 13:16:12 -04:00
|
|
|
hi! link notesListNumber notesListBullet
|
2014-04-03 07:48:52 -04:00
|
|
|
hi! link notesVimCmd Function
|
|
|
|
hi! link notesSingleQuoted String
|
2014-04-03 13:16:12 -04:00
|
|
|
hi! link notesBlockQuote Pmenu
|
|
|
|
hi! link notesModeLine Comment
|
|
|
|
hi! link notesCodeStart Delimiter
|
|
|
|
hi! link notesCodeEnd notesCodeStart
|
|
|
|
hi! link notesLastEdited Statement
|
|
|
|
hi! link notesAtxHeading Comment
|
2014-04-03 07:48:52 -04:00
|
|
|
|
|
|
|
"email
|
2014-04-03 07:00:53 -04:00
|
|
|
hi! link mailHeaderKey Identifier
|
|
|
|
|
2014-04-04 01:51:14 -04:00
|
|
|
"quicktask
|
|
|
|
hi! link quicktaskDatestamp Identifier
|
|
|
|
hi! link quicktaskTimestamp Identifier
|
|
|
|
hi! link quicktaskSection Todo
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("quicktaskTimeNote","#ffd787","","bold","Yellow","")
|
|
|
|
call s:X("quicktaskTask","#ffffff","","bold","White","")
|
2014-04-04 01:51:14 -04:00
|
|
|
|
2014-04-03 06:17:16 -04:00
|
|
|
"taglist
|
|
|
|
hi! link TagListFileName Directory
|
|
|
|
|
|
|
|
"syntastic
|
2014-04-07 10:04:48 -04:00
|
|
|
call s:X("SyntasticError","#d75f5f","","standout,bold","Red","")
|
|
|
|
call s:X("SyntasticWarning","#ffd787","","standout,bold","Yellow","")
|
2014-04-02 11:17:12 -04:00
|
|
|
hi! link SyntasticErrorLine SyntasticError
|
|
|
|
hi! link SyntasticWarningLine SyntasticWarning
|
|
|
|
hi! link SyntasticErrorSign Error
|
|
|
|
hi! link SyntasticWarningSign Statement
|
|
|
|
hi! link qfSeparator Delimiter
|
|
|
|
hi! link qfLineNr SyntasticError
|
2014-02-20 23:24:20 -05:00
|
|
|
|
2014-04-03 06:17:16 -04:00
|
|
|
"COLOR DEFINITIONS:
|
2014-02-20 23:24:20 -05:00
|
|
|
"delete functions {{{
|
|
|
|
delf s:X
|
|
|
|
delf s:rgb
|
|
|
|
delf s:color
|
|
|
|
delf s:rgb_color
|
|
|
|
delf s:rgb_level
|
|
|
|
delf s:rgb_number
|
|
|
|
delf s:grey_color
|
|
|
|
delf s:grey_level
|
|
|
|
delf s:grey_number
|
|
|
|
"}}}
|
|
|
|
|
2014-04-03 06:17:16 -04:00
|
|
|
"colour presets (used with lightline) {{{
|
2014-02-20 23:24:20 -05:00
|
|
|
let s:base3 = '#eaeaea'
|
|
|
|
let s:base23 = '#d0d0d0'
|
|
|
|
let s:base2 = '#c6c6c6'
|
|
|
|
let s:base1 = '#b2b2b2'
|
|
|
|
let s:base0 = '#949494'
|
|
|
|
let s:base00 = '#767676'
|
|
|
|
let s:base01 = '#606060'
|
|
|
|
let s:base02 = '#4e4e4e'
|
|
|
|
let s:base023 = '#303030'
|
|
|
|
let s:darkblue = '#005fff'
|
|
|
|
let s:red = '#d75f5f'
|
|
|
|
let s:orange = '#ffaf00'
|
|
|
|
let s:yellow = '#ffd787'
|
|
|
|
let s:green = '#5faf00'
|
|
|
|
let s:cyan = '#d7ffff'
|
|
|
|
let s:blue = '#87d7ff'
|
|
|
|
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
|
|
|
|
let s:p.normal.left = [ [ s:base023, s:blue ], [ s:base3, s:base01 ] ]
|
|
|
|
let s:p.normal.right = [ [ s:base02, s:base1 ], [ s:base2, s:base01 ] ]
|
|
|
|
let s:p.inactive.right = [ [ s:base02, s:base0 ], [ s:base1, s:base01 ] ]
|
|
|
|
let s:p.inactive.left = [ [ s:base02, s:base0 ], [ s:base00, s:darkblue ] ]
|
|
|
|
let s:p.insert.left = [ [ s:base023, s:red ], [ s:base3, s:base01 ] ]
|
|
|
|
let s:p.replace.left = [ [ s:base023, s:orange ], [ s:base3, s:base01 ] ]
|
2014-04-07 19:19:57 -04:00
|
|
|
let s:p.visual.left = [ [ s:base023, s:yellow ], [ s:base3, s:base01 ] ]
|
2014-02-20 23:24:20 -05:00
|
|
|
let s:p.normal.middle = [ [ s:base1, s:base02 ] ]
|
|
|
|
let s:p.inactive.abmiddle = [ [ s:base0, s:base02 ] ]
|
|
|
|
let s:p.tabline.left = [ [ s:base2, s:base01 ] ]
|
|
|
|
let s:p.tabline.tabsel = [ [ s:base2, s:base023 ] ]
|
|
|
|
let s:p.tabline.middle = [ [ s:base01, s:base1 ] ]
|
|
|
|
let s:p.tabline.right = copy(s:p.normal.right)
|
|
|
|
let s:p.normal.error = [ [ s:red, s:base023 ] ]
|
|
|
|
let s:p.normal.warning = [ [ s:yellow, s:base02 ] ]
|
|
|
|
let g:lightline#colorscheme#darkcloud#palette = lightline#colorscheme#fill(s:p)
|
|
|
|
"}}}
|