You are not logged in.

#1 2009-10-31 22:29:18

ath0
Member
Registered: 2009-02-03
Posts: 10

Share your vim theme

Hey, smile
i searched a lot but can't found a vim theme thread, so i will create one smile
please post your vim with a syntaxhighlight, and paste the theme smile

tMm56bw

it is the Dante.vim theme:

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" File: "/home/caciano/.vim/dante.vim"
" Created: "Thu, 23 May 2002 00:12:20 -0300 (caciano)"
" Updated: "Sat, 24 Aug 2002 14:04:21 -0300 (caciano)"
" Copyright (C) 2002, Caciano Machado <caciano@inf.ufrgs.br>
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Colorscheme Option:
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
hi clear
if exists("syntax on")
    syntax reset
endif
let g:colors_name = "dante"
 
" General colors
hi Normal ctermfg=gray guifg=peachpuff3 guibg=black
hi Directory term=bold ctermfg=blue guifg=royalblue
hi ErrorMsg term=standout ctermfg=white ctermbg=red guifg=white guibg=red3
hi NonText term=bold ctermfg=darkgray guibg=gray3 guifg=gray20
hi SpecialKey term=bold ctermfg=darkgray guifg=gray30
hi LineNr term=underline ctermfg=darkgray guifg=ivory4 guibg=gray4
hi IncSearch term=reverse cterm=reverse gui=reverse,bold guifg=darkgoldenrod2
hi Search term=reverse ctermfg=black ctermbg=yellow guifg=gray10 guibg=gold2
hi Visual term=bold,reverse cterm=bold,reverse ctermfg=gray ctermbg=black  gui=bold,reverse guifg=gray40 guibg=black
hi VisualNOS term=bold,underline cterm=bold,underline gui=bold,underline
hi MoreMsg term=bold ctermfg=green gui=bold guifg=olivedrab1
hi ModeMsg term=bold cterm=bold gui=bold
hi Question term=standout ctermfg=green gui=bold guifg=olivedrab1
hi WarningMsg term=standout ctermfg=red gui=bold guifg=red3
hi WildMenu term=standout ctermfg=black ctermbg=yellow guifg=black guibg=gold2
hi Folded term=standout ctermfg=blue ctermbg=white guifg=royalblue1 guibg=white
hi FoldColumn term=standout ctermfg=blue ctermbg=white guifg=royalblue3 guibg=white
hi DiffAdd term=bold ctermbg=blue guibg=royalblue2
hi DiffChange term=bold ctermbg=darkmagenta guibg=maroon
hi DiffDelete term=bold cterm=bold ctermfg=lightblue ctermbg=cyan gui=bold guifg=lightblue guibg=cyan4
hi DiffText term=reverse cterm=bold ctermbg=red gui=bold guibg=red3
hi Cursor guifg=bg guibg=fg
hi lCursor guifg=bg guibg=fg
hi StatusLine term=reverse cterm=reverse gui=reverse guifg=gray60
hi StatusLineNC term=reverse cterm=reverse gui=reverse guifg=gray40
hi VertSplit term=reverse cterm=reverse gui=bold,reverse guifg=gray40
hi Title term=bold ctermfg=magenta gui=bold guifg=aquamarine
 
" syntax hi colors
hi Comment term=bold ctermfg=darkcyan guifg=cyan4
hi PreProc term=underline ctermfg=darkblue guifg=dodgerblue4
hi Constant term=underline ctermfg=darkred guifg=firebrick3
hi Type term=underline ctermfg=darkgreen gui=none guifg=chartreuse3
hi Statement term=bold ctermfg=darkyellow gui=none guifg=gold3
hi Identifier term=underline ctermfg=darkgreen guifg=darkolivegreen4
hi Ignore term=bold ctermfg=darkgray guifg=gray45
hi Special term=underline ctermfg=brown guifg=sienna
hi Error term=reverse ctermfg=gray ctermbg=red guifg=gray guibg=red3
hi Todo term=standout ctermfg=black ctermbg=yellow gui=bold guifg=gray10 guibg=yellow4
hi Underlined term=underline cterm=underline ctermfg=darkblue gui=underline guifg=slateblue
hi Number term=underline ctermfg=darkred guifg=red2
" syntax hi links
hi link String Constant
hi link Character Constant
hi link Number Constant
hi link Boolean Constant
hi link Float Number
hi link Function Identifier
hi link Number Constant
hi link Conditional Statement
hi link Repeat Statement
hi link Label Statement
hi link Keyword Statement
hi link Exception Statement
hi link Operator Statement
hi link Include PreProc
hi link Define PreProc
hi link Macro PreProc
hi link PreCondit PreProc
hi link StorageClass Type
hi link Structure Type
hi link Typedef Type
hi link Tag Special
hi link SpecialChar Special
hi link Delimiter Special
hi link SpecialComment Special
hi link Debug Special
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

Last edited by ath0 (2009-10-31 22:30:00)

Offline

#2 2009-10-31 22:55:19

HashBox
Member
Registered: 2009-01-22
Posts: 271

Re: Share your vim theme

Here's mine,
AS1Jgs.png

Was named black.vim in my colors folder,

" h2u_black
"
" Based on ir_black color scheme
" See also: http://blog.infinitered.com/entries/show/8

set background=dark

hi clear

if exists("syntax_on")
  syntax reset
endif

let colors_name = "h2u_black"


" General
hi Normal          guifg=#ffffff  guibg=#222222  gui=NONE

hi Cursor          guifg=#000000  guibg=#ffffff  gui=NONE
hi CursorIM        guifg=#ffffff  guibg=#ff6666  gui=NONE

hi CursorColumn    guifg=NONE     guibg=#444444  gui=NONE
hi CursorLine      guifg=NONE     guibg=#444444  gui=NONE
hi MatchParen      guifg=NONE     guibg=#66ff66  gui=NONE

hi NonText         guifg=#444444  guibg=#111111  gui=NONE
hi SpecialKey      guifg=#999999  guibg=#333333  gui=NONE

hi Visual          guifg=NONE     guibg=#334466  gui=NONE
" hi VisualNOS

hi LineNr          guifg=#666666  guibg=#000000  gui=NONE

hi StatusLine      guifg=#cccccc  guibg=#333333  gui=NONE
hi StatusLineNC    guifg=#666666  guibg=#333333  gui=NONE

hi VertSplit       guifg=#666666  guibg=#333333  gui=NONE

hi Folded          guifg=NONE     guibg=#223355  gui=NONE
hi FoldColumn      guifg=NONE     guibg=#223355  gui=NONE

hi Pmenu           guifg=#ffffff  guibg=#444444  gui=NONE
hi PmenuSel        guifg=#000000  guibg=#ccee88  gui=NONE
hi PmenuSbar       guifg=#000000  guibg=#ffffff  gui=NONE
hi PmenuThumb      guifg=#ffffff  guibg=#bbbbbb  gui=NONE

" hi SignColumn

hi ModeMsg         guifg=#000000  guibg=#ccee88  gui=bold
hi MoreMsg         guifg=#000000  guibg=#88ccee  gui=bold
hi WarningMsg      guifg=#ffffff  guibg=#ff6666  gui=bold
hi ErrorMsg        guifg=#ffffff  guibg=#ff6666  gui=bold
hi WildMenu        guifg=#000000  guibg=#ccee88  gui=NONE
" hi Question

hi Search          guifg=NONE     guibg=#ffff00  gui=NONE
hi IncSearch       guifg=NONE     guibg=#777711  gui=NONE

hi Title           guifg=#ffffee  guibg=NONE     gui=bold

" hi Directory

" hi DiffAdd
" hi DiffChange
" hi DiffDelete
" hi DiffText

" hi SpellBad
" hi SpellCap
" hi SpellLocal
" hi SpellRare

" hi TabLine
" hi TabLineFill
" hi TabLineSel


" Syntax
hi Comment         guifg=#777777  guibg=NONE     gui=NONE

hi Constant        guifg=#99CC99  guibg=NONE     gui=NONE
hi String          guifg=#aaff66  guibg=NONE     gui=NONE
hi Character       guifg=#99CC99  guibg=NONE     gui=NONE
hi Number          guifg=#ff77ff  guibg=NONE     gui=NONE
hi Boolean         guifg=#99CC99  guibg=NONE     gui=NONE
hi Float           guifg=#ff77ff  guibg=NONE     gui=NONE

hi Identifier      guifg=#ccccff  guibg=NONE     gui=NONE
hi Function        guifg=#ffddaa  guibg=NONE     gui=NONE

hi Statement       guifg=#6699cc  guibg=NONE     gui=NONE
hi Conditional     guifg=#6699cc  guibg=NONE     gui=NONE
hi Repeat          guifg=#6699cc  guibg=NONE     gui=NONE
hi Label           guifg=#6699cc  guibg=NONE     gui=NONE
hi Operator        guifg=#ffeedd  guibg=NONE     gui=NONE
hi Keyword         guifg=#99ccff  guibg=NONE     gui=NONE
hi Exception       guifg=#6699cc  guibg=NONE     gui=NONE

hi PreProc         guifg=#99ccff  guibg=NONE     gui=NONE
hi Include         guifg=#99ccff  guibg=NONE     gui=NONE
hi Define          guifg=#99ccff  guibg=NONE     gui=NONE
hi Macro           guifg=#99ccff  guibg=NONE     gui=NONE
hi PreCondit       guifg=#99ccff  guibg=NONE     gui=NONE

hi Type            guifg=#ffffbb  guibg=NONE     gui=NONE
hi StorageClass    guifg=#ffffbb  guibg=NONE     gui=NONE
hi Structure       guifg=#ffffbb  guibg=NONE     gui=NONE
hi Typedef         guifg=#ffffbb  guibg=NONE     gui=NONE

hi Special         guifg=#dd8866  guibg=NONE     gui=NONE
hi SpecialChar     guifg=#dd8866  guibg=NONE     gui=NONE
hi Tag             guifg=#dd8866  guibg=NONE     gui=NONE
hi Delimiter       guifg=#00bbbb  guibg=NONE     gui=NONE
hi SpecialComment  guifg=#dd8866  guibg=NONE     gui=NONE
hi Debug           guifg=#dd8866  guibg=NONE     gui=NONE

hi Underlined      guifg=NONE     guibg=NONE     gui=underline

hi Ignore          guifg=#cccccc  guibg=#222222  gui=NONE

hi Error           guifg=NONE     guibg=NONE     gui=undercurl  guisp=#ff6666

hi Todo            guifg=#888888  guibg=NONE     gui=NONE

Edit: sorry, forgot to thumbnail

Last edited by HashBox (2009-10-31 22:56:54)

Offline

#3 2009-10-31 23:09:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Share your vim theme

4062404594_cec292e249_t.jpg

" miromiro colours
" Author:  jason ryan
" URL:     http://jasonwryan.com

set background=dark
hi clear
if exists("syntax on")
    syntax reset
endif

let g:color_name="miromiro"
" Normal colors  --- 
hi Normal          ctermfg=15
hi Ignore          ctermfg=8
hi Comment         ctermfg=7 
hi LineNr          ctermfg=8
hi Float           ctermfg=3
hi Include         ctermfg=5
hi Define          ctermfg=2
hi Macro           ctermfg=13
hi PreProc         ctermfg=10
hi PreCondit       ctermfg=13
hi NonText         ctermfg=6
hi Directory       ctermfg=6
hi SpecialKey      ctermfg=11
hi Type            ctermfg=6
hi String          ctermfg=2
hi Constant        ctermfg=13
hi Special         ctermfg=10
hi SpecialChar     ctermfg=9
hi Number          ctermfg=14
hi Identifier      ctermfg=13
hi Conditional     ctermfg=14
hi Repeat          ctermfg=9
hi Statement       ctermfg=4
hi Label           ctermfg=13
hi Operator        ctermfg=3
hi Keyword         ctermfg=9   
hi StorageClass    ctermfg=11  
hi Structure       ctermfg=5
hi Typedef         ctermfg=6
hi Function        ctermfg=11
hi Exception       ctermfg=1
hi Underlined      ctermfg=4
hi Title           ctermfg=3   
hi Tag             ctermfg=11
hi Delimiter       ctermfg=12  
hi SpecialComment  ctermfg=9
hi Boolean         ctermfg=3
hi Todo            ctermfg=9
hi MoreMsg         ctermfg=13
hi ModeMsg         ctermfg=13
hi Debug           ctermfg=1
hi MatchParen      ctermfg=8    ctermbg=7
hi ErrorMsg        ctermfg=1    ctermbg=11
hi WildMenu        ctermfg=5    ctermbg=15
hi Folded          cterm=reverse ctermfg=6    ctermbg=0
hi Search          ctermfg=1    ctermbg=15
hi IncSearch       ctermfg=1    ctermbg=15
hi WarningMsg      ctermfg=9    ctermbg=15
hi Question        ctermfg=10   ctermbg=15
hi Pmenu           ctermfg=2    ctermbg=15
hi PmenuSel        ctermfg=1    ctermbg=15
hi Visual          ctermfg=8    ctermbg=15
hi StatusLine      ctermfg=0    ctermbg=7
hi StatusLineNC    ctermfg=8    ctermbg=0

" Specific for Vim script  --- 
hi vimCommentTitle ctermfg=10
hi vimFold         ctermfg=0    ctermbg=15

" Specific for help files  --- 
hi helpHyperTextJump ctermfg=11

" JS numbers only ---
hi javaScriptNumber ctermfg=11 

" Special for HTML ---
hi htmlTag        ctermfg=6   
hi htmlEndTag     ctermfg=6  
hi htmlTagName    ctermfg=11  

" Specific for Perl  --- 
hi perlSharpBang  ctermfg=10  term=standout
hi perlStatement  ctermfg=13
hi perlStatementStorage ctermfg=1
hi perlVarPlain   ctermfg=3
hi perlVarPlain2  ctermfg=11

" Specific for Ruby  --- 
hi rubySharpBang  ctermfg=10  term=standout

" Specific for diff  --- 
hi diffLine       ctermfg=10 
hi diffOldLine    ctermfg=2      
hi diffOldFile    ctermfg=2      
hi diffNewFile    ctermfg=2      
hi diffAdded      ctermfg=4 
hi diffRemoved    ctermfg=1        
hi diffChanged    ctermfg=6       

" Spell checking  --- 
if version >= 700
  hi clear SpellBad
  hi clear SpellCap
  hi clear SpellRare
  hi clear SpellLocal
  hi SpellBad    cterm=underline
  hi SpellCap    cterm=underline
  hi SpellRare   cterm=underline
  hi SpellLocal  cterm=underline
endif
" vim: foldmethod=marker foldmarker={{{,}}}:

#updated

Last edited by jasonwryan (2010-06-24 03:43:19)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2009-10-31 23:34:57

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: Share your vim theme

ath0 wrote:

Hey, smile
i searched a lot but can't found a vim theme thread, so i will create one smile
please post your vim with a syntaxhighlight, and paste the theme smile

http://omploader.org/tMm56bw

it is the Dante.vim theme:

Great font, what is it?

Offline

#5 2009-11-01 00:15:31

Daisuke_Aramaki
Member
From: ++49/711
Registered: 2008-10-06
Posts: 651
Website

Re: Share your vim theme

SamC wrote:

Great font, what is it?

Must be lime or one of those variants of it.

I alternate between dante and tango themes.


"You know what I found? Right in the kernel, in the heart of the operating system, I found a developer's comment that said, `Does this belong here?`" -- Simon Lok about Linux kernel in 2005
Reflections on the Strange and the not so Strange
http://skinwalker.wordpress.com

Offline

#6 2009-11-01 00:20:33

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: Share your vim theme

Daisuke_Aramaki wrote:
SamC wrote:

Great font, what is it?

Must be lime or one of those variants of it.

I alternate between dante and tango themes.

Thanks, I think I'll start using it.

Offline

#7 2009-11-01 02:08:11

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: Share your vim theme

Here's my all-time favourite, molokai.  Works great in Gvim and 256-color terminals:

" Vim color file
"
" Author: Tomas Restrepo <tomas@winterdom.com>
"
" Note: Based on the monokai theme for textmate
" by Wimer Hazenberg and its darker variant 
" by Hamish Stuart Macpherson
"

hi clear

set background=dark
if version > 580
    " no guarantees for version 5.8 and below, but this makes it stop
    " complaining
    hi clear
    if exists("syntax_on")
        syntax reset
    endif
endif
let g:colors_name="molokai"

if exists("g:molokai_original")
    let s:molokai_original = g:molokai_original
else
    let s:molokai_original = 0
endif


hi Boolean         guifg=#AE81FF
hi Character       guifg=#E6DB74
hi Number          guifg=#AE81FF
hi String          guifg=#E6DB74
hi Conditional     guifg=#F92672               gui=bold
hi Constant        guifg=#AE81FF               gui=bold
hi Cursor          guifg=#000000 guibg=#F8F8F0
hi Debug           guifg=#BCA3A3               gui=bold
hi Define          guifg=#66D9EF
hi Delimiter       guifg=#8F8F8F
hi DiffAdd                       guibg=#13354A
hi DiffChange      guifg=#89807D guibg=#4C4745
hi DiffDelete      guifg=#960050 guibg=#1E0010
hi DiffText                      guibg=#4C4745 gui=italic,bold

hi Directory       guifg=#A6E22E               gui=bold
hi Error           guifg=#960050 guibg=#1E0010
hi ErrorMsg        guifg=#F92672 guibg=#232526 gui=bold
hi Exception       guifg=#A6E22E               gui=bold
hi Float           guifg=#AE81FF
hi FoldColumn      guifg=#465457 guibg=#000000
hi Folded          guifg=#465457 guibg=#000000
hi Function        guifg=#A6E22E
hi Identifier      guifg=#FD971F
hi Ignore          guifg=#808080 guibg=bg
hi IncSearch       guifg=#C4BE89 guibg=#000000

hi Keyword         guifg=#F92672               gui=bold
hi Label           guifg=#E6DB74               gui=none
hi Macro           guifg=#C4BE89               gui=italic
hi SpecialKey      guifg=#66D9EF               gui=italic

hi MatchParen      guifg=#000000 guibg=#FD971F gui=bold
hi ModeMsg         guifg=#E6DB74
hi MoreMsg         guifg=#E6DB74
hi Operator        guifg=#F92672

" complete menu
hi Pmenu           guifg=#66D9EF guibg=#000000
hi PmenuSel                      guibg=#808080
hi PmenuSbar                     guibg=#080808
hi PmenuThumb      guifg=#66D9EF

hi PreCondit       guifg=#A6E22E               gui=bold
hi PreProc         guifg=#A6E22E
hi Question        guifg=#66D9EF
hi Repeat          guifg=#F92672               gui=bold
hi Search          guifg=#FFFFFF guibg=#455354
" marks column
hi SignColumn      guifg=#A6E22E guibg=#232526
hi SpecialChar     guifg=#F92672               gui=bold
hi SpecialComment  guifg=#465457               gui=bold
hi Special         guifg=#66D9EF guibg=bg      gui=italic
hi SpecialKey      guifg=#888A85               gui=italic
if has("spell")
    hi SpellBad    guisp=#FF0000 gui=undercurl
    hi SpellCap    guisp=#7070F0 gui=undercurl
    hi SpellLocal  guisp=#70F0F0 gui=undercurl
    hi SpellRare   guisp=#FFFFFF gui=undercurl
endif
hi Statement       guifg=#F92672               gui=bold
hi StatusLine      guifg=#455354 guibg=fg
hi StatusLineNC    guifg=#808080 guibg=#080808
hi StorageClass    guifg=#FD971F               gui=italic
hi Structure       guifg=#66D9EF
hi Tag             guifg=#F92672               gui=italic
hi Title           guifg=#ef5939
hi Todo            guifg=#FFFFFF guibg=bg      gui=bold

hi Typedef         guifg=#66D9EF
hi Type            guifg=#66D9EF               gui=none
hi Underlined      guifg=#808080               gui=underline

hi VertSplit       guifg=#808080 guibg=#080808 gui=bold
hi VisualNOS                     guibg=#403D3D
hi Visual                        guibg=#403D3D
hi WarningMsg      guifg=#FFFFFF guibg=#333333 gui=bold
hi WildMenu        guifg=#66D9EF guibg=#000000

if s:molokai_original == 1
   hi Normal          guifg=#F8F8F2 guibg=#272822
   hi Comment         guifg=#75715E
   hi CursorLine                    guibg=#3E3D32
   hi CursorColumn                  guibg=#3E3D32
   hi LineNr          guifg=#BCBCBC guibg=#3B3A32
   hi NonText         guifg=#BCBCBC guibg=#3B3A32
else
   hi Normal          guifg=#F8F8F2 guibg=#1B1D1E
   hi Comment         guifg=#465457
   hi CursorLine                    guibg=#293739
   hi CursorColumn                  guibg=#293739
   hi LineNr          guifg=#BCBCBC guibg=#232526
   hi NonText         guifg=#BCBCBC guibg=#232526
end

"
" Support for 256-color terminal
"
if &t_Co > 255
   hi Boolean         ctermfg=135
   hi Character       ctermfg=144
   hi Number          ctermfg=135
   hi String          ctermfg=144
   hi Conditional     ctermfg=161               cterm=bold
   hi Constant        ctermfg=135               cterm=bold
   hi Cursor          ctermfg=16  ctermbg=253
   hi Debug           ctermfg=225               cterm=bold
   hi Define          ctermfg=81
   hi Delimiter       ctermfg=241

   hi DiffAdd                     ctermbg=24
   hi DiffChange      ctermfg=181 ctermbg=239
   hi DiffDelete      ctermfg=162 ctermbg=53
   hi DiffText                    ctermbg=102 cterm=bold

   hi Directory       ctermfg=118               cterm=bold
   hi Error           ctermfg=219 ctermbg=89
   hi ErrorMsg        ctermfg=199 ctermbg=16    cterm=bold
   hi Exception       ctermfg=118               cterm=bold
   hi Float           ctermfg=135
   hi FoldColumn      ctermfg=67  ctermbg=16
   hi Folded          ctermfg=67  ctermbg=16
   hi Function        ctermfg=118
   hi Identifier      ctermfg=208
   hi Ignore          ctermfg=244 ctermbg=232
   hi IncSearch       ctermfg=193 ctermbg=16

   hi Keyword         ctermfg=161               cterm=bold
   hi Label           ctermfg=229               cterm=none
   hi Macro           ctermfg=193
   hi SpecialKey      ctermfg=81

   hi MatchParen      ctermfg=16  ctermbg=208 cterm=bold
   hi ModeMsg         ctermfg=229
   hi MoreMsg         ctermfg=229
   hi Operator        ctermfg=161

   " complete menu
   hi Pmenu           ctermfg=81  ctermbg=16
   hi PmenuSel                    ctermbg=244
   hi PmenuSbar                   ctermbg=232
   hi PmenuThumb      ctermfg=81

   hi PreCondit       ctermfg=118               cterm=bold
   hi PreProc         ctermfg=118
   hi Question        ctermfg=81
   hi Repeat          ctermfg=161               cterm=bold
   hi Search          ctermfg=253 ctermbg=66

   " marks column
   hi SignColumn      ctermfg=118 ctermbg=235
   hi SpecialChar     ctermfg=161               cterm=bold
   hi SpecialComment  ctermfg=245               cterm=bold
   hi Special         ctermfg=81  ctermbg=232
   hi SpecialKey      ctermfg=245

   hi Statement       ctermfg=161               cterm=bold
   hi StatusLine      ctermfg=238 ctermbg=253
   hi StatusLineNC    ctermfg=244 ctermbg=232
   hi StorageClass    ctermfg=208
   hi Structure       ctermfg=81
   hi Tag             ctermfg=161
   hi Title           ctermfg=166
   hi Todo            ctermfg=231 ctermbg=232   cterm=bold

   hi Typedef         ctermfg=81
   hi Type            ctermfg=81                cterm=none
   hi Underlined      ctermfg=244               cterm=underline

   hi VertSplit       ctermfg=244 ctermbg=232   cterm=bold
   hi VisualNOS                   ctermbg=238
   hi Visual                      ctermbg=235
   hi WarningMsg      ctermfg=231 ctermbg=238   cterm=bold
   hi WildMenu        ctermfg=81  ctermbg=16

   hi Normal          ctermfg=252 ctermbg=233
   hi Comment         ctermfg=59
   hi CursorLine                  ctermbg=234   cterm=none
   hi CursorColumn                ctermbg=234
   hi LineNr          ctermfg=250 ctermbg=234
   hi NonText         ctermfg=250 ctermbg=234
end

thayer williams ~ cinderwick.ca

Offline

#8 2009-11-01 02:29:14

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: Share your vim theme

tMm8xYg

When I find a colorscheme I like, I usually stick with for a year.  Using wombat256, I like this theme, I imagine I don't get any points for originality though smile.

" Vim color file
" Maintainer:   David Liang (bmdavll at gmail dot com)
" Last Change:  November 28 2008
"
" wombat256.vim - a modified version of Wombat by Lars Nielsen that also
" works on xterms with 88 or 256 colors. The algorithm for approximating the
" GUI colors with the xterm palette is from desert256.vim by Henry So Jr.

set background=dark

if version > 580
    hi clear
    if exists("syntax_on")
        syntax reset
    endif
endif

let g:colors_name = "wombat256"

if !has("gui_running") && &t_Co != 88 && &t_Co != 256
    finish
endif

" functions {{{
" returns an approximate grey index for the given grey level
fun <SID>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

" returns the actual grey level represented by the grey index
fun <SID>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

" returns the palette index for the given grey index
fun <SID>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

" returns an approximate color index for the given color level
fun <SID>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

" returns the actual color level for the given color index
fun <SID>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

" returns the palette index for the given R/G/B color indices
fun <SID>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

" returns the palette index to approximate the given R/G/B color levels
fun <SID>color(r, g, b)
    " get the closest grey
    let l:gx = <SID>grey_number(a:r)
    let l:gy = <SID>grey_number(a:g)
    let l:gz = <SID>grey_number(a:b)

    " get the closest color
    let l:x = <SID>rgb_number(a:r)
    let l:y = <SID>rgb_number(a:g)
    let l:z = <SID>rgb_number(a:b)

    if l:gx == l:gy && l:gy == l:gz
        " there are two possibilities
        let l:dgr = <SID>grey_level(l:gx) - a:r
        let l:dgg = <SID>grey_level(l:gy) - a:g
        let l:dgb = <SID>grey_level(l:gz) - a:b
        let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb)
        let l:dr = <SID>rgb_level(l:gx) - a:r
        let l:dg = <SID>rgb_level(l:gy) - a:g
        let l:db = <SID>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
            " use the grey
            return <SID>grey_color(l:gx)
        else
            " use the color
            return <SID>rgb_color(l:x, l:y, l:z)
        endif
    else
        " only one possibility
        return <SID>rgb_color(l:x, l:y, l:z)
    endif
endfun

" returns the palette index to approximate the 'rrggbb' hex string
fun <SID>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 <SID>color(l:r, l:g, l:b)
endfun

" sets the highlighting for the given group
fun <SID>X(group, fg, bg, attr)
    if a:fg != ""
        exec "hi ".a:group." guifg=#".a:fg." ctermfg=".<SID>rgb(a:fg)
    endif
    if a:bg != ""
        exec "hi ".a:group." guibg=#".a:bg." ctermbg=".<SID>rgb(a:bg)
    endif
    if a:attr != ""
        if a:attr == 'italic'
            exec "hi ".a:group." gui=".a:attr." cterm=none"
        else
            exec "hi ".a:group." gui=".a:attr." cterm=".a:attr
        endif
    endif
endfun
" }}}

call <SID>X("Normal",        "cccccc",    "242424",    "none")
call <SID>X("Cursor",        "222222",    "ecee90",    "none")
call <SID>X("CursorLine",    "",            "32322e",    "none")
call <SID>X("CursorColumn",    "",            "2d2d2d",    "")
            "CursorIM
            "Question
            "IncSearch
call <SID>X("Search",        "444444",    "87d794",    "")
call <SID>X("MatchParen",    "ecee90",    "857b6f",    "bold")
call <SID>X("SpecialKey",    "6c6c6c",    "2d2d2d",    "none")
call <SID>X("Visual",        "ecee90",    "597418",    "none")
call <SID>X("LineNr",        "857b6f",    "121212",    "none")
call <SID>X("Folded",        "a0a8b0",    "404048",    "none")
call <SID>X("Title",        "f6f3e8",    "",            "bold")
call <SID>X("VertSplit",    "444444",    "444444",    "none")
call <SID>X("StatusLine",    "f6f3e8",    "444444",    "italic")
call <SID>X("StatusLineNC",    "857b6f",    "444444",    "none")
            "Scrollbar
            "Tooltip
            "Menu
            "WildMenu
call <SID>X("Pmenu",        "f6f3e8",    "444444",    "")
call <SID>X("PmenuSel",        "121212",    "caeb82",    "")
call <SID>X("WarningMsg",    "ff0000",    "",            "")
            "ErrorMsg
            "ModeMsg
            "MoreMsg
            "Directory
            "DiffAdd
            "DiffChange
            "DiffDelete
            "DiffText

" syntax highlighting
call <SID>X("Number",        "e5786d",    "",            "none")
call <SID>X("Constant",        "e5786d",    "",            "none")
call <SID>X("String",        "95e454",    "",            "italic")
call <SID>X("Comment",        "818181",    "",            "italic")
call <SID>X("Identifier",    "caeb82",    "",            "none")
call <SID>X("Keyword",        "87afff",    "",            "none")
call <SID>X("Statement",    "87afff",    "",            "none")
call <SID>X("Function",        "caeb82",    "",            "none")
call <SID>X("PreProc",        "e5786d",    "",            "none")
call <SID>X("Type",            "caeb82",    "",            "none")
call <SID>X("Special",        "ffdead",    "",            "none")
call <SID>X("Todo",            "857b6f",    "",            "italic")
            "Underlined
            "Error
            "Ignore

hi! link VisualNOS    Visual
hi! link NonText    LineNr
hi! link FoldColumn    Folded

" delete functions {{{
delf <SID>X
delf <SID>rgb
delf <SID>color
delf <SID>rgb_color
delf <SID>rgb_level
delf <SID>rgb_number
delf <SID>grey_color
delf <SID>grey_level
delf <SID>grey_number
" }}}

" vim:set ts=4 sw=4 noet fdm=marker:

Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#9 2009-11-01 04:04:56

droog
Member
Registered: 2004-11-18
Posts: 877

Re: Share your vim theme

Mine just uses my .Xdefaults for colors
2009-11-01-071155_970x796_thumb.png

Sometimes I call it droog.vim, it evolves alot.

hi Search       ctermfg=darkgreen ctermbg=black
hi LineNr       ctermfg=darkgreen ctermbg=black
hi StatusLine   ctermfg=white ctermbg=green
hi StatusLineNC ctermfg=white ctermbg=black
hi visual       ctermfg=black ctermbg=green

" syntax
hi Comment      term=bold       ctermfg=cyan
hi PreProc      term=underline  ctermfg=darkblue
hi Constant     term=underline  ctermfg=darkgreen
hi Type         term=underline  ctermfg=red
hi Statement    term=bold       ctermfg=red
hi Identifier   term=underline  ctermfg=red
hi Ignore       term=bold       ctermfg=darkgray
hi Special      term=underline  ctermfg=brown
hi Error        ctermfg=white   ctermbg=black   cterm=NONE
hi Todo         term=standout   ctermfg=black   ctermbg=yellow
hi Underlined   term=underline  cterm=underline ctermfg=darkblue
hi Number       term=underline  ctermfg=magenta

Offline

#10 2009-11-01 04:47:06

Jimi
Member
From: Brooklyn, NY
Registered: 2009-09-25
Posts: 125
Website

Re: Share your vim theme

woah, coreavc for mplayer? thank god I read this, thanks alot!

Offline

#11 2009-11-01 04:53:46

droog
Member
Registered: 2004-11-18
Posts: 877

Re: Share your vim theme

Jimi wrote:

woah, coreavc for mplayer? thank god I read this, thanks alot!

Yeah i think there are some iffy packages in the aur. but yeah coreavc makes a huge difference.

Last edited by droog (2009-11-01 04:55:44)

Offline

#12 2009-11-03 21:32:03

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: Share your vim theme

I've been looking for a good redish and white with a bit of orange and blue forever, still haven't found one. sad

Offline

#13 2009-11-04 05:43:54

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Share your vim theme

Reasons wrote:

I've been looking for a good redish and white with a bit of orange and blue forever, still haven't found one. sad

There are not many as far as I know. Perhaps you find an approximately suiting one here which you may adapt to your preferences.


To know or not to know ...
... the questions remain forever.

Offline

#14 2009-11-05 12:26:14

Psyce
Member
Registered: 2008-05-06
Posts: 51

Re: Share your vim theme

Hi everybody,

when I first installed vim, I had colors. Don't know when but now every text is white.

Can anyone help me? Tried to take a style from here. Did paste all in .vimrc in my home directory.
But the text only changed to the maincolor.

Offline

#15 2009-11-05 14:15:23

ArchArael
Member
Registered: 2005-06-14
Posts: 504

Re: Share your vim theme

Psyce wrote:

Hi everybody,

when I first installed vim, I had colors. Don't know when but now every text is white.

Can anyone help me? Tried to take a style from here. Did paste all in .vimrc in my home directory.
But the text only changed to the maincolor.

The files you collect here are supposed to be put into ~/.vim/colors/ and not .vimrc.

.vimrc is the config file for vim and should contain only vim settings.

For syntax highlighting you should have in your .vimrc:

syntax on

Then, you can open a file in vim and you can change your color scheme with:

:colorescheme yourscheme

You can put the line in your .vimrc if you want that scheme all the time.

If your text after this is still white there are two options. You are editing a file whose syntax is unknown to vim or you are using bare vi.

Try to save an html page locally and open it in vim command (and not vi) if you want to be sure.

Last edited by ArchArael (2009-11-05 14:21:09)

Offline

#16 2009-11-05 15:22:19

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: Share your vim theme

The wiki has a blurb on this too in the configuration section.


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#17 2009-11-05 20:18:52

Psyce
Member
Registered: 2008-05-06
Posts: 51

Re: Share your vim theme

ok thanx helped me out

Offline

#18 2009-11-05 22:58:34

portix
Member
Registered: 2009-01-13
Posts: 757

Re: Share your vim theme

Almost looks like the default gvim-theme.
tMnBldw

set background=light
hi clear
if exists("syntax_on")
    syntax reset
endif
let g:colors_name="xvim"

au InsertEnter * call InsertStatuslineColor(v:insertmode)
au InsertLeave * hi statusline ctermfg=16 ctermbg=255
function! InsertStatuslineColor(mode)
  if a:mode == 'i'
    hi statusline ctermfg=40 ctermbg=0 
  elseif a:mode == 'r'
    hi statusline ctermfg=93
  else
    hi statusline ctermfg=196 
  endif
endfunction

hi Normal       cterm= NONE         ctermfg=16          ctermbg=15
hi Comment        cterm= NONE            ctermfg=20            ctermbg=15
hi Constant        cterm= NONE            ctermfg=201         ctermbg=15
hi Identifier    cterm= NONE            ctermfg=16        ctermbg=15
hi Statement     cterm= bold            ctermfg=88    ctermbg=15
hi PreProc        cterm= NONE            ctermfg=91    ctermbg=15    
hi Type            cterm= bold            ctermfg=28    ctermbg=15
hi Special        cterm= NONE            ctermfg=53        ctermbg=15
hi String          cterm= NONE          ctermfg=201      ctermbg=15
hi Number          cterm= NONE            ctermfg=201
hi Boolean      cterm= bold         ctermfg=53    ctermbg=15
hi Gutter         cterm= NONE            ctermfg=Black        ctermbg=Grey
hi Todo            cterm= bold         ctermfg=15        ctermbg=201
hi LineNr        cterm= NONE         ctermfg=124       ctermbg=15
hi NonText         cterm= bold         ctermfg=241      ctermbg=15
hi Visual        cterm= NONE                            ctermbg=253
hi SpellBad     cterm= underline    ctermfg=16     ctermbg=225
hi SpellCap     cterm= underline    ctermfg=16     ctermbg=195
hi TabLine      cterm= bold         ctermfg=16     ctermbg=15
hi TabLine      cterm= NONE ctermfg=16     ctermbg=247
hi TabLineFill  cterm= NONE         ctermfg=15     ctermbg=16
hi TabLineSel  cterm= bold         ctermfg=16     ctermbg=15

Last edited by portix (2009-11-05 22:59:16)

Offline

#19 2009-11-07 05:52:04

Isengrin
Member
Registered: 2008-08-07
Posts: 166

Re: Share your vim theme

thumb-relaxedgreen.png
The theme is relaxedgreen from the vim-colorsamplerpack package, I just removed the black background to make it transparent.

" ----------------------------------------------------------------------------------------------------------------------------------
" Filename:      relaxedgreen.vim
" Last Modified: 13 Feb 2005 02:57:55 AM by Dave Vehrs
" Maintainer:    Dave Vehrs (davev at ziplip.com)
" Copyright:     2002-2005 Dave Vehrs
"                This script is free software; you can redistribute it and/or 
"                modify it under the terms of the GNU General Public License as 
"                published by the Free Software Foundation; either version 2 of 
"                the License, or (at your option) any later version. 
" Description:   Vim colorscheme file.
" Install:       Put this file in the users colors directory (~/.vim/colors) or 
"                in the shared colors directory (/usr/shared/vim/vim61/colors/),
"                then load it with :colorscheme relaxedgreen
" ----------------------------------------------------------------------------------------------------------------------------------
set background=dark
hi clear
if exists("syntax_on")
  syntax reset
endif
let g:colors_name = "relaxedgreen"
highlight Cursor        term=reverse      ctermfg=black ctermbg=darkgreen               guifg=#000000 guibg=#559955
highlight CursorIM      term=reverse      ctermfg=black ctermbg=darkgreen               guifg=#000000 guibg=#336633
highlight Comment       term=italic       ctermfg=darkcyan                              guifg=#00a594
highlight Constant      term=underline    ctermfg=blue                                  guifg=#0099dd
highlight Debug         term=bold         ctermfg=red ctermbg=none                     guifg=#dc0000 guibg=#000000
highlight DiffAdd       term=reverse      ctermfg=black ctermbg=cyan                    guifg=#000000 guibg=#007200
highlight DiffChange    term=underline    cterm=reverse ctermfg=darkgreen ctermbg=none guifg=#000000 guibg=#006700
highlight DiffDelete    term=standout     ctermfg=black ctermbg=cyan                    guifg=#000000 guibg=#007200
highlight DiffText      term=bold         ctermfg=green ctermbg=none                   guifg=#00ac00 guibg=#000000
highlight Directory     term=underline    ctermfg=green ctermbg=none                   guifg=#336633 guibg=#000000
highlight Error         term=reverse,bold cterm=none ctermfg=black ctermbg=red          gui=none guifg=#000000 guibg=#dc0000
highlight ErrorMsg      term=reverse,bold cterm=none ctermfg=white ctermbg=red          gui=none guifg=#ffffff guibg=#dc0000
highlight Folded                          ctermfg=darkgreen ctermbg=none               guifg=#20de20 guibg=#000000
highlight FoldColumn                      ctermfg=darkgreen ctermbg=none               guifg=#20de20 guibg=#000000
highlight Function      term=standout     ctermfg=darkgreen                             guifg=#22bb22
highlight Identifier    term=underline    ctermfg=darkcyan                              guifg=#004400
highlight Ignore                          ctermfg=lightgreen                            guifg=#336633
highlight IncSearch     term=reverse      cterm=none ctermfg=black ctermbg=darkgreen    gui=none guifg=#000000 guibg=#336633
highlight LineNr        term=bold         ctermfg=green                                 guifg=#00ff00
highlight ModeMsg       term=bold         cterm=bold                                    gui=bold
highlight MoreMsg       term=bold         cterm=bold                                    gui=bold
highlight NonText                         ctermfg=darkcyan                              guifg=#999999
highlight Normal                          ctermfg=gray ctermbg=none                    guifg=#aaaaaa guibg=#000000
highlight PreProc       term=standout     ctermfg=darkgreen                             guifg=#22bb22
highlight Question      term=standout     ctermfg=red                                   guifg=#ff0000
highlight Search        term=reverse      cterm=none ctermfg=black ctermbg=darkgreen    gui=none guifg=#000000 guibg=#228822
highlight SignColumn                      ctermfg=darkgreen ctermbg=none               guifg=#20de20 guibg=#000000
highlight Special       term=bold         ctermfg=green                                 guifg=#00ff00
highlight SpecialKey    term=bold         ctermfg=green                                 guifg=#00ff00
highlight Statement     term=standout     ctermfg=darkred                               gui=none guifg=#ac0000
highlight StatusLine    term=reverse      cterm=reverse ctermfg=darkgreen ctermbg=none gui=none guibg=#228822 guifg=#333333
highlight StatusLineNC  term=reverse      cterm=reverse ctermfg=darkgreen ctermbg=gray  gui=none guibg=#336633 guifg=#449988
highlight Title         term=reverse      ctermfg=black ctermbg=green                   guifg=#000000 guibg=#00ff00
highlight Todo          term=reverse      cterm=reverse ctermfg=darkgreen ctermbg=none gui=none guibg=#336633 guifg=#000000
highlight Type          term=standout     ctermfg=green                                 guifg=#559955
highlight Visual        term=reverse      cterm=none ctermfg=black ctermbg=darkgreen    gui=none guifg=#000000 guibg=#336633
highlight VisualNOS     term=reverse,bold cterm=none ctermfg=black ctermbg=green        gui=none guifg=#000000 guibg=#228822
highlight VertSplit     term=reverse      ctermfg=darkgreen                             guifg=#336633
highlight User1         term=standout     cterm=bold ctermbg=darkgreen ctermfg=red      gui=bold guibg=#228822 guifg=#FF0000
highlight WarningMsg    term=reverse      ctermfg=black ctermbg=yellow                  guifg=#000000 guibg=#007a7a
highlight WildMenu      term=reverse      ctermfg=black ctermbg=darkgreen               guifg=#000000 guibg=#00ac00

" ----------------------------------------------------------------------------------------------------------------------------------
" Common groups that link to other highlightghlighting definitions.

highlight link Constant     Character
highlight link Constant     Number
highlight link Constant     Boolean
highlight link Constant     String

highlight link LineNr       Operator

highlight link Number       Float

highlight link PreProc      Define
highlight link PreProc      Include
highlight link PreProc      Macro
highlight link PreProc      PreCondit

highlight link Question     Repeat

highlight link Repeat       Conditional

highlight link Special      Delimiter
highlight link Special      SpecialChar
highlight link Special      SpecialComment
highlight link Special      Tag

highlight link Statement    Exception
highlight link Statement    Keyword
highlight link Statement    Label

highlight link Type         StorageClass
highlight link Type         Structure
highlight link Type         Typedef

" ----------------------------------------------------------------------------------------------------------------------------------
" vim:tw=132:ts=4:sw=4

Plus, my .Xdefaults have something to do:

Xcursor.theme:DMZ-White

urxvt*font:            xft:ProFont:pixelsize=14
#urxvt*font:            xft:terminus:pixelsize=14
urxvt*background:       #000000
urxvt*foreground:       #cccccc
urxvt*scrollBar:        false
urxvt*perl-lib:         /usr/lib/urxvt/perl/
urxvt*perl-ext-common:  default,matcher,clipboard
urxvt*urlLauncher:      firefox

urxvt*depth: 32
urxvt*matcher.button:   1

Xft*dpi:                96
Xft*antialias:          true
Xft*hinting:            full

URxvt.imLocale: en_GB.UTF-8
URxvt.transparent:   true
URxvt.tintColor:     black
URxvt.shading:       7
 
URxvt*color0:      #000000
URxvt*color1:      #80642a
URxvt*color2:      #58763e
URxvt*color3:      #968a38
URxvt*color4:      #414171
URxvt*color5:      #812140
URxvt*color6:      #418179
URxvt*color7:      #bebebe
URxvt*color8:      #666666
URxvt*color9:      #cb6102
URxvt*color10:     #68B823
URxvt*color11:     #d0c53c
URxvt*color12:     #4186be
URxvt*color13:     #a24e85
URxvt*color14:     #71bebe
URxvt*color15:     #ffffff

Last edited by Isengrin (2009-11-07 05:55:45)


The Wheel weaves as the Wheel wills, and we are only the thread of the Pattern."
—Moiraine Damodred

Offline

#20 2009-11-07 16:27:02

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Share your vim theme

Mine is nothing fancy. This is gvim and is almost identical in vim when using guicolorscheme. It's a slightly modified version of the 'developer' theme that can be found below. The blue border is from the WM:

http://vimcolorschemetest.googlecode.co … -java.html

tMnB0bg

Offline

#21 2009-11-07 23:12:29

N30N
Member
Registered: 2007-04-08
Posts: 273

Re: Share your vim theme

I use a a modified version of zenburn.vim 1.15.

vim.png

--- zenburn.vim    2009-11-07 23:32:46.786858037 +0100
+++ zenburn_mod.vim    2009-08-25 00:45:34.289182533 +0200
@@ -59,11 +59,11 @@
 "   - add more groups if necessary
 
 set background=dark
-hi clear          
+hi clear
 if exists("syntax_on")
     syntax reset
 endif
-let g:colors_name="zenburn"
+let g:colors_name="zenburn_mod"
 
 hi Boolean         guifg=#dca3a3
 hi Character       guifg=#dca3a3 gui=bold
@@ -124,51 +124,52 @@
 
 " Entering Kurt zone
 if &t_Co > 255
-    hi Boolean         ctermfg=181  
+    hi Boolean         ctermfg=181
     hi Character       ctermfg=181   cterm=bold
-    hi Comment         ctermfg=108   
+    hi Comment         ctermfg=108
     hi Conditional     ctermfg=223   cterm=bold
     hi Constant        ctermfg=181   cterm=bold
     hi Cursor          ctermfg=233   ctermbg=109     cterm=bold
     hi Debug           ctermfg=181   cterm=bold
     hi Define          ctermfg=223   cterm=bold
-    hi Delimiter       ctermfg=245  
+    hi Delimiter       ctermfg=245
     hi DiffAdd         ctermfg=66    ctermbg=237     cterm=bold
-    hi DiffChange      ctermbg=236  
-    hi DiffDelete      ctermfg=236   ctermbg=238    
+    hi DiffChange      ctermbg=236
+    hi DiffDelete      ctermfg=236   ctermbg=238
     hi DiffText        ctermfg=217   ctermbg=237     cterm=bold
     hi Directory       ctermfg=188   cterm=bold
     hi ErrorMsg        ctermfg=115   ctermbg=236     cterm=bold
     hi Exception       ctermfg=249   cterm=bold
-    hi Float           ctermfg=251  
-    hi FoldColumn      ctermfg=109   ctermbg=238    
-    hi Folded          ctermfg=109   ctermbg=238    
-    hi Function        ctermfg=228  
-    hi Identifier      ctermfg=223  
-    hi IncSearch       ctermbg=228   ctermfg=238    
+    hi Float           ctermfg=251
+    hi FoldColumn      ctermfg=109   ctermbg=238
+    hi Folded          ctermfg=109   ctermbg=238
+    hi Function        ctermfg=228
+    hi Identifier      ctermfg=223
+    hi IncSearch       ctermbg=228   ctermfg=238
     hi Keyword         ctermfg=223   cterm=bold
     hi Label           ctermfg=187   cterm=underline
-    hi LineNr          ctermfg=248   ctermbg=235    
+    hi LineNr          ctermfg=248   ctermbg=235
     hi Macro           ctermfg=223   cterm=bold
     hi ModeMsg         ctermfg=223   cterm=none
     hi MoreMsg         ctermfg=15    cterm=bold
-    hi NonText         ctermfg=238  
-    hi Number          ctermfg=116  
-    hi Operator        ctermfg=230  
+    hi NonText         ctermfg=238
+    hi Number          ctermfg=116
+    hi Operator        ctermfg=230
     hi PreCondit       ctermfg=180   cterm=bold
     hi PreProc         ctermfg=223   cterm=bold
     hi Question        ctermfg=15    cterm=bold
     hi Repeat          ctermfg=223   cterm=bold
-    hi Search          ctermfg=230   ctermbg=236    
+    hi Search          ctermfg=230   ctermbg=236
     hi SpecialChar     ctermfg=181   cterm=bold
     hi SpecialComment  ctermfg=108   cterm=bold
-    hi Special         ctermfg=181  
-    hi SpecialKey      ctermfg=151  
+    hi Special         ctermfg=181
+    " hi SpecialKey      ctermfg=151
+    hi SpecialKey      ctermfg=DarkGray cterm=bold
     hi Statement       ctermfg=187   ctermbg=234     cterm=none
-    hi StatusLine      ctermfg=237   ctermbg=186    
-    hi StatusLineNC    ctermfg=236   ctermbg=108    
+    hi StatusLine      ctermfg=237   ctermbg=186
+    hi StatusLineNC    ctermfg=236   ctermbg=108
     hi StorageClass    ctermfg=249   cterm=bold
-    hi String          ctermfg=174  
+    hi String          ctermfg=247
     hi Structure       ctermfg=229   cterm=bold
     hi Tag             ctermfg=181   cterm=bold
     hi Title           ctermfg=7     ctermbg=234     cterm=bold
@@ -180,10 +181,22 @@
     hi VisualNOS       ctermfg=236   ctermbg=210     cterm=bold
     hi WarningMsg      ctermfg=15    ctermbg=236     cterm=bold
     hi WildMenu        ctermbg=236   ctermfg=194     cterm=bold
+    hi MatchParen      term=reverse  ctermbg=238
+    hi Pmenu           ctermbg=0     gui=none
+    hi PmenuSel        ctermfg=230   ctermbg=0       cterm=bold gui=none
+    hi PmenuSbar       ctermbg=0     gui=none
+    hi PmenuThumb      ctermbg=7     gui=none
+    " hi SpellBad        ctermfg=9     ctermbg=none    cterm=bold,underline
+    hi SpellBad        none
+    hi SpellCap        none
+    hi SpellLocal      none
+    hi SpellRare       none
+    hi Breakpoint      ctermbg=9
+    hi OverLength      cterm=reverse guibg=black
     if exists("g:zenburn_high_Contrast")
         hi Normal ctermfg=188 ctermbg=234
     else
-        hi Normal ctermfg=188 ctermbg=237
+        hi Normal ctermfg=188
         hi Cursor          ctermbg=109
         hi diffadd         ctermbg=237
         hi diffdelete      ctermbg=238
@@ -194,7 +207,7 @@
         hi incsearch       ctermbg=228
         hi linenr          ctermbg=238  
         hi search          ctermbg=238
-        hi statement       ctermbg=237
+        hi statement       ctermfg=15   ctermbg=none  
         hi statusline      ctermbg=144
         hi statuslinenc    ctermbg=108
         hi title           ctermbg=237

Offline

#22 2009-11-08 20:02:49

HashBox
Member
Registered: 2009-01-22
Posts: 271

Re: Share your vim theme

@N30N, sorry to be a pain but could you spare me the line in your .vimrc that gives you those little tab arrows?

Offline

#23 2009-11-08 21:45:20

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: Share your vim theme

Isengrin: Your link leads to some webhosting service. No picture there.


@ Droog, N3ON:
You guys are using gvim rather than vim, or am I mistaken? The well defined line numbering on the left, which has a different background color than the editing panel, that can't be done in normal vim, can it?

Offline

#24 2009-11-08 22:05:14

efeX
Member
Registered: 2009-11-06
Posts: 18

Re: Share your vim theme

ath0 wrote:

Hey, smile
i searched a lot but can't found a vim theme thread, so i will create one smile
please post your vim with a syntaxhighlight, and paste the theme smile

http://omploader.org/tMm56bw

it is the Dante.vim theme:

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" File: "/home/caciano/.vim/dante.vim"
" Created: "Thu, 23 May 2002 00:12:20 -0300 (caciano)"
" Updated: "Sat, 24 Aug 2002 14:04:21 -0300 (caciano)"
" Copyright (C) 2002, Caciano Machado <caciano@inf.ufrgs.br>
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Colorscheme Option:
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
hi clear
if exists("syntax on")
    syntax reset
endif
let g:colors_name = "dante"
 
" General colors
hi Normal ctermfg=gray guifg=peachpuff3 guibg=black
hi Directory term=bold ctermfg=blue guifg=royalblue
hi ErrorMsg term=standout ctermfg=white ctermbg=red guifg=white guibg=red3
hi NonText term=bold ctermfg=darkgray guibg=gray3 guifg=gray20
hi SpecialKey term=bold ctermfg=darkgray guifg=gray30
hi LineNr term=underline ctermfg=darkgray guifg=ivory4 guibg=gray4
hi IncSearch term=reverse cterm=reverse gui=reverse,bold guifg=darkgoldenrod2
hi Search term=reverse ctermfg=black ctermbg=yellow guifg=gray10 guibg=gold2
hi Visual term=bold,reverse cterm=bold,reverse ctermfg=gray ctermbg=black  gui=bold,reverse guifg=gray40 guibg=black
hi VisualNOS term=bold,underline cterm=bold,underline gui=bold,underline
hi MoreMsg term=bold ctermfg=green gui=bold guifg=olivedrab1
hi ModeMsg term=bold cterm=bold gui=bold
hi Question term=standout ctermfg=green gui=bold guifg=olivedrab1
hi WarningMsg term=standout ctermfg=red gui=bold guifg=red3
hi WildMenu term=standout ctermfg=black ctermbg=yellow guifg=black guibg=gold2
hi Folded term=standout ctermfg=blue ctermbg=white guifg=royalblue1 guibg=white
hi FoldColumn term=standout ctermfg=blue ctermbg=white guifg=royalblue3 guibg=white
hi DiffAdd term=bold ctermbg=blue guibg=royalblue2
hi DiffChange term=bold ctermbg=darkmagenta guibg=maroon
hi DiffDelete term=bold cterm=bold ctermfg=lightblue ctermbg=cyan gui=bold guifg=lightblue guibg=cyan4
hi DiffText term=reverse cterm=bold ctermbg=red gui=bold guibg=red3
hi Cursor guifg=bg guibg=fg
hi lCursor guifg=bg guibg=fg
hi StatusLine term=reverse cterm=reverse gui=reverse guifg=gray60
hi StatusLineNC term=reverse cterm=reverse gui=reverse guifg=gray40
hi VertSplit term=reverse cterm=reverse gui=bold,reverse guifg=gray40
hi Title term=bold ctermfg=magenta gui=bold guifg=aquamarine
 
" syntax hi colors
hi Comment term=bold ctermfg=darkcyan guifg=cyan4
hi PreProc term=underline ctermfg=darkblue guifg=dodgerblue4
hi Constant term=underline ctermfg=darkred guifg=firebrick3
hi Type term=underline ctermfg=darkgreen gui=none guifg=chartreuse3
hi Statement term=bold ctermfg=darkyellow gui=none guifg=gold3
hi Identifier term=underline ctermfg=darkgreen guifg=darkolivegreen4
hi Ignore term=bold ctermfg=darkgray guifg=gray45
hi Special term=underline ctermfg=brown guifg=sienna
hi Error term=reverse ctermfg=gray ctermbg=red guifg=gray guibg=red3
hi Todo term=standout ctermfg=black ctermbg=yellow gui=bold guifg=gray10 guibg=yellow4
hi Underlined term=underline cterm=underline ctermfg=darkblue gui=underline guifg=slateblue
hi Number term=underline ctermfg=darkred guifg=red2
" syntax hi links
hi link String Constant
hi link Character Constant
hi link Number Constant
hi link Boolean Constant
hi link Float Number
hi link Function Identifier
hi link Number Constant
hi link Conditional Statement
hi link Repeat Statement
hi link Label Statement
hi link Keyword Statement
hi link Exception Statement
hi link Operator Statement
hi link Include PreProc
hi link Define PreProc
hi link Macro PreProc
hi link PreCondit PreProc
hi link StorageClass Type
hi link Structure Type
hi link Typedef Type
hi link Tag Special
hi link SpecialChar Special
hi link Delimiter Special
hi link SpecialComment Special
hi link Debug Special
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

What font?

Offline

#25 2009-11-09 01:58:18

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Share your vim theme

Stalafin wrote:

You guys are using gvim rather than vim, or am I mistaken? The well defined line numbering on the left, which has a different background color than the editing panel, that can't be done in normal vim, can it?

This is possible in terminal based vim as well. See for example this one in urxvt (256 color):

tabula-vim.png

It is my favorite colorscheme (this vim script) and, as shown in the screenshot, does provide a lot of customization options including underlined and not underlined line numbers.


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB