dotfiles

beau's configuration files
git clone https://git.beauhilton.com/dotfiles.git
Log | Files | Refs | README

akhatib.vim (3970B)


      1 " Colors
      2 let s:gray     = [245, '#3f4b59']
      3 let s:darkgray = [245, '#1d1f21']
      4 let s:golden   = [143, '#BBE67E']
      5 let s:pink     = [131, '#F07178']
      6 let s:blue     = [ 67, '#D4BFFF']
      7 let s:orange   = [166, '#ffae57']
      8 let s:outerfg  = [ 16, '#8d96a1']
      9 let s:outerfgi = [ 16, '#2f3d4d']
     10 
     11 " Backgrounds
     12 let s:outerbg  = [ 16, 'NONE']
     13 let s:innerbg  = [234, 'NONE']
     14 
     15 " Normal mode
     16 let s:N1 = [s:outerfg[1], s:outerbg[1], s:outerfg[0], s:gray[0]]
     17 let s:N3 = [s:gray[1]   , s:innerbg[1], s:gray[0]   , s:innerbg[0]]
     18 
     19 " Normal mode - modified
     20 let s:NM1 = [s:darkgray[1], s:orange[1], s:darkgray[0], s:orange[0]]
     21 let s:NM3 = [s:orange[1]  , s:outerbg[1], s:orange[0], s:darkgray[0]]
     22 
     23 " Insert mode
     24 let s:I1 = [s:darkgray[1], s:golden[1], s:outerfg[0], s:golden[0]]
     25 let s:I3 = [s:golden[1]  , s:innerbg[1], s:golden[0], s:innerbg[0]]
     26 
     27 " Visual mode
     28 let s:V1 = [s:darkgray[1], s:pink[1], s:outerfg[0], s:pink[0]]
     29 let s:V3 = [s:pink[1]    , s:innerbg[1], s:pink[0], s:innerbg[0]]
     30 
     31 " Replace mode
     32 let s:R1 = [s:darkgray[1], s:blue[1], s:outerfg[0], s:blue[0]]
     33 let s:R3 = [s:blue[1], s:innerbg[1], s:blue[0], s:innerbg[0]]
     34 
     35 " Inactive pane
     36 let s:IA = [s:darkgray[1], s:outerbg[1], s:innerbg[0], s:innerbg[0]]
     37 let s:IAc = [s:gray[1], s:outerbg[1], s:outerbg[0], s:outerbg[0]]
     38 
     39 let g:airline#themes#akhatib#palette = {}
     40 let g:airline#themes#akhatib#palette.accents = {
     41     \ 'red': ['#d70000', '', 160, '', '']}
     42 
     43 let g:airline#themes#akhatib#palette.inactive = {
     44     \ 'airline_a': s:IA,
     45     \ 'airline_b': s:IA,
     46     \ 'airline_c': s:IAc,
     47     \ 'airline_x': s:IA,
     48     \ 'airline_y': s:IA,
     49     \ 'airline_z': s:IA}
     50 
     51 let g:airline#themes#akhatib#palette.inactive_modified = {
     52     \ 'airline_a': s:IA,
     53     \ 'airline_b': s:IA,
     54     \ 'airline_c': s:NM3,
     55     \ 'airline_x': s:IA,
     56     \ 'airline_y': s:IA,
     57     \ 'airline_z': s:IA}
     58 
     59 let g:airline#themes#akhatib#palette.normal = {
     60     \ 'airline_a': s:N1,
     61     \ 'airline_b': s:N3,
     62     \ 'airline_c': s:N3,
     63     \ 'airline_x': s:N3,
     64     \ 'airline_y': s:N3,
     65     \ 'airline_z': s:N3}
     66 
     67 let g:airline#themes#akhatib#palette.normal_modified = {
     68     \ 'airline_a': s:NM1,
     69     \ 'airline_b': s:N3,
     70     \ 'airline_c': s:N3,
     71     \ 'airline_x': s:N3,
     72     \ 'airline_y': s:N3,
     73     \ 'airline_z': s:NM3}
     74 
     75 let g:airline#themes#akhatib#palette.insert = {
     76     \ 'airline_a': s:I1,
     77     \ 'airline_b': s:N3,
     78     \ 'airline_c': s:N3,
     79     \ 'airline_x': s:N3,
     80     \ 'airline_y': s:N3,
     81     \ 'airline_z': s:I3}
     82 let g:airline#themes#akhatib#palette.insert_modified = {}
     83 
     84 let g:airline#themes#akhatib#palette.replace = {
     85     \ 'airline_a': s:R1,
     86     \ 'airline_b': s:N3,
     87     \ 'airline_c': s:N3,
     88     \ 'airline_x': s:N3,
     89     \ 'airline_y': s:N3,
     90     \ 'airline_z': s:R3}
     91 let g:airline#themes#akhatib#palette.replace_modified = {}
     92 
     93 let g:airline#themes#akhatib#palette.visual = {
     94     \ 'airline_a': s:V1,
     95     \ 'airline_b': s:N3,
     96     \ 'airline_c': s:N3,
     97     \ 'airline_x': s:N3,
     98     \ 'airline_y': s:N3,
     99     \ 'airline_z': s:V3}
    100 let g:airline#themes#akhatib#palette.visual_modified = {}
    101 
    102 let g:airline#themes#akhatib#palette.normal.airline_warning = s:NM1
    103 
    104 let g:airline#themes#akhatib#palette.normal_modified.airline_warning =
    105     \ g:airline#themes#akhatib#palette.normal.airline_warning
    106 
    107 let g:airline#themes#akhatib#palette.insert.airline_warning =
    108     \ g:airline#themes#akhatib#palette.normal.airline_warning
    109 
    110 let g:airline#themes#akhatib#palette.insert_modified.airline_warning =
    111     \ g:airline#themes#akhatib#palette.normal.airline_warning
    112 
    113 let g:airline#themes#akhatib#palette.visual.airline_warning =
    114     \ g:airline#themes#akhatib#palette.normal.airline_warning
    115 
    116 let g:airline#themes#akhatib#palette.visual_modified.airline_warning =
    117     \ g:airline#themes#akhatib#palette.normal.airline_warning
    118 
    119 let g:airline#themes#akhatib#palette.replace.airline_warning =
    120     \ g:airline#themes#akhatib#palette.normal.airline_warning
    121 
    122 let g:airline#themes#akhatib#palette.replace_modified.airline_warning =
    123     \ g:airline#themes#akhatib#palette.normal.airline_warning