From 1c3947bbc0e34a95aebd9e46a03a47021ad87e84 Mon Sep 17 00:00:00 2001 From: Alin Popa Date: Mon, 14 May 2012 22:33:10 +0300 Subject: [PATCH] Initial commit. --- .bash_profile | 27 + .bashrc | 89 + .gemrc | 2 + .vim/.netrwhist | 2 + .vim/.netrwhist~ | 5 + .vim/autoload/pathogen.vim | 245 + .vim/autoload/rails.vim | 4378 +++++++++++++++++ .vim/autoload/vimclojure.vim | 672 +++ .vim/bundle/syntastic | 1 + .vim/bundle/vimerl | 1 + .vim/colors/256-grayvim.vim | 46 + .vim/colors/256-jungle.vim | 50 + .vim/colors/3dglasses.vim | 110 + .vim/colors/BlackSea.vim | 37 + .vim/colors/ChocolateLiquor.vim | 36 + .vim/colors/ChocolatePapaya.vim | 52 + .vim/colors/CodeFactoryv3.vim | 266 + .vim/colors/DevC++.vim | 32 + .vim/colors/MountainDew.vim | 120 + .vim/colors/PapayaWhip.vim | 31 + .vim/colors/adam.vim | 48 + .vim/colors/adaryn.vim | 72 + .vim/colors/adobe.vim | 194 + .vim/colors/adrian.vim | 97 + .vim/colors/advantage.vim | 69 + .vim/colors/af.vim | 99 + .vim/colors/aiseered.vim | 37 + .vim/colors/anotherdark.vim | 108 + .vim/colors/ansi_blows.vim | 197 + .vim/colors/aqua.vim | 44 + .vim/colors/ashen.vim | 34 + .vim/colors/asmanian_blood.vim | 42 + .vim/colors/astronaut.vim | 164 + .vim/colors/asu1dark.vim | 59 + .vim/colors/automation.vim | 59 + .vim/colors/autumn.vim | 88 + .vim/colors/autumnleaf.vim | 154 + .vim/colors/basic.vim | 47 + .vim/colors/bayQua.vim | 161 + .vim/colors/baycomb.vim | 319 ++ .vim/colors/bclear.vim | 69 + .vim/colors/beachcomber.vim | 64 + .vim/colors/beauty256.vim | 79 + .vim/colors/bensday.vim | 60 + .vim/colors/billw.vim | 103 + .vim/colors/biogoo.vim | 121 + .vim/colors/black_angus.vim | 115 + .vim/colors/blackbeauty.vim | 66 + .vim/colors/blackboard.vim | 55 + .vim/colors/blackdust.vim | 62 + .vim/colors/blacklight.vim | 49 + .vim/colors/blazer.vim | 83 + .vim/colors/blink.vim | 79 + .vim/colors/blue.vim | 41 + .vim/colors/bluechia.vim | 104 + .vim/colors/bluegreen.vim | 52 + .vim/colors/blueprint.vim | 60 + .vim/colors/blueshift.vim | 86 + .vim/colors/bluez.vim | 145 + .vim/colors/blugrine.vim | 42 + .vim/colors/bmichaelsen.vim | 55 + .vim/colors/bocau.vim | 187 + .vim/colors/bog.vim | 87 + .vim/colors/borland.vim | 60 + .vim/colors/breeze.vim | 70 + .vim/colors/brookstream.vim | 83 + .vim/colors/brown.vim | 32 + .vim/colors/busierbee.vim | 59 + .vim/colors/busybee.vim | 60 + .vim/colors/buttercream.vim | 59 + .vim/colors/bvemu.vim | 367 ++ .vim/colors/bw.vim | 55 + .vim/colors/c.vim | 32 + .vim/colors/calmar256-light.vim | 247 + .vim/colors/camo.vim | 76 + .vim/colors/campfire.vim | 57 + .vim/colors/candy.vim | 78 + .vim/colors/candycode.vim | 174 + .vim/colors/candyman.vim | 426 ++ .vim/colors/caramel.vim | 67 + .vim/colors/carrot.vim | 88 + .vim/colors/carvedwood.vim | 118 + .vim/colors/carvedwoodcool.vim | 116 + .vim/colors/chance-of-storm.vim | 155 + .vim/colors/charged-256.vim | 18 + .vim/colors/charon.vim | 62 + .vim/colors/chela_light.vim | 110 + .vim/colors/chlordane.vim | 79 + .vim/colors/chocolate.vim | 71 + .vim/colors/chrysoprase.vim | 53 + .vim/colors/ciscoacl.vim | 102 + .vim/colors/clarity.vim | 52 + .vim/colors/cleanphp.vim | 81 + .vim/colors/cloudy.vim | 49 + .vim/colors/clue.vim | 62 + .vim/colors/cobalt.vim | 103 + .vim/colors/cobaltish.vim | 96 + .vim/colors/codeblocks_dark.vim | 139 + .vim/colors/codeburn.vim | 203 + .vim/colors/coffee.vim | 60 + .vim/colors/coldgreen.vim | 56 + .vim/colors/colorer.vim | 79 + .vim/colors/colorful.vim | 133 + .vim/colors/colorful256.vim | 88 + .vim/colors/colorscheme_template.vim | 88 + .vim/colors/colorzone.vim | 168 + .vim/colors/contrasty.vim | 232 + .vim/colors/cool.vim | 82 + .vim/colors/corn.vim | 72 + .vim/colors/corporation.vim | 99 + .vim/colors/cthulhian.vim | 41 + .vim/colors/custom.vim | 91 + .vim/colors/d8g_01.vim | 32 + .vim/colors/d8g_02.vim | 32 + .vim/colors/d8g_03.vim | 31 + .vim/colors/d8g_04.vim | 31 + .vim/colors/dante.vim | 83 + .vim/colors/dark-ruby.vim | 294 ++ .vim/colors/darkBlue.vim | 91 + .vim/colors/darkZ.vim | 91 + .vim/colors/darkblack.vim | 60 + .vim/colors/darkblue2.vim | 105 + .vim/colors/darkbone.vim | 102 + .vim/colors/darkburn.vim | 300 ++ .vim/colors/darkdot.vim | 97 + .vim/colors/darkeclipse.vim | 102 + .vim/colors/darker-robin.vim | 87 + .vim/colors/darkerdesert.vim | 45 + .vim/colors/darkocean.vim | 52 + .vim/colors/darkrobot.vim | 67 + .vim/colors/darkroom.vim | 89 + .vim/colors/darkslategray.vim | 117 + .vim/colors/darkspectrum.vim | 130 + .vim/colors/darktango.vim | 75 + .vim/colors/darkzen.vim | 23 + .vim/colors/dawn.vim | 78 + .vim/colors/delek.vim | 57 + .vim/colors/delphi.vim | 23 + .vim/colors/denim.vim | 141 + .vim/colors/derefined.vim | 101 + .vim/colors/desert.vim | 105 + .vim/colors/desert256.vim | 338 ++ .vim/colors/desertEx.vim | 98 + .vim/colors/desertedocean.vim | 110 + .vim/colors/desertedoceanburnt.vim | 113 + .vim/colors/devbox-dark-256.vim | 143 + .vim/colors/deveiate.vim | 90 + .vim/colors/developer.vim | 67 + .vim/colors/django.vim | 59 + .vim/colors/donbass.vim | 89 + .vim/colors/doorhinge.vim | 99 + .vim/colors/doriath.vim | 56 + .vim/colors/dual.vim | 231 + .vim/colors/dull.vim | 91 + .vim/colors/dusk.vim | 71 + .vim/colors/earendel.vim | 161 + .vim/colors/earth.vim | 69 + .vim/colors/earthburn.vim | 201 + .vim/colors/eclipse.vim | 92 + .vim/colors/eclm_wombat.vim | 56 + .vim/colors/edo_sea.vim | 69 + .vim/colors/ego.vim | 153 + .vim/colors/ekinivim.vim | 53 + .vim/colors/ekvoli.vim | 105 + .vim/colors/elise.vim | 182 + .vim/colors/elisex.vim | 183 + .vim/colors/emacs.vim | 63 + .vim/colors/enzyme.vim | 69 + .vim/colors/evening_2.vim | 57 + .vim/colors/far.vim | 68 + .vim/colors/fine_blue.vim | 71 + .vim/colors/fnaqevan.vim | 67 + .vim/colors/fog.vim | 170 + .vim/colors/fokus.vim | 168 + .vim/colors/forneus.vim | 119 + .vim/colors/freya.vim | 79 + .vim/colors/fruidle.vim | 74 + .vim/colors/fruit.vim | 69 + .vim/colors/fruity.vim | 147 + .vim/colors/fu.vim | 121 + .vim/colors/gardener.vim | 271 + .vim/colors/gemcolors.vim | 87 + .vim/colors/gentooish.vim | 144 + .vim/colors/getafe.vim | 189 + .vim/colors/github.vim | 139 + .vim/colors/gobo.vim | 27 + .vim/colors/golded.vim | 113 + .vim/colors/golden.vim | 70 + .vim/colors/google.vim | 105 + .vim/colors/gor.vim | 47 + .vim/colors/gothic.vim | 45 + .vim/colors/grape.vim | 59 + .vim/colors/graywh.vim | 204 + .vim/colors/greens.vim | 55 + .vim/colors/greenvision.vim | 72 + .vim/colors/grey2.vim | 153 + .vim/colors/greyblue.vim | 75 + .vim/colors/guardian.vim | 103 + .vim/colors/guepardo.vim | 123 + .vim/colors/h80.vim | 44 + .vim/colors/habiLight.vim | 138 + .vim/colors/heliotrope.vim | 58 + .vim/colors/herald.vim | 385 ++ .vim/colors/hornet.vim | 62 + .vim/colors/ibmedit.vim | 60 + .vim/colors/icansee.vim | 61 + .vim/colors/impact.vim | 66 + .vim/colors/impactG.vim | 68 + .vim/colors/industrial.vim | 80 + .vim/colors/ingretu.vim | 72 + .vim/colors/inkpot.vim | 216 + .vim/colors/ir_black.vim | 212 + .vim/colors/ironman.vim | 133 + .vim/colors/jammy.vim | 111 + .vim/colors/jelleybeans.vim | 425 ++ .vim/colors/jellybeans.vim | 425 ++ .vim/colors/jellyx.vim | 235 + .vim/colors/jhdark.vim | 71 + .vim/colors/jhlight.vim | 80 + .vim/colors/kalt.vim | 213 + .vim/colors/kaltex.vim | 213 + .vim/colors/kate.vim | 59 + .vim/colors/kellys.vim | 271 + .vim/colors/khaki.vim | 178 + .vim/colors/kib_darktango.vim | 171 + .vim/colors/kib_plastic.vim | 188 + .vim/colors/kiss.vim | 147 + .vim/colors/kkruby.vim | 86 + .vim/colors/kruby.vim | 86 + .vim/colors/lazarus.vim | 23 + .vim/colors/legiblelight.vim | 362 ++ .vim/colors/leglight2.vim | 204 + .vim/colors/leo.vim | 191 + .vim/colors/less.vim | 54 + .vim/colors/lettuce.vim | 215 + .vim/colors/lightcolors.vim | 80 + .vim/colors/lilac.vim | 75 + .vim/colors/lilydjwg_dark.vim | 92 + .vim/colors/lilydjwg_green.vim | 92 + .vim/colors/lilypink.vim | 72 + .vim/colors/lingodirector.vim | 44 + .vim/colors/liquidcarbon.vim | 126 + .vim/colors/literal_tango.vim | 183 + .vim/colors/lodestone.vim | 407 ++ .vim/colors/louver.vim | 154 + .vim/colors/lucius.vim | 304 ++ .vim/colors/luinnar.vim | 102 + .vim/colors/manuscript.vim | 96 + .vim/colors/manxome.vim | 47 + .vim/colors/marklar.vim | 174 + .vim/colors/maroloccio.vim | 598 +++ .vim/colors/mars.vim | 142 + .vim/colors/martin_krischik.vim | 397 ++ .vim/colors/matrix.vim | 80 + .vim/colors/mayansmoke.vim | 343 ++ .vim/colors/mdark.vim | 305 ++ .vim/colors/mellow.vim | 41 + .vim/colors/metacosm.vim | 136 + .vim/colors/midnight.vim | 102 + .vim/colors/midnight2.vim | 102 + .vim/colors/miko.vim | 40 + .vim/colors/mint.vim | 77 + .vim/colors/mizore.vim | 102 + .vim/colors/mod_tcsoft.vim | 68 + .vim/colors/molokai.vim | 211 + .vim/colors/montz.vim | 26 + .vim/colors/mophiaDark.vim | 85 + .vim/colors/mophiaSmoke.vim | 91 + .vim/colors/moria.vim | 247 + .vim/colors/moss.vim | 243 + .vim/colors/motus.vim | 66 + .vim/colors/mrkn256.vim | 344 ++ .vim/colors/mrpink.vim | 52 + .vim/colors/mud.vim | 50 + .vim/colors/mustang.vim | 55 + .vim/colors/native.vim | 55 + .vim/colors/nature.vim | 36 + .vim/colors/navajo-night.vim | 119 + .vim/colors/navajo.vim | 65 + .vim/colors/nazca.vim | 252 + .vim/colors/nedit.vim | 26 + .vim/colors/nedit2.vim | 29 + .vim/colors/neon.vim | 70 + .vim/colors/neutron.vim | 79 + .vim/colors/neverness.vim | 141 + .vim/colors/nevfn.vim | 79 + .vim/colors/newspaper.vim | 147 + .vim/colors/newsprint.vim | 88 + .vim/colors/nicotine.vim | 33 + .vim/colors/night.vim | 79 + .vim/colors/nightVision.vim | 52 + .vim/colors/night_vision.vim | 47 + .vim/colors/nightflight.vim | 74 + .vim/colors/nightflight2.vim | 47 + .vim/colors/nightshimmer.vim | 116 + .vim/colors/nightsky.vim | 147 + .vim/colors/nightwish.vim | 59 + .vim/colors/no_quarter.vim | 135 + .vim/colors/northland.vim | 149 + .vim/colors/northsky.vim | 217 + .vim/colors/norwaytoday.vim | 97 + .vim/colors/nour.vim | 165 + .vim/colors/nuvola.vim | 107 + .vim/colors/obsidian.vim | 341 ++ .vim/colors/obsidian2.vim | 74 + .vim/colors/oceanblack.vim | 115 + .vim/colors/oceanblack256.vim | 125 + .vim/colors/oceandeep.vim | 140 + .vim/colors/oceanlight.vim | 105 + .vim/colors/olive.vim | 119 + .vim/colors/orange.vim | 94 + .vim/colors/osx_like.vim | 69 + .vim/colors/pacific.vim | 66 + .vim/colors/paintbox.vim | 96 + .vim/colors/peaksea.vim | 601 +++ .vim/colors/peppers.vim | 62 + .vim/colors/perfect.vim | 141 + .vim/colors/pf_earth.vim | 186 + .vim/colors/phd.vim | 134 + .vim/colors/phphaxor.vim | 173 + .vim/colors/phpx.vim | 166 + .vim/colors/pic.vim | 245 + .vim/colors/pink.vim | 168 + .vim/colors/pleasant.vim | 37 + .vim/colors/potts.vim | 53 + .vim/colors/print_bw.vim | 65 + .vim/colors/prmths.vim | 78 + .vim/colors/professional.vim | 62 + .vim/colors/proton.vim | 63 + .vim/colors/pspad.vim | 37 + .vim/colors/psql.vim | 1182 +++++ .vim/colors/putty.vim | 82 + .vim/colors/pw.vim | 209 + .vim/colors/pyte.vim | 94 + .vim/colors/python.vim | 104 + .vim/colors/quagmire.vim | 112 + .vim/colors/railscasts.vim | 145 + .vim/colors/rainbow_fine_blue.vim | 71 + .vim/colors/rainbow_fruit.vim | 69 + .vim/colors/random.vim | 42 + .vim/colors/rastafari.vim | 153 + .vim/colors/rcg_gui.vim | 26 + .vim/colors/rcg_term.vim | 26 + .vim/colors/rdark-terminal.vim | 132 + .vim/colors/rdark.vim | 159 + .vim/colors/redblack.vim | 62 + .vim/colors/redstring.vim | 26 + .vim/colors/refactor.vim | 85 + .vim/colors/relaxedgreen.vim | 112 + .vim/colors/reliable.vim | 126 + .vim/colors/reloaded.vim | 70 + .vim/colors/revolutions.vim | 75 + .vim/colors/robinhood.vim | 103 + .vim/colors/rootwater.vim | 98 + .vim/colors/rtl.vim | 132 + .vim/colors/sand.vim | 30 + .vim/colors/satori.vim | 54 + .vim/colors/scala.vim | 87 + .vim/colors/scite.vim | 48 + .vim/colors/sea.vim | 69 + .vim/colors/sean.vim | 83 + .vim/colors/seashell.vim | 55 + .vim/colors/selenitic.vim | 38 + .vim/colors/seoul.vim | 63 + .vim/colors/settlemyer.vim | 53 + .vim/colors/sf.vim | 76 + .vim/colors/shadesofamber.vim | 114 + .vim/colors/shobogenzo.vim | 98 + .vim/colors/sienna.vim | 150 + .vim/colors/sift.vim | 167 + .vim/colors/silent.vim | 122 + .vim/colors/simple256.vim | 279 ++ .vim/colors/simple_b.vim | 64 + .vim/colors/simpleandfriendly.vim | 56 + .vim/colors/simplewhite.vim | 154 + .vim/colors/skittles_dark.vim | 127 + .vim/colors/smp.vim | 64 + .vim/colors/softblue.vim | 45 + .vim/colors/softbluev2.vim | 93 + .vim/colors/softlight.vim | 85 + .vim/colors/sonofobsidian.vim | 43 + .vim/colors/sorcerer.vim | 97 + .vim/colors/soso.vim | 67 + .vim/colors/southernlights.vim | 93 + .vim/colors/southwest-fog.vim | 157 + .vim/colors/spectro.vim | 207 + .vim/colors/spiderhawk.vim | 22 + .vim/colors/spring.vim | 71 + .vim/colors/stackoverflow.vim | 185 + .vim/colors/stingray.vim | 66 + .vim/colors/strawimodo.vim | 120 + .vim/colors/summerfruit.vim | 87 + .vim/colors/summerfruit256.vim | 322 ++ .vim/colors/surveyor.vim | 51 + .vim/colors/symfony.vim | 115 + .vim/colors/synic.vim | 87 + .vim/colors/tabula.vim | 620 +++ .vim/colors/tango-desert.vim | 115 + .vim/colors/tango-morning.vim | 70 + .vim/colors/tango.vim | 84 + .vim/colors/tango2.vim | 62 + .vim/colors/tangoshady.vim | 76 + .vim/colors/taqua.vim | 85 + .vim/colors/tchaba.vim | 107 + .vim/colors/tcsoft.vim | 83 + .vim/colors/telstar.vim | 71 + .vim/colors/tesla.vim | 114 + .vim/colors/tetragrammaton.vim | 148 + .vim/colors/textmate16.vim | 46 + .vim/colors/thegoodluck.vim | 58 + .vim/colors/thestars.vim | 78 + .vim/colors/tibet.vim | 101 + .vim/colors/tidy.vim | 65 + .vim/colors/tir_black.vim | 130 + .vim/colors/tolerable.vim | 43 + .vim/colors/tomatosoup.vim | 80 + .vim/colors/tony_light.vim | 49 + .vim/colors/toothpik.vim | 51 + .vim/colors/torte.vim | 51 + .vim/colors/transparent.vim | 120 + .vim/colors/trivial256.vim | 42 + .vim/colors/trogdor.vim | 43 + .vim/colors/turbo.vim | 87 + .vim/colors/tutticolori.vim | 47 + .vim/colors/twilight.vim | 114 + .vim/colors/twilight256.vim | 300 ++ .vim/colors/two2tango.vim | 104 + .vim/colors/umber-green.vim | 89 + .vim/colors/understated.vim | 58 + .vim/colors/underwater-mod.vim | 150 + .vim/colors/underwater.vim | 66 + .vim/colors/up.vim | 191 + .vim/colors/vanzan_color.vim | 118 + .vim/colors/vc.vim | 24 + .vim/colors/vcbc.vim | 31 + .vim/colors/vexorian.vim | 42 + .vim/colors/vibrantink.vim | 68 + .vim/colors/vilight.vim | 106 + .vim/colors/vividchalk.vim | 191 + .vim/colors/vj.vim | 379 ++ .vim/colors/void.vim | 106 + .vim/colors/vydark.vim | 84 + .vim/colors/vylight.vim | 81 + .vim/colors/wargrey.vim | 257 + .vim/colors/warm_grey.vim | 101 + .vim/colors/watermark.vim | 174 + .vim/colors/whitebox.vim | 86 + .vim/colors/whitedust.vim | 62 + .vim/colors/widower.vim | 43 + .vim/colors/win9xblueback.vim | 79 + .vim/colors/winter.vim | 87 + .vim/colors/wintersday.vim | 60 + .vim/colors/wombat.vim | 51 + .vim/colors/wombat256.vim | 302 ++ .vim/colors/wombat256mod.vim | 96 + .vim/colors/wood.vim | 39 + .vim/colors/wuye.vim | 82 + .vim/colors/xemacs.vim | 46 + .vim/colors/xian.vim | 50 + .vim/colors/xmaslights.vim | 34 + .vim/colors/xoria256.vim | 94 + .vim/colors/yaml.vim | 62 + .vim/colors/yeller.vim | 165 + .vim/colors/zazen.vim | 135 + .vim/colors/zen.vim | 23 + .vim/colors/zenburn.vim | 351 ++ .vim/colors/zenesque.vim | 384 ++ .vim/colors/zephyr.vim | 204 + .vim/colors/zmrok.vim | 59 + .vim/de/kotka/vimclojure/gencompletions.clj | 30 + .vim/doc/NERD_tree.txt | 1314 +++++ .vim/doc/clojure.txt | 266 + .vim/doc/rails.txt | 1122 +++++ .vim/doc/tags | 350 ++ .vim/doc/vimExplorer.txt | 542 ++ .vim/ftdetect/clojure.vim | 1 + .vim/ftdetect/go.vim | 190 + .vim/ftdetect/mkd.vim | 3 + .vim/ftdetect/scala.vim | 3 + .vim/ftplugin/clojure.vim | 157 + .../clojure/completions-clojure.core.txt | 433 ++ .../clojure/completions-clojure.set.txt | 10 + .../clojure/completions-clojure.xml.txt | 13 + .../clojure/completions-clojure.zip.txt | 27 + .vim/indent/clojure.vim | 206 + .vim/indent/scala.vim | 86 + .vim/nerdtree_plugin/exec_menuitem.vim | 41 + .vim/nerdtree_plugin/fs_menu.vim | 224 + .vim/plugin/31-create-scala.vim | 57 + .vim/plugin/NERD_tree.vim | 4363 ++++++++++++++++ .vim/plugin/rails.vim | 310 ++ .vim/syntax/clojure.vim | 266 + .vim/syntax/haskell.vim | 178 + .vim/syntax/mkd.vim | 129 + .vim/syntax/nerdtree.vim | 88 + .vim/syntax/scala.vim | 153 + .vim/test/test.sh | 20 + .vim/vim-markdown | 1 + .vimrc | 79 + .zshrc | 40 + bin/brew_update_all | 4 + bin/clj | 18 + bin/dependency_tree | 6 + bin/pretty-json | 5 + bin/sbt | 4 + 505 files changed, 68740 insertions(+) create mode 100644 .bash_profile create mode 100644 .bashrc create mode 100644 .gemrc create mode 100644 .vim/.netrwhist create mode 100644 .vim/.netrwhist~ create mode 100644 .vim/autoload/pathogen.vim create mode 100644 .vim/autoload/rails.vim create mode 100644 .vim/autoload/vimclojure.vim create mode 160000 .vim/bundle/syntastic create mode 160000 .vim/bundle/vimerl create mode 100644 .vim/colors/256-grayvim.vim create mode 100644 .vim/colors/256-jungle.vim create mode 100644 .vim/colors/3dglasses.vim create mode 100644 .vim/colors/BlackSea.vim create mode 100644 .vim/colors/ChocolateLiquor.vim create mode 100644 .vim/colors/ChocolatePapaya.vim create mode 100644 .vim/colors/CodeFactoryv3.vim create mode 100644 .vim/colors/DevC++.vim create mode 100644 .vim/colors/MountainDew.vim create mode 100644 .vim/colors/PapayaWhip.vim create mode 100644 .vim/colors/adam.vim create mode 100644 .vim/colors/adaryn.vim create mode 100644 .vim/colors/adobe.vim create mode 100644 .vim/colors/adrian.vim create mode 100644 .vim/colors/advantage.vim create mode 100644 .vim/colors/af.vim create mode 100644 .vim/colors/aiseered.vim create mode 100644 .vim/colors/anotherdark.vim create mode 100644 .vim/colors/ansi_blows.vim create mode 100644 .vim/colors/aqua.vim create mode 100644 .vim/colors/ashen.vim create mode 100644 .vim/colors/asmanian_blood.vim create mode 100644 .vim/colors/astronaut.vim create mode 100644 .vim/colors/asu1dark.vim create mode 100644 .vim/colors/automation.vim create mode 100644 .vim/colors/autumn.vim create mode 100644 .vim/colors/autumnleaf.vim create mode 100644 .vim/colors/basic.vim create mode 100644 .vim/colors/bayQua.vim create mode 100644 .vim/colors/baycomb.vim create mode 100644 .vim/colors/bclear.vim create mode 100644 .vim/colors/beachcomber.vim create mode 100644 .vim/colors/beauty256.vim create mode 100644 .vim/colors/bensday.vim create mode 100644 .vim/colors/billw.vim create mode 100644 .vim/colors/biogoo.vim create mode 100644 .vim/colors/black_angus.vim create mode 100644 .vim/colors/blackbeauty.vim create mode 100644 .vim/colors/blackboard.vim create mode 100644 .vim/colors/blackdust.vim create mode 100644 .vim/colors/blacklight.vim create mode 100644 .vim/colors/blazer.vim create mode 100644 .vim/colors/blink.vim create mode 100644 .vim/colors/blue.vim create mode 100644 .vim/colors/bluechia.vim create mode 100644 .vim/colors/bluegreen.vim create mode 100644 .vim/colors/blueprint.vim create mode 100644 .vim/colors/blueshift.vim create mode 100644 .vim/colors/bluez.vim create mode 100644 .vim/colors/blugrine.vim create mode 100644 .vim/colors/bmichaelsen.vim create mode 100644 .vim/colors/bocau.vim create mode 100644 .vim/colors/bog.vim create mode 100644 .vim/colors/borland.vim create mode 100644 .vim/colors/breeze.vim create mode 100644 .vim/colors/brookstream.vim create mode 100644 .vim/colors/brown.vim create mode 100644 .vim/colors/busierbee.vim create mode 100644 .vim/colors/busybee.vim create mode 100644 .vim/colors/buttercream.vim create mode 100644 .vim/colors/bvemu.vim create mode 100644 .vim/colors/bw.vim create mode 100644 .vim/colors/c.vim create mode 100644 .vim/colors/calmar256-light.vim create mode 100644 .vim/colors/camo.vim create mode 100644 .vim/colors/campfire.vim create mode 100644 .vim/colors/candy.vim create mode 100644 .vim/colors/candycode.vim create mode 100644 .vim/colors/candyman.vim create mode 100644 .vim/colors/caramel.vim create mode 100644 .vim/colors/carrot.vim create mode 100644 .vim/colors/carvedwood.vim create mode 100644 .vim/colors/carvedwoodcool.vim create mode 100644 .vim/colors/chance-of-storm.vim create mode 100644 .vim/colors/charged-256.vim create mode 100644 .vim/colors/charon.vim create mode 100644 .vim/colors/chela_light.vim create mode 100644 .vim/colors/chlordane.vim create mode 100644 .vim/colors/chocolate.vim create mode 100644 .vim/colors/chrysoprase.vim create mode 100644 .vim/colors/ciscoacl.vim create mode 100644 .vim/colors/clarity.vim create mode 100644 .vim/colors/cleanphp.vim create mode 100644 .vim/colors/cloudy.vim create mode 100644 .vim/colors/clue.vim create mode 100644 .vim/colors/cobalt.vim create mode 100644 .vim/colors/cobaltish.vim create mode 100644 .vim/colors/codeblocks_dark.vim create mode 100644 .vim/colors/codeburn.vim create mode 100644 .vim/colors/coffee.vim create mode 100644 .vim/colors/coldgreen.vim create mode 100644 .vim/colors/colorer.vim create mode 100644 .vim/colors/colorful.vim create mode 100644 .vim/colors/colorful256.vim create mode 100644 .vim/colors/colorscheme_template.vim create mode 100644 .vim/colors/colorzone.vim create mode 100644 .vim/colors/contrasty.vim create mode 100644 .vim/colors/cool.vim create mode 100644 .vim/colors/corn.vim create mode 100644 .vim/colors/corporation.vim create mode 100644 .vim/colors/cthulhian.vim create mode 100644 .vim/colors/custom.vim create mode 100644 .vim/colors/d8g_01.vim create mode 100644 .vim/colors/d8g_02.vim create mode 100644 .vim/colors/d8g_03.vim create mode 100644 .vim/colors/d8g_04.vim create mode 100644 .vim/colors/dante.vim create mode 100644 .vim/colors/dark-ruby.vim create mode 100644 .vim/colors/darkBlue.vim create mode 100644 .vim/colors/darkZ.vim create mode 100644 .vim/colors/darkblack.vim create mode 100644 .vim/colors/darkblue2.vim create mode 100644 .vim/colors/darkbone.vim create mode 100644 .vim/colors/darkburn.vim create mode 100644 .vim/colors/darkdot.vim create mode 100644 .vim/colors/darkeclipse.vim create mode 100644 .vim/colors/darker-robin.vim create mode 100644 .vim/colors/darkerdesert.vim create mode 100644 .vim/colors/darkocean.vim create mode 100644 .vim/colors/darkrobot.vim create mode 100644 .vim/colors/darkroom.vim create mode 100644 .vim/colors/darkslategray.vim create mode 100644 .vim/colors/darkspectrum.vim create mode 100644 .vim/colors/darktango.vim create mode 100644 .vim/colors/darkzen.vim create mode 100644 .vim/colors/dawn.vim create mode 100644 .vim/colors/delek.vim create mode 100644 .vim/colors/delphi.vim create mode 100644 .vim/colors/denim.vim create mode 100644 .vim/colors/derefined.vim create mode 100644 .vim/colors/desert.vim create mode 100644 .vim/colors/desert256.vim create mode 100644 .vim/colors/desertEx.vim create mode 100644 .vim/colors/desertedocean.vim create mode 100644 .vim/colors/desertedoceanburnt.vim create mode 100644 .vim/colors/devbox-dark-256.vim create mode 100644 .vim/colors/deveiate.vim create mode 100644 .vim/colors/developer.vim create mode 100644 .vim/colors/django.vim create mode 100644 .vim/colors/donbass.vim create mode 100644 .vim/colors/doorhinge.vim create mode 100644 .vim/colors/doriath.vim create mode 100644 .vim/colors/dual.vim create mode 100644 .vim/colors/dull.vim create mode 100644 .vim/colors/dusk.vim create mode 100644 .vim/colors/earendel.vim create mode 100644 .vim/colors/earth.vim create mode 100644 .vim/colors/earthburn.vim create mode 100644 .vim/colors/eclipse.vim create mode 100644 .vim/colors/eclm_wombat.vim create mode 100644 .vim/colors/edo_sea.vim create mode 100644 .vim/colors/ego.vim create mode 100644 .vim/colors/ekinivim.vim create mode 100644 .vim/colors/ekvoli.vim create mode 100644 .vim/colors/elise.vim create mode 100644 .vim/colors/elisex.vim create mode 100644 .vim/colors/emacs.vim create mode 100644 .vim/colors/enzyme.vim create mode 100644 .vim/colors/evening_2.vim create mode 100644 .vim/colors/far.vim create mode 100644 .vim/colors/fine_blue.vim create mode 100644 .vim/colors/fnaqevan.vim create mode 100644 .vim/colors/fog.vim create mode 100644 .vim/colors/fokus.vim create mode 100644 .vim/colors/forneus.vim create mode 100644 .vim/colors/freya.vim create mode 100644 .vim/colors/fruidle.vim create mode 100644 .vim/colors/fruit.vim create mode 100644 .vim/colors/fruity.vim create mode 100644 .vim/colors/fu.vim create mode 100644 .vim/colors/gardener.vim create mode 100644 .vim/colors/gemcolors.vim create mode 100644 .vim/colors/gentooish.vim create mode 100644 .vim/colors/getafe.vim create mode 100644 .vim/colors/github.vim create mode 100644 .vim/colors/gobo.vim create mode 100644 .vim/colors/golded.vim create mode 100644 .vim/colors/golden.vim create mode 100644 .vim/colors/google.vim create mode 100644 .vim/colors/gor.vim create mode 100644 .vim/colors/gothic.vim create mode 100644 .vim/colors/grape.vim create mode 100644 .vim/colors/graywh.vim create mode 100644 .vim/colors/greens.vim create mode 100644 .vim/colors/greenvision.vim create mode 100644 .vim/colors/grey2.vim create mode 100644 .vim/colors/greyblue.vim create mode 100644 .vim/colors/guardian.vim create mode 100644 .vim/colors/guepardo.vim create mode 100644 .vim/colors/h80.vim create mode 100644 .vim/colors/habiLight.vim create mode 100644 .vim/colors/heliotrope.vim create mode 100644 .vim/colors/herald.vim create mode 100644 .vim/colors/hornet.vim create mode 100644 .vim/colors/ibmedit.vim create mode 100644 .vim/colors/icansee.vim create mode 100644 .vim/colors/impact.vim create mode 100644 .vim/colors/impactG.vim create mode 100644 .vim/colors/industrial.vim create mode 100644 .vim/colors/ingretu.vim create mode 100644 .vim/colors/inkpot.vim create mode 100644 .vim/colors/ir_black.vim create mode 100644 .vim/colors/ironman.vim create mode 100644 .vim/colors/jammy.vim create mode 100644 .vim/colors/jelleybeans.vim create mode 100644 .vim/colors/jellybeans.vim create mode 100644 .vim/colors/jellyx.vim create mode 100644 .vim/colors/jhdark.vim create mode 100644 .vim/colors/jhlight.vim create mode 100644 .vim/colors/kalt.vim create mode 100644 .vim/colors/kaltex.vim create mode 100644 .vim/colors/kate.vim create mode 100644 .vim/colors/kellys.vim create mode 100644 .vim/colors/khaki.vim create mode 100644 .vim/colors/kib_darktango.vim create mode 100644 .vim/colors/kib_plastic.vim create mode 100644 .vim/colors/kiss.vim create mode 100644 .vim/colors/kkruby.vim create mode 100644 .vim/colors/kruby.vim create mode 100644 .vim/colors/lazarus.vim create mode 100644 .vim/colors/legiblelight.vim create mode 100644 .vim/colors/leglight2.vim create mode 100644 .vim/colors/leo.vim create mode 100644 .vim/colors/less.vim create mode 100644 .vim/colors/lettuce.vim create mode 100644 .vim/colors/lightcolors.vim create mode 100644 .vim/colors/lilac.vim create mode 100644 .vim/colors/lilydjwg_dark.vim create mode 100644 .vim/colors/lilydjwg_green.vim create mode 100644 .vim/colors/lilypink.vim create mode 100644 .vim/colors/lingodirector.vim create mode 100644 .vim/colors/liquidcarbon.vim create mode 100644 .vim/colors/literal_tango.vim create mode 100644 .vim/colors/lodestone.vim create mode 100644 .vim/colors/louver.vim create mode 100644 .vim/colors/lucius.vim create mode 100644 .vim/colors/luinnar.vim create mode 100644 .vim/colors/manuscript.vim create mode 100644 .vim/colors/manxome.vim create mode 100644 .vim/colors/marklar.vim create mode 100644 .vim/colors/maroloccio.vim create mode 100644 .vim/colors/mars.vim create mode 100644 .vim/colors/martin_krischik.vim create mode 100644 .vim/colors/matrix.vim create mode 100644 .vim/colors/mayansmoke.vim create mode 100644 .vim/colors/mdark.vim create mode 100644 .vim/colors/mellow.vim create mode 100644 .vim/colors/metacosm.vim create mode 100644 .vim/colors/midnight.vim create mode 100644 .vim/colors/midnight2.vim create mode 100644 .vim/colors/miko.vim create mode 100644 .vim/colors/mint.vim create mode 100644 .vim/colors/mizore.vim create mode 100644 .vim/colors/mod_tcsoft.vim create mode 100644 .vim/colors/molokai.vim create mode 100644 .vim/colors/montz.vim create mode 100644 .vim/colors/mophiaDark.vim create mode 100644 .vim/colors/mophiaSmoke.vim create mode 100644 .vim/colors/moria.vim create mode 100644 .vim/colors/moss.vim create mode 100644 .vim/colors/motus.vim create mode 100644 .vim/colors/mrkn256.vim create mode 100644 .vim/colors/mrpink.vim create mode 100644 .vim/colors/mud.vim create mode 100644 .vim/colors/mustang.vim create mode 100644 .vim/colors/native.vim create mode 100644 .vim/colors/nature.vim create mode 100644 .vim/colors/navajo-night.vim create mode 100644 .vim/colors/navajo.vim create mode 100644 .vim/colors/nazca.vim create mode 100644 .vim/colors/nedit.vim create mode 100644 .vim/colors/nedit2.vim create mode 100644 .vim/colors/neon.vim create mode 100644 .vim/colors/neutron.vim create mode 100644 .vim/colors/neverness.vim create mode 100644 .vim/colors/nevfn.vim create mode 100644 .vim/colors/newspaper.vim create mode 100644 .vim/colors/newsprint.vim create mode 100644 .vim/colors/nicotine.vim create mode 100644 .vim/colors/night.vim create mode 100644 .vim/colors/nightVision.vim create mode 100644 .vim/colors/night_vision.vim create mode 100644 .vim/colors/nightflight.vim create mode 100644 .vim/colors/nightflight2.vim create mode 100644 .vim/colors/nightshimmer.vim create mode 100644 .vim/colors/nightsky.vim create mode 100644 .vim/colors/nightwish.vim create mode 100644 .vim/colors/no_quarter.vim create mode 100644 .vim/colors/northland.vim create mode 100644 .vim/colors/northsky.vim create mode 100644 .vim/colors/norwaytoday.vim create mode 100644 .vim/colors/nour.vim create mode 100644 .vim/colors/nuvola.vim create mode 100644 .vim/colors/obsidian.vim create mode 100644 .vim/colors/obsidian2.vim create mode 100644 .vim/colors/oceanblack.vim create mode 100644 .vim/colors/oceanblack256.vim create mode 100644 .vim/colors/oceandeep.vim create mode 100644 .vim/colors/oceanlight.vim create mode 100644 .vim/colors/olive.vim create mode 100644 .vim/colors/orange.vim create mode 100644 .vim/colors/osx_like.vim create mode 100644 .vim/colors/pacific.vim create mode 100644 .vim/colors/paintbox.vim create mode 100644 .vim/colors/peaksea.vim create mode 100644 .vim/colors/peppers.vim create mode 100644 .vim/colors/perfect.vim create mode 100644 .vim/colors/pf_earth.vim create mode 100644 .vim/colors/phd.vim create mode 100644 .vim/colors/phphaxor.vim create mode 100644 .vim/colors/phpx.vim create mode 100644 .vim/colors/pic.vim create mode 100644 .vim/colors/pink.vim create mode 100644 .vim/colors/pleasant.vim create mode 100644 .vim/colors/potts.vim create mode 100644 .vim/colors/print_bw.vim create mode 100644 .vim/colors/prmths.vim create mode 100644 .vim/colors/professional.vim create mode 100644 .vim/colors/proton.vim create mode 100644 .vim/colors/pspad.vim create mode 100644 .vim/colors/psql.vim create mode 100644 .vim/colors/putty.vim create mode 100644 .vim/colors/pw.vim create mode 100644 .vim/colors/pyte.vim create mode 100644 .vim/colors/python.vim create mode 100644 .vim/colors/quagmire.vim create mode 100644 .vim/colors/railscasts.vim create mode 100644 .vim/colors/rainbow_fine_blue.vim create mode 100644 .vim/colors/rainbow_fruit.vim create mode 100644 .vim/colors/random.vim create mode 100644 .vim/colors/rastafari.vim create mode 100644 .vim/colors/rcg_gui.vim create mode 100644 .vim/colors/rcg_term.vim create mode 100644 .vim/colors/rdark-terminal.vim create mode 100644 .vim/colors/rdark.vim create mode 100644 .vim/colors/redblack.vim create mode 100644 .vim/colors/redstring.vim create mode 100644 .vim/colors/refactor.vim create mode 100644 .vim/colors/relaxedgreen.vim create mode 100644 .vim/colors/reliable.vim create mode 100644 .vim/colors/reloaded.vim create mode 100644 .vim/colors/revolutions.vim create mode 100644 .vim/colors/robinhood.vim create mode 100644 .vim/colors/rootwater.vim create mode 100644 .vim/colors/rtl.vim create mode 100644 .vim/colors/sand.vim create mode 100644 .vim/colors/satori.vim create mode 100644 .vim/colors/scala.vim create mode 100644 .vim/colors/scite.vim create mode 100644 .vim/colors/sea.vim create mode 100644 .vim/colors/sean.vim create mode 100644 .vim/colors/seashell.vim create mode 100644 .vim/colors/selenitic.vim create mode 100644 .vim/colors/seoul.vim create mode 100644 .vim/colors/settlemyer.vim create mode 100644 .vim/colors/sf.vim create mode 100644 .vim/colors/shadesofamber.vim create mode 100644 .vim/colors/shobogenzo.vim create mode 100644 .vim/colors/sienna.vim create mode 100644 .vim/colors/sift.vim create mode 100644 .vim/colors/silent.vim create mode 100644 .vim/colors/simple256.vim create mode 100644 .vim/colors/simple_b.vim create mode 100644 .vim/colors/simpleandfriendly.vim create mode 100644 .vim/colors/simplewhite.vim create mode 100644 .vim/colors/skittles_dark.vim create mode 100644 .vim/colors/smp.vim create mode 100644 .vim/colors/softblue.vim create mode 100644 .vim/colors/softbluev2.vim create mode 100644 .vim/colors/softlight.vim create mode 100644 .vim/colors/sonofobsidian.vim create mode 100644 .vim/colors/sorcerer.vim create mode 100644 .vim/colors/soso.vim create mode 100644 .vim/colors/southernlights.vim create mode 100644 .vim/colors/southwest-fog.vim create mode 100644 .vim/colors/spectro.vim create mode 100644 .vim/colors/spiderhawk.vim create mode 100644 .vim/colors/spring.vim create mode 100644 .vim/colors/stackoverflow.vim create mode 100644 .vim/colors/stingray.vim create mode 100644 .vim/colors/strawimodo.vim create mode 100644 .vim/colors/summerfruit.vim create mode 100644 .vim/colors/summerfruit256.vim create mode 100644 .vim/colors/surveyor.vim create mode 100644 .vim/colors/symfony.vim create mode 100644 .vim/colors/synic.vim create mode 100644 .vim/colors/tabula.vim create mode 100644 .vim/colors/tango-desert.vim create mode 100644 .vim/colors/tango-morning.vim create mode 100644 .vim/colors/tango.vim create mode 100644 .vim/colors/tango2.vim create mode 100644 .vim/colors/tangoshady.vim create mode 100644 .vim/colors/taqua.vim create mode 100644 .vim/colors/tchaba.vim create mode 100644 .vim/colors/tcsoft.vim create mode 100644 .vim/colors/telstar.vim create mode 100644 .vim/colors/tesla.vim create mode 100644 .vim/colors/tetragrammaton.vim create mode 100644 .vim/colors/textmate16.vim create mode 100644 .vim/colors/thegoodluck.vim create mode 100644 .vim/colors/thestars.vim create mode 100644 .vim/colors/tibet.vim create mode 100644 .vim/colors/tidy.vim create mode 100644 .vim/colors/tir_black.vim create mode 100644 .vim/colors/tolerable.vim create mode 100644 .vim/colors/tomatosoup.vim create mode 100644 .vim/colors/tony_light.vim create mode 100644 .vim/colors/toothpik.vim create mode 100644 .vim/colors/torte.vim create mode 100644 .vim/colors/transparent.vim create mode 100644 .vim/colors/trivial256.vim create mode 100644 .vim/colors/trogdor.vim create mode 100644 .vim/colors/turbo.vim create mode 100644 .vim/colors/tutticolori.vim create mode 100644 .vim/colors/twilight.vim create mode 100644 .vim/colors/twilight256.vim create mode 100644 .vim/colors/two2tango.vim create mode 100644 .vim/colors/umber-green.vim create mode 100644 .vim/colors/understated.vim create mode 100644 .vim/colors/underwater-mod.vim create mode 100644 .vim/colors/underwater.vim create mode 100644 .vim/colors/up.vim create mode 100644 .vim/colors/vanzan_color.vim create mode 100644 .vim/colors/vc.vim create mode 100644 .vim/colors/vcbc.vim create mode 100644 .vim/colors/vexorian.vim create mode 100644 .vim/colors/vibrantink.vim create mode 100644 .vim/colors/vilight.vim create mode 100644 .vim/colors/vividchalk.vim create mode 100644 .vim/colors/vj.vim create mode 100644 .vim/colors/void.vim create mode 100644 .vim/colors/vydark.vim create mode 100644 .vim/colors/vylight.vim create mode 100644 .vim/colors/wargrey.vim create mode 100644 .vim/colors/warm_grey.vim create mode 100644 .vim/colors/watermark.vim create mode 100644 .vim/colors/whitebox.vim create mode 100644 .vim/colors/whitedust.vim create mode 100644 .vim/colors/widower.vim create mode 100644 .vim/colors/win9xblueback.vim create mode 100644 .vim/colors/winter.vim create mode 100644 .vim/colors/wintersday.vim create mode 100644 .vim/colors/wombat.vim create mode 100644 .vim/colors/wombat256.vim create mode 100644 .vim/colors/wombat256mod.vim create mode 100644 .vim/colors/wood.vim create mode 100644 .vim/colors/wuye.vim create mode 100644 .vim/colors/xemacs.vim create mode 100644 .vim/colors/xian.vim create mode 100644 .vim/colors/xmaslights.vim create mode 100644 .vim/colors/xoria256.vim create mode 100644 .vim/colors/yaml.vim create mode 100644 .vim/colors/yeller.vim create mode 100644 .vim/colors/zazen.vim create mode 100644 .vim/colors/zen.vim create mode 100644 .vim/colors/zenburn.vim create mode 100644 .vim/colors/zenesque.vim create mode 100644 .vim/colors/zephyr.vim create mode 100644 .vim/colors/zmrok.vim create mode 100644 .vim/de/kotka/vimclojure/gencompletions.clj create mode 100644 .vim/doc/NERD_tree.txt create mode 100644 .vim/doc/clojure.txt create mode 100644 .vim/doc/rails.txt create mode 100644 .vim/doc/tags create mode 100644 .vim/doc/vimExplorer.txt create mode 100644 .vim/ftdetect/clojure.vim create mode 100644 .vim/ftdetect/go.vim create mode 100644 .vim/ftdetect/mkd.vim create mode 100644 .vim/ftdetect/scala.vim create mode 100644 .vim/ftplugin/clojure.vim create mode 100644 .vim/ftplugin/clojure/completions-clojure.core.txt create mode 100644 .vim/ftplugin/clojure/completions-clojure.set.txt create mode 100644 .vim/ftplugin/clojure/completions-clojure.xml.txt create mode 100644 .vim/ftplugin/clojure/completions-clojure.zip.txt create mode 100644 .vim/indent/clojure.vim create mode 100644 .vim/indent/scala.vim create mode 100644 .vim/nerdtree_plugin/exec_menuitem.vim create mode 100644 .vim/nerdtree_plugin/fs_menu.vim create mode 100644 .vim/plugin/31-create-scala.vim create mode 100644 .vim/plugin/NERD_tree.vim create mode 100644 .vim/plugin/rails.vim create mode 100644 .vim/syntax/clojure.vim create mode 100644 .vim/syntax/haskell.vim create mode 100644 .vim/syntax/mkd.vim create mode 100644 .vim/syntax/nerdtree.vim create mode 100644 .vim/syntax/scala.vim create mode 100755 .vim/test/test.sh create mode 160000 .vim/vim-markdown create mode 100644 .vimrc create mode 100644 .zshrc create mode 100755 bin/brew_update_all create mode 100755 bin/clj create mode 100755 bin/dependency_tree create mode 100755 bin/pretty-json create mode 100755 bin/sbt diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 0000000..a126d25 --- /dev/null +++ b/.bash_profile @@ -0,0 +1,27 @@ +ulimit -n 8192 + +source ~/.bashrc + +## +# Your previous /Users/alin/.bash_profile file was backed up as /Users/alin/.bash_profile.macports-saved_2010-12-05_at_08:59:06 +## + +# MacPorts Installer addition on 2010-12-05_at_08:59:06: adding an appropriate PATH variable for use with MacPorts. +export PATH=/opt/local/bin:/opt/local/sbin:$PATH +# Finished adapting your PATH environment variable for use with MacPorts. + + +# MacPorts Installer addition on 2010-12-05_at_08:59:06: adding an appropriate MANPATH variable for use with MacPorts. +export MANPATH=/opt/local/share/man:$MANPATH +# Finished adapting your MANPATH environment variable for use with MacPorts. + +#if [ -f /opt/local/etc/bash_completion ]; then +# . /opt/local/etc/bash_completion +#fi +# +#if [ -f `brew --prefix`/etc/bash_completion ]; then +# . `brew --prefix`/etc/bash_completion +#fi + + +[[ -s "/Users/alin/.rvm/scripts/rvm" ]] && source "/Users/alin/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..fb5f8bc --- /dev/null +++ b/.bashrc @@ -0,0 +1,89 @@ +#!/bin/bash + +# mercurial/python related variables +export LC_ALL=en_US.UTF-8 +export LANG=en_US.UTF-8 +### + +# jruby +export JRUBY_HOME=~/apps/jruby +### + +# java stuff +export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home +export JAVA5_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home +### + +# Apache Ant +export ANT_HOME=~/apps/ant +export ANT_OPTS="-Xmx512m" +### + +export SVN_EDITOR=vim +export GROOVY_HOME=~/apps/groovy +export JLINE_HOME=~/apps/jline +export HOME_USR_LOCAL=~/usr/local +export HOME_BIN=~/bin +export PLT_SCHEME_HOME=~/apps/plt-scheme +export MAC_VIM_HOME=/Applications/macvim +export GOROOT=~/apps/go +export GOOS=darwin +export GOARCH=amd64 +export GOBIN="${GOROOT}/bin" +export SCALA_HOME=/Users/alin/apps/scala +export GROOVY_HOME=/Users/alin/apps/groovy +export NODE_HOME=/Users/alin/usr/local/node +export JYTHON_HOME=/Users/alin/apps/jython +#export QERL_HOME="${HOME}/work/erlang/qerl" +export PROTOBUF_HOME="${HOME}/apps/protobuf" +export CUSTOM_ERL="${HOME}/apps/erlang-custom/erlang" +export RIAK_BIN_DIR="/Users/alin/apps/riak/bin" + +export PATH="${PATH}":"${JRUBY_HOME}"/bin +export PATH="${ANT_HOME}"/bin:"${PATH}" +export PATH="${PATH}":"${HOME_BIN}" +export PATH=~/apps/maven/bin:"${PATH}" +export PATH="${GROOVY_HOME}/bin:${PATH}" +export PATH=~/apps/xmlbeans/bin:"${PATH}" +export PATH=~/apps/scala/bin:"${PATH}" +export PATH="${PLT_SCHEME_HOME}"/bin:"${PATH}" +export PATH="${MAC_VIM_HOME}":"${PATH}" +export PATH="${GOBIN}":"${PATH}" +export PATH="${SCALA_HOME}":"${PATH}" +export PATH="${GROOVY_HOME}":"${PATH}" +export PATH="${NODE_HOME}/bin":"${PATH}" +export PATH="${JYTHON_HOME}/bin":"${PATH}" +export PATH=/usr/local/bin:"${PATH}" +export PATH=/usr/local/sbin:"${PATH}" +export PATH=~/.cabal/bin:"${PATH}" +export PATH=/usr/local/mysql/bin:"${PATH}" +export PATH=~/apps/play:"${PATH}" +export PATH="${PROTOBUF_HOME}/bin":"${PATH}" +export PATH="${CUSTOM_ERL}/bin":"${PATH}" + +export MANPATH=/opt/local/share/man:"${MANPATH}" +export MANPATH=/usr/local/share/man:"${MANPATH}" +#export PS1='[\u@\h:\w]$(parse_git_branch)\$ ' +#export PS1='[\u@\h:\W]\$ ' +#export PS1='\[\e[0;32m\]λ\[\e[m\] \[\e[1;34m\]\W\[\e[m\]$ ' +#export PS1='[\[\e[0;32m\]${one_japanese_word_per_day}\[\e[m\] \[\e[0;34m\]\W\[\e[m\]]$ ' +#export PS1='ワークステーション' +#export PS1='[\[\e[0;32m\]\W\[\e[m\]]$ ' +#export PS1='[\[\e[0;32m\]\W\[\e[m\]\e[0;33;49m\]$(parse_git_branch)\[\e[0;0m]$ ' +#export PS1="[\W]$ " + +export M2_REPO="/Users/alin/.m2/repository" +export SCALA_CLASSPATH="${M2_REPO}/org/apache/httpcomponents/httpclient/4.0.1/*" +export SCALA_CLASSPATH="${SCALA_CLASSPATH}:${M2_REPO}/org/apache/httpcomponents/httpcore/4.0.1/*" +export SCALA_CLASSPATH="${SCALA_CLASSPATH}:${M2_REPO}/commons-logging/commons-logging/1.1.1/*" + +alias ls='ls -Fl -G' +alias vi='vi -c NERDTreeToggle' +#alias vim='vim' +alias mysql_start='sudo MySQLCOM start' +alias mysql_stop='sudo MySQLCOM stop' +alias mvim='mvim -c NERDTreeToggle' +alias serve="ruby -r webrick -e\"s = WEBrick::HTTPServer.new(:Port => 3000, :DocumentRoot => Dir.pwd); trap('INT') { s.shutdown }; s.start\"" + +#~/bin/whats_the_japanese_word + diff --git a/.gemrc b/.gemrc new file mode 100644 index 0000000..ef73538 --- /dev/null +++ b/.gemrc @@ -0,0 +1,2 @@ +gem: --no-ri --no-rdoc + diff --git a/.vim/.netrwhist b/.vim/.netrwhist new file mode 100644 index 0000000..7771a52 --- /dev/null +++ b/.vim/.netrwhist @@ -0,0 +1,2 @@ +let g:netrw_dirhistmax =10 +let g:netrw_dirhist_cnt =0 diff --git a/.vim/.netrwhist~ b/.vim/.netrwhist~ new file mode 100644 index 0000000..80b76c1 --- /dev/null +++ b/.vim/.netrwhist~ @@ -0,0 +1,5 @@ +let g:netrw_dirhistmax =10 +let g:netrw_dirhist_cnt =3 +let g:netrw_dirhist_1='/Volumes/mystuff/workspaces/workspace_test/ft-video-service' +let g:netrw_dirhist_2='/Users/alin/usr/local/homebrew' +let g:netrw_dirhist_3='/Users/alin/workspaces/workspace_sbx/sbx-search-consumer' diff --git a/.vim/autoload/pathogen.vim b/.vim/autoload/pathogen.vim new file mode 100644 index 0000000..3accbe6 --- /dev/null +++ b/.vim/autoload/pathogen.vim @@ -0,0 +1,245 @@ +" pathogen.vim - path option manipulation +" Maintainer: Tim Pope +" Version: 2.0 + +" Install in ~/.vim/autoload (or ~\vimfiles\autoload). +" +" For management of individually installed plugins in ~/.vim/bundle (or +" ~\vimfiles\bundle), adding `call pathogen#infect()` to your .vimrc +" prior to `filetype plugin indent on` is the only other setup necessary. +" +" The API is documented inline below. For maximum ease of reading, +" :set foldmethod=marker + +if exists("g:loaded_pathogen") || &cp + finish +endif +let g:loaded_pathogen = 1 + +" Point of entry for basic default usage. Give a directory name to invoke +" pathogen#runtime_append_all_bundles() (defaults to "bundle"), or a full path +" to invoke pathogen#runtime_prepend_subdirectories(). Afterwards, +" pathogen#cycle_filetype() is invoked. +function! pathogen#infect(...) abort " {{{1 + let source_path = a:0 ? a:1 : 'bundle' + if source_path =~# '[\\/]' + call pathogen#runtime_prepend_subdirectories(source_path) + else + call pathogen#runtime_append_all_bundles(source_path) + endif + call pathogen#cycle_filetype() +endfunction " }}}1 + +" Split a path into a list. +function! pathogen#split(path) abort " {{{1 + if type(a:path) == type([]) | return a:path | endif + let split = split(a:path,'\\\@"),'!isdirectory(v:val)')) && (!filereadable(dir.sep.'doc'.sep.'tags') || filewritable(dir.sep.'doc'.sep.'tags')) + helptags `=dir.'/doc'` + endif + endfor +endfunction " }}}1 + +command! -bar Helptags :call pathogen#helptags() + +" Like findfile(), but hardcoded to use the runtimepath. +function! pathogen#runtime_findfile(file,count) "{{{1 + let rtp = pathogen#join(1,pathogen#split(&rtp)) + return fnamemodify(findfile(a:file,rtp,a:count),':p') +endfunction " }}}1 + +" Backport of fnameescape(). +function! pathogen#fnameescape(string) " {{{1 + if exists('*fnameescape') + return fnameescape(a:string) + elseif a:string ==# '-' + return '\-' + else + return substitute(escape(a:string," \t\n*?[{`$\\%#'\"|!<"),'^[+>]','\\&','') + endif +endfunction " }}}1 + +function! s:find(count,cmd,file,lcd) " {{{1 + let rtp = pathogen#join(1,pathogen#split(&runtimepath)) + let file = pathogen#runtime_findfile(a:file,a:count) + if file ==# '' + return "echoerr 'E345: Can''t find file \"".a:file."\" in runtimepath'" + elseif a:lcd + let path = file[0:-strlen(a:file)-2] + execute 'lcd `=path`' + return a:cmd.' '.pathogen#fnameescape(a:file) + else + return a:cmd.' '.pathogen#fnameescape(file) + endif +endfunction " }}}1 + +function! s:Findcomplete(A,L,P) " {{{1 + let sep = pathogen#separator() + let cheats = { + \'a': 'autoload', + \'d': 'doc', + \'f': 'ftplugin', + \'i': 'indent', + \'p': 'plugin', + \'s': 'syntax'} + if a:A =~# '^\w[\\/]' && has_key(cheats,a:A[0]) + let request = cheats[a:A[0]].a:A[1:-1] + else + let request = a:A + endif + let pattern = substitute(request,'\'.sep,'*'.sep,'g').'*' + let found = {} + for path in pathogen#split(&runtimepath) + let path = expand(path, ':p') + let matches = split(glob(path.sep.pattern),"\n") + call map(matches,'isdirectory(v:val) ? v:val.sep : v:val') + call map(matches,'expand(v:val, ":p")[strlen(path)+1:-1]') + for match in matches + let found[match] = 1 + endfor + endfor + return sort(keys(found)) +endfunction " }}}1 + +command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Ve :execute s:find(,'edit',,0) +command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vedit :execute s:find(,'edit',,0) +command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vopen :execute s:find(,'edit',,1) +command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vsplit :execute s:find(,'split',,1) +command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vvsplit :execute s:find(,'vsplit',,1) +command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vtabedit :execute s:find(,'tabedit',,1) +command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vpedit :execute s:find(,'pedit',,1) +command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vread :execute s:find(,'read',,1) + +" vim:set ft=vim ts=8 sw=2 sts=2: diff --git a/.vim/autoload/rails.vim b/.vim/autoload/rails.vim new file mode 100644 index 0000000..2ee0636 --- /dev/null +++ b/.vim/autoload/rails.vim @@ -0,0 +1,4378 @@ +" autoload/rails.vim +" Author: Tim Pope + +" Install this file as autoload/rails.vim. This file is sourced manually by +" plugin/rails.vim. It is in autoload directory to allow for future usage of +" Vim 7's autoload feature. + +" ============================================================================ + +" Exit quickly when: +" - this plugin was already loaded (or disabled) +" - when 'compatible' is set +if &cp || exists("g:autoloaded_rails") + finish +endif +let g:autoloaded_rails = '2.0' + +let s:cpo_save = &cpo +set cpo&vim + +" Utility Functions {{{1 + +function! s:sub(str,pat,rep) + return substitute(a:str,'\v\C'.a:pat,a:rep,'') +endfunction + +function! s:gsub(str,pat,rep) + return substitute(a:str,'\v\C'.a:pat,a:rep,'g') +endfunction + +function! s:string(str) + if exists("*string") + return string(a:str) + else + return "'" . s:gsub(a:str,"'","'.\"'\".'") . "'" + endif +endfunction + +function! s:compact(ary) + return s:sub(s:sub(s:gsub(a:ary,'\n\n+','\n'),'\n$',''),'^\n','') +endfunction + +function! s:scrub(collection,item) + " Removes item from a newline separated collection + let col = "\n" . a:collection + let idx = stridx(col,"\n".a:item."\n") + let cnt = 0 + while idx != -1 && cnt < 100 + let col = strpart(col,0,idx).strpart(col,idx+strlen(a:item)+1) + let idx = stridx(col,"\n".a:item."\n") + let cnt = cnt + 1 + endwhile + return strpart(col,1) +endfunction + +function! s:escarg(p) + return s:gsub(a:p,'[ !%#]','\\&') +endfunction + +function! s:esccmd(p) + return s:gsub(a:p,'[!%#]','\\&') +endfunction + +function! s:ra() + " Rails root, escaped for use as single argument + return s:escarg(RailsRoot()) +endfunction + +function! s:rc() + " Rails root, escaped for use with a command (spaces not escaped) + return s:esccmd(RailsRoot()) +endfunction + +function! s:escvar(r) + let r = fnamemodify(a:r,':~') + let r = s:gsub(r,'\W','\="_".char2nr(submatch(0))."_"') + let r = s:gsub(r,'^\d','_&') + return r +endfunction + +function! s:rv() + " Rails root, escaped to be a variable name + return s:escvar(RailsRoot()) +endfunction + +function! s:rquote(str) + " Imperfect but adequate for Ruby arguments + if a:str =~ '^[A-Za-z0-9_/.:-]\+$' + return a:str + elseif &shell =~? 'cmd' + return '"'.s:gsub(s:gsub(a:str,'\','\\'),'"','\\"').'"' + else + return "'".s:gsub(s:gsub(a:str,'\','\\'),"'","'\\\\''")."'" + endif +endfunction + +function! s:sname() + return fnamemodify(s:file,':t:r') +endfunction + +function! s:hasfile(file) + return filereadable(RailsRoot().'/'.a:file) +endfunction + +function! s:rubyexestr(cmd) + if RailsRoot() =~ '://' + return "ruby ".a:cmd + else + return "ruby -C ".s:rquote(RailsRoot())." ".a:cmd + endif +endfunction + +function! s:rubyexestrwithfork(cmd) + if s:getopt("ruby_fork_port","ab") && executable("ruby_fork_client") + return "ruby_fork_client -p ".s:getopt("ruby_fork_port","ab")." ".a:cmd + else + return s:rubyexestr(a:cmd) + endif +endfunction + +function! s:rubyexebg(cmd) + let cmd = s:esccmd(s:rubyexestr(a:cmd)) + if has("gui_win32") + if &shellcmdflag == "-c" && ($PATH . &shell) =~? 'cygwin' + silent exe "!cygstart -d ".s:rquote(RailsRoot())." ruby ".a:cmd + else + exe "!start ".cmd + endif + elseif exists("$STY") && !has("gui_running") && s:getopt("gnu_screen","abg") && executable("screen") + silent exe "!screen -ln -fn -t ".s:sub(s:sub(a:cmd,'\s.*',''),'^%(script|-rcommand)/','rails-').' '.cmd + else + exe "!".cmd + endif + return v:shell_error +endfunction + +function! s:rubyexe(cmd,...) + if a:0 + call s:rubyexebg(a:cmd) + else + exe "!".s:esccmd(s:rubyexestr(a:cmd)) + endif + return v:shell_error +endfunction + +function! s:rubyeval(ruby,...) + if a:0 > 0 + let def = a:1 + else + let def = "" + endif + if !executable("ruby") + return def + endif + let cmd = s:rubyexestr('-e '.s:rquote('begin; require %{rubygems}; rescue LoadError; end; begin; require %{active_support}; rescue LoadError; end; '.a:ruby)) + "let g:rails_last_ruby_command = cmd + " If the shell is messed up, this command could cause an error message + silent! let results = system(cmd) + "let g:rails_last_ruby_result = results + if v:shell_error != 0 " results =~ '-e:\d' || results =~ 'ruby:.*(fatal)' + return def + else + return results + endif +endfunction + +function! s:railseval(ruby,...) + if a:0 > 0 + let def = a:1 + else + let def = "" + endif + if !executable("ruby") + return def + endif + let args = "-r./config/boot -r ".s:rquote(RailsRoot()."/config/environment")." -e ".s:rquote(a:ruby) + let cmd = s:rubyexestrwithfork(args) + " If the shell is messed up, this command could cause an error message + silent! let results = system(cmd) + if v:shell_error != 0 " results =~ '-e:\d' || results =~ 'ruby:.*(fatal)' + return def + else + return results + endif +endfunction + +function! s:endof(lnum) + if a:lnum == 0 + return 0 + endif + if &ft == "yaml" || expand("%:e") == "yml" + return -1 + endif + let cline = getline(a:lnum) + let spc = matchstr(cline,'^\s*') + let endpat = '\' + if matchstr(getline(a:lnum+1),'^'.spc) && !matchstr(getline(a:lnum+1),'^'.spc.endpat) && matchstr(cline,endpat) + return a:lnum + endif + let endl = a:lnum + while endl <= line('$') + let endl = endl + 1 + if getline(endl) =~ '^'.spc.endpat + return endl + elseif getline(endl) =~ '^=begin\>' + while getline(endl) !~ '^=end\>' && endl <= line('$') + let endl = endl + 1 + endwhile + let endl = endl + 1 + elseif getline(endl) !~ '^'.spc && getline(endl) !~ '^\s*\%(#.*\)\=$' + return 0 + endif + endwhile + return 0 +endfunction + +function! s:lastmethodline(...) + if a:0 + let line = a:1 + else + let line = line(".") + endif + while line > 0 && getline(line) !~ &l:define + let line = line - 1 + endwhile + let lend = s:endof(line) + if lend < 0 || lend >= (a:0 ? a:1 : line(".")) + return line + else + return 0 + endif +endfunction + +function! s:lastmethod() + let line = s:lastmethodline() + if line + return s:sub(matchstr(getline(line),'\%('.&define.'\)\zs\h\%(\k\|[:.]\)*[?!=]\='),':$','') + else + return "" + endif +endfunction + +function! s:lastrespondtoline(...) + let mline = s:lastmethodline() + if a:0 + let line = a:1 + else + let line = line(".") + endif + while line > mline && getline(line) !~ '\C^\s*respond_to\s*\%(\= (a:0 ? a:1 : line(".")) + return line + else + return -1 + endif +endfunction + +function! s:lastformat() + let rline = s:lastrespondtoline() + if rline + let variable = matchstr(getline(rline),'\C^\s*respond_to\s*\%(\ rline + let match = matchstr(getline(line),'\C^\s*'.variable.'\s*\.\s*\zs\h\k*') + if match != '' + return match + endif + let line = line - 1 + endwhile + endif + return "" +endfunction + +function! s:format(...) + if RailsFileType() =~ '^view\>' + let format = fnamemodify(RailsFilePath(),':r:e') + else + let format = s:lastformat() + endif + if format == '' + if fnamemodify(RailsFilePath(),':e') == 'rhtml' + let format = 'html' + elseif fnamemodify(RailsFilePath(),':e') == 'rxml' + let format = 'xml' + elseif fnamemodify(RailsFilePath(),':e') == 'rjs' + let format = 'js' + elseif a:0 + return a:1 + endif + endif + return format +endfunction + +let s:view_types = 'rhtml,erb,rxml,builder,rjs,mab,liquid,haml,dryml,mn' + +function! s:viewspattern() + return '\%('.s:gsub(s:view_types,',','\\|').'\)' +endfunction + +function! s:controller(...) + let t = RailsFileType() + let f = RailsFilePath() + let o = s:getopt("controller","lb") + if o != "" + return o + elseif f =~ '\' + return s:sub(f,'.*' + let r = "controller-api" + else + let r = "controller" + endif + elseif f =~ '_api\.rb' + let r = "api" + elseif f =~ '\' + let class = matchstr(top,'\') + if class == "ActiveResoure::Base" + let class = "ares" + let r = "model-ares" + elseif class != '' + "let class = s:sub(class,'::Base$','') + let class = tolower(s:gsub(class,'[^A-Z]','')) + let r = "model-".s:sub(class,'^amb>','mailer') + elseif f =~ '_mailer\.rb$' + let r = "model-mailer" + elseif top =~ '\<\%(validates_\w\+_of\|set_\%(table_name\|primary_key\)\|has_one\|has_many\|belongs_to\)\>' + let r = "model-arb" + else + let r = "model" + endif + elseif f =~ '\.*\.' + let r = "view-layout-" . e + elseif f =~ '\<\%(app/views\|components\)/.*/_\k\+\.\k\+\%(\.\k\+\)\=$' + let r = "view-partial-" . e + elseif f =~ '\.*\.' || f =~ '\' + if e == "yml" + let r = "fixtures-yaml" + else + let r = "fixtures" . (e == "" ? "" : "-" . e) + endif + elseif f =~ '\' || f=~ '\.*\.rb$' + let r = "config-routes" + elseif f =~ '\0,) + Rcommand! -buffer -bar -nargs=? -bang -complete=custom,s:PreviewComplete Rpreview :call s:Preview(0,) + Rcommand! -buffer -bar -nargs=? -bang -complete=custom,s:environments Rlog :call s:Log(0,) + Rcommand! -buffer -bar -nargs=* -bang -complete=custom,s:SetComplete Rset :call s:Set(0,) + command! -buffer -bar -nargs=0 Rtags :call s:Tags(0) + " Embedding all this logic directly into the command makes the error + " messages more concise. + command! -buffer -bar -nargs=? -bang Rdoc : + \ if 0 || =~ "^\\([:'-]\\|g:\\)" | + \ exe RailsHelpCommand() | + \ else | call s:Doc(0,) | endif + command! -buffer -bar -nargs=0 -bang Rrefresh :if 0|unlet! g:autoloaded_rails|source `=s:file`|endif|call s:Refresh(0) + if exists(":Project") + command! -buffer -bar -nargs=? -bang Rproject :call s:Project(0,) + endif + if exists("g:loaded_dbext") + Rcommand! -buffer -bar -nargs=? -bang -complete=custom,s:environments Rdbext :call s:BufDatabase(2,,0) + endif + let ext = expand("%:e") + if ext =~ s:viewspattern() + " TODO: complete controller names with trailing slashes here + Rcommand! -buffer -bar -nargs=? -range -complete=custom,s:controllerList Rextract :,call s:Extract(0,) + command! -buffer -bar -nargs=? -range Rpartial :call s:warn("Warning: :Rpartial has been deprecated in favor of :Rextract") | ,Rextract + endif + if RailsFilePath() =~ '\0) + endif +endfunction + +function! s:Doc(bang, string) + if a:string != "" + if exists("g:rails_search_url") + let query = substitute(a:string,'[^A-Za-z0-9_.~-]','\="%".printf("%02X",char2nr(submatch(0)))','g') + let url = printf(g:rails_search_url, query) + else + return s:error("specify a g:rails_search_url with %s for a query placeholder") + endif + elseif isdirectory(RailsRoot()."/doc/api/classes") + let url = RailsRoot()."/doc/api/index.html" + elseif s:getpidfor("0.0.0.0","8808") > 0 + let url = "http://localhost:8808" + else + let url = "http://api.rubyonrails.org" + endif + call s:initOpenURL() + if exists(":OpenURL") + exe "OpenURL ".s:escarg(url) + else + return s:error("No :OpenURL command found") + endif +endfunction + +function! s:Log(bang,arg) + if a:arg == "" + let lf = "log/".s:environment().".log" + else + let lf = "log/".a:arg.".log" + endif + let size = getfsize(RailsRoot()."/".lf) + if size >= 1048576 + call s:warn("Log file is ".((size+512)/1024)."KB. Consider :Rake log:clear") + endif + if a:bang + exe "cgetfile ".lf + clast + else + if exists(":Tail") + " TODO: check if :Tail works with `=` + exe "Tail ".s:ra().'/'.lf + else + "exe "pedit ".s:ra().'/'.lf + pedit `=RailsRoot().'/'.lf` + endif + endif +endfunction + +function! RailsNewApp(bang,...) + if a:0 == 0 + if a:bang + echo "rails.vim version ".g:autoloaded_rails + else + !rails + endif + return + endif + let dir = "" + if a:1 !~ '^-' + let dir = a:1 + elseif a:{a:0} =~ '[\/]' + let dir = a:{a:0} + else + let dir = a:1 + endif + let str = "" + let c = 1 + while c <= a:0 + let str = str . " " . s:rquote(expand(a:{c})) + let c = c + 1 + endwhile + "let str = s:sub(str,'^ ','') + let dir = expand(dir) + if isdirectory(fnamemodify(dir,':h')."/.svn") && g:rails_subversion + let append = " -c" + else + let append = "" + endif + if g:rails_default_database != "" && str !~ '-d \|--database=' + let append = append." -d ".g:rails_default_database + endif + if a:bang + let append = append." --force" + endif + exe "!rails".append.str + if filereadable(dir."/".g:rails_default_file) + "exe "edit ".s:escarg(dir)."/".g:rails_default_file + edit `=dir.'/'.g:rails_default_file` + endif +endfunction + +function! s:Tags(bang) + if exists("g:Tlist_Ctags_Cmd") + let cmd = g:Tlist_Ctags_Cmd + elseif executable("exuberant-ctags") + let cmd = "exuberant-ctags" + elseif executable("ctags-exuberant") + let cmd = "ctags-exuberant" + elseif executable("ctags") + let cmd = "ctags" + elseif executable("ctags.exe") + let cmd = "ctags.exe" + else + return s:error("ctags not found") + endif + exe "!".cmd." -R ".s:ra() +endfunction + +function! s:Refresh(bang) + " What else? + if a:bang + unlet! s:rails_helper_methods + endif + if exists("g:rubycomplete_rails") && g:rubycomplete_rails && has("ruby") + silent! ruby ActiveRecord::Base.reset_subclasses if defined?(ActiveRecord) + silent! ruby Dependencies.clear if defined?(Dependencies) + if a:bang + silent! ruby ActiveRecord::Base.clear_reloadable_connections! if defined?(ActiveRecord) + endif + endif + call s:cacheclear() + silent doautocmd User BufLeaveRails + if a:bang && s:cacheworks() + let s:cache = {} + endif + let i = 1 + let max = bufnr('$') + while i <= max + let rr = getbufvar(i,"rails_root") + if rr != "" + unlet! s:user_classes_{s:escvar(rr)} + unlet! s:dbext_type_{s:escvar(rr)} + call setbufvar(i,"rails_refresh",1) + endif + let i = i + 1 + endwhile + silent doautocmd User BufEnterRails +endfunction + +function! s:RefreshBuffer() + if exists("b:rails_refresh") && b:rails_refresh + let oldroot = b:rails_root + unlet! b:rails_root b:rails_use_subversion + let b:rails_refresh = 0 + call RailsBufInit(oldroot) + unlet! b:rails_refresh + endif +endfunction + +" }}}1 +" Rake {{{1 + +" Depends: s:rubyexestrwithfork, s:sub, s:lastmethodline, s:getopt, s;rquote, s:QuickFixCmdPre, ... + +" Current directory +let s:efm='%D(in\ %f),' +" Failure and Error headers, start a multiline message +let s:efm=s:efm + \.'%A\ %\\+%\\d%\\+)\ Failure:,' + \.'%A\ %\\+%\\d%\\+)\ Error:,' + \.'%+A'."'".'%.%#'."'".'\ FAILED,' +" Exclusions +let s:efm=s:efm + \.'%C%.%#(eval)%.%#,' + \.'%C-e:%.%#,' + \.'%C%.%#/lib/gems/%\\d.%\\d/gems/%.%#,' + \.'%C%.%#/lib/ruby/%\\d.%\\d/%.%#,' + \.'%C%.%#/vendor/rails/%.%#,' +" Specific to template errors +let s:efm=s:efm + \.'%C\ %\\+On\ line\ #%l\ of\ %f,' + \.'%CActionView::TemplateError:\ compile\ error,' +" stack backtrace is in brackets. if multiple lines, it starts on a new line. +let s:efm=s:efm + \.'%Ctest_%.%#(%.%#):%#,' + \.'%C%.%#\ [%f:%l]:,' + \.'%C\ \ \ \ [%f:%l:%.%#,' + \.'%C\ \ \ \ %f:%l:%.%#,' + \.'%C\ \ \ \ \ %f:%l:%.%#]:,' + \.'%C\ \ \ \ \ %f:%l:%.%#,' +" Catch all +let s:efm=s:efm + \.'%Z%f:%l:\ %#%m,' + \.'%Z%f:%l:,' + \.'%C%m,' +" Syntax errors in the test itself +let s:efm=s:efm + \.'%.%#.rb:%\\d%\\+:in\ `load'."'".':\ %f:%l:\ syntax\ error\\\, %m,' + \.'%.%#.rb:%\\d%\\+:in\ `load'."'".':\ %f:%l:\ %m,' +" And required files +let s:efm=s:efm + \.'%.%#:in\ `require'."'".':in\ `require'."'".':\ %f:%l:\ syntax\ error\\\, %m,' + \.'%.%#:in\ `require'."'".':in\ `require'."'".':\ %f:%l:\ %m,' +" Exclusions +let s:efm=s:efm + \.'%-G%.%#/lib/gems/%\\d.%\\d/gems/%.%#,' + \.'%-G%.%#/lib/ruby/%\\d.%\\d/%.%#,' + \.'%-G%.%#/vendor/rails/%.%#,' + \.'%-G%.%#%\\d%\\d:%\\d%\\d:%\\d%\\d%.%#,' +" Final catch all for one line errors +let s:efm=s:efm + \.'%-G%\\s%#from\ %.%#,' + \.'%f:%l:\ %#%m,' +" Drop everything else +let s:efm=s:efm + \.'%-G%.%#' + +let s:efm_backtrace='%D(in\ %f),' + \.'%\\s%#from\ %f:%l:%m,' + \.'%\\s#{RAILS_ROOT}/%f:%l:\ %#%m,' + \.'%\\s%#[%f:%l:\ %#%m,' + \.'%\\s%#%f:%l:\ %#%m' + +function! s:makewithruby(arg,...) + if &efm == s:efm + if a:0 ? a:1 : 1 + setlocal efm=\%-E-e:%.%#,\%+E%f:%l:\ parse\ error,%W%f:%l:\ warning:\ %m,%E%f:%l:in\ %*[^:]:\ %m,%E%f:%l:\ %m,%-C%\tfrom\ %f:%l:in\ %.%#,%-Z%\tfrom\ %f:%l,%-Z%p^,%-G%.%# + endif + endif + let old_make = &makeprg + let &l:makeprg = s:rubyexestrwithfork(a:arg) + make + let &l:makeprg = old_make +endfunction + +function! s:Rake(bang,arg) + let oldefm = &efm + if a:bang + let &l:errorformat = s:efm_backtrace + endif + let t = RailsFileType() + let arg = a:arg + if &filetype == "ruby" && arg == '' && g:rails_modelines + let lnum = s:lastmethodline() + let str = getline(lnum)."\n".getline(lnum+1)."\n".getline(lnum+2)."\n" + let pat = '\s\+\zs.\{-\}\ze\%(\n\|\s\s\|#{\@!\|$\)' + let mat = matchstr(str,'#\s*rake'.pat) + let mat = s:sub(mat,'\s+$','') + if mat != "" + let arg = mat + endif + endif + if arg == '' + let opt = s:getopt('task','bl') + if opt != '' + let arg = opt + endif + endif + let withrubyargs = '-r ./config/boot -r '.s:rquote(RailsRoot().'/config/environment').' -e "puts \%((in \#{Dir.getwd}))" ' + if arg =~# '^\%(stats\|routes\|notes\|db:\%(charset\|collation\|version\)\)\%(:\|$\)' + " So you can see the output even with an inadequate redirect + call s:QuickFixCmdPre() + exe "!".&makeprg." ".arg + call s:QuickFixCmdPost() + elseif arg =~ '^preview\>' + exe 'R'.s:gsub(arg,':','/') + elseif arg =~ '^runner:' + let arg = s:sub(arg,'^runner:','') + let root = matchstr(arg,'%\%(:\w\)*') + let file = expand(root).matchstr(arg,'%\%(:\w\)*\zs.*') + if file =~ '[@#].*$' + let extra = " -- -n ".matchstr(file,'[@#]\zs.*') + let file = s:sub(file,'[@#].*','') + else + let extra = '' + endif + if s:hasfile(file) || s:hasfile(file.'.rb') + call s:makewithruby(withrubyargs.'-r"'.file.'"'.extra,file !~# '_\%(spec\|test\)\%(\.rb\)\=$') + else + call s:makewithruby(withrubyargs.'-e '.s:esccmd(s:rquote(arg))) + endif + elseif arg == 'run' || arg == 'runner' + call s:makewithruby(withrubyargs.'-r"'.RailsFilePath().'"',RailsFilePath() !~# '_\%(spec\|test\)\%(\.rb\)\=$') + elseif arg =~ '^run:' + let arg = s:sub(arg,'^run:','') + let arg = s:sub(arg,'^%:h',expand('%:h')) + let arg = s:sub(arg,'^%(\%|$|[@#]@=)',expand('%')) + let arg = s:sub(arg,'[@#](\w+)$',' -- -n\1') + call s:makewithruby(withrubyargs.'-r'.arg,arg !~# '_\%(spec\|test\)\.rb$') + elseif arg != '' + exe 'make '.arg + elseif t =~ '^task\>' + let lnum = s:lastmethodline() + let line = getline(lnum) + " We can't grab the namespace so only run tasks at the start of the line + if line =~ '^\%(task\|file\)\>' + exe 'make '.s:lastmethod() + else + make + endif + elseif t =~ '^spec\>' + if RailsFilePath() =~# '\' + let meth = s:lastmethod() + if meth =~ '^test_' + let call = " -n".meth."" + else + let call = "" + endif + if t =~ '^test-\%(unit\|functional\|integration\)$' + exe "make ".s:sub(s:gsub(t,'-',':'),'unit$|functional$','&s')." TEST=\"%:p\"".s:sub(call,'^ ',' TESTOPTS=') + elseif RailsFilePath() =~# '\' && RailsFilePath() !~# '\' + make test:units TEST="%:p:r:s?[\/]app[\/]apis[\/]?/test/functional/?_test.rb" + elseif t=~ '^\<\%(controller\|helper\|view\)\>' + if RailsFilePath() =~ '\ + elseif has("gui_win32") + command -bar -nargs=1 OpenURL :!start cmd /cstart /b + elseif executable("sensible-browser") + command -bar -nargs=1 OpenURL :!sensible-browser + endif + endif +endfunction + +" This returns the URI with a trailing newline if it is found +function! s:scanlineforuri(lnum) + let line = getline(a:lnum) + let url = matchstr(line,"\\v\\C%(%(GET|PUT|POST|DELETE)\\s+|\w+:/)/[^ \n\r\t<>\"]*[^] .,;\n\r\t<>\":]") + if url =~ '\C^\u\+\s\+' + let method = matchstr(url,'^\u\+') + let url = matchstr(url,'\s\+\zs.*') + if method !=? "GET" + if url =~ '?' + let url = url.'&' + else + let url = url.'?' + endif + let url = url.'_method='.tolower(method) + endif + endif + if url != "" + return s:sub(url,'^/','') . "\n" + else + return "" + endif +endfunction + +function! s:defaultpreview() + let ret = '' + if s:getopt('preview','l') != '' + let uri = s:getopt('preview','l') + elseif s:controller() != '' && s:controller() != 'application' && RailsFilePath() !~ '^public/' + if RailsFileType() =~ '^controller\>' + let start = s:lastmethodline() - 1 + if start + 1 + while getline(start) =~ '^\s*\%(#.*\)\=$' + let ret = s:scanlineforuri(start).ret + let start = start - 1 + endwhile + let ret = ret.s:controller().'/'.s:lastmethod().'/' + else + let ret = ret.s:controller().'/' + endif + elseif s:getopt('preview','b') != '' + let ret = s:getopt('preview','b') + elseif RailsFileType() =~ '^view\%(-partial\|-layout\)\@!' + let ret = ret.s:controller().'/'.expand('%:t:r:r').'/' + endif + elseif s:getopt('preview','b') != '' + let uri = s:getopt('preview','b') + elseif RailsFilePath() =~ '^public/' + let ret = s:sub(RailsFilePath(),'^public/','') + elseif s:getopt('preview','ag') != '' + let ret = s:getopt('preview','ag') + endif + return ret +endfunction + +function! s:Preview(bang,arg) + let root = s:getopt("root_url") + if root == '' + let root = s:getopt("url") + endif + let root = s:sub(root,'/$','') + if a:arg =~ '://' + let uri = a:arg + elseif a:arg != '' + let uri = root.'/'.s:sub(a:arg,'^/','') + else + let uri = matchstr(s:defaultpreview(),'.\{-\}\%(\n\@=\|$\)') + let uri = root.'/'.s:sub(s:sub(uri,'^/',''),'/$','') + endif + call s:initOpenURL() + if exists(':OpenURL') && !a:bang + exe 'OpenURL '.uri + else + " Work around bug where URLs ending in / get handled as FTP + let url = uri.(uri =~ '/$' ? '?' : '') + silent exe 'pedit '.url + wincmd w + if &filetype == '' + if uri =~ '\.css$' + setlocal filetype=css + elseif uri =~ '\.js$' + setlocal filetype=javascript + elseif getline(1) =~ '^\s*<' + setlocal filetype=xhtml + endif + endif + call RailsBufInit(RailsRoot()) + map q :bwipe + wincmd p + if !a:bang + call s:warn("Define a :OpenURL command to use a browser") + endif + endif +endfunction + +function! s:PreviewComplete(A,L,P) + return s:defaultpreview() +endfunction + +" }}}1 +" Script Wrappers {{{1 + +" Depends: s:rquote, s:rubyexebg, s:rubyexe, s:rubyexestrwithfork, s:sub, s:getopt, s:usesubversion, s:user_classes_..., ..., s:pluginList, ... + +function! s:BufScriptWrappers() + Rcommand! -buffer -bar -nargs=+ -complete=custom,s:ScriptComplete Rscript :call s:Script(0,) + Rcommand! -buffer -bar -nargs=* -complete=custom,s:ConsoleComplete Rconsole :call s:Console(0,'console',) + "Rcommand! -buffer -bar -nargs=* Rbreakpointer :call s:Console(0,'breakpointer',) + Rcommand! -buffer -bar -nargs=* -complete=custom,s:GenerateComplete Rgenerate :call s:Generate(0,) + Rcommand! -buffer -bar -nargs=* -complete=custom,s:DestroyComplete Rdestroy :call s:Destroy(0,) + Rcommand! -buffer -bar -nargs=? -bang -complete=custom,s:ServerComplete Rserver :call s:Server(0,) + Rcommand! -buffer -bang -nargs=1 -range=0 -complete=custom,s:RubyComplete Rrunner :call s:Runner(0 ? -2 : (==?:-1),) + Rcommand! -buffer -nargs=1 -range=0 -complete=custom,s:RubyComplete Rp :call s:Runner(==?:-1,'p begin '..' end') + Rcommand! -buffer -nargs=1 -range=0 -complete=custom,s:RubyComplete Rpp :call s:Runner(==?:-1,'require %{pp}; pp begin '..' end') + Rcommand! -buffer -nargs=1 -range=0 -complete=custom,s:RubyComplete Ry :call s:Runner(==?:-1,'y begin '..' end') +endfunction + +function! s:Script(bang,cmd,...) + let str = "" + let c = 1 + while c <= a:0 + let str = str . " " . s:rquote(a:{c}) + let c = c + 1 + endwhile + if a:bang + call s:rubyexebg(s:rquote("script/".a:cmd).str) + else + call s:rubyexe(s:rquote("script/".a:cmd).str) + endif +endfunction + +function! s:Runner(count,args) + if a:count == -2 + call s:Script(a:bang,"runner",a:args) + else + let str = s:rubyexestrwithfork('-r./config/boot -e "require '."'commands/runner'".'" '.s:rquote(a:args)) + let res = s:sub(system(str),'\n$','') + if a:count < 0 + echo res + else + exe a:count.'put =res' + endif + endif +endfunction + +function! s:Console(bang,cmd,...) + let str = "" + let c = 1 + while c <= a:0 + let str = str . " " . s:rquote(a:{c}) + let c = c + 1 + endwhile + call s:rubyexebg(s:rquote("script/".a:cmd).str) +endfunction + +function! s:getpidfor(bind,port) + if has("win32") || has("win64") + let netstat = system("netstat -anop tcp") + let pid = matchstr(netstat,'\<'.a:bind.':'.a:port.'\>.\{-\}LISTENING\s\+\zs\d\+') + elseif executable('lsof') + let pid = system("lsof -i 4tcp@".a:bind.':'.a:port."|grep LISTEN|awk '{print $2}'") + let pid = s:sub(pid,'\n','') + else + let pid = "" + endif + return pid +endfunction + +function! s:Server(bang,arg) + let port = matchstr(a:arg,'\%(-p\|--port=\=\)\s*\zs\d\+') + if port == '' + let port = "3000" + endif + " TODO: Extract bind argument + let bind = "0.0.0.0" + if a:bang && executable("ruby") + let pid = s:getpidfor(bind,port) + if pid =~ '^\d\+$' + echo "Killing server with pid ".pid + if !has("win32") + call system("ruby -e 'Process.kill(:TERM,".pid.")'") + sleep 100m + endif + call system("ruby -e 'Process.kill(9,".pid.")'") + sleep 100m + endif + if a:arg == "-" + return + endif + endif + if has("win32") || has("win64") || (exists("$STY") && !has("gui_running") && s:getopt("gnu_screen","abg") && executable("screen")) + call s:rubyexebg(s:rquote("script/server")." ".a:arg) + else + "--daemon would be more descriptive but lighttpd does not support it + call s:rubyexe(s:rquote("script/server")." ".a:arg." -d") + endif + call s:setopt('a:root_url','http://'.(bind=='0.0.0.0'?'localhost': bind).':'.port.'/') +endfunction + +function! s:Destroy(bang,...) + if a:0 == 0 + call s:rubyexe("script/destroy") + return + elseif a:0 == 1 + call s:rubyexe("script/destroy ".s:rquote(a:1)) + return + endif + let str = "" + let c = 1 + while c <= a:0 + let str = str . " " . s:rquote(a:{c}) + let c = c + 1 + endwhile + call s:rubyexe(s:rquote("script/destroy").str.(s:usesubversion()?' -c':'')) + unlet! s:user_classes_{s:rv()} +endfunction + +function! s:Generate(bang,...) + if a:0 == 0 + call s:rubyexe("script/generate") + return + elseif a:0 == 1 + call s:rubyexe("script/generate ".s:rquote(a:1)) + return + endif + let target = s:rquote(a:1) + let str = "" + let c = 2 + while c <= a:0 + let str = str . " " . s:rquote(a:{c}) + let c = c + 1 + endwhile + if str !~ '-p\>' && str !~ '--pretend\>' + let execstr = s:rubyexestr('-r./config/boot -e "require '."'commands/generate'".'" -- '.target." -p -f".str) + let res = system(execstr) + let file = matchstr(res,'\s\+\%(create\|force\)\s\+\zs\f\+\.rb\ze\n') + if file == "" + let file = matchstr(res,'\s\+\%(exists\)\s\+\zs\f\+\.rb\ze\n') + endif + "echo file + else + let file = "" + endif + if !s:rubyexe("script/generate ".target.(s:usesubversion()?' -c':'').str) && file != "" + unlet! s:user_classes_{s:rv()} + "exe "edit ".s:ra()."/".file + edit `=RailsRoot().'/'.file` + endif +endfunction + +function! s:ScriptComplete(ArgLead,CmdLine,P) + let cmd = s:sub(a:CmdLine,'^\u\w*\s+','') + let P = a:P - strlen(a:CmdLine)+strlen(cmd) + if cmd !~ '^[ A-Za-z0-9_=-]*$' + " You're on your own, bud + return "" + elseif cmd =~ '^\w*$' + return "about\nconsole\ndestroy\ngenerate\nperformance/benchmarker\nperformance/profiler\nplugin\nproccess/reaper\nprocess/spawner\nrunner\nserver" + elseif cmd =~ '^\%(plugin\)\s\+'.a:ArgLead.'$' + return "discover\nlist\ninstall\nupdate\nremove\nsource\nunsource\nsources" + elseif cmd =~ '\%(plugin\)\s\+\%(install\|remove\)\s\+'.a:ArgLead.'$' || cmd =~ '\%(generate\|destroy\)\s\+plugin\s\+'.a:ArgLead.'$' + return s:pluginList(a:ArgLead,a:CmdLine,a:P) + elseif cmd =~ '^\%(generate\|destroy\)\s\+'.a:ArgLead.'$' + return g:rails_generators + elseif cmd =~ '^\%(generate\|destroy\)\s\+\w\+\s\+'.a:ArgLead.'$' + let target = matchstr(cmd,'^\w\+\s\+\zs\w\+\ze\s\+') + let pattern = "" " TODO + if target =~# '^\%(\w*_\)\=controller$' + return s:sub(s:controllerList(pattern,"",""),'^application\n=','') + elseif target =~# '^\%(\w*_\)\=model$' || target =~# '^scaffold\%(_resource\)\=$' || target == 'mailer' + return s:modelList(pattern,"","") + elseif target == 'migration' || target == 'session_migration' + return s:migrationList(pattern,"","") + elseif target == 'integration_test' + return s:integrationtestList(pattern,"","") + elseif target == 'observer' + " script/generate observer is in Edge Rails + let observers = s:observerList(pattern,"","") + let models = s:modelList(pattern,"","") + if cmd =~ '^destroy\>' + let models = "" + endif + while strlen(models) > 0 + let tmp = matchstr(models."\n",'.\{-\}\ze\n') + let models = s:sub(models,'.{-}%(\n|$)','') + if stridx("\n".observers."\n","\n".tmp."\n") == -1 && tmp !~'_observer$' + let observers = observers."\n".tmp + endif + endwhile + return s:sub(observers,'^\n','') + elseif target == 'web_service' + return s:apiList(pattern,"","") + else + return "" + endif + elseif cmd =~ '^\%(generate\|destroy\)\s\+scaffold\s\+\w\+\s\+'.a:ArgLead.'$' + return s:sub(s:controllerList("","",""),'^application\n=','') + elseif cmd =~ '^\%(console\)\s\+\(--\=\w\+\s\+\)\='.a:ArgLead."$" + return s:environments()."\n-s\n--sandbox" + elseif cmd =~ '^\%(server\)\s\+.*-e\s\+'.a:ArgLead."$" + return s:environments() + elseif cmd =~ '^\%(server\)\s\+' + return "-p\n-b\n-e\n-m\n-d\n-u\n-c\n-h\n--port=\n--binding=\n--environment=\n--mime-types=\n--daemon\n--debugger\n--charset=\n--help\n" + endif + return "" +" return s:relglob(RailsRoot()."/script/",a:ArgLead."*") +endfunction + +function! s:CustomComplete(A,L,P,cmd) + let L = "Rscript ".a:cmd." ".s:sub(a:L,'^\h\w*\s+','') + let P = a:P - strlen(a:L) + strlen(L) + return s:ScriptComplete(a:A,L,P) +endfunction + +function! s:ServerComplete(A,L,P) + return s:CustomComplete(a:A,a:L,a:P,"server") +endfunction + +function! s:ConsoleComplete(A,L,P) + return s:CustomComplete(a:A,a:L,a:P,"console") +endfunction + +function! s:GenerateComplete(A,L,P) + return s:CustomComplete(a:A,a:L,a:P,"generate") +endfunction + +function! s:DestroyComplete(A,L,P) + return s:CustomComplete(a:A,a:L,a:P,"destroy") +endfunction + +function! s:RubyComplete(A,L,R) + return s:gsub(RailsUserClasses(),' ','\n')."\nActiveRecord::Base" +endfunction + +" }}}1 +" Navigation {{{1 + +function! s:BufNavCommands() + " TODO: completion + "silent exe "command! -bar -buffer -nargs=? Rcd :cd ".s:ra()."/" + "silent exe "command! -bar -buffer -nargs=? Rlcd :lcd ".s:ra()."/" + command! -buffer -bar -nargs=? Rcd :cd `=RailsRoot().'/'.` + command! -buffer -bar -nargs=? Rlcd :lcd `=RailsRoot().'/'.` + " Vim 6.2 chokes on script local completion functions (e.g., s:FindList). + " :Rcommand! is a thin wrapper arround :command! which works around this + Rcommand! -buffer -bar -nargs=* -count=1 -complete=custom,s:FindList Rfind :call s:Find(0,,'' ,) + Rcommand! -buffer -bar -nargs=* -count=1 -complete=custom,s:FindList REfind :call s:Find(0,,'E',) + Rcommand! -buffer -bar -nargs=* -count=1 -complete=custom,s:FindList RSfind :call s:Find(0,,'S',) + Rcommand! -buffer -bar -nargs=* -count=1 -complete=custom,s:FindList RVfind :call s:Find(0,,'V',) + Rcommand! -buffer -bar -nargs=* -count=1 -complete=custom,s:FindList RTfind :call s:Find(0,,'T',) + Rcommand! -buffer -bar -nargs=* -count=1 -complete=custom,s:FindList Rsfind :RSfind + Rcommand! -buffer -bar -nargs=* -count=1 -complete=custom,s:FindList Rtabfind :RTfind + Rcommand! -buffer -bar -nargs=* -bang -complete=custom,s:EditList Redit :call s:Edit(0,,'' ,) + Rcommand! -buffer -bar -nargs=* -bang -complete=custom,s:EditList REedit :call s:Edit(0,,'E',) + Rcommand! -buffer -bar -nargs=* -bang -complete=custom,s:EditList RSedit :call s:Edit(0,,'S',) + Rcommand! -buffer -bar -nargs=* -bang -complete=custom,s:EditList RVedit :call s:Edit(0,,'V',) + Rcommand! -buffer -bar -nargs=* -bang -complete=custom,s:EditList RTedit :call s:Edit(0,,'T',) + command! -buffer -bar -nargs=0 A :call s:Alternate(0,"") + command! -buffer -bar -nargs=0 AE :call s:Alternate(0,"E") + command! -buffer -bar -nargs=0 AS :call s:Alternate(0,"S") + command! -buffer -bar -nargs=0 AV :call s:Alternate(0,"V") + command! -buffer -bar -nargs=0 AT :call s:Alternate(0,"T") + command! -buffer -bar -nargs=0 AN :call s:Related(0,"") + command! -buffer -bar -nargs=0 R :call s:Related(0,"") + command! -buffer -bar -nargs=0 RE :call s:Related(0,"E") + command! -buffer -bar -nargs=0 RS :call s:Related(0,"S") + command! -buffer -bar -nargs=0 RV :call s:Related(0,"V") + command! -buffer -bar -nargs=0 RT :call s:Related(0,"T") + "command! -buffer -bar -nargs=0 RN :call s:Alternate(0,"") +endfunction + +function! s:djump(def) + let def = s:sub(a:def,'^[@#]','') + if def != '' + let ext = matchstr(def,'\.\zs.*') + let def = matchstr(def,'[^.]*') + let v:errmsg = '' + silent! exe "djump ".def + if ext != '' && (v:errmsg == '' || v:errmsg =~ '^E387') + let rpat = '\C^\s*respond_to\s*\%(\ 0 + "call cursor(rline,1) + let variable = matchstr(getline(rline),rpat) + let success = search('\C^\s*'.variable.'\s*\.\s*\zs'.ext.'\>','',end) + if !success + silent! exe "djump ".def + endif + endif + endif + endif +endfunction + +function! s:Find(bang,count,arg,...) + let cmd = a:arg . (a:bang ? '!' : '') + let str = "" + if a:0 + let i = 1 + while i < a:0 + let str = str . s:escarg(a:{i}) . " " + let i = i + 1 + endwhile + let file = a:{i} + let tail = matchstr(file,'[@#].*$') + if tail != "" + let file = s:sub(file,'[@#].*$','') + endif + if file != "" + let file = s:RailsIncludefind(file) + endif + else + let file = s:RailsFind() + let tail = "" + endif + if file =~ '^\%(app\|config\|db\|public\|spec\|test\|vendor\)/.*\.' || !a:0 || 1 + call s:findedit((a:count==1?'' : a:count).cmd,file.tail,str) + else + " Old way + let fcmd = (a:count==1?'' : a:count).s:findcmdfor(cmd) + let fcmd = s:sub(fcmd,'(\d+)vert ','vert \1') + if file != "" + exe fcmd.' '.str.s:escarg(file) + endif + call s:djump(tail) + endif +endfunction + +function! s:Edit(bang,count,arg,...) + let cmd = a:arg . (a:bang ? '!' : '') + if a:0 + let str = "" + let i = 1 + while i < a:0 + "let str = str . s:escarg(a:{i}) . " " + let str = str . "`=a:".i."` " + let i = i + 1 + endwhile + let file = a:{i} + call s:findedit(s:editcmdfor(cmd),file,str) + else + exe s:editcmdfor(cmd) + endif +endfunction + +function! s:FindList(ArgLead, CmdLine, CursorPos) + if exists("*UserFileComplete") " genutils.vim + return UserFileComplete(s:RailsIncludefind(a:ArgLead), a:CmdLine, a:CursorPos, 1, &path) + else + return "" + endif +endfunction + +function! s:EditList(ArgLead, CmdLine, CursorPos) + return s:relglob("",a:ArgLead."*[^~]") +endfunction + +function! RailsIncludeexpr() + " Is this foolproof? + if mode() =~ '[iR]' || expand("") != v:fname + return s:RailsIncludefind(v:fname) + else + return s:RailsIncludefind(v:fname,1) + endif +endfunction + +function! s:linepeak() + let line = getline(line(".")) + let line = s:sub(line,'^(.{'.col(".").'}).*','\1') + let line = s:sub(line,'([:"'."'".']|\%[qQ]=[[({<])=\f*$','') + return line +endfunction + +function! s:matchcursor(pat) + let line = getline(".") + let lastend = 0 + while lastend >= 0 + let beg = match(line,'\C'.a:pat,lastend) + let end = matchend(line,'\C'.a:pat,lastend) + if beg < col(".") && end >= col(".") + return matchstr(line,'\C'.a:pat,lastend) + endif + let lastend = end + endwhile + return "" +endfunction + +function! s:findit(pat,repl) + let res = s:matchcursor(a:pat) + if res != "" + return substitute(res,'\C'.a:pat,a:repl,'') + else + return "" + endif +endfunction + +function! s:findamethod(func,repl) + return s:findit('\s*\<\%('.a:func.'\)\s*(\=\s*[@:'."'".'"]\(\f\+\)\>.\=',a:repl) +endfunction + +function! s:findasymbol(sym,repl) + return s:findit('\s*:\%('.a:sym.'\)\s*=>\s*(\=\s*[@:'."'".'"]\(\f\+\)\>.\=',a:repl) +endfunction + +function! s:findfromview(func,repl) + return s:findit('\s*\%(<%\)\==\=\s*\<\%('.a:func.'\)\s*(\=\s*[@:'."'".'"]\(\f\+\)\>['."'".'"]\=\s*\%(%>\s*\)\=',a:repl) +endfunction + +function! s:RailsFind() + if filereadable(expand("")) + return expand("") + endif + " UGH + let format = s:format('html') + let res = s:findit('\v\s*.=',expand('%:h').'/\1') + if res != ""|return res.(fnamemodify(res,':e') == '' ? '.rb' : '')|endif + let res = s:findit('\v['."'".'"]=',expand('%:h').'\1') + if res != ""|return res|endif + let res = s:findamethod('require','\1') + if res != ""|return res.(fnamemodify(res,':e') == '' ? '.rb' : '')|endif + let res = s:findamethod('belongs_to\|has_one\|composed_of\|validates_associated\|scaffold','app/models/\1.rb') + if res != ""|return res|endif + let res = s:singularize(s:findamethod('has_many\|has_and_belongs_to_many','app/models/\1')) + if res != ""|return res.".rb"|endif + let res = s:singularize(s:findamethod('create_table\|drop_table\|add_column\|rename_column\|remove_column\|add_index','app/models/\1')) + if res != ""|return res.".rb"|endif + let res = s:singularize(s:findasymbol('through','app/models/\1')) + if res != ""|return res.".rb"|endif + let res = s:findamethod('fixtures','fixtures/\1') + if res != "" + return RailsFilePath() =~ '\\s*','\1'),'^/',''),'\k+$','_&') + if res != ""|return res."\n".s:findview(res)|endif + let res = s:findamethod('render\s*:\%(template\|action\)\s\+=>\s*','\1.'.format.'\n\1') + if res != ""|return res|endif + let res = s:findamethod('redirect_to\s*(\=\s*:action\s\+=>\s*','\1') + if res != ""|return res|endif + let res = s:findfromview('stylesheet_link_tag','public/stylesheets/\1.css') + if res != ""|return res|endif + let res = s:sub(s:findfromview('javascript_include_tag','public/javascripts/\1.js'),'/defaults>','/application') + if res != ""|return res|endif + if RailsFileType() =~ '^controller\>' + let res = s:findit('\s*\(\=',s:sub(s:sub(RailsFilePath(),'/controllers/','/views/'),'_controller\.rb$','').'/\1') + if res != ""|return res|endif + endif + let isf_keep = &isfname + set isfname=@,48-57,/,-,_,: ",\",' + " TODO: grab visual selection in visual mode + let cfile = expand("") + let res = s:RailsIncludefind(cfile,1) + let &isfname = isf_keep + return res +endfunction + +function! s:initnamedroutes() + if s:cacheneeds("named_routes") + let exec = "ActionController::Routing::Routes.named_routes.each {|n,r| puts %{#{n} app/controllers/#{r.requirements[:controller]}_controller.rb##{r.requirements[:action]}}}" + let string = s:railseval(exec) + let routes = {} + let list = split(string,"\n") + let i = 0 + " If we use for, Vim 6.2 dumbly treats endfor like endfunction + while i < len(list) + let route = split(list[i]," ") + let name = route[0] + let routes[name] = route[1] + let i = i + 1 + endwhile + call s:cacheset("named_routes",routes) + endif +endfunction + +function! s:namedroutefile(route) + call s:initnamedroutes() + if s:cachehas("named_routes") && has_key(s:cache("named_routes"),a:route) + return s:cache("named_routes")[a:route] + endif + return "" +endfunction + +function! RailsNamedRoutes() + call s:initnamedroutes() + if s:cachehas("named_routes") + return keys(s:cache("named_routes")) + else + " Dead code + if s:cacheneeds("route_names") + let lines = readfile(RailsRoot()."/config/routes.rb") + let plurals = map(filter(copy(lines),'v:val =~# "^ map\\.resources\\s\\+:\\w"'),'matchstr(v:val,"^ map\\.resources\\=\\s\\+:\\zs\\w\\+")') + let singulars = map(copy(plurals),'s:singularize(v:val)') + let extras = map(copy(singulars),'"new_".v:val')+map(copy(singulars),'"edit_".v:val') + let all = plurals + singulars + extras + let named = map(filter(copy(lines),'v:val =~# "^ map\\.\\%(connect\\>\\|resources\\=\\>\\)\\@!\\w\\+"'),'matchstr(v:val,"^ map\\.\\zs\\w\\+")') + call s:cacheset("route_names",named+all+map(copy(all),'"formatted_".v:val')) + endif + if s:cachehas("route_names") + return s:cache("route_names") + endif + endif +endfunction + +function! s:RailsIncludefind(str,...) + if a:str == "ApplicationController" + return "app/controllers/application.rb" + elseif a:str == "Test::Unit::TestCase" + return "test/unit/testcase.rb" + elseif a:str == "<%=" + " Probably a silly idea + return "action_view.rb" + endif + let str = a:str + if a:0 == 1 + " Get the text before the filename under the cursor. + " We'll cheat and peak at this in a bit + let line = s:linepeak() + let line = s:sub(line,'([:"'."'".']|\%[qQ]=[[({<])=\f*$','') + else + let line = "" + endif + let str = s:sub(str,'^\s*','') + let str = s:sub(str,'\s*$','') + let str = s:sub(str,'^[:@]','') + "let str = s:sub(str,"\\([\"']\\)\\(.*\\)\\1",'\2') + let str = s:sub(str,':0x\x+$','') " For # style output + let str = s:gsub(str,"[\"']",'') + if line =~ '\<\(require\|load\)\s*(\s*$' + return str + endif + let str = s:underscore(str) + let fpat = '\(\s*\%("\f*"\|:\f*\|'."'\\f*'".'\)\s*,\s*\)*' + if a:str =~ '\u' + " Classes should always be in .rb files + let str = str . '.rb' + elseif line =~ ':partial\s*=>\s*' + let str = s:sub(str,'([^/]+)$','_\1') + let str = s:findview(str) + elseif line =~ '\\s*' + let str = s:findview(s:sub(str,'^/=','layouts/')) + elseif line =~ ':controller\s*=>\s*' + let str = 'app/controllers/'.str.'_controller.rb' + elseif line =~ '\0,"'.cmd.'",)' + let cmd = strpart(cmds,0,1) + let cmds = strpart(cmds,1) + endwhile +endfunction + +function! s:BufFinderCommands() + command! -buffer -bar -bang -nargs=+ Rcommand :call s:Command(0,) + call s:addfilecmds("model") + call s:addfilecmds("view") + call s:addfilecmds("controller") + call s:addfilecmds("migration") + call s:addfilecmds("observer") + call s:addfilecmds("helper") + call s:addfilecmds("api") + call s:addfilecmds("layout") + call s:addfilecmds("fixtures") + call s:addfilecmds("unittest") + call s:addfilecmds("functionaltest") + call s:addfilecmds("integrationtest") + call s:addfilecmds("stylesheet") + call s:addfilecmds("javascript") + call s:addfilecmds("task") + call s:addfilecmds("lib") + call s:addfilecmds("plugin") +endfunction + +function! s:autocamelize(files,test) + if a:test =~# '^\u' + return s:camelize(a:files) + else + return a:files + endif +endfunction + +function! RailsUserClasses() + if !exists("b:rails_root") + return "" + elseif s:getopt('classes','ab') != '' + return s:getopt('classes','ab') + endif + let var = "user_classes_".s:rv() + if !exists("s:".var) + let s:{var} = s:sub(s:sub(s:gsub(s:camelize( + \ s:relglob("app/models/","**/*",".rb") . "\n" . + \ s:sub(s:relglob("app/controllers/","**/*",".rb"),'','&_controller') . "\n" . + \ s:relglob("app/helpers/","**/*",".rb") . "\n" . + \ s:relglob("lib/","**/*",".rb") . "\n" . + \ ""),'\n+',' '),'^\s+',''),'\s+$','') + endif + return s:{var} +endfunction + +function! s:relglob(path,glob,...) + " How could such a simple operation be so complicated? + if exists("+shellslash") && ! &shellslash + let old_ss = &shellslash + let &shellslash = 1 + endif + if a:path =~ '[\/]$' + let path = a:path + else + let path = a:path . '' + endif + if path !~ '^/' && path !~ '^\w:' && RailsRoot() != '' + let path = RailsRoot() . '/' . path + endif + let suffix = a:0 ? a:1 : '' + let badres = glob(path.a:glob.suffix)."\n" + if v:version <= 602 + " Nasty Vim bug in version 6.2 + let badres = glob(path.a:glob.suffix)."\n" + endif + let goodres = "" + let striplen = strlen(path) + let stripend = strlen(suffix) + while strlen(badres) > 0 + let idx = stridx(badres,"\n") + "if idx == -1 + "let idx = strlen(badres) + "endif + let tmp = strpart(badres,0,idx) + let badres = strpart(badres,idx+1) + let goodres = goodres.strpart(tmp,striplen,strlen(tmp)-striplen-stripend) + if suffix == '' && isdirectory(tmp) && goodres !~ '/$' + let goodres = goodres."/" + endif + let goodres = goodres."\n" + endwhile + "let goodres = s:gsub("\n".goodres,'\n.{-}\~\n','\n') + if exists("old_ss") + let &shellslash = old_ss + endif + return s:compact(goodres) +endfunction + +if v:version <= 602 + " Yet another Vim 6.2 limitation + let s:recurse = "*" +else + let s:recurse = "**/*" +endif + +function! s:helperList(A,L,P) + return s:autocamelize(s:relglob("app/helpers/",s:recurse,"_helper.rb"),a:A) +endfunction + +function! s:controllerList(A,L,P) + let con = s:gsub(s:relglob("app/controllers/",s:recurse,".rb"),'_controller>','') + return s:autocamelize(con,a:A) +endfunction + +function! s:viewList(A,L,P) + let c = s:controller(1) + let top = s:relglob("app/views/",a:A."*[^~]") + if c != '' + let local = s:relglob("app/views/".c."/",a:A."*.*[^~]") + if local != '' + return local."\n".top + endif + endif + return top +endfunction + +function! s:layoutList(A,L,P) + return s:relglob("app/views/layouts/","*") +endfunction + +function! s:stylesheetList(A,L,P) + return s:relglob("public/stylesheets/",s:recurse,".css") +endfunction + +function! s:javascriptList(A,L,P) + return s:relglob("public/javascripts/",s:recurse,".js") +endfunction + +function! s:modelList(A,L,P) + let models = s:relglob("app/models/",s:recurse,".rb")."\n" + " . matches everything, and no good way to exclude newline. Lame. + let models = s:gsub(models,'[ -~]*_observer\n',"") + let models = s:compact(models) + return s:autocamelize(models,a:A) +endfunction + +function! s:observerList(A,L,P) + return s:autocamelize(s:relglob("app/models/",s:recurse,"_observer.rb"),a:A) +endfunction + +function! s:fixturesList(A,L,P) + return s:compact(s:relglob("test/fixtures/",s:recurse)."\n".s:relglob("spec/fixtures/",s:recurse)) +endfunction + +function! s:migrationList(A,L,P) + if a:A =~ '^\d' + let migrations = s:relglob("db/migrate/",a:A."[0-9_]*",".rb") + let migrations = s:gsub(migrations,'_.{-}($|\n)','\1') + return migrations + else + let migrations = s:relglob("db/migrate/","[0-9]*[0-9]_".a:A."*",".rb") + let migrations = s:gsub(migrations,'(^|\n)\d+_','\1') + return s:autocamelize(migrations,a:A) + endif +endfunction + +function! s:apiList(A,L,P) + return s:autocamelize(s:relglob("app/apis/",s:recurse,"_api.rb"),a:A) +endfunction + +function! s:unittestList(A,L,P) + return s:autocamelize(s:relglob("test/unit/",s:recurse,"_test.rb"),a:A) +endfunction + +function! s:functionaltestList(A,L,P) + return s:autocamelize(s:relglob("test/functional/",s:recurse,"_test.rb"),a:A) +endfunction + +function! s:integrationtestList(A,L,P) + return s:autocamelize(s:relglob("test/integration/",s:recurse,"_test.rb"),a:A) +endfunction + +function! s:pluginList(A,L,P) + if a:A =~ '/' + return s:relglob('vendor/plugins/',matchstr(a:A,'.\{-\}/').'**/*') + else + return s:relglob('vendor/plugins/',"*","/init.rb") + endif +endfunction + +" Task files, not actual rake tasks +function! s:taskList(A,L,P) + let top = s:relglob("lib/tasks/",s:recurse,".rake") + if RailsFilePath() =~ '\0,'".cmd."','".name."',\"".prefix."\",".s:string(suffix).",".s:string(filter).",".s:string(default).",)" + let cmd = strpart(cmds,0,1) + let cmds = strpart(cmds,1) + endwhile +endfunction + +function! s:CommandList(A,L,P) + let cmd = matchstr(a:L,'\CR[A-Z]\=\w\+') + exe cmd." &" + let lp = s:last_prefix . "\n" + let res = "" + while lp != "" + let p = matchstr(lp,'.\{-\}\ze\n') + let lp = s:sub(lp,'.{-}\n','') + let res = res . s:relglob(p,s:last_filter,s:last_suffix)."\n" + endwhile + let res = s:compact(res) + if s:last_camelize + return s:autocamelize(res,a:A) + else + return res + endif +endfunction + +function! s:CommandEdit(bang,cmd,name,prefix,suffix,filter,default,...) + if a:0 && a:1 == "&" + let s:last_prefix = a:prefix + let s:last_suffix = a:suffix + let s:last_filter = a:filter + let s:last_camelize = (a:suffix =~# '\.rb$') + else + if a:default == "both()" + if s:model() != "" + let default = s:model() + else + let default = s:controller() + endif + elseif a:default == "model()" + let default = s:model(1) + elseif a:default == "controller()" + let default = s:controller(1) + else + let default = a:default + endif + call s:EditSimpleRb(a:bang,a:cmd,a:name,a:0 ? a:1 : default,a:prefix,a:suffix) + endif +endfunction + +function! s:EditSimpleRb(bang,cmd,name,target,prefix,suffix) + let cmd = s:findcmdfor(a:cmd.(a:bang?'!':'')) + if a:target == "" + " Good idea to emulate error numbers like this? + return s:error("E471: Argument required") " : R',a:name) + "else + "let g:target = a:target + endif + let f = s:underscore(a:target) + let jump = matchstr(f,'[@#].*') + let f = s:sub(f,'[@#].*','') + if f == '.' + let f = s:sub(f,'\.$','') + else + let f = f.a:suffix.jump + if a:suffix !~ '\.' + "let f = f.".rb" + endif + endif + let f = s:gsub(a:prefix,'\n',f.'\n').f + return s:findedit(cmd,f) +endfunction + +function! s:migrationfor(file) + let tryagain = 0 + let arg = a:file + if arg =~ '^\d$' + let glob = '00'.arg.'_*.rb' + elseif arg =~ '^\d\d$' + let glob = '0'.arg.'_*.rb' + elseif arg =~ '^\d\d\d$' + let glob = ''.arg.'_*.rb' + elseif arg == '' + if s:model(1) != '' + let glob = '*_'.s:pluralize(s:model(1)).'.rb' + let tryagain = 1 + else + let glob = '*.rb' + endif + else + let glob = '*'.arg.'*rb' + endif + let migr = s:sub(glob(RailsRoot().'/db/migrate/'.glob),'.*\n','') + if migr == '' && tryagain + let migr = s:sub(glob(RailsRoot().'/db/migrate/*.rb'),'.*\n','') + endif + if strpart(migr,0,strlen(RailsRoot())) == RailsRoot() + let migr = strpart(migr,1+strlen(RailsRoot())) + endif + return migr +endfunction + +function! s:migrationEdit(bang,cmd,...) + let cmd = s:findcmdfor(a:cmd.(a:bang?'!':'')) + let arg = a:0 ? a:1 : '' + let migr = arg == "." ? "db/migrate" : s:migrationfor(arg) + if migr != '' + call s:findedit(cmd,migr) + else + return s:error("Migration not found".(arg=='' ? '' : ': '.arg)) + endif +endfunction + +function! s:fixturesEdit(bang,cmd,...) + if a:0 + let c = s:underscore(a:1) + else + let c = s:pluralize(s:model(1)) + endif + if c == "" + return s:error("E471: Argument required") + endif + let e = fnamemodify(c,':e') + let e = e == '' ? e : '.'.e + let c = fnamemodify(c,':r') + let file = 'test/fixtures/'.c.e + if file =~ '\.\w\+$' && !s:hasfile("spec/fixtures/".c.e) + call s:edit(a:cmd.(a:bang?'!':''),file) + else + call s:findedit(a:cmd.(a:bang?'!':''),file."\nspec/fixtures/".c.e) + endif +endfunction + +function! s:modelEdit(bang,cmd,...) + call s:EditSimpleRb(a:bang,a:cmd,"model",a:0? a:1 : s:model(1),"app/models/",".rb") +endfunction + +function! s:observerEdit(bang,cmd,...) + call s:EditSimpleRb(a:bang,a:cmd,"observer",a:0? a:1 : s:model(1),"app/models/","_observer.rb") +endfunction + +function! s:viewEdit(bang,cmd,...) + if a:0 + let view = a:1 + elseif RailsFileType() == 'controller' + let view = s:lastmethod() + else + let view = '' + endif + if view == '' + return s:error("No view name given") + elseif view == '.' + return s:edit(a:cmd.(a:bang?'!':''),'app/views') + elseif view !~ '/' && s:controller(1) != '' + let view = s:controller(1) . '/' . view + endif + if view !~ '/' + return s:error("Cannot find view without controller") + endif + let file = "app/views/".view + let found = s:findview(view) + if found != '' + call s:edit(a:cmd.(a:bang?'!':''),found) + elseif file =~ '\.\w\+\.\w\+$' || file =~ '\.'.s:viewspattern().'$' + call s:edit(a:cmd.(a:bang?'!':''),file) + elseif file =~ '\.\w\+$' + call s:findedit(a:cmd.(a:bang?'!':''),file) + else + let format = s:format('html') + if glob(RailsRoot().'/'.file.'.'.format.'.*[^~]') != '' + let file = file . '.' . format + endif + call s:findedit(a:cmd.(a:bang?'!':''),file) + endif +endfunction + +function! s:findview(name) + " TODO: full support of nested extensions + let c = a:name + let pre = "app/views/" + let file = "" + if c !~ '/' + let controller = s:controller(1) + if controller != '' + let c = controller.'/'.c + endif + endif + if c =~ '\.\w\+\.\w\+$' || c =~ '\.'.s:viewspattern().'$' + return pre.c + elseif s:hasfile(pre.c.".rhtml") + let file = pre.c.".rhtml" + elseif s:hasfile(pre.c.".rxml") + let file = pre.c.".rxml" + else + let format = "." . s:format('html') + let vt = s:view_types."," + while 1 + while vt != "" + let t = matchstr(vt,'[^,]*') + let vt = s:sub(vt,'[^,]*,','') + if s:hasfile(pre.c.format.".".t) + let file = pre.c.format.".".t + break + endif + endwhile + if format == '' || file != '' + break + else + let format = '' + endif + endwhile + endif + return file +endfunction + +function! s:findlayout(name) + return s:findview("layouts/".a:name) +endfunction + +function! s:layoutEdit(bang,cmd,...) + if a:0 + let c = s:underscore(a:1) + else + let c = s:controller(1) + endif + if c == "" + let c = "application" + endif + let file = s:findlayout(c) + if file == "" + let file = s:findlayout("application") + endif + if file == "" + let file = "app/views/layouts/application.rhtml" + endif + call s:edit(a:cmd.(a:bang?'!':''),s:sub(file,'^/','')) +endfunction + +function! s:controllerEdit(bang,cmd,...) + let suffix = '.rb' + if a:0 == 0 + let controller = s:controller(1) + if RailsFileType() =~ '^view\%(-layout\|-partial\)\@!' + let suffix = suffix.'#'.expand('%:t:r') + endif + else + let controller = a:1 + endif + if s:hasfile("app/controllers/".controller."_controller.rb") || !s:hasfile("app/controllers/".controller.".rb") + let suffix = "_controller".suffix + endif + return s:EditSimpleRb(a:bang,a:cmd,"controller",controller,"app/controllers/",suffix) +endfunction + +function! s:helperEdit(bang,cmd,...) + return s:EditSimpleRb(a:bang,a:cmd,"helper",a:0? a:1 : s:controller(1),"app/helpers/","_helper.rb") +endfunction + +function! s:apiEdit(bang,cmd,...) + return s:EditSimpleRb(a:bang,a:cmd,"api",a:0 ? a:1 : s:controller(1),"app/apis/","_api.rb") +endfunction + +function! s:stylesheetEdit(bang,cmd,...) + return s:EditSimpleRb(a:bang,a:cmd,"stylesheet",a:0? a:1 : s:controller(1),"public/stylesheets/",".css") +endfunction + +function! s:javascriptEdit(bang,cmd,...) + return s:EditSimpleRb(a:bang,a:cmd,"javascript",a:0? a:1 : "application","public/javascripts/",".js") +endfunction + +function! s:unittestEdit(bang,cmd,...) + let f = a:0 ? a:1 : s:model(1) + if !a:0 && RailsFileType() =~ '^model-aro\>' && f != '' && f !~ '_observer$' + if s:hasfile("test/unit/".f."_observer.rb") || !s:hasfile("test/unit/".f.".rb") + let f = f . "_observer" + endif + endif + return s:EditSimpleRb(a:bang,a:cmd,"unittest",f,"test/unit/","_test.rb") +endfunction + +function! s:functionaltestEdit(bang,cmd,...) + if a:0 + let f = a:1 + else + let f = s:controller() + endif + if f != '' && !s:hasfile("test/functional/".f."_test.rb") + if s:hasfile("test/functional/".f."_controller_test.rb") + let f = f . "_controller" + elseif s:hasfile("test/functional/".f."_api_test.rb") + let f = f . "_api" + endif + endif + return s:EditSimpleRb(a:bang,a:cmd,"functionaltest",f,"test/functional/","_test.rb") +endfunction + +function! s:integrationtestEdit(bang,cmd,...) + if a:0 + let f = a:1 + elseif s:model() != '' + let f = s:model() + else + let f = s:controller() + endif + return s:EditSimpleRb(a:bang,a:cmd,"integrationtest",f,"test/integration/","_test.rb") +endfunction + +function! s:pluginEdit(bang,cmd,...) + let cmd = s:findcmdfor(a:cmd.(a:bang?'!':'')) + let plugin = "" + let extra = "" + if RailsFilePath() =~ '\','split') + let cmd = s:sub(cmd,'find>','edit') + return cmd +endfunction + +function! s:try(cmd) abort + if !exists(":try") + " I've seen at least one weird setup without :try + exe a:cmd + else + try + exe a:cmd + catch + call s:error(s:sub(v:exception,'^.{-}:\zeE','')) + return 0 + endtry + endif + return 1 +endfunction + +function! s:findedit(cmd,file,...) abort + let cmd = s:findcmdfor(a:cmd) + if a:file =~ '\n' + let filelist = a:file . "\n" + let file = '' + while file == '' && filelist != '' + let maybe = matchstr(filelist,'^.\{-\}\ze\n') + let filelist = s:sub(filelist,'^.{-}\n','') + if s:hasfile(s:sub(maybe,'[@#].*','')) + let file = maybe + endif + endwhile + if file == '' + let file = matchstr(a:file."\n",'^.\{-\}\ze\n') + endif + else + let file = a:file + endif + if file =~ '[@#]' + let djump = matchstr(file,'[@#]\zs.*') + let file = matchstr(file,'.\{-\}\ze[@#]') + else + let djump = '' + endif + if file == '' + let testcmd = "edit" + elseif RailsRoot() =~ '://' || cmd =~ 'edit' || cmd =~ 'split' + if file !~ '^/' && file !~ '^\w:' && file !~ '://' + let file = s:ra().'/'.file + endif + let testcmd = s:editcmdfor(cmd).' '.(a:0 ? a:1 . ' ' : '').file + elseif isdirectory(RailsRoot().'/'.file) + let testcmd = s:editcmdfor(cmd).' '.(a:0 ? a:1 . ' ' : '').s:ra().'/'.file + exe testcmd + return + else + let testcmd = cmd.' '.(a:0 ? a:1 . ' ' : '').file + endif + if s:try(testcmd) + " Shorten the file name (I don't fully understand how Vim decides when to + " use a relative/absolute path for the file name, so lets blindly force it + " to be as short as possible) + "silent! file %:~:. + "silent! lcd . + call s:djump(djump) + endif +endfunction + +function! s:edit(cmd,file,...) + let cmd = s:editcmdfor(a:cmd) + let cmd = cmd.' '.(a:0 ? a:1 . ' ' : '') + let file = a:file + if file !~ '^/' && file !~ '^\w:' && file !~ '://' + "let file = s:ra().'/'.file + exe cmd."`=RailsRoot().'/'.file`" + else + exe cmd.file + endif + "exe cmd.file +endfunction + +function! s:Alternate(bang,cmd) + let cmd = a:cmd.(a:bang?"!":"") + let file = s:AlternateFile() + if file != "" + call s:findedit(cmd,file) + else + call s:warn("No alternate file is defined") + endif +endfunction + +function! s:AlternateFile() + let f = RailsFilePath() + let t = RailsFileType() + let altopt = s:getopt("alternate","bl") + if altopt != "" + return altopt + elseif f =~ '\' + return "public/javascripts/application.js" + elseif f =~ '\' + if t =~ '\' + let dest = fnamemodify(f,':r:s?/layouts\>??').'/layout.'.fnamemodify(f,':e') + else + let dest = f + endif + " Go to the (r)spec, helper, controller, or (mailer) model + let spec = fnamemodify(dest,':r:s?\' + let api = s:sub(s:sub(f,'/controllers/','/apis/'),'_controller\.rb$','_api.rb') + return api + elseif t =~ '^helper\>' + let controller = s:sub(s:sub(f,'/helpers/','/controllers/'),'_helper\.rb$','_controller.rb') + let controller = s:sub(controller,'application_controller','application') + let spec = s:sub(s:sub(f,'' && f =~ '\' + let file = s:singularize(expand("%:t:r")).'_test.rb' " .expand('%:e') + return file + elseif f == '' + call s:warn("No filename present") + elseif f =~ '\' + return s:sub(s:sub(f,'' + return s:sub(file,'app/models/','test/unit/')."\n".s:sub(s:sub(file,'_test\.rb$','_spec.rb'),'app/models/','spec/models/') + elseif t =~ '^controller\>' + "return s:sub(file,'app/controllers/','test/functional/') + return s:sub(file,'' + return s:sub(file,'test/unit/','app/models/') + elseif t =~ '^test-functional\>' + if file =~ '_api\.rb' + return s:sub(file,'test/functional/','app/apis/') + elseif file =~ '_controller\.rb' + return s:sub(file,'test/functional/','app/controllers/') + else + return s:sub(file,'test/functional/','') + endif + elseif t =~ '^spec\>' + return s:sub(file,'' && lastmethod != "" + let root = s:sub(s:sub(s:sub(f,'/application\.rb$','/shared_controller.rb'),'/%(controllers|models)/','/views/'),'%(_controller)=\.rb$','/'.lastmethod) + let format = s:format('html') + if glob(RailsRoot().'/'.root.'.'.format.'.*[^~]') != '' + return root . '.' . format + else + return root + endif + elseif s:getopt("related","b") != "" + return s:getopt("related","b") + elseif f =~ '\' && f =~ '\' + return "public/javascripts/application.js" + elseif t =~ '^view-layout\>' + return s:sub(s:sub(s:sub(f,'/views/','/controllers/'),'/layouts/(\k+)\..*$','/\1_controller.rb'),'' + "call s:warn("No related file is defined") + elseif t =~ '^view\>' + let controller = s:sub(s:sub(f,'/views/','/controllers/'),'/(\k+%(\.\k+)=)\..*$','_controller.rb#\1') + let controller2 = s:sub(s:sub(f,'/views/','/controllers/'),'/(\k+%(\.\k+)=)\..*$','.rb#\1') + let model = s:sub(s:sub(f,'/views/','/models/'),'/(\k+)\..*$','.rb#\1') + if filereadable(s:sub(controller,'#.{-}$','')) + return controller + elseif filereadable(s:sub(controller2,'#.{-}$','')) + return controller2 + elseif filereadable(s:sub(model,'#.{-}$','')) || model =~ '_mailer\.rb#' + return model + else + return controller + endif + elseif t =~ '^controller-api\>' + return s:sub(s:sub(f,'/controllers/','/apis/'),'_controller\.rb$','_api.rb') + elseif t =~ '^controller\>' + return s:sub(s:sub(f,'/controllers/','/helpers/'),'%(_controller)=\.rb$','_helper.rb') + elseif t=~ '^helper\>' + return s:sub(s:sub(f,'/helpers/','/views/layouts/'),'%(_helper)=\.rb$','') + elseif t =~ '^model-arb\>' + "call s:migrationEdit(0,cmd,'create_'.s:pluralize(expand('%:t:r'))) + return s:migrationfor('create_'.s:pluralize(expand('%:t:r'))) + elseif t =~ '^model-aro\>' + return s:sub(f,'_observer\.rb$','.rb') + elseif t =~ '^api\>' + return s:sub(s:sub(f,'/apis/','/controllers/'),'_api\.rb$','_controller.rb') + elseif f =~ '\ 1 + return s:error("Incorrect number of arguments") + endif + if a:1 =~ '[^a-z0-9_/.]' + return s:error("Invalid partial name") + endif + let rails_root = RailsRoot() + let ext = expand("%:e") + let file = a:1 + let first = a:firstline + let last = a:lastline + let range = first.",".last + if RailsFileType() =~ '^view-layout\>' + if RailsFilePath() =~ '\' + let curdir = 'app/views/shared' + if file !~ '/' + let file = "shared/" .file + endif + else + let curdir = s:sub(RailsFilePath(),'.* 0 + if bufloaded(out) + return s:error("Partial already open in buffer ".bufnr(out)) + else + exe "bwipeout ".bufnr(out) + endif + endif + " No tabs, they'll just complicate things + if ext =~? '^\%(rhtml\|erb\|dryml\)$' + let erub1 = '\<\%\s*' + let erub2 = '\s*-=\%\>' + else + let erub1 = '' + let erub2 = '' + endif + let spaces = matchstr(getline(first),"^ *") + if getline(last+1) =~ '\v^\s*'.erub1.'end'.erub2.'\s*$' + let fspaces = matchstr(getline(last+1),"^ *") + if getline(first-1) =~ '\v^'.fspaces.erub1.'for\s+(\k+)\s+in\s+([^ %>]+)'.erub2.'\s*$' + let collection = s:sub(getline(first-1),'^'.fspaces.erub1.'for\s+(\k+)\s+in\s+([^ >]+)'.erub2.'\s*$','\1>\2') + elseif getline(first-1) =~ '\v^'.fspaces.erub1.'([^ %>]+)\.each\s+do\s+\|\s*(\k+)\s*\|'.erub2.'\s*$' + let collection = s:sub(getline(first-1),'^'.fspaces.erub1.'([^ %>]+)\.each\s+do\s+\|\s*(\k+)\s*\|'.erub2.'\s*$','\2>\1') + endif + if collection != '' + let var = matchstr(collection,'^\k\+') + let collection = s:sub(collection,'^\k+\>','') + let first = first - 1 + let last = last + 1 + endif + else + let fspaces = spaces + endif + "silent exe range."write ".out + let renderstr = "render :partial => '".fnamemodify(file,":r:r")."'" + if collection != "" + let renderstr = renderstr.", :collection => ".collection + elseif "@".name != var + let renderstr = renderstr.", :object => ".var + endif + if ext =~? '^\%(rhtml\|erb\|dryml\)$' + let renderstr = "<%= ".renderstr." %>" + elseif ext == "rxml" || ext == "builder" + let renderstr = "xml << ".s:sub(renderstr,"render ","render(").")" + elseif ext == "rjs" + let renderstr = "page << ".s:sub(renderstr,"render ","render(").")" + elseif ext == "haml" + let renderstr = "= ".renderstr + elseif ext == "mn" + let renderstr = "_".renderstr + endif + let buf = @@ + silent exe range."yank" + let partial = @@ + let @@ = buf + let ai = &ai + let &ai = 0 + silent exe "norm! :".first.",".last."change\".fspaces.renderstr."\.\" + let &ai = ai + if renderstr =~ '<%' + norm ^6w + else + norm ^5w + endif + let ft = &ft + if &hidden + enew + else + new + endif + let shortout = fnamemodify(out,':~:.') + "exe "silent file ".s:escarg(shortout) + silent file `=shortout` + let &ft = ft + let @@ = partial + silent put + 0delete + let @@ = buf + if spaces != "" + silent! exe '%substitute/^'.spaces.'//' + endif + silent! exe '%substitute?\%(\w\|[@:"'."'".'-]\)\@?'.name.'?g' + 1 + call RailsBufInit(rails_root) + if exists("l:partial_warn") + call s:warn("Warning: partial exists!") + endif +endfunction + +" }}}1 +" Migration Inversion {{{1 + +" Depends: s:sub, s:endof, s:gsub, s:error + +function! s:mkeep(str) + " Things to keep (like comments) from a migration statement + return matchstr(a:str,' #[^{].*') +endfunction + +function! s:mextargs(str,num) + if a:str =~ '^\s*\w\+\s*(' + return s:sub(matchstr(a:str,'^\s*\w\+\s*\zs(\%([^,)]\+[,)]\)\{,'.a:num.'\}'),',$',')') + else + return s:sub(s:sub(matchstr(a:str,'\w\+\>\zs\s*\%([^,){ ]*[, ]*\)\{,'.a:num.'\}'),'[, ]*$',''),'^\s+',' ') + endif +endfunction + +function! s:migspc(line) + return matchstr(a:line,'^\s*') +endfunction + +function! s:invertrange(beg,end) + let str = "" + let lnum = a:beg + while lnum <= a:end + let line = getline(lnum) + let add = "" + if line == '' + let add = ' ' + elseif line =~ '^\s*\(#[^{].*\)\=$' + let add = line + elseif line =~ '\' + let add = s:migspc(line)."drop_table".s:mextargs(line,1).s:mkeep(line) + let lnum = s:endof(lnum) + elseif line =~ '\' + let add = s:sub(line,'\s*\(=\s*([^,){ ]*).*','create_table \1 do |t|'."\n".matchstr(line,'^\s*').'end').s:mkeep(line) + elseif line =~ '\' + let add = s:migspc(line).'remove_column'.s:mextargs(line,2).s:mkeep(line) + elseif line =~ '\' + let add = s:sub(line,'','add_column') + elseif line =~ '\' + let add = s:migspc(line).'remove_index'.s:mextargs(line,1) + let mat = matchstr(line,':name\s*=>\s*\zs[^ ,)]*') + if mat != '' + let add = s:sub(add,'\)=$',', :name => '.mat.'&') + else + let mat = matchstr(line,'\[^,]*,\s*\zs\%(\[[^]]*\]\|[:"'."'".']\w*["'."'".']\=\)') + if mat != '' + let add = s:sub(add,'\)=$',', :column => '.mat.'&') + endif + endif + let add = add.s:mkeep(line) + elseif line =~ '\' + let add = s:sub(s:sub(line,'\s*','') + elseif line =~ '\' + let add = s:sub(line,'' + let add = s:migspc(line).'change_column'.s:mextargs(line,2).s:mkeep(line) + elseif line =~ '\' + let add = s:migspc(line).'change_column_default'.s:mextargs(line,2).s:mkeep(line) + elseif line =~ '\.update_all(\(["'."'".']\).*\1)$' || line =~ '\.update_all \(["'."'".']\).*\1$' + " .update_all('a = b') => .update_all('b = a') + let pre = matchstr(line,'^.*\.update_all[( ][}'."'".'"]') + let post = matchstr(line,'["'."'".'])\=$') + let mat = strpart(line,strlen(pre),strlen(line)-strlen(pre)-strlen(post)) + let mat = s:gsub(','.mat.',','%(,\s*)@<=([^ ,=]{-})(\s*\=\s*)([^,=]{-})%(\s*,)@=','\3\2\1') + let add = pre.s:sub(s:sub(mat,'^,',''),',$','').post + elseif line =~ '^s\*\%(if\|unless\|while\|until\|for\)\>' + let lnum = s:endof(lnum) + endif + if lnum == 0 + return -1 + endif + if add == "" + let add = s:sub(line,'^\s*\zs.*','raise ActiveRecord::IrreversableMigration') + elseif add == " " + let add = "" + endif + let str = add."\n".str + let lnum = lnum + 1 + endwhile + let str = s:gsub(str,'(\s*raise ActiveRecord::IrreversableMigration\n)+','\1') + return str +endfunction + +function! s:Invert(bang) + let err = "Could not parse method" + let src = "up" + let dst = "down" + let beg = search('\%('.&l:define.'\).*'.src.'\>',"w") + let end = s:endof(beg) + if beg + 1 == end + let src = "down" + let dst = "up" + let beg = search('\%('.&l:define.'\).*'.src.'\>',"w") + let end = s:endof(beg) + endif + if !beg || !end + return s:error(err) + endif + let str = s:invertrange(beg+1,end-1) + if str == -1 + return s:error(err) + endif + let beg = search('\%('.&l:define.'\).*'.dst.'\>',"w") + let end = s:endof(beg) + if !beg || !end + return s:error(err) + endif + if beg + 1 < end + exe (beg+1).",".(end-1)."delete _" + endif + if str != "" + let reg_keep = @" + let @" = str + exe beg."put" + exe 1+beg + let @" = reg_keep + endif +endfunction + +" }}}1 +" Cache {{{1 + +function! s:cacheworks() + if v:version < 700 || RailsRoot() == "" + return 0 + endif + if !exists("s:cache") + let s:cache = {} + endif + if !has_key(s:cache,RailsRoot()) + let s:cache[RailsRoot()] = {} + endif + return 1 +endfunction + +function! s:cacheclear(...) + if RailsRoot() == "" | return "" | endif + if !s:cacheworks() | return "" | endif + if a:0 == 1 + if s:cachehas(a:1) + unlet! s:cache[RailsRoot()][a:1] + endif + else + let s:cache[RailsRoot()] = {} + endif +endfunction + +function! s:cache(...) + if !s:cacheworks() | return "" | endif + if a:0 == 1 + return s:cache[RailsRoot()][a:1] + else + return s:cache[RailsRoot()] + endif +endfunction + +"function! RailsCache(...) + "if !s:cacheworks() | return "" | endif + "if a:0 == 1 + "if s:cachehas(a:1) + "return s:cache(a:1) + "else + "return "" + "endif + "else + "return s:cache() + "endif +"endfunction + +function! s:cachehas(key) + if !s:cacheworks() | return "" | endif + return has_key(s:cache(),a:key) +endfunction + +function! s:cacheneeds(key) + if !s:cacheworks() | return "" | endif + return !has_key(s:cache(),a:key) +endfunction + +function! s:cacheset(key,value) + if !s:cacheworks() | return "" | endif + let s:cache[RailsRoot()][a:key] = a:value +endfunction + +" }}}1 +" Syntax {{{1 + +" Depends: s:rubyeval, s:gsub, cache functions + +function! s:resetomnicomplete() + if exists("+completefunc") && &completefunc == 'syntaxcomplete#Complete' + if exists("g:loaded_syntax_completion") + " Ugly but necessary, until we have our own completion + unlet g:loaded_syntax_completion + silent! delfunction syntaxcomplete#Complete + endif + endif +endfunction + +function! s:helpermethods() + let s:rails_helper_methods = "" + \."atom_feed auto_discovery_link_tag auto_link " + \."benchmark button_to button_to_function " + \."cache capture cdata_section check_box check_box_tag collection_select concat content_for content_tag content_tag_for country_options_for_select country_select cycle " + \."date_select datetime_select debug define_javascript_functions distance_of_time_in_words distance_of_time_in_words_to_now div_for dom_class dom_id draggable_element draggable_element_js drop_receiving_element drop_receiving_element_js " + \."error_message_on error_messages_for escape_javascript escape_once evaluate_remote_response excerpt " + \."field_set_tag fields_for file_field file_field_tag form form_for form_remote_for form_remote_tag form_tag " + \."hidden_field hidden_field_tag highlight " + \."image_path image_submit_tag image_tag input " + \."javascript_cdata_section javascript_include_tag javascript_path javascript_tag " + \."label label_tag link_to link_to_function link_to_if link_to_remote link_to_unless link_to_unless_current " + \."mail_to markdown " + \."number_to_currency number_to_human_size number_to_percentage number_to_phone number_with_delimiter number_with_precision " + \."observe_field observe_form option_groups_from_collection_for_select options_for_select options_from_collection_for_select " + \."partial_path password_field password_field_tag path_to_image path_to_javascript path_to_stylesheet periodically_call_remote pluralize " + \."radio_button radio_button_tag remote_form_for remote_function reset_cycle " + \."sanitize sanitize_css select select_date select_datetime select_day select_hour select_minute select_month select_second select_tag select_time select_year simple_format sortable_element sortable_element_js strip_links strip_tags stylesheet_link_tag stylesheet_path submit_tag submit_to_remote " + \."tag text_area text_area_tag text_field text_field_tag textilize textilize_without_paragraph time_ago_in_words time_select time_zone_options_for_select time_zone_select truncate " + \."update_page update_page_tag url_for " + \."visual_effect " + \."word_wrap" + + " The list of helper methods used to be derived automatically. Let's keep + " this code around in case it's needed again. + if !exists("s:rails_helper_methods") + if g:rails_expensive + let s:rails_helper_methods = "" + if has("ruby") + " && (has("win32") || has("win32unix")) + ruby begin; require 'rubygems'; rescue LoadError; end + if exists("g:rubycomplete_rails") && g:rubycomplete_rails + ruby begin; require VIM::evaluate('RailsRoot()')+'/config/environment'; rescue Exception; end + else + ruby begin; require 'active_support'; require 'action_controller'; require 'action_view'; rescue LoadError; end + end + ruby begin; h = ActionView::Helpers.constants.grep(/Helper$/).collect {|c|ActionView::Helpers.const_get c}.collect {|c| c.public_instance_methods(false)}.collect {|es| es.reject {|e| e =~ /_with(out)?_deprecation$/ || es.include?("#{e}_without_deprecation")}}.flatten.sort.uniq.reject {|m| m =~ /[=?!]$/}; VIM::command('let s:rails_helper_methods = "%s"' % h.join(" ")); rescue Exception; end + endif + if s:rails_helper_methods == "" + let s:rails_helper_methods = s:rubyeval('require %{action_controller}; require %{action_view}; h = ActionView::Helpers.constants.grep(/Helper$/).collect {|c|ActionView::Helpers.const_get c}.collect {|c| c.public_instance_methods(false)}.collect {|es| es.reject {|e| e =~ /_with(out)?_deprecation$/ || es.include?(%{#{e}_without_deprecation})}}.flatten.sort.uniq.reject {|m| m =~ /[=?!]$/}; puts h.join(%{ })',"link_to") + endif + else + let s:rails_helper_methods = "link_to" + endif + endif + "let g:rails_helper_methods = s:rails_helper_methods + return s:rails_helper_methods +endfunction + +function! s:BufSyntax() + if (!exists("g:rails_syntax") || g:rails_syntax) + let t = RailsFileType() + let s:prototype_functions = "$ $$ $A $F $H $R $w" + " From the Prototype bundle for TextMate + let s:prototype_classes = "Prototype Class Abstract Try PeriodicalExecuter Enumerable Hash ObjectRange Element Ajax Responders Base Request Updater PeriodicalUpdater Toggle Insertion Before Top Bottom After ClassNames Form Serializers TimedObserver Observer EventObserver Event Position Effect Effect2 Transitions ScopedQueue Queues DefaultOptions Parallel Opacity Move MoveBy Scale Highlight ScrollTo Fade Appear Puff BlindUp BlindDown SwitchOff DropOut Shake SlideDown SlideUp Squish Grow Shrink Pulsate Fold" + + let rails_helper_methods = '+\.\@+' + let classes = s:gsub(RailsUserClasses(),'::',' ') + if &syntax == 'ruby' + if classes != '' + exe "syn keyword rubyRailsUserClass ".classes." containedin=rubyClassDeclaration,rubyModuleDeclaration,rubyClass,rubyModule" + endif + if t == '' + syn keyword rubyRailsMethod params request response session headers cookies flash + endif + if t =~ '^api\>' + syn keyword rubyRailsAPIMethod api_method inflect_names + endif + if t =~ '^model$' || t =~ '^model-arb\>' + syn keyword rubyRailsARMethod acts_as_list acts_as_nested_set acts_as_tree composed_of serialize + syn keyword rubyRailsARAssociationMethod belongs_to has_one has_many has_and_belongs_to_many + "syn match rubyRailsARCallbackMethod '\<\(before\|after\)_\(create\|destroy\|save\|update\|validation\|validation_on_create\|validation_on_update\)\>' + syn keyword rubyRailsARCallbackMethod before_create before_destroy before_save before_update before_validation before_validation_on_create before_validation_on_update + syn keyword rubyRailsARCallbackMethod after_create after_destroy after_save after_update after_validation after_validation_on_create after_validation_on_update + syn keyword rubyRailsARClassMethod attr_accessible attr_protected establish_connection set_inheritance_column set_locking_column set_primary_key set_sequence_name set_table_name + "syn keyword rubyRailsARCallbackMethod after_find after_initialize + syn keyword rubyRailsARValidationMethod validate validate_on_create validate_on_update validates_acceptance_of validates_associated validates_confirmation_of validates_each validates_exclusion_of validates_format_of validates_inclusion_of validates_length_of validates_numericality_of validates_presence_of validates_size_of validates_uniqueness_of + syn keyword rubyRailsMethod logger + endif + if t =~ '^model-aro\>' + syn keyword rubyRailsARMethod observe + endif + if t =~ '^model-mailer\>' + syn keyword rubyRailsMethod logger + " Misnomer but who cares + syn keyword rubyRailsControllerMethod helper helper_attr helper_method + endif + if t =~ '^controller\>' || t =~ '^view\>' || t=~ '^helper\>' + syn keyword rubyRailsMethod params request response session headers cookies flash + syn match rubyRailsError '[@:]\@' + syn match rubyRailsError '\<\%(render_partial\|puts\)\>' + syn keyword rubyRailsRenderMethod render + syn keyword rubyRailsMethod logger + endif + if t =~ '^helper\>' || t=~ '^view\>' + "exe "syn match rubyRailsHelperMethod ".rails_helper_methods + exe "syn keyword rubyRailsHelperMethod ".s:sub(s:helpermethods(),'\%(\s*{\|\s*do\>\|\s*(\=\s*&\)\@!' + syn match rubyRailsViewMethod '\.\@' + if t =~ '\' + syn keyword rubyRailsMethod local_assigns + endif + "syn keyword rubyRailsDeprecatedMethod start_form_tag end_form_tag link_to_image human_size update_element_function + elseif t =~ '^controller\>' + syn keyword rubyRailsControllerMethod helper helper_attr helper_method filter layout url_for serialize exempt_from_layout filter_parameter_logging hide_action cache_sweeper + syn match rubyRailsDeprecatedMethod '\' + syn keyword rubyRailsRenderMethod render_to_string redirect_to head + syn match rubyRailsRenderMethod '\?\@!' + syn keyword rubyRailsFilterMethod before_filter append_before_filter prepend_before_filter after_filter append_after_filter prepend_after_filter around_filter append_around_filter prepend_around_filter skip_before_filter skip_after_filter + syn keyword rubyRailsFilterMethod verify + endif + if t =~ '^\%(db-\)\=\%(migration\|schema\)\>' + syn keyword rubyRailsMigrationMethod create_table drop_table rename_table add_column rename_column change_column change_column_default remove_column add_index remove_index + endif + if t =~ '^test\>' + if s:cacheneeds("user_asserts") && filereadable(RailsRoot()."/test/test_helper.rb") + call s:cacheset("user_asserts",map(filter(readfile(RailsRoot()."/test/test_helper.rb"),'v:val =~ "^ def assert_"'),'matchstr(v:val,"^ def \\zsassert_\\w\\+")')) + endif + if s:cachehas("user_asserts") && !empty(s:cache("user_asserts")) + exe "syn keyword rubyRailsUserMethod ".join(s:cache("user_asserts")) + endif + syn keyword rubyRailsTestMethod add_assertion assert assert_block assert_equal assert_in_delta assert_instance_of assert_kind_of assert_match assert_nil assert_no_match assert_not_equal assert_not_nil assert_not_same assert_nothing_raised assert_nothing_thrown assert_operator assert_raise assert_respond_to assert_same assert_send assert_throws assert_recognizes assert_generates assert_routing flunk fixtures fixture_path use_transactional_fixtures use_instantiated_fixtures assert_difference assert_no_difference assert_valid + if t !~ '^test-unit\>' + syn match rubyRailsTestControllerMethod '\.\@' + syn keyword rubyRailsTestControllerMethod assert_response assert_redirected_to assert_template assert_recognizes assert_generates assert_routing assert_dom_equal assert_dom_not_equal assert_select assert_select_rjs assert_select_encoded assert_select_email assert_tag assert_no_tag + endif + elseif t=~ '^spec\>' + syn keyword rubyRailsTestMethod describe context it specify it_should_behave_like before after fixtures controller_name helper_name + syn keyword rubyRailsTestMethod violated pending + if t !~ '^spec-model\>' + syn match rubyRailsTestControllerMethod '\.\@' + syn keyword rubyRailsMethod params request response session flash + endif + endif + if t =~ '^task\>' + syn match rubyRailsRakeMethod '^\s*\zs\%(task\|file\|namespace\|desc\|before\|after\|on\)\>\%(\s*=\)\@!' + endif + if t =~ '^model-awss\>' + syn keyword rubyRailsMethod member + endif + if t =~ '^config-routes\>' + syn match rubyRailsMethod '\.\zs\%(connect\|resources\=\|root\|named_route\|namespace\)\>' + endif + syn keyword rubyRailsMethod debugger + syn keyword rubyRailsMethod alias_attribute alias_method_chain attr_accessor_with_default attr_internal attr_internal_accessor attr_internal_reader attr_internal_writer delegate mattr_accessor mattr_reader mattr_writer + syn keyword rubyRailsMethod cattr_accessor cattr_reader cattr_writer class_inheritable_accessor class_inheritable_array class_inheritable_array_writer class_inheritable_hash class_inheritable_hash_writer class_inheritable_option class_inheritable_reader class_inheritable_writer inheritable_attributes read_inheritable_attribute reset_inheritable_attributes write_inheritable_array write_inheritable_attribute write_inheritable_hash + syn keyword rubyRailsInclude require_dependency gem + + syn region rubyString matchgroup=rubyStringDelimiter start=+\%(:order\s*=>\s*\)\@<="+ skip=+\\\\\|\\"+ end=+"+ contains=@rubyStringSpecial,railsOrderSpecial + syn region rubyString matchgroup=rubyStringDelimiter start=+\%(:order\s*=>\s*\)\@<='+ skip=+\\\\\|\\'+ end=+'+ contains=@rubyStringSpecial,railsOrderSpecial + syn match railsOrderSpecial +\c\<\%(DE\|A\)SC\>+ contained + syn region rubyString matchgroup=rubyStringDelimiter start=+\%(:conditions\s*=>\s*\[\s*\)\@<="+ skip=+\\\\\|\\"+ end=+"+ contains=@rubyStringSpecial,railsConditionsSpecial + syn region rubyString matchgroup=rubyStringDelimiter start=+\%(:conditions\s*=>\s*\[\s*\)\@<='+ skip=+\\\\\|\\'+ end=+'+ contains=@rubyStringSpecial,railsConditionsSpecial + syn match railsConditionsSpecial +?\|:\h\w*+ contained + syn cluster rubyNotTop add=railsOrderSpecial,railsConditionsSpecial + + " XHTML highlighting inside %Q<> + unlet! b:current_syntax + let removenorend = !exists("g:html_no_rendering") + let g:html_no_rendering = 1 + syn include @htmlTop syntax/xhtml.vim + if removenorend + unlet! g:html_no_rendering + endif + let b:current_syntax = "ruby" + " Restore syn sync, as best we can + if !exists("g:ruby_minlines") + let g:ruby_minlines = 50 + endif + syn sync fromstart + exe "syn sync minlines=" . g:ruby_minlines + syn case match + syn region rubyString matchgroup=rubyStringDelimiter start=+%Q\=<+ end=+>+ contains=@htmlTop,@rubyStringSpecial + "syn region rubyString matchgroup=rubyStringDelimiter start=+%q<+ end=+>+ contains=@htmlTop + syn cluster htmlArgCluster add=@rubyStringSpecial + syn cluster htmlPreProc add=@rubyStringSpecial + + elseif &syntax == "eruby" || &syntax == "haml" + syn case match + if classes != '' + exe "syn keyword erubyRailsUserClass ".classes." contained containedin=@erubyRailsRegions" + endif + if &syntax == "haml" + syn cluster erubyRailsRegions contains=hamlRubyCodeIncluded,hamlRubyCode,hamlRubyHash,@hamlEmbeddedRuby,rubyInterpolation + else + syn cluster erubyRailsRegions contains=erubyOneLiner,erubyBlock,erubyExpression,rubyInterpolation + endif + syn match rubyRailsError '[@:]\@' contained containedin=@erubyRailsRegions + exe "syn keyword erubyRailsHelperMethod ".s:sub(s:helpermethods(),'\%(\s*{\|\s*do\>\|\s*(\=\s*&\)\@!' contained containedin=@erubyRailsRegions + syn keyword erubyRailsMethod debugger logger contained containedin=@erubyRailsRegions + syn keyword erubyRailsMethod params request response session headers cookies flash contained containedin=@erubyRailsRegions + syn match erubyRailsViewMethod '\.\@' contained containedin=@erubyRailsRegions + if t =~ '\' + syn keyword erubyRailsMethod local_assigns contained containedin=@erubyRailsRegions + endif + syn keyword erubyRailsRenderMethod render contained containedin=@erubyRailsRegions + syn match rubyRailsError '[^@:]\@' contained containedin=@erubyRailsRegions + syn match rubyRailsError '\<\%(render_partial\|puts\)\>' contained containedin=@erubyRailsRegions + syn case match + set isk+=$ + exe "syn keyword javascriptRailsClass contained ".s:prototype_classes + exe "syn keyword javascriptRailsFunction contained ".s:prototype_functions + syn cluster htmlJavaScript add=javascriptRailsClass,javascriptRailsFunction + elseif &syntax == "yaml" + syn case match + " Modeled after syntax/eruby.vim + unlet! b:current_syntax + let g:main_syntax = 'eruby' + syn include @rubyTop syntax/ruby.vim + unlet g:main_syntax + syn cluster yamlRailsRegions contains=yamlRailsOneLiner,yamlRailsBlock,yamlRailsExpression + syn region yamlRailsOneLiner matchgroup=yamlRailsDelimiter start="^%%\@!" end="$" contains=@rubyRailsTop containedin=ALLBUT,@yamlRailsRegions,yamlRailsComment keepend oneline + syn region yamlRailsBlock matchgroup=yamlRailsDelimiter start="<%%\@!" end="%>" contains=@rubyTop containedin=ALLBUT,@yamlRailsRegions,yamlRailsComment + syn region yamlRailsExpression matchgroup=yamlRailsDelimiter start="<%=" end="%>" contains=@rubyTop containedin=ALLBUT,@yamlRailsRegions,yamlRailsComment + syn region yamlRailsComment matchgroup=yamlRailsDelimiter start="<%#" end="%>" contains=rubyTodo,@Spell containedin=ALLBUT,@yamlRailsRegions,yamlRailsComment keepend + syn match yamlRailsMethod '\.\@' contained containedin=@yamlRailsRegions + if classes != '' + exe "syn keyword yamlRailsUserClass ".classes." contained containedin=@yamlRailsRegions" + endif + let b:current_syntax = "yaml" + elseif &syntax == "html" + syn case match + set isk+=$ + exe "syn keyword javascriptRailsClass contained ".s:prototype_classes + exe "syn keyword javascriptRailsFunction contained ".s:prototype_functions + syn cluster htmlJavaScript add=javascriptRailsClass,javascriptRailsFunction + elseif &syntax == "javascript" + " The syntax file included with Vim incorrectly sets syn case ignore. + syn case match + set isk+=$ + exe "syn keyword javascriptRailsClass ".s:prototype_classes + exe "syn keyword javascriptRailsFunction ".s:prototype_functions + + endif + endif + call s:HiDefaults() +endfunction + +function! s:HiDefaults() + hi def link rubyRailsAPIMethod rubyRailsMethod + hi def link rubyRailsARAssociationMethod rubyRailsARMethod + hi def link rubyRailsARCallbackMethod rubyRailsARMethod + hi def link rubyRailsARClassMethod rubyRailsARMethod + hi def link rubyRailsARValidationMethod rubyRailsARMethod + hi def link rubyRailsARMethod rubyRailsMethod + hi def link rubyRailsRenderMethod rubyRailsMethod + hi def link rubyRailsHelperMethod rubyRailsMethod + hi def link rubyRailsViewMethod rubyRailsMethod + hi def link rubyRailsMigrationMethod rubyRailsMethod + hi def link rubyRailsControllerMethod rubyRailsMethod + hi def link rubyRailsDeprecatedMethod rubyRailsError + hi def link rubyRailsFilterMethod rubyRailsMethod + hi def link rubyRailsTestControllerMethod rubyRailsTestMethod + hi def link rubyRailsTestMethod rubyRailsMethod + hi def link rubyRailsRakeMethod rubyRailsMethod + hi def link rubyRailsMethod railsMethod + hi def link rubyRailsError rubyError + hi def link rubyRailsInclude rubyInclude + hi def link rubyRailsUserClass railsUserClass + hi def link rubyRailsUserMethod railsUserMethod + hi def link erubyRailsHelperMethod erubyRailsMethod + hi def link erubyRailsViewMethod erubyRailsMethod + hi def link erubyRailsRenderMethod erubyRailsMethod + hi def link erubyRailsMethod railsMethod + hi def link erubyRailsUserMethod railsUserMethod + hi def link railsUserMethod railsMethod + hi def link erubyRailsUserClass railsUserClass + hi def link yamlRailsDelimiter Delimiter + hi def link yamlRailsMethod railsMethod + hi def link yamlRailsComment Comment + hi def link yamlRailsUserClass railsUserClass + hi def link yamlRailsUserMethod railsUserMethod + hi def link javascriptRailsFunction railsMethod + hi def link javascriptRailsClass railsClass + hi def link railsUserClass railsClass + hi def link railsMethod Function + hi def link railsClass Type + hi def link railsOrderSpecial railsStringSpecial + hi def link railsConditionsSpecial railsStringSpecial + hi def link railsStringSpecial Identifier +endfunction + +function! RailslogSyntax() + syn match railslogRender '^\s*\<\%(Processing\|Rendering\|Rendered\|Redirected\|Completed\)\>' + syn match railslogComment '^\s*# .*' + syn match railslogModel '^\s*\u\%(\w\|:\)* \%(Load\%( Including Associations\| IDs For Limited Eager Loading\)\=\|Columns\|Count\|Update\|Destroy\|Delete all\)\>' skipwhite nextgroup=railslogModelNum + syn match railslogModel '^\s*SQL\>' skipwhite nextgroup=railslogModelNum + syn region railslogModelNum start='(' end=')' contains=railslogNumber contained skipwhite nextgroup=railslogSQL + syn match railslogSQL '\u.*$' contained + " Destroy generates multiline SQL, ugh + syn match railslogSQL '^ \%(FROM\|WHERE\|ON\|AND\|OR\|ORDER\) .*$' + syn match railslogNumber '\<\d\+\>%' + syn match railslogNumber '[ (]\@<=\<\d\+\.\d\+\>' + syn region railslogString start='"' skip='\\"' end='"' oneline contained + syn region railslogHash start='{' end='}' oneline contains=railslogHash,railslogString + syn match railslogIP '\<\d\{1,3\}\%(\.\d\{1,3}\)\{3\}\>' + syn match railslogTimestamp '\<\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d\>' + syn match railslogSessionID '\<\x\{32\}\>' + syn match railslogIdentifier '^\s*\%(Session ID\|Parameters\)\ze:' + syn match railslogSuccess '\<2\d\d \u[A-Za-z0-9 ]*\>' + syn match railslogRedirect '\<3\d\d \u[A-Za-z0-9 ]*\>' + syn match railslogError '\<[45]\d\d \u[A-Za-z0-9 ]*\>' + syn match railslogError '^DEPRECATION WARNING\>' + syn keyword railslogHTTP OPTIONS GET HEAD POST PUT DELETE TRACE CONNECT + syn region railslogStackTrace start=":\d\+:in `\w\+'$" end="^\s*$" keepend fold + hi def link railslogComment Comment + hi def link railslogRender Keyword + hi def link railslogModel Type + hi def link railslogSQL PreProc + hi def link railslogNumber Number + hi def link railslogString String + hi def link railslogSessionID Constant + hi def link railslogIdentifier Identifier + hi def link railslogRedirect railslogSuccess + hi def link railslogSuccess Special + hi def link railslogError Error + hi def link railslogHTTP Special +endfunction + +" }}}1 +" Statusline {{{1 + +" Depends: nothing! +" Provides: s:BufInitStatusline + +function! s:addtostatus(letter,status) + let status = a:status + if status !~ 'Rails' && g:rails_statusline + let status=substitute(status,'\C%'.tolower(a:letter),'%'.tolower(a:letter).'%{RailsStatusline()}','') + if status !~ 'Rails' + let status=substitute(status,'\C%'.toupper(a:letter),'%'.toupper(a:letter).'%{RailsSTATUSLINE()}','') + endif + endif + return status +endfunction + +function! s:BufInitStatusline() + if g:rails_statusline + if &l:statusline == '' + let &l:statusline = &g:statusline + endif + if &l:statusline == '' + let &l:statusline='%<%f %h%m%r%=' + if &ruler + let &l:statusline = &l:statusline . '%-16( %l,%c-%v %)%P' + endif + endif + let &l:statusline = s:InjectIntoStatusline(&l:statusline) + endif +endfunction + +function! s:InitStatusline() + if g:rails_statusline + if &g:statusline == '' + let &g:statusline='%<%f %h%m%r%=' + if &ruler + let &g:statusline = &g:statusline . '%-16( %l,%c-%v %)%P' + endif + endif + let &g:statusline = s:InjectIntoStatusline(&g:statusline) + endif +endfunction + +function! s:InjectIntoStatusline(status) + let status = a:status + if status !~ 'Rails' + let status = s:addtostatus('y',status) + let status = s:addtostatus('r',status) + let status = s:addtostatus('m',status) + let status = s:addtostatus('w',status) + let status = s:addtostatus('h',status) + if status !~ 'Rails' + let status=substitute(status,'%=','%{RailsStatusline()}%=','') + endif + if status !~ 'Rails' && status != '' + let status=status.'%{RailsStatusline()}' + endif + endif + return status +endfunction + +function! RailsStatusline() + if exists("b:rails_root") + let t = RailsFileType() + if t != "" + return "[Rails-".t."]" + else + return "[Rails]" + endif + else + return "" + endif +endfunction + +function! RailsSTATUSLINE() + if exists("b:rails_root") + let t = RailsFileType() + if t != "" + return ",RAILS-".toupper(t) + else + return ",RAILS" + endif + else + return "" + endif +endfunction + +" }}}1 +" Mappings {{{1 + +" Depends: nothing! +" Exports: s:BufMappings + +function! s:BufMappings() + map RailsAlternate :A + map RailsRelated :R + map RailsFind :REfind + map RailsSplitFind :RSfind + map RailsVSplitFind :RVfind + map RailsTabFind :RTfind + if g:rails_mappings + if !hasmapto("RailsFind") + nmap gf RailsFind + endif + if !hasmapto("RailsSplitFind") + nmap f RailsSplitFind + endif + if !hasmapto("RailsTabFind") + nmap gf RailsTabFind + endif + if !hasmapto("RailsAlternate") + nmap [f RailsAlternate + endif + if !hasmapto("RailsRelated") + nmap ]f RailsRelated + endif + if exists("$CREAM") + imap RailsFind + " Are these a good idea? + imap RailsAlternate + imap RailsRelated + endif + endif + " SelectBuf you're a dirty hack + let v:errmsg = "" +endfunction + +" }}}1 +" Project {{{ + +" Depends: s:gsub, s:escarg, s:warn, s:sub, s:relglob + +function! s:Project(bang,arg) + let rr = RailsRoot() + exe "Project ".a:arg + let line = search('^[^ =]*="'.s:gsub(rr,'[\/]','[\\/]').'"') + let projname = s:gsub(fnamemodify(rr,':t'),'\=','-') " .'_on_rails' + if line && a:bang + let projname = matchstr(getline('.'),'^[^=]*') + " Most of this would be unnecessary if the project.vim author had just put + " the newlines AFTER each project rather than before. Ugh. + norm zR0"_d% + if line('.') > 2 + delete _ + endif + if line('.') != line('$') + .-2 + endif + let line = 0 + elseif !line + $ + endif + if !line + if line('.') > 1 + append + +. + endif + let line = line('.')+1 + call s:NewProject(projname,rr,a:bang) + endif + normal! zMzo + if search("^ app=app {","W",line+10) + normal! zo + exe line + endif + normal! 0zt +endfunction + +function! s:NewProject(proj,rr,fancy) + let line = line('.')+1 + let template = s:NewProjectTemplate(a:proj,a:rr,a:fancy) + silent put =template + exe line + " Ugh. how else can I force detecting folds? + setlocal foldmethod=manual + norm! $% + silent exe "doautocmd User ".s:escarg(a:rr)."/Rproject" + let newline = line('.') + exe line + norm! $% + if line('.') != newline + call s:warn("Warning: Rproject autocommand failed to leave cursor at end of project") + endif + exe line + setlocal foldmethod=marker + setlocal nomodified + " FIXME: make undo stop here + if !exists("g:maplocalleader") + silent! normal \R + else " Needs to be tested + exe 'silent! normal '.g:maplocalleader.'R' + endif +endfunction + +function! s:NewProjectTemplate(proj,rr,fancy) + let str = a:proj.'="'.a:rr."\" CD=. filter=\"*\" {\n" + let str = str." app=app {\n" + if isdirectory(a:rr.'/app/apis') + let str = str." apis=apis {\n }\n" + endif + let str = str." controllers=controllers filter=\"**\" {\n }\n" + let str = str." helpers=helpers filter=\"**\" {\n }\n" + let str = str." models=models filter=\"**\" {\n }\n" + if a:fancy + let str = str." views=views {\n" + let views = s:relglob(a:rr.'/app/views/','*')."\n" + while views != '' + let dir = matchstr(views,'^.\{-\}\ze\n') + let views = s:sub(views,'^.{-}\n','') + let str = str." ".dir."=".dir.' filter="**" {'."\n }\n" + endwhile + let str = str." }\n" + else + let str = str." views=views filter=\"**\" {\n }\n" + endif + let str = str . " }\n" + let str = str . " config=config {\n environments=environments {\n }\n }\n" + let str = str . " db=db {\n" + if isdirectory(a:rr.'/db/migrate') + let str = str . " migrate=migrate {\n }\n" + endif + let str = str . " }\n" + let str = str . " lib=lib filter=\"* */**/*.rb \" {\n tasks=tasks filter=\"**/*.rake\" {\n }\n }\n" + let str = str . " public=public {\n images=images {\n }\n javascripts=javascripts {\n }\n stylesheets=stylesheets {\n }\n }\n" + if isdirectory(a:rr.'/spec') + let str = str . " spec=spec {\n" + let str = str . " controllers=controllers filter=\"**\" {\n }\n" + let str = str . " fixtures=fixtures filter=\"**\" {\n }\n" + let str = str . " helpers=helpers filter=\"**\" {\n }\n" + let str = str . " models=models filter=\"**\" {\n }\n" + let str = str . " views=views filter=\"**\" {\n }\n }\n" + endif + let str = str . " test=test {\n" + if isdirectory(a:rr.'/test/fixtures') + let str = str . " fixtures=fixtures filter=\"**\" {\n }\n" + endif + if isdirectory(a:rr.'/test/functional') + let str = str . " functional=functional filter=\"**\" {\n }\n" + endif + if isdirectory(a:rr.'/test/integration') + let str = str . " integration=integration filter=\"**\" {\n }\n" + endif + if isdirectory(a:rr.'/test/mocks') + let str = str . " mocks=mocks filter=\"**\" {\n }\n" + endif + if isdirectory(a:rr.'/test/unit') + let str = str . " unit=unit filter=\"**\" {\n }\n" + endif + let str = str . " }\n}\n" + return str +endfunction + +" }}}1 +" Database {{{1 + +" Depends: s:environment, s:rubyeval, s:rv, reloadability + +function! s:extractdbvar(str,arg) + return matchstr("\n".a:str."\n",'\n'.a:arg.'=\zs.\{-\}\ze\n') +endfunction + +function! s:BufDatabase(...) + if exists("s:lock_database") + return + endif + let s:lock_database = 1 + let rv = s:rv() + if (a:0 && a:1 > 1) + unlet! s:dbext_type_{rv} + endif + if (a:0 > 1 && a:2 != '') + let env = a:2 + else + let env = s:environment() + endif + " Crude caching mechanism + if !exists("s:dbext_type_".rv) + if exists("g:loaded_dbext") && (g:rails_dbext + (a:0 ? a:1 : 0)) > 0 && filereadable(RailsRoot()."/config/database.yml") + " Ideally we would filter this through ERB but that could be insecure. + " It might be possible to make use of taint checking. + let out = "" + if has("ruby") + ruby require 'yaml'; VIM::command('let out = %s' % File.open(VIM::evaluate("RailsRoot()")+"/config/database.yml") {|f| y = YAML::load(f); e = y[VIM::evaluate("env")]; i=0; e=y[e] while e.respond_to?(:to_str) && (i+=1)<16; e.map {|k,v| "#{k}=#{v}\n" if v}.compact.join }.inspect) rescue nil + endif + if out == "" + let cmdb = 'require %{yaml}; File.open(%q{'.RailsRoot().'/config/database.yml}) {|f| y = YAML::load(f); e = y[%{' + let cmde = '}]; i=0; e=y[e] while e.respond_to?(:to_str) && (i+=1)<16; e.each{|k,v|puts k.to_s+%{=}+v.to_s}}' + if a:0 ? a:1 : g:rails_expensive + let out = s:rubyeval(cmdb.env.cmde,'') + else + unlet! s:lock_database + return + endif + endif + let adapter = s:extractdbvar(out,'adapter') + let s:dbext_bin_{rv} = '' + let s:dbext_integratedlogin_{rv} = '' + if adapter == 'postgresql' + let adapter = 'pgsql' + elseif adapter == 'sqlite3' + let adapter = 'sqlite' + " Does not appear to work + let s:dbext_bin = 'sqlite3' + elseif adapter == 'sqlserver' + let adapter = 'sqlsrv' + elseif adapter == 'sybase' + let adapter = 'asa' + elseif adapter == 'oci' + let adapter = 'ora' + endif + let s:dbext_type_{rv} = toupper(adapter) + let s:dbext_user_{rv} = s:extractdbvar(out,'username') + let s:dbext_passwd_{rv} = s:extractdbvar(out,'password') + if s:dbext_passwd_{rv} == '' && adapter == 'mysql' + " Hack to override password from .my.cnf + let s:dbext_extra_{rv} = ' --password=' + else + let s:dbext_extra_{rv} = '' + endif + let s:dbext_dbname_{rv} = s:extractdbvar(out,'database') + if s:dbext_dbname_{rv} != '' && s:dbext_dbname_{rv} !~ '^:' && adapter =~? '^sqlite' + let s:dbext_dbname_{rv} = RailsRoot().'/'.s:dbext_dbname_{rv} + endif + let s:dbext_profile_{rv} = '' + let s:dbext_host_{rv} = s:extractdbvar(out,'host') + let s:dbext_port_{rv} = s:extractdbvar(out,'port') + let s:dbext_dsnname_{rv} = s:extractdbvar(out,'dsn') + if s:dbext_host_{rv} =~? '^\cDBI:' + if s:dbext_host_{rv} =~? '\c\' + let s:dbext_integratedlogin_{rv} = 1 + endif + let s:dbext_host_{rv} = matchstr(s:dbext_host_{rv},'\c\<\%(Server\|Data Source\)\s*=\s*\zs[^;]*') + endif + endif + endif + if exists("s:dbext_type_".rv) + silent! let b:dbext_type = s:dbext_type_{rv} + silent! let b:dbext_profile = s:dbext_profile_{rv} + silent! let b:dbext_bin = s:dbext_bin_{rv} + silent! let b:dbext_user = s:dbext_user_{rv} + silent! let b:dbext_passwd = s:dbext_passwd_{rv} + silent! let b:dbext_dbname = s:dbext_dbname_{rv} + silent! let b:dbext_host = s:dbext_host_{rv} + silent! let b:dbext_port = s:dbext_port_{rv} + silent! let b:dbext_dsnname = s:dbext_dsnname_{rv} + silent! let b:dbext_extra = s:dbext_extra_{rv} + silent! let b:dbext_integratedlogin = s:dbext_integratedlogin_{rv} + if b:dbext_type == 'PGSQL' + let $PGPASSWORD = b:dbext_passwd + elseif exists('$PGPASSWORD') + let $PGPASSWORD = '' + endif + endif + if a:0 >= 3 && a:3 && exists(":Create") + if exists("b:dbext_dbname") && exists("b:dbext_type") && b:dbext_type !~? 'sqlite' + let db = b:dbext_dbname + if b:dbext_type == 'PGSQL' + " I don't always have a default database for a user so using the + " default user's database is a better choice for my setup. It + " probably won't work for everyone but nothing will. + let b:dbext_dbname = 'postgres' + else + let b:dbext_dbname = '' + endif + exe "Create database ".db + let b:dbext_dbname = db + endif + endif + unlet! s:lock_database +endfunction + +" }}}1 +" Abbreviations {{{1 + +" Depends: s:sub, s:gsub, s:string, s:linepeak, s:error + +function! s:selectiveexpand(pat,good,default,...) + if a:0 > 0 + let nd = a:1 + else + let nd = "" + endif + let c = nr2char(getchar(0)) + let good = a:good + if c == "" " ^] + return s:sub(good.(a:0 ? " ".a:1 : ''),'\s+$','') + elseif c == "\t" + return good.(a:0 ? " ".a:1 : '') + elseif c =~ a:pat + return good.c.(a:0 ? a:1 : '') + else + return a:default.c + endif +endfunction + +function! s:TheMagicC() + let l = s:linepeak() + if l =~ '\' + return s:selectiveexpand('..',':conditions => ',':c') + elseif l =~ '\\s*' + return s:selectiveexpand('..',':collection => ',':c') + elseif RailsFileType() =~ '^model\>' + return s:selectiveexpand('..',':conditions => ',':c') + else + return s:selectiveexpand('..',':controller => ',':c') + endif +endfunction + +function! s:AddSelectiveExpand(abbr,pat,expn,...) + let expn = s:gsub(s:gsub(a:expn ,'[\"|]','\\&'),'\<','\\') + let expn2 = s:gsub(s:gsub(a:0 ? a:1 : '','[\"|]','\\&'),'\<','\\') + if a:0 + exe "inoreabbrev ".a:abbr." =selectiveexpand(".s:string(a:pat).",\"".expn."\",".s:string(a:abbr).",\"".expn2."\")" + else + exe "inoreabbrev ".a:abbr." =selectiveexpand(".s:string(a:pat).",\"".expn."\",".s:string(a:abbr).")" + endif +endfunction + +function! s:AddTabExpand(abbr,expn) + call s:AddSelectiveExpand(a:abbr,'..',a:expn) +endfunction + +function! s:AddBracketExpand(abbr,expn) + call s:AddSelectiveExpand(a:abbr,'[[.]',a:expn) +endfunction + +function! s:AddColonExpand(abbr,expn) + call s:AddSelectiveExpand(a:abbr,':',a:expn) +endfunction + +function! s:AddParenExpand(abbr,expn,...) + if a:0 + call s:AddSelectiveExpand(a:abbr,'(',a:expn,a:1) + else + call s:AddSelectiveExpand(a:abbr,'(',a:expn,'') + endif +endfunction + +function! s:BufAbbreviations() + command! -buffer -bar -nargs=* -bang Rabbrev :call s:Abbrev(0,) + " Some of these were cherry picked from the TextMate snippets + if g:rails_abbreviations + let t = RailsFileType() + " Limit to the right filetypes. But error on the liberal side + if t =~ '^\(controller\|view\|helper\|test-functional\|test-integration\)\>' + Rabbrev pa[ params + Rabbrev rq[ request + Rabbrev rs[ response + Rabbrev se[ session + Rabbrev hd[ headers + Rabbrev co[ cookies + Rabbrev fl[ flash + Rabbrev rr( render + Rabbrev ra( render :action\ =>\ + Rabbrev rc( render :controller\ =>\ + Rabbrev rf( render :file\ =>\ + Rabbrev ri( render :inline\ =>\ + Rabbrev rj( render :json\ =>\ + Rabbrev rl( render :layout\ =>\ + Rabbrev rp( render :partial\ =>\ + Rabbrev rt( render :text\ =>\ + Rabbrev rx( render :xml\ =>\ + endif + if t =~ '^\%(view\|helper\)\>' + Rabbrev dotiw distance_of_time_in_words + Rabbrev taiw time_ago_in_words + endif + if t =~ '^controller\>' + "call s:AddSelectiveExpand('rn','[,\r]','render :nothing => true') + "let b:rails_abbreviations = b:rails_abbreviations . "rn\trender :nothing => true\n" + Rabbrev re( redirect_to + Rabbrev rea( redirect_to :action\ =>\ + Rabbrev rec( redirect_to :controller\ =>\ + Rabbrev rst( respond_to + endif + if t =~ '^model-arb\>' || t =~ '^model$' + Rabbrev bt( belongs_to + Rabbrev ho( has_one + Rabbrev hm( has_many + Rabbrev habtm( has_and_belongs_to_many + Rabbrev co( composed_of + Rabbrev va( validates_associated + Rabbrev vb( validates_acceptance_of + Rabbrev vc( validates_confirmation_of + Rabbrev ve( validates_exclusion_of + Rabbrev vf( validates_format_of + Rabbrev vi( validates_inclusion_of + Rabbrev vl( validates_length_of + Rabbrev vn( validates_numericality_of + Rabbrev vp( validates_presence_of + Rabbrev vu( validates_uniqueness_of + endif + if t =~ '^\%(db-\)\=\%(migration\|schema\)\>' + Rabbrev mac( add_column + Rabbrev mrnc( rename_column + Rabbrev mrc( remove_column + Rabbrev mct( create_table + "Rabbrev mct create_table\ :\ do\ tendk$6hi + Rabbrev mrnt( rename_table + Rabbrev mdt( drop_table + Rabbrev mcc( t.column + endif + if t =~ '^test\>' + "Rabbrev ae( assert_equal + Rabbrev ase( assert_equal + "Rabbrev ako( assert_kind_of + Rabbrev asko( assert_kind_of + "Rabbrev ann( assert_not_nil + Rabbrev asnn( assert_not_nil + "Rabbrev ar( assert_raise + Rabbrev asr( assert_raise + "Rabbrev are( assert_response + Rabbrev asre( assert_response + Rabbrev art( assert_redirected_to + endif + Rabbrev :a :action\ =>\ + inoreabbrev :c =TheMagicC() + " Lie a little + if t =~ '^view\>' + let b:rails_abbreviations = b:rails_abbreviations . ":c\t:collection => \n" + elseif s:controller() != '' + let b:rails_abbreviations = b:rails_abbreviations . ":c\t:controller => \n" + else + let b:rails_abbreviations = b:rails_abbreviations . ":c\t:conditions => \n" + endif + Rabbrev :i :id\ =>\ + Rabbrev :o :object\ =>\ + Rabbrev :p :partial\ =>\ + Rabbrev logd( logger.debug + Rabbrev logi( logger.info + Rabbrev logw( logger.warn + Rabbrev loge( logger.error + Rabbrev logf( logger.fatal + Rabbrev fi( find + Rabbrev AR:: ActiveRecord + Rabbrev AV:: ActionView + Rabbrev AC:: ActionController + Rabbrev AS:: ActiveSupport + Rabbrev AM:: ActionMailer + Rabbrev AE:: ActiveResource + Rabbrev AWS:: ActionWebService + endif +endfunction + +function! s:Abbrev(bang,...) abort + if !exists("b:rails_abbreviations") + let b:rails_abbreviations = "\n" + endif + if a:0 > 3 || (a:bang && (a:0 != 1)) + return s:error("Rabbrev: invalid arguments") + endif + if a:bang + return s:unabbrev(a:1) + endif + if a:0 == 0 + echo s:sub(b:rails_abbreviations,'^\n','') + return + endif + let lhs = a:1 + if a:0 > 3 || a:0 < 2 + return s:error("Rabbrev: invalid arguments") + endif + let rhs = a:2 + call s:unabbrev(lhs,1) + if lhs =~ '($' + let b:rails_abbreviations = b:rails_abbreviations . lhs . "\t" . rhs . "" . (a:0 > 2 ? "\t".a:3 : ""). "\n" + let llhs = s:sub(lhs,'\($','') + if a:0 > 2 + call s:AddParenExpand(llhs,rhs,a:3) + else + call s:AddParenExpand(llhs,rhs) + endif + return + endif + if a:0 > 2 + return s:error("Rabbrev: invalid arguments") + endif + if lhs =~ ':$' + let llhs = s:sub(lhs,':=:$','') + call s:AddColonExpand(llhs,rhs) + elseif lhs =~ '\[$' + let llhs = s:sub(lhs,'\[$','') + call s:AddBracketExpand(llhs,rhs) + elseif lhs =~ '\w$' + call s:AddTabExpand(lhs,rhs) + else + return s:error("Rabbrev: unimplemented") + endif + let b:rails_abbreviations = b:rails_abbreviations . lhs . "\t" . rhs . "\n" +endfunction + +function! s:unabbrev(abbr,...) + let abbr = s:sub(a:abbr,'%(::|\(|\[)$','') + let pat = s:sub(abbr,'\\','\\\\') + if !exists("b:rails_abbreviations") + let b:rails_abbreviations = "\n" + endif + let b:rails_abbreviations = substitute(b:rails_abbreviations,'\V\C\n'.pat.'\(\t\|::\t\|(\t\|[\t\)\.\{-\}\n','\n','') + if a:0 == 0 || a:1 == 0 + exe "iunabbrev ".abbr + endif +endfunction + +" }}}1 +" Settings {{{1 + +" Depends: s:error, s:sub, s:sname, s:escvar, s:lastmethod, s:environment, s:gsub, s:lastmethodlib, s:gsub + +function! s:Set(bang,...) + let c = 1 + let defscope = '' + while c <= a:0 + let arg = a:{c} + let c = c + 1 + if arg =~? '^<[abgl]\=>$' + let defscope = (matchstr(arg,'<\zs.*\ze>')) + elseif arg !~ '=' + if defscope != '' && arg !~ '^\w:' + let arg = defscope.':'.opt + endif + let val = s:getopt(arg) + if val == '' && s:opts() !~ '\<'.arg.'\n' + call s:error("No such rails.vim option: ".arg) + else + echo arg."=".val + endif + else + let opt = matchstr(arg,'[^=]*') + let val = s:sub(arg,'^[^=]*\=','') + if defscope != '' && opt !~ '^\w:' + let opt = defscope.':'.opt + endif + call s:setopt(opt,val) + endif + endwhile +endfunction + +function! s:getopt(opt,...) + let opt = a:opt + if a:0 + let scope = a:1 + elseif opt =~ '^[abgl]:' + let scope = tolower(matchstr(opt,'^\w')) + let opt = s:sub(opt,'^\w:','') + else + let scope = 'abgl' + endif + if scope =~ 'l' && &filetype != 'ruby' + let scope = s:sub(scope,'l','b') + endif + if scope =~ 'l' + call s:LocalModelines() + endif + let opt = s:sub(opt,'<%(rake|rake_task|rake_target)$','task') + " Get buffer option + if scope =~ 'l' && exists("b:_".s:sname()."_".s:escvar(s:lastmethod())."_".opt) + return b:_{s:sname()}_{s:escvar(s:lastmethod())}_{opt} + elseif exists("b:".s:sname()."_".opt) && (scope =~ 'b' || (scope =~ 'l' && s:lastmethod() == '')) + return b:{s:sname()}_{opt} + elseif scope =~ 'a' && exists("s:_".s:rv()."_".s:environment()."_".opt) + return s:_{s:rv()}_{s:environment()}_{opt} + elseif scope =~ 'g' && exists("g:".s:sname()."_".opt) + return g:{s:sname()}_{opt} + else + return "" + endif +endfunction + +function! s:setopt(opt,val) + if a:opt =~? '[abgl]:' + let scope = matchstr(a:opt,'^\w') + let opt = s:sub(a:opt,'^\w:','') + else + let scope = '' + let opt = a:opt + endif + let opt = s:sub(opt,'<%(rake|rake_task|rake_target)$','task') + let defscope = matchstr(s:opts(),'\n\zs\w\ze:'.opt,'\n') + if defscope == '' + let defscope = 'a' + endif + if scope == '' + let scope = defscope + endif + if &filetype == 'ruby' && (scope == 'B' || scope == 'l') + let scope = 'b' + endif + if opt =~ '\W' + return s:error("Invalid option ".a:opt) + elseif scope =~? 'a' + let s:_{s:rv()}_{s:environment()}_{opt} = a:val + elseif scope == 'B' && defscope == 'l' + let b:_{s:sname()}_{s:escvar('')}_{opt} = a:val + elseif scope =~? 'b' + let b:{s:sname()}_{opt} = a:val + elseif scope =~? 'g' + let g:{s:sname()}_{opt} = a:val + elseif scope =~? 'l' + let b:_{s:sname()}_{s:escvar(s:lastmethod())}_{opt} = a:val + else + return s:error("Invalid scope for ".a:opt) + endif +endfunction + +function! s:opts() + return "\nb:alternate\nb:controller\na:gnu_screen\nb:model\nl:preview\nb:task\nl:related\na:root_url\na:ruby_fork_port\n" +endfunction + +function! s:SetComplete(A,L,P) + if a:A =~ '=' + let opt = matchstr(a:A,'[^=]*') + return opt."=".s:getopt(opt) + else + let extra = matchstr(a:A,'^[abgl]:') + let opts = s:gsub(s:sub(s:gsub(s:opts(),'\n\w:','\n'.extra),'^\n',''),'\n','=\n') + return opts + endif + return "" +endfunction + +function! s:BufModelines() + if !g:rails_modelines + return + endif + let lines = getline("$")."\n".getline(line("$")-1)."\n".getline(1)."\n".getline(2)."\n".getline(3)."\n" + let pat = '\s\+\zs.\{-\}\ze\%(\n\|\s\s\|#{\@!\|%>\|-->\|$\)' + let cnt = 1 + let mat = matchstr(lines,'\C\ ".mat + endif + let mat = matchstr(lines,'\C\ ".mat + endif + let mat = matchstr(lines,'\C\ 0 + if !exists("g:RAILS_HISTORY") + let g:RAILS_HISTORY = "" + endif + let path = a:path + let g:RAILS_HISTORY = s:scrub(g:RAILS_HISTORY,path) + if has("win32") + let g:RAILS_HISTORY = s:scrub(g:RAILS_HISTORY,s:gsub(path,'\\','/')) + endif + let path = fnamemodify(path,':p:~:h') + let g:RAILS_HISTORY = s:scrub(g:RAILS_HISTORY,path) + if has("win32") + let g:RAILS_HISTORY = s:scrub(g:RAILS_HISTORY,s:gsub(path,'\\','/')) + endif + let g:RAILS_HISTORY = path."\n".g:RAILS_HISTORY + let g:RAILS_HISTORY = s:sub(g:RAILS_HISTORY,'%(.{-}\n){,'.g:rails_history_size.'}\zs.*','') + endif + call s:callback("config/syntax.vim") + if &ft == "mason" + setlocal filetype=eruby + elseif &ft =~ '^\%(conf\|ruby\)\=$' && expand("%:e") =~ '^\%(rjs\|rxml\|builder\|rake\|mab\)$' + setlocal filetype=ruby + elseif &ft =~ '^\%(conf\|ruby\)\=$' && expand("%:t") =~ '^\%(Rake\|Cap\)file$' + setlocal filetype=ruby + elseif &ft =~ '^\%(liquid\)\=$' && expand("%:e") == "liquid" + setlocal filetype=liquid + elseif &ft =~ '^\%(haml\|x\=html\)\=$' && expand("%:e") == "haml" + setlocal filetype=haml + elseif &ft =~ '^\%(sass\|conf\)\=$' && expand("%:e") == "sass" + setlocal filetype=sass + elseif &ft =~ '^\%(dryml\)\=$' && expand("%:e") == "dryml" + setlocal filetype=dryml + elseif (&ft == "" || v:version < 701) && expand("%:e") =~ '^\%(rhtml\|erb\)$' + setlocal filetype=eruby + elseif (&ft == "" || v:version < 700) && expand("%:e") == 'yml' + setlocal filetype=yaml + elseif firsttime + " Activate custom syntax + let &syntax = &syntax + endif + if firsttime + call s:BufInitStatusline() + endif + if expand("%:e") == "log" + setlocal modifiable filetype=railslog + silent! %s/\%(\e\[[0-9;]*m\|\r$\)//g + setlocal readonly nomodifiable noswapfile autoread foldmethod=syntax + nnoremap R :checktime + nnoremap G :checktime$ + nnoremap q :bwipe + $ + endif + call s:BufSettings() + call s:BufCommands() + call s:BufAbbreviations() + call s:BufDatabase() + " snippetsEmu.vim + if exists('g:loaded_snippet') + silent! runtime! ftplugin/rails_snippets.vim + " filetype snippets need to come last for higher priority + exe "silent! runtime! ftplugin/".&filetype."_snippets.vim" + endif + let t = RailsFileType() + let t = "-".t + let f = '/'.RailsFilePath() + if f =~ '[ !#$%\,]' + let f = '' + endif + runtime! macros/rails.vim + silent doautocmd User Rails + if t != '-' + exe "silent doautocmd User Rails".s:gsub(t,'-','.') + endif + if f != '' + exe "silent doautocmd User Rails".f + endif + call s:callback("config/rails.vim") + call s:BufModelines() + call s:BufMappings() + "unlet! b:rails_cached_file_type + let &cpo = cpo_save + return b:rails_root +endfunction + +function! s:SetBasePath() + let rp = s:gsub(RailsRoot(),'[ ,]','\\&') + let t = RailsFileType() + let oldpath = s:sub(&l:path,'^\.,','') + if stridx(oldpath,rp) == 2 + let oldpath = '' + endif + let &l:path = '.,'.rp.",".rp."/app/controllers,".rp."/app,".rp."/app/models,".rp."/app/helpers,".rp."/config,".rp."/lib,".rp."/vendor,".rp."/vendor/plugins/*/lib,".rp."/test/unit,".rp."/test/functional,".rp."/test/integration,".rp."/app/apis,".rp."/app/services,".rp."/test,"."/vendor/plugins/*/test,".rp."/vendor/rails/*/lib,".rp."/vendor/rails/*/test,".rp."/spec,".rp."/spec/*," + if s:controller() != '' + let &l:path = &l:path . rp . '/app/views/' . s:controller() . ',' . rp . '/app/views,' . rp . '/public,' + endif + if t =~ '^log\>' + let &l:path = &l:path . rp . '/app/views,' + endif + if &l:path =~ '://' + let &l:path = ".," + endif + let &l:path = &l:path . oldpath +endfunction + +function! s:BufSettings() + if !exists('b:rails_root') + return '' + endif + call s:SetBasePath() + let rp = s:gsub(RailsRoot(),'[ ,]','\\&') + let &l:errorformat = s:efm + setlocal makeprg=rake + if stridx(&tags,rp) == -1 + let &l:tags = &tags . "," . rp . "/tags," . rp . "/.tags" + endif + if has("gui_win32") || has("gui_running") + let code = '*.rb;*.rake;Rakefile' + let templates = '*.'.s:gsub(s:view_types,',',';*.') + let fixtures = '*.yml;*.csv' + let statics = '*.html;*.css;*.js;*.xml;*.xsd;*.sql;.htaccess;README;README_FOR_APP' + let b:browsefilter = "" + \."All Rails Files\t".code.';'.templates.';'.fixtures.';'.statics."\n" + \."Source Code (*.rb, *.rake)\t".code."\n" + \."Templates (*.rhtml, *.rxml, *.rjs)\t".templates."\n" + \."Fixtures (*.yml, *.csv)\t".fixtures."\n" + \."Static Files (*.html, *.css, *.js)\t".statics."\n" + \."All Files (*.*)\t*.*\n" + endif + setlocal includeexpr=RailsIncludeexpr() + let &l:suffixesadd=".rb,.".s:gsub(s:view_types,',',',.').",.css,.js,.yml,.csv,.rake,.sql,.html,.xml" + if &ft =~ '^\%(e\=ruby\|[yh]aml\|javascript\|css\|sass\)$' + setlocal sw=2 sts=2 et + "set include=\\<\\zsAct\\f*::Base\\ze\\>\\\|^\\s*\\(require\\\|load\\)\\s\\+['\"]\\zs\\f\\+\\ze + if exists('+completefunc') + if &completefunc == '' + set completefunc=syntaxcomplete#Complete + endif + endif + endif + if &filetype == "ruby" + let &l:suffixesadd=".rb,.".s:gsub(s:view_types,',',',.').",.yml,.csv,.rake,s.rb" + if expand('%:e') == 'rake' + setlocal define=^\\s*def\\s\\+\\(self\\.\\)\\=\\\|^\\s*\\%(task\\\|file\\)\\s\\+[:'\"] + else + setlocal define=^\\s*def\\s\\+\\(self\\.\\)\\= + endif + " This really belongs in after/ftplugin/ruby.vim but we'll be nice + if exists("g:loaded_surround") && !exists("b:surround_101") + let b:surround_5 = "\r\nend" + let b:surround_69 = "\1expr: \1\rend" + let b:surround_101 = "\r\nend" + endif + elseif &filetype == 'yaml' || expand('%:e') == 'yml' + setlocal define=^\\%(\\h\\k*:\\)\\@= + let &l:suffixesadd=".yml,.csv,.rb,.".s:gsub(s:view_types,',',',.').",.rake,s.rb" + elseif &filetype == "eruby" + let &l:suffixesadd=".".s:gsub(s:view_types,',',',.').",.rb,.css,.js,.html,.yml,.csv" + if exists("g:loaded_allml") + " allml is available on vim.org. + let b:allml_stylesheet_link_tag = "<%= stylesheet_link_tag '\r' %>" + let b:allml_javascript_include_tag = "<%= javascript_include_tag '\r' %>" + let b:allml_doctype_index = 10 + endif + endif + if &filetype == "eruby" || &filetype == "yaml" + " surround.vim + if exists("g:loaded_surround") + " The idea behind the || part here is that one can normally define the + " surrounding to omit the hyphen (since standard ERuby does not use it) + " but have it added in Rails ERuby files. Unfortunately, this makes it + " difficult if you really don't want a hyphen in Rails ERuby files. If + " this is your desire, you will need to accomplish it via a rails.vim + " autocommand. + if !exists("b:surround_45") || b:surround_45 == "<% \r %>" " - + let b:surround_45 = "<% \r -%>" + endif + if !exists("b:surround_61") " = + let b:surround_61 = "<%= \r %>" + endif + if !exists("b:surround_35") " # + let b:surround_35 = "<%# \r %>" + endif + if !exists("b:surround_101") || b:surround_101 == "<% \r %>\n<% end %>" "e + let b:surround_5 = "<% \r -%>\n<% end -%>" + let b:surround_69 = "<% \1expr: \1 -%>\r<% end -%>" + let b:surround_101 = "<% \r -%>\n<% end -%>" + endif + endif + endif +endfunction + +" }}}1 +" Autocommands {{{1 + +augroup railsPluginAuto + autocmd! + autocmd User BufEnterRails call s:RefreshBuffer() + autocmd User BufEnterRails call s:resetomnicomplete() + autocmd User BufEnterRails call s:BufDatabase(-1) + autocmd BufWritePost */config/database.yml unlet! s:dbext_type_{s:rv()} " Force reload + autocmd BufWritePost */test/test_helper.rb call s:cacheclear("user_asserts") + autocmd BufWritePost */config/routes.rb call s:cacheclear("named_routes") + autocmd FileType * if exists("b:rails_root") | call s:BufSettings() | endif + autocmd Syntax ruby,eruby,yaml,haml,javascript,railslog if exists("b:rails_root") | call s:BufSyntax() | endif + silent! autocmd QuickFixCmdPre make* call s:QuickFixCmdPre() + silent! autocmd QuickFixCmdPost make* call s:QuickFixCmdPost() +augroup END + +" }}}1 +" Initialization {{{1 + +map xx xx +let s:sid = s:sub(maparg("xx"),'xx$','') +unmap xx +let s:file = expand(':p') + +" }}}1 + +let &cpo = s:cpo_save + +" vim:set sw=2 sts=2: diff --git a/.vim/autoload/vimclojure.vim b/.vim/autoload/vimclojure.vim new file mode 100644 index 0000000..813774a --- /dev/null +++ b/.vim/autoload/vimclojure.vim @@ -0,0 +1,672 @@ +" Part of Vim filetype plugin for Clojure +" Language: Clojure +" Maintainer: Meikel Brandmeyer + +let s:save_cpo = &cpo +set cpo&vim + +function! vimclojure#SynIdName() + return synIDattr(synID(line("."), col("."), 0), "name") +endfunction + +function! vimclojure#WithSaved(closure) + let v = a:closure.get(a:closure.tosafe) + let r = a:closure.f() + call a:closure.set(a:closure.tosafe, v) + return r +endfunction + +function! vimclojure#WithSavedPosition(closure) + let a:closure['tosafe'] = "." + let a:closure['get'] = function("getpos") + let a:closure['set'] = function("setpos") + return vimclojure#WithSaved(a:closure) +endfunction + +function! vimclojure#WithSavedRegister(closure) + let a:closure['get'] = function("getreg") + let a:closure['set'] = function("setreg") + return vimclojure#WithSaved(a:closure) +endfunction + +function! vimclojure#Yank(r, how) + let closure = {'tosafe': a:r, 'yank': a:how} + + function closure.f() dict + silent execute self.yank + return getreg(self.tosafe) + endfunction + + return vimclojure#WithSavedRegister(closure) +endfunction + +function! vimclojure#EscapePathForOption(path) + let path = fnameescape(a:path) + + " Hardcore escapeing of whitespace... + let path = substitute(path, '\', '\\\\', 'g') + let path = substitute(path, '\ ', '\\ ', 'g') + + return path +endfunction + +function! vimclojure#AddPathToOption(path, option) + let path = vimclojure#EscapePathForOption(a:path) + execute "setlocal " . a:option . "+=" . path +endfunction + +function! vimclojure#AddCompletions(ns) + let completions = split(globpath(&rtp, "ftplugin/clojure/completions-" . a:ns . ".txt"), '\n') + if completions != [] + call vimclojure#AddPathToOption('k' . completions[0], 'complete') + endif +endfunction + +" Nailgun part: +function! vimclojure#ExtractSexpr(toplevel) + let closure = { "flag" : (a:toplevel ? "r" : "") } + + function closure.f() dict + if searchpairpos('(', '', ')', 'bW' . self.flag, + \ 'vimclojure#SynIdName() !~ "clojureParen\\d"') != [0, 0] + return vimclojure#Yank('l', 'normal! "ly%') + end + return "" + endfunction + + return vimclojure#WithSavedPosition(closure) +endfunction + +function! vimclojure#BufferName() + let file = expand("%") + if file == "" + let file = "UNNAMED" + endif + return file +endfunction + +" Key mappings and Plugs +function! vimclojure#MakePlug(mode, plug, f) + execute a:mode . "noremap Clojure" . a:plug + \ . " :call " . a:f . "" +endfunction + +function! vimclojure#MapPlug(mode, keys, plug) + if !hasmapto("Clojure" . a:plug) + execute a:mode . "map " . a:keys + \ . " Clojure" . a:plug + endif +endfunction + +" A Buffer... +let vimclojure#Buffer = {} + +function! vimclojure#Buffer.goHere() dict + execute "buffer! " . self._buffer +endfunction + +function! vimclojure#Buffer.resize() dict + call self.goHere() + let size = line("$") + if size < 3 + let size = 3 + endif + execute "resize " . size +endfunction + +function! vimclojure#Buffer.showText(text) dict + call self.goHere() + if type(a:text) == type("") + let text = split(a:text, '\n') + else + let text = a:text + endif + call append(line("$"), text) +endfunction + +function! vimclojure#Buffer.close() dict + execute "bdelete! " . self._buffer +endfunction + +" The transient buffer, used to display results. +let vimclojure#PreviewWindow = copy(vimclojure#Buffer) + +function! vimclojure#PreviewWindow.New() dict + pclose! + + execute &previewheight . "new" + set previewwindow + set winfixheight + + setlocal noswapfile + setlocal buftype=nofile + setlocal bufhidden=wipe + + let leader = exists("g:maplocalleader") ? g:maplocalleader : "\\" + + call append(0, "; Use " . leader . "p to close this buffer!") + + return copy(self) +endfunction + +function! vimclojure#PreviewWindow.goHere() dict + wincmd P +endfunction + +function! vimclojure#PreviewWindow.close() dict + pclose +endfunction + +" Nails +if !exists("vimclojure#NailgunClient") + let vimclojure#NailgunClient = "ng" +endif + +function! vimclojure#ExecuteNailWithInput(nail, input, ...) + if type(a:input) == type("") + let input = split(a:input, '\n', 1) + else + let input = a:input + endif + + let inputfile = tempname() + try + call writefile(input, inputfile) + + let cmdline = [g:vimclojure#NailgunClient, + \ "de.kotka.vimclojure.nails." . a:nail] + \ + map(copy(a:000), 'shellescape(v:val)') + let cmd = join(cmdline, " ") . " <" . inputfile + + let result = system(cmd) + + if v:shell_error + echoerr "Couldn't execute Nail! " + \ . substitute(result, '\n\(\t\?\)', ' ', 'g') + endif + finally + call delete(inputfile) + endtry + + return substitute(result, '\n$', '', '') +endfunction + +function! vimclojure#ExecuteNail(nail, ...) + return call(function("vimclojure#ExecuteNailWithInput"), [a:nail, ""] + a:000) +endfunction + +function! vimclojure#FilterNail(nail, rngStart, rngEnd, ...) + let cmdline = [g:vimclojure#NailgunClient, + \ "de.kotka.vimclojure.nails." . a:nail] + \ + map(copy(a:000), 'shellescape(v:val)') + let cmd = a:rngStart . "," . a:rngEnd . "!" . join(cmdline, " ") + + silent execute cmd +endfunction + +function! vimclojure#DocLookup(word) + let docs = vimclojure#ExecuteNailWithInput("DocLookup", a:word, + \ "-n", b:vimclojure_namespace) + let resultBuffer = g:vimclojure#PreviewWindow.New() + call resultBuffer.showText(docs) + wincmd p +endfunction + +function! vimclojure#FindDoc() + let pattern = input("Pattern to look for: ") + let result = vimclojure#ExecuteNailWithInput("FindDoc", pattern) + + let resultBuffer = g:vimclojure#PreviewWindow.New() + call resultBuffer.showText(result) + + wincmd p +endfunction + +let s:DefaultJavadocPaths = { + \ "java" : "http://java.sun.com/javase/6/docs/api/", + \ "org/apache/commons/beanutils" : "http://commons.apache.org/beanutils/api/", + \ "org/apache/commons/chain" : "http://commons.apache.org/chain/api-release/", + \ "org/apache/commons/cli" : "http://commons.apache.org/cli/api-release/", + \ "org/apache/commons/codec" : "http://commons.apache.org/codec/api-release/", + \ "org/apache/commons/collections" : "http://commons.apache.org/collections/api-release/", + \ "org/apache/commons/logging" : "http://commons.apache.org/logging/apidocs/", + \ "org/apache/commons/mail" : "http://commons.apache.org/email/api-release/", + \ "org/apache/commons/io" : "http://commons.apache.org/io/api-release/" + \ } + +if !exists("vimclojure#JavadocPathMap") + let vimclojure#JavadocPathMap = {} +endif + +for k in keys(s:DefaultJavadocPaths) + if !has_key(vimclojure#JavadocPathMap, k) + let vimclojure#JavadocPathMap[k] = s:DefaultJavadocPaths[k] + endif +endfor + +if !exists("vimclojure#Browser") + if has("win32") || has("win64") + let vimclojure#Browser = "start" + elseif has("mac") + let vimclojure#Browser = "open" + else + let vimclojure#Browser = "firefox -new-window" + endif +endif + +function! vimclojure#JavadocLookup(word) + let word = substitute(a:word, "\\.$", "", "") + let path = vimclojure#ExecuteNailWithInput("JavadocPath", word, + \ "-n", b:vimclojure_namespace) + + let match = "" + for pattern in keys(g:vimclojure#JavadocPathMap) + if path =~ "^" . pattern && len(match) < len(pattern) + let match = pattern + endif + endfor + + if match == "" + throw "No matching Javadoc URL found for " . path + endif + + let url = g:vimclojure#JavadocPathMap[match] . path + call system(join([g:vimclojure#Browser, url], " ")) +endfunction + +function! vimclojure#MetaLookup(word) + let docs = vimclojure#ExecuteNailWithInput("MetaLookup", a:word, + \ "-n", b:vimclojure_namespace) + let resultBuffer = g:vimclojure#PreviewWindow.New() + call resultBuffer.showText(docs) + setfiletype clojure + wincmd p +endfunction + +function! vimclojure#SourceLookup(word) + let source = vimclojure#ExecuteNailWithInput("SourceLookup", a:word, + \ "-n", b:vimclojure_namespace) + let resultBuffer = g:vimclojure#PreviewWindow.New() + call resultBuffer.showText(source) + setfiletype clojure + wincmd p +endfunction + +function! vimclojure#GotoSource(word) + let result = vimclojure#ExecuteNailWithInput("SourceLocation", a:word, + \ "-n", b:vimclojure_namespace) + execute "let pos = " . result + + if !filereadable(pos.file) + let file = findfile(pos.file) + if file == "" + echoerr pos.file . " not found in 'path'" + return + endif + let pos.file = file + endif + + execute "edit " . pos.file + execute pos.line +endfunction + +" Evaluators +function! vimclojure#MacroExpand(firstOnly) + let sexp = vimclojure#ExtractSexpr(0) + let ns = b:vimclojure_namespace + + let resultBuffer = g:vimclojure#PreviewWindow.New() + + let cmd = ["MacroExpand", sexp, "-n", ns] + if a:firstOnly + let cmd = cmd + [ "-o" ] + endif + + let result = call(function("vimclojure#ExecuteNailWithInput"), cmd) + call resultBuffer.showText(result) + setfiletype clojure + + wincmd p +endfunction + +function! vimclojure#RequireFile(all) + let ns = b:vimclojure_namespace + let all = a:all ? "-all" : "" + + let resultBuffer = g:vimclojure#PreviewWindow.New() + + let require = "(require :reload" . all . " :verbose '". ns. ")" + let result = vimclojure#ExecuteNailWithInput("Repl", require, "-r") + + call resultBuffer.showText(result) + setfiletype clojure + + wincmd p +endfunction + +function! vimclojure#EvalFile() + let content = getbufline(bufnr("%"), 1, line("$")) + let file = vimclojure#BufferName() + let ns = b:vimclojure_namespace + + let result = vimclojure#ExecuteNailWithInput("Repl", content, + \ "-r", "-n", ns, "-f", file) + + let resultBuffer = g:vimclojure#PreviewWindow.New() + call resultBuffer.showText(result) + setfiletype clojure + + wincmd p +endfunction + +function! vimclojure#EvalLine() + let theLine = line(".") + let content = getline(theLine) + let file = vimclojure#BufferName() + let ns = b:vimclojure_namespace + + let result = vimclojure#ExecuteNailWithInput("Repl", content, + \ "-r", "-n", ns, "-f", file, "-l", theLine) + + let resultBuffer = g:vimclojure#PreviewWindow.New() + call resultBuffer.showText(result) + setfiletype clojure + + wincmd p +endfunction + +function! vimclojure#EvalBlock() range + let file = vimclojure#BufferName() + let ns = b:vimclojure_namespace + + let content = getbufline(bufnr("%"), a:firstline, a:lastline) + let result = vimclojure#ExecuteNailWithInput("Repl", content, + \ "-r", "-n", ns, "-f", file, "-l", a:firstline - 1) + + let resultBuffer = g:vimclojure#PreviewWindow.New() + call resultBuffer.showText(result) + setfiletype clojure + + wincmd p +endfunction + +function! vimclojure#EvalToplevel() + let file = vimclojure#BufferName() + let ns = b:vimclojure_namespace + + let pos = searchpairpos('(', '', ')', 'bWnr', + \ 'vimclojure#SynIdName() !~ "clojureParen\\d"') + + if pos == [0, 0] + throw "Error: Not in toplevel expression!" + endif + + let expr = vimclojure#ExtractSexpr(1) + let result = vimclojure#ExecuteNailWithInput("Repl", expr, + \ "-r", "-n", ns, "-f", file, "-l", pos[0] - 1) + + let resultBuffer = g:vimclojure#PreviewWindow.New() + call resultBuffer.showText(result) + setfiletype clojure + + wincmd p +endfunction + +function! vimclojure#EvalParagraph() + let file = vimclojure#BufferName() + let ns = b:vimclojure_namespace + let startPosition = line(".") + + let closure = {} + + function! closure.f() dict + normal! } + return line(".") + endfunction + + let endPosition = vimclojure#WithSavedPosition(closure) + + let content = getbufline(bufnr("%"), startPosition, endPosition) + let result = vimclojure#ExecuteNailWithInput("Repl", content, + \ "-r", "-n", ns, "-f", file, "-l", startPosition - 1) + + let resultBuffer = g:vimclojure#PreviewWindow.New() + call resultBuffer.showText(result) + setfiletype clojure + + wincmd p +endfunction + +" The Repl +let vimclojure#Repl = copy(vimclojure#Buffer) + +let vimclojure#Repl._prompt = "Clojure=>" +let vimclojure#Repl._history = [] +let vimclojure#Repl._historyDepth = 0 +let vimclojure#Repl._replCommands = [ ",close", ",st", ",ct" ] + +function! vimclojure#Repl.New() dict + let instance = copy(self) + + new + setlocal buftype=nofile + setlocal noswapfile + + if !hasmapto("ClojureReplEnterHook") + imap ClojureReplEnterHook + endif + if !hasmapto("ClojureReplUpHistory") + imap ClojureReplUpHistory + endif + if !hasmapto("ClojureReplDownHistory") + imap ClojureReplDownHistory + endif + + call append(line("$"), ["Clojure", self._prompt . " "]) + + let instance._id = vimclojure#ExecuteNail("Repl", "-s") + call vimclojure#ExecuteNailWithInput("Repl", + \ "(require 'clojure.contrib.stacktrace)", "-r", + \ "-i", instance._id) + let instance._buffer = bufnr("%") + + let b:vimclojure_repl = instance + + setfiletype clojure + + normal! G + startinsert! +endfunction + +function! vimclojure#Repl.isReplCommand(cmd) dict + for candidate in self._replCommands + if candidate == a:cmd + return 1 + endif + endfor + return 0 +endfunction + +function! vimclojure#Repl.doReplCommand(cmd) dict + if a:cmd == ",close" + call vimclojure#ExecuteNail("Repl", "-S", "-i", self._id) + call self.close() + stopinsert + elseif a:cmd == ",st" + let result = vimclojure#ExecuteNailWithInput("Repl", + \ "(clojure.contrib.stacktrace/print-stack-trace *e)", "-r", + \ "-i", self._id) + call self.showText(result) + call self.showText(self._prompt . " ") + normal! G + startinsert! + elseif a:cmd == ",ct" + let result = vimclojure#ExecuteNailWithInput("Repl", + \ "(clojure.contrib.stacktrace/print-cause-trace *e)", "-r", + \ "-i", self._id) + call self.showText(result) + call self.showText(self._prompt . " ") + normal! G + startinsert! + endif +endfunction + +function! vimclojure#Repl.showPrompt() dict + call self.showText(self._prompt . " ") + normal! G + startinsert! +endfunction + +function! vimclojure#Repl.getCommand() dict + let ln = line("$") + + while getline(ln) !~ "^" . self._prompt && ln > 0 + let ln = ln - 1 + endwhile + + " Special Case: User deleted Prompt by accident. Insert a new one. + if ln == 0 + call self.showPrompt() + return "" + endif + + let cmd = vimclojure#Yank("l", ln . "," . line("$") . "yank l") + + let cmd = substitute(cmd, "^" . self._prompt . "\\s*", "", "") + let cmd = substitute(cmd, "\n$", "", "") + return cmd +endfunction + +function! vimclojure#Repl.enterHook() dict + let cmd = self.getCommand() + + " Special Case: Showed prompt (or user just hit enter). + if cmd == "" + return + endif + + if self.isReplCommand(cmd) + call self.doReplCommand(cmd) + return + endif + + let result = vimclojure#ExecuteNailWithInput("CheckSyntax", cmd) + if result == "false" + execute "normal! GA\x" + normal! ==x + startinsert! + else + let result = vimclojure#ExecuteNailWithInput("Repl", cmd, + \ "-r", "-i", self._id) + call self.showText(result) + + let self._historyDepth = 0 + let self._history = [cmd] + self._history + call self.showPrompt() + endif +endfunction + +function! vimclojure#Repl.upHistory() dict + let histLen = len(self._history) + let histDepth = self._historyDepth + + if histLen > 0 && histLen > histDepth + let cmd = self._history[histDepth] + let self._historyDepth = histDepth + 1 + + call self.deleteLast() + + call self.showText(self._prompt . " " . cmd) + endif + + normal! G$ +endfunction + +function! vimclojure#Repl.downHistory() dict + let histLen = len(self._history) + let histDepth = self._historyDepth + + if histDepth > 0 && histLen > 0 + let self._historyDepth = histDepth - 1 + let cmd = self._history[self._historyDepth] + + call self.deleteLast() + + call self.showText(self._prompt . " " . cmd) + elseif histDepth == 0 + call self.deleteLast() + call self.showText(self._prompt . " ") + endif + + normal! G$ +endfunction + +function! vimclojure#Repl.deleteLast() dict + normal! G + + while getline("$") !~ self._prompt + normal! dd + endwhile + + normal! dd +endfunction + +" Highlighting +function! vimclojure#ColorNamespace(highlights) + for [category, words] in items(a:highlights) + if words != [] + execute "syntax keyword clojure" . category . " " . join(words, " ") + endif + endfor +endfunction + +" Omni Completion +function! vimclojure#OmniCompletion(findstart, base) + if a:findstart == 1 + let line = getline(".") + let start = col(".") - 1 + + while start > 0 && line[start - 1] =~ '\w\|-\|\.\|+\|*\|/' + let start -= 1 + endwhile + + return start + else + let slash = stridx(a:base, '/') + if slash > -1 + let prefix = strpart(a:base, 0, slash) + let base = strpart(a:base, slash + 1) + else + let prefix = "" + let base = a:base + endif + + let completions = vimclojure#ExecuteNail("Complete", + \ "-n", b:vimclojure_namespace, + \ "-p", prefix, "-b", base) + execute "let result = " . completions + return result + endif +endfunction + +function! vimclojure#InitBuffer() + if exists("g:clj_want_gorilla") && g:clj_want_gorilla == 1 + if !exists("b:vimclojure_namespace") + " Get the namespace of the buffer. + if &previewwindow + let b:vimclojure_namespace = "user" + else + try + let content = getbufline(bufnr("%"), 1, line("$")) + let b:vimclojure_namespace = + \ vimclojure#ExecuteNailWithInput( + \ "NamespaceOfFile", content) + catch /.*/ + endtry + endif + endif + endif +endfunction + +" Epilog +let &cpo = s:save_cpo diff --git a/.vim/bundle/syntastic b/.vim/bundle/syntastic new file mode 160000 index 0000000..7fc5246 --- /dev/null +++ b/.vim/bundle/syntastic @@ -0,0 +1 @@ +Subproject commit 7fc5246be4be9e1034e84266ae567a08e193f764 diff --git a/.vim/bundle/vimerl b/.vim/bundle/vimerl new file mode 160000 index 0000000..89111c7 --- /dev/null +++ b/.vim/bundle/vimerl @@ -0,0 +1 @@ +Subproject commit 89111c7d054a1e40b751295e8371ced53a868d94 diff --git a/.vim/colors/256-grayvim.vim b/.vim/colors/256-grayvim.vim new file mode 100644 index 0000000..fc81da0 --- /dev/null +++ b/.vim/colors/256-grayvim.vim @@ -0,0 +1,46 @@ +" Vim color file +" Maintainer: Piotr Husiatyński + +set background=dark +set t_Co=256 +let g:colors_name="256-grayvim" + +let python_highlight_all = 1 +let c_gnu = 1 + + +hi Normal ctermfg=253 ctermbg=235 cterm=None +hi Cursor ctermfg=Red ctermbg=None cterm=None +hi SpecialKey ctermfg=87 ctermbg=None cterm=Bold +hi Directory ctermfg=76 ctermbg=None cterm=None +hi ErrorMsg ctermfg=124 ctermbg=White cterm=None +hi PreProc ctermfg=246 ctermbg=None cterm=Bold +hi Search ctermfg=160 ctermbg=232 cterm=Bold +hi Type ctermfg=75 ctermbg=None cterm=Bold +hi Statement ctermfg=75 ctermbg=None cterm=None +hi Comment ctermfg=244 ctermbg=None cterm=None +hi Identifier ctermfg=111 ctermbg=None cterm=Bold +hi DiffText ctermfg=88 ctermbg=250 cterm=None +hi Constant ctermfg=208 ctermbg=None cterm=None +hi Todo ctermfg=233 ctermbg=118 cterm=Bold +hi Error ctermfg=233 ctermbg=124 cterm=Bold +hi Special ctermfg=160 ctermbg=None cterm=Bold +hi Ignore ctermfg=220 ctermbg=None cterm=Bold +hi Underline ctermfg=244 ctermbg=None cterm=None + +hi FoldColumn ctermfg=247 ctermbg=None cterm=Bold +hi StatusLineNC ctermfg=247 ctermbg=234 cterm=None +hi StatusLine ctermfg=247 ctermbg=233 cterm=Bold +hi VertSplit ctermfg=247 ctermbg=234 cterm=Bold + +hi LineNr ctermfg=238 ctermbg=244 cterm=Bold +hi LineNr ctermfg=247 ctermbg=235 cterm=Bold +hi NonText ctermfg=87 ctermbg=None cterm=Bold + + +hi Pmenu ctermfg=White ctermbg=DarkGray cterm=None +hi PmenuSel ctermfg=None ctermbg=Gray cterm=Bold +hi PmenuSbar ctermfg=DarkGray ctermbg=DarkGray cterm=None +hi PmenuThumb ctermfg=Gray ctermbg=Gray cterm=None + +"vim: sw=4 diff --git a/.vim/colors/256-jungle.vim b/.vim/colors/256-jungle.vim new file mode 100644 index 0000000..1ff3d79 --- /dev/null +++ b/.vim/colors/256-jungle.vim @@ -0,0 +1,50 @@ +" Vim color file +" Maintainer: Piotr Husiatyński + +set background=dark +set t_Co=256 +let g:colors_name="256-jungle" + +let python_highlight_all = 1 +let c_gnu = 1 + + +hi Normal ctermfg=253 ctermbg=234 cterm=None +hi Cursor ctermfg=253 ctermbg=57 cterm=None +hi SpecialKey ctermfg=70 ctermbg=None cterm=None +hi Directory ctermfg=57 ctermbg=254 cterm=None +hi ErrorMsg ctermfg=160 ctermbg=245 cterm=None +hi PreProc ctermfg=243 ctermbg=None cterm=Bold +hi Search ctermfg=125 ctermbg=None cterm=Bold +hi Type ctermfg=166 ctermbg=None cterm=Bold +hi Statement ctermfg=172 ctermbg=None cterm=Bold +hi Comment ctermfg=240 ctermbg=None cterm=None +hi LineNr ctermfg=244 ctermbg=233 cterm=None +hi NonText ctermfg=105 ctermbg=None cterm=Bold +hi DiffText ctermfg=165 ctermbg=244 cterm=None +hi Constant ctermfg=76 ctermbg=None cterm=None +hi Todo ctermfg=162 ctermbg=None cterm=Bold +hi Identifier ctermfg=142 ctermbg=None cterm=Bold +hi Error ctermfg=None ctermbg=196 cterm=Bold +hi Special ctermfg=172 ctermbg=None cterm=Bold +hi Ignore ctermfg=221 ctermbg=None cterm=Bold +hi Underline ctermfg=147 ctermbg=None cterm=Italic + +hi FoldColumn ctermfg=132 ctermbg=None cterm=None +hi Folded ctermfg=132 ctermbg=None cterm=Bold + +hi Visual ctermfg=248 ctermbg=238 cterm=None + +hi Pmenu ctermfg=62 ctermbg=233 cterm=None +hi PmenuSel ctermfg=69 ctermbg=232 cterm=Bold +hi PmenuSbar ctermfg=247 ctermbg=233 cterm=Bold +hi PmenuThumb ctermfg=248 ctermbg=233 cterm=None + +hi StatusLineNC ctermfg=248 ctermbg=239 cterm=None +hi StatusLine ctermfg=39 ctermbg=239 cterm=None +hi VertSplit ctermfg=239 ctermbg=239 cterm=None + +hi TabLine ctermfg=245 ctermbg=239 cterm=None +hi TabLineFill ctermfg=239 ctermbg=239 +hi TabLineSel ctermfg=104 ctermbg=236 cterm=Bold +"vim: sw=4 diff --git a/.vim/colors/3dglasses.vim b/.vim/colors/3dglasses.vim new file mode 100644 index 0000000..c220ae0 --- /dev/null +++ b/.vim/colors/3dglasses.vim @@ -0,0 +1,110 @@ +" Vim color file +" Name: 3dglasses +" Maintainer: Erik Falor +" Version: 1.1.1 +" +" Version 1.1.1: Modified MatchParen group so that Matching < > in XML +" files stand out better. +" +" Version 1.1: Added support for GetLatestVimScripts +" +" Version 1.0: Initial upload +" GetLatestVimScripts: 2019 1 :AutoInstall: 3dglasses.vim + +set background=dark +if version < 700 + finish +else + if exists("syntax_on") + hi clear + syntax reset + endif +endif + +"map :echo synIDattr(synID(line("."), col("."), 1), "name") +let g:colors_name="3dglasses" + +"3D Glasses palette +" {{{ +let s:White = ['#ffffff', '#dddddd', '#bbbbbb'] +let s:Black = ['#000000', '#001621', '#1B3641', '#00222B'] +let s:DarkBlue = ['#00117B', '#0D4CAD', '#01BEF6'] +let s:LightBlue = ['#004455', '#0088AA', '#00CCFF', '#55DDFF', '#80E5FF'] +let s:Red = ['#2b0000', '#800000', '#AA0000', '#FF0000', '#FF2A2A', '#FF5555'] +" }}} + +hi Normal guibg=#00222B guifg=#00ffff +execute "hi Normal guibg=" . s:Black[3] . " guifg=" . s:LightBlue[4] +execute "hi NonText guibg=" . s:Black[3] . " guifg=" . s:Red[1] + +" {{{ syntax +execute "hi Comment gui=italic guifg=" . s:LightBlue[2] +execute "hi Conditional gui=bold guifg=" . s:LightBlue[1] +execute "hi Constant gui=bold guifg=" . s:Red[2] +execute "hi Error guifg=" . s:Red[5] . " guibg=" . s:Red[0] +execute "hi Identifier gui=bold guifg=" . s:Red[3] +execute "hi Ignore guifg=" . s:Red[1] +execute "hi Operator gui=bold guifg=" . s:Red[5] +execute "hi PreProc gui=bold guifg=" . s:Red[3] +execute "hi Repeat gui=bold guifg=" . s:LightBlue[3] +execute "hi Special guifg=" . s:LightBlue[1] +execute "hi Statement gui=bold guifg=" . s:LightBlue[2] +execute "hi String guifg=" . s:DarkBlue[2] +execute "hi Title guifg=" . s:White[0] +execute "hi Todo gui=bold guisp=NONE guibg=NONE guifg=" . s:Red[4] +execute "hi Type guifg=" . s:LightBlue[4] +execute "hi Underlined gui=underline guifg=" . s:LightBlue[0] +" }}} + +" {{{ groups +"execute "hi CursorIM TODO +"execute "hi DiffAdd +"execute "hi DiffChange +"execute "hi DiffDelete +"execute "hi DiffText +execute "hi Directory guifg=" . s:LightBlue[0] +"execute "hi Scrollbar TODO +"execute "hi SignColumn +"execute "hi SpecialKey guifg=" . s:Red[2] +"execute "hi SpellBad +"execute "hi SpellCap +"execute "hi SpellLocal +"execute "hi SpellRare + +execute "hi Cursor guibg=" . s:DarkBlue[2] . " guifg=" . s:DarkBlue[0] +execute "hi CursorColumn guibg=" . s:Red[0] +execute "hi CursorLine guibg=" . s:Red[0] +execute "hi ErrorMsg guifg=" . s:White[0] . " guibg=" . s:Red[1] +execute "hi FoldColumn guibg=" . s:Red[0] . " guifg=" . s:Red[2] +execute "hi Folded guibg=" . s:Red[0] . " guifg=" . s:Red[2] +execute "hi IncSearch gui=none guibg=" . s:Red[2] . " guifg=" . s:Red[0] +execute "hi LineNr guibg=" . s:Black[3] . " guifg=" . s:Red[3] +execute "hi MatchParen guibg=" . s:Red[2] +execute "hi ModeMsg guibg=NONE guifg=" . s:LightBlue[2] +execute "hi MoreMsg guibg=NONE guifg=" . s:Red[2] +execute "hi Pmenu guibg=" . s:LightBlue[3] . " guifg=" . s:DarkBlue[0] +execute "hi PmenuSbar guibg=" . s:LightBlue[3] . " guifg=" . s:Red[0] +execute "hi PmenuSel gui=bold guibg=" . s:LightBlue[3] . " guifg=" . s:Red[4] +execute "hi PmenuThumb guibg=" . s:LightBlue[3] . " guifg=" . s:Red[4] +execute "hi Question guifg=" . s:Red[2] +execute "hi Search gui=bold guisp=NONE guibg=" . s:LightBlue[4] +execute "hi StatusLine gui=none guibg=" . s:LightBlue[2] . " guifg=" . s:LightBlue[0] +execute "hi StatusLineNC gui=none guibg=" . s:Red[1] . " guifg=" . s:Red[4] +execute "hi TabLine guibg=" . s:Red[1] . " guifg=" . s:Red[3] +execute "hi TabLineFill guifg=" . s:Red[1] +execute "hi TabLineSel guibg=" . s:LightBlue[3] . " guifg=" . s:DarkBlue[0] +execute "hi Title gui=bold guifg=" . s:Red[3] +execute "hi VertSplit gui=none guibg=" . s:Red[1] . " guifg=" . s:Red[4] +execute "hi Visual guibg=" . s:Red[4] . " guifg=" . s:Red[0] +execute "hi VisualNOS gui=underline guibg=NONE" +execute "hi WarningMsg guifg=" . s:Red[3] +execute "hi WildMenu guifg=" . s:Red[0] . " guibg=" . s:Red[4] +" }}} + +" {{{ GUI +"hi Menu TODO +"hi Scrollbar TODO +execute "hi Tooltip gui=none guibg=" . s:LightBlue[0] . " guifg=" . s:White[1] +" }}} +" +" vim:foldmethod=marker: diff --git a/.vim/colors/BlackSea.vim b/.vim/colors/BlackSea.vim new file mode 100644 index 0000000..a98b7ca --- /dev/null +++ b/.vim/colors/BlackSea.vim @@ -0,0 +1,37 @@ +" Vim color file +" Maintainer: Gerald S. Williams +" Last Change: 2007 Jun 13 + +" This is a dark version/opposite of "seashell". The cterm version of this is +" very similar to "evening". +" +" Only values that differ from defaults are specified. + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "BlackSea" + +hi Normal guibg=Black guifg=seashell ctermfg=White +hi NonText guifg=LavenderBlush ctermfg=LightMagenta +hi DiffDelete guibg=DarkRed guifg=Black ctermbg=DarkRed ctermfg=White +hi DiffAdd guibg=DarkGreen ctermbg=DarkGreen ctermfg=White +hi DiffChange guibg=Gray30 ctermbg=DarkCyan ctermfg=White +hi DiffText gui=NONE guibg=DarkCyan ctermbg=DarkCyan ctermfg=Yellow +hi Comment guifg=LightBlue +hi PreProc ctermfg=Magenta +hi StatusLine guibg=#1f001f guifg=DarkSeaGreen cterm=NONE ctermfg=White ctermbg=DarkGreen +hi StatusLineNC guifg=Gray +hi VertSplit guifg=Gray +hi Type gui=NONE +hi Identifier guifg=Cyan +hi Statement guifg=brown3 ctermfg=DarkRed +hi Search guibg=Gold3 ctermfg=White +hi Folded guibg=gray20 +hi FoldColumn guibg=gray10 + +" Original values: +"hi Constant guifg=DeepPink +"hi PreProc guifg=Magenta ctermfg=Magenta diff --git a/.vim/colors/ChocolateLiquor.vim b/.vim/colors/ChocolateLiquor.vim new file mode 100644 index 0000000..9dfa712 --- /dev/null +++ b/.vim/colors/ChocolateLiquor.vim @@ -0,0 +1,36 @@ +" Vim color file +" Maintainer: Gerald S. Williams +" Last Change: 2007 Jun 13 + +" This started as a dark version (perhaps opposite is a better term) of +" PapayaWhip, but took on a life of its own. Easy on the eyes, but still has +" good contrast. Not bad on a color terminal, either (especially if yours +" default to PapayaWhip text on a ChocolateLiquor/#3f1f1f background). +" +" Only values that differ from defaults are specified. + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "ChocolateLiquor" + +hi Normal guibg=#3f1f1f guifg=PapayaWhip ctermfg=White +hi NonText guibg=#1f0f0f guifg=Brown2 ctermfg=Brown ctermbg=Black +hi LineNr guibg=#1f0f0f guifg=Brown2 +hi DiffDelete guibg=DarkRed guifg=White ctermbg=DarkRed ctermfg=White +hi DiffAdd guibg=DarkGreen guifg=White ctermbg=DarkGreen ctermfg=White +hi DiffText gui=NONE guibg=DarkCyan guifg=Yellow ctermbg=DarkCyan ctermfg=Yellow +hi DiffChange guibg=DarkCyan guifg=White ctermbg=DarkCyan ctermfg=White +hi Constant ctermfg=Red +hi Comment guifg=LightBlue3 +hi PreProc guifg=Plum ctermfg=Magenta +hi StatusLine guibg=White guifg=Sienna4 cterm=NONE ctermfg=Black ctermbg=Brown +hi StatusLineNC gui=NONE guifg=Black guibg=Gray ctermbg=Black ctermfg=Gray +hi VertSplit guifg=Gray +hi Search guibg=Gold3 ctermfg=Blue +hi Type gui=NONE guifg=DarkSeaGreen2 +hi Statement gui=NONE guifg=Gold3 +hi FoldColumn guibg=#1f0f0f ctermfg=Cyan ctermbg=Black +hi Folded guibg=grey20 ctermfg=Cyan ctermbg=Black diff --git a/.vim/colors/ChocolatePapaya.vim b/.vim/colors/ChocolatePapaya.vim new file mode 100644 index 0000000..d0f2343 --- /dev/null +++ b/.vim/colors/ChocolatePapaya.vim @@ -0,0 +1,52 @@ +" Vim color file +" Maintainer: Gerald S. Williams +" Last Change: 2007 Jun 13 +" +" This is merely a combination of PapayaWhip and ChocolateLiquor, which +" started out as light and dark versions of each other anyway. + +let s:ChocolatePapaya_style = &background +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "ChocolatePapaya" + +if s:ChocolatePapaya_style == 'light' + hi Normal guifg=#3f1f1f guibg=PapayaWhip ctermbg=Gray ctermfg=Black + hi NonText guibg=Moccasin guifg=Brown ctermfg=Brown + hi LineNr guibg=Moccasin + hi DiffDelete guibg=LightRed guifg=Black ctermbg=DarkRed ctermfg=White + hi DiffAdd guibg=LightGreen ctermbg=DarkGreen ctermfg=White + hi DiffChange guibg=LightCyan3 ctermbg=DarkCyan ctermfg=White + hi DiffText gui=NONE guibg=Gray80 ctermbg=DarkCyan ctermfg=Yellow + hi Comment guifg=MediumBlue + hi Constant guifg=DeepPink + hi PreProc guifg=DarkMagenta + hi StatusLine guibg=White guifg=#5f3705 cterm=bold ctermbg=Brown ctermfg=White + hi StatusLineNC gui=None guibg=Gray + hi VertSplit gui=None guibg=Gray + hi Identifier guifg=#005f5f + hi Statement ctermfg=DarkRed + hi MatchParen guibg=burlywood +else + hi Normal guibg=#3f1f1f guifg=PapayaWhip ctermfg=White + hi NonText guibg=#1f0f0f guifg=Brown2 ctermfg=Brown ctermbg=Black + hi LineNr guibg=#1f0f0f guifg=Brown2 + hi DiffDelete guibg=DarkRed guifg=White ctermbg=DarkRed ctermfg=White + hi DiffAdd guibg=DarkGreen guifg=White ctermbg=DarkGreen ctermfg=White + hi DiffText gui=NONE guibg=DarkCyan guifg=Yellow ctermbg=DarkCyan ctermfg=Yellow + hi DiffChange guibg=DarkCyan guifg=White ctermbg=DarkCyan ctermfg=White + hi Constant ctermfg=Red + hi Comment guifg=LightBlue3 + hi PreProc guifg=Plum ctermfg=Magenta + hi StatusLine guibg=White guifg=Sienna4 cterm=NONE ctermfg=Black ctermbg=Brown + hi StatusLineNC gui=NONE guifg=Black guibg=Gray ctermbg=Black ctermfg=Gray + hi VertSplit guifg=Gray + hi Search guibg=Gold3 ctermfg=Blue + hi Type gui=NONE guifg=DarkSeaGreen2 + hi Statement gui=NONE guifg=Gold3 + hi FoldColumn guibg=#1f0f0f ctermfg=Cyan ctermbg=Black + hi Folded guibg=grey20 ctermfg=Cyan ctermbg=Black +endif diff --git a/.vim/colors/CodeFactoryv3.vim b/.vim/colors/CodeFactoryv3.vim new file mode 100644 index 0000000..292e0e1 --- /dev/null +++ b/.vim/colors/CodeFactoryv3.vim @@ -0,0 +1,266 @@ +" Vim color file +" Name: openbsd +" Author: Dee Sub Wun + + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "openbsd" + +"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" GUI " +"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + + +"""""" +" SYNTAX HIGHLIGHTING +"""""""""""""""""""""""" +hi Constant gui=NONE guifg=#93BF3D guibg=NONE +hi String gui=NONE guifg=#AFAFBE guibg=NONE +hi Character gui=NONE guifg=#EBAF12 guibg=NONE +hi Number gui=NONE guifg=#AFAFBE guibg=NONE +hi Boolean gui=NONE guifg=#AFAFBE guibg=NONE +hi Float gui=NONE guifg=#AFAFBE guibg=NONE +hi Comment gui=italic guifg=#009AB5 guibg=NONE + +hi Identifier gui=NONE guifg=#BF3131 guibg=NONE +hi Function gui=NONE guifg=#DEDEDE guibg=NONE + +hi Statement gui=bold guifg=#EBAF12 guibg=NONE +hi Conditional gui=bold guifg=#EBAF12 guibg=NONE +hi Repeat gui=bold guifg=#EBAF12 guibg=NONE +hi Label gui=bold guifg=#EBAF12 guibg=NONE +hi Operator gui=NONE guifg=#808080 guibg=NONE +hi Keyword gui=bold guifg=#EBAF12 guibg=NONE +hi Exception gui=NONE guifg=#C067CC guibg=NONE + +hi PreProc gui=NONE guifg=#C067CC guibg=NONE +hi Include gui=NONE guifg=#C067CC guibg=NONE +hi Define gui=NONE guifg=#C067CC guibg=NONE +hi Macro gui=NONE guifg=#C067CC guibg=NONE +hi PreCondit gui=NONE guifg=#C067CC guibg=NONE + +hi Type gui=NONE guifg=#93BF3D guibg=NONE +hi StorageClass gui=NONE guifg=#93BF3D guibg=NONE +hi Structure gui=NONE guifg=#93BF3D guibg=NONE +hi Typedef gui=NONE guifg=#93BF3D guibg=NONE + +hi Special gui=NONE guifg=#BF3131 guibg=NONE +hi SpecialChar gui=NONE guifg=#BF3131 guibg=NONE +hi Tag gui=NONE guifg=#BF3131 guibg=NONE +hi Delimiter gui=NONE guifg=#BF3131 guibg=NONE +hi SpecialComment gui=NONE guifg=#BF3131 guibg=NONE +hi Debug gui=NONE guifg=#BF3131 guibg=NONE + +hi Underlined gui=underline guifg=#505050 guibg=NONE + +hi Ignore gui=NONE guifg=#222222 guibg=NONE + +hi Error gui=bold guifg=#FFFFFF guibg=#BF3131 + +hi Todo gui=NONE guifg=#505050 guibg=#93BF3D + + +"""""" +" INTERFACE +"""""""""""""""""""""""" +hi Cursor gui=bold guifg=#000000 guibg=#FFFFFF +hi Directory gui=NONE guifg=#93BF3D guibg=NONE +hi ErrorMsg gui=bold guifg=#FFFFFF guibg=#BF3131 +hi LineNr gui=NONE guifg=#222222 guibg=#979797 +hi MatchParen gui=bold guifg=#000000 guibg=#93BF3D +hi ModeMsg gui=NONE guifg=#EBAF12 guibg=NONE +hi MoreMsg gui=NONE guifg=#93BF3D guibg=NONE +hi NonText gui=bold guifg=#0F629E guibg=NONE +hi Normal gui=NONE guifg=#DEDEDE guibg=#4A4A4A +hi Question gui=NONE guifg=#93BF3D guibg=NONE +hi SpecialKey gui=NONE guifg=#93BF3D guibg=NONE +hi Title gui=NONE guifg=#C067CC guibg=NONE +hi VertSplit gui=reverse guifg=#222222 guibg=#979797 +hi WarningMsg gui=NONE guifg=#FFFFFF guibg=#BF3131 +hi WildMenu gui=NONE guifg=#000000 guibg=#EBAF12 + + +"""""" +" TABS +"""""""""""""""""""""""" +hi TabLine gui=bold,reverse guifg=#222222 guibg=#000000 +hi TabLineFill gui=bold,reverse guifg=#222222 guibg=#505050 +hi TabLineSel gui=bold,reverse guifg=#EBAF12 guibg=#000000 + + +"""""" +" COMPLETION +"""""""""""""""""""""""" +hi Pmenu gui=NONE guifg=#DEDEDE guibg=#0F629E +hi PmenuSel gui=NONE guifg=#000000 guibg=#EBAF12 + + +"""""" +" STATUS +"""""""""""""""""""""""" +hi StatusLine gui=bold,reverse guifg=#EBAF12 guibg=#000000 +hi StatusLineNC gui=bold,reverse guifg=#222222 guibg=#979797 + + +"""""" +" DIFF +"""""""""""""""""""""""" +hi DiffAdd gui=NONE guifg=NONE guibg=#0F629E +hi DiffChange gui=NONE guifg=NONE guibg=#C067CC +hi DiffDelete gui=bold guifg=#0F629E guibg=#009AB5 +hi DiffText gui=bold guibg=#BF3131 guibg=NONE + + +"""""" +" VISUAL +"""""""""""""""""""""""" +hi Visual gui=NONE guifg=#FFFFFF guibg=#0F629E +hi VisualNOS gui=bold,underline guifg=NONE guibg=NONE + + +"""""" +" FOLDING +"""""""""""""""""""""""" +hi Folded gui=NONE guifg=#222222 guibg=NONE +hi FoldColumn gui=NONE guifg=#222222 guibg=NONE + + +"""""" +" SEARCH +"""""""""""""""""""""""" +hi IncSearch gui=NONE guifg=#FFFFFF guibg=#93BF3D +hi Search gui=NONE guifg=#FFFFFF guibg=#93BF3D + + + + +"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" NO GUI " +"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + + +"""""" +" SYNTAX HIGHLIGHTING +"""""""""""""""""""""""" +hi Constant cterm=NONE ctermfg=darkgreen ctermbg=NONE +hi String cterm=NONE ctermfg=darkgrey ctermbg=NONE +hi Character cterm=NONE ctermfg=brown ctermbg=NONE +hi Number cterm=NONE ctermfg=darkgrey ctermbg=NONE +hi Boolean cterm=NONE ctermfg=darkgrey ctermbg=NONE +hi Float cterm=NONE ctermfg=darkgrey ctermbg=NONE +hi Comment cterm=NONE ctermfg=darkcyan ctermbg=NONE + +hi Identifier cterm=NONE ctermfg=darkred ctermbg=NONE +hi Function cterm=NONE ctermfg=grey ctermbg=NONE + +hi Statement cterm=NONE ctermfg=yellow ctermbg=NONE +hi Conditional cterm=NONE ctermfg=yellow ctermbg=NONE +hi Repeat cterm=NONE ctermfg=yellow ctermbg=NONE +hi Label cterm=NONE ctermfg=yellow ctermbg=NONE +hi Operator cterm=NONE ctermfg=grey ctermbg=NONE +hi Keyword cterm=NONE ctermfg=yellow ctermbg=NONE +hi Exception cterm=NONE ctermfg=darkmagenta ctermbg=NONE + +hi PreProc cterm=NONE ctermfg=darkmagenta ctermbg=NONE +hi Include cterm=NONE ctermfg=darkmagenta ctermbg=NONE +hi Define cterm=NONE ctermfg=darkmagenta ctermbg=NONE +hi Macro cterm=NONE ctermfg=darkmagenta ctermbg=NONE +hi PreCondit cterm=NONE ctermfg=darkmagenta ctermbg=NONE + +hi Type cterm=NONE ctermfg=darkgreen ctermbg=NONE +hi StorageClass cterm=NONE ctermfg=darkgreen ctermbg=NONE +hi Structure cterm=NONE ctermfg=darkgreen ctermbg=NONE +hi Typedef cterm=NONE ctermfg=darkgreen ctermbg=NONE + +hi Special cterm=NONE ctermfg=darkred ctermbg=NONE +hi SpecialChar cterm=NONE ctermfg=darkred ctermbg=NONE +hi Tag cterm=NONE ctermfg=darkred ctermbg=NONE +hi Delimiter cterm=NONE ctermfg=darkred ctermbg=NONE +hi SpecialComment cterm=NONE ctermfg=darkred ctermbg=NONE +hi Debug cterm=NONE ctermfg=darkred ctermbg=NONE + +hi Underlined cterm=underline ctermfg=grey ctermbg=NONE + +hi Ignore cterm=NONE ctermfg=darkgrey ctermbg=NONE + +hi Error cterm=NONE ctermfg=white ctermbg=darkred + +hi Todo cterm=NONE ctermfg=grey ctermbg=darkgreen + + +"""""" +" INTERFACE +"""""""""""""""""""""""" +hi Cursor cterm=NONE ctermfg=black ctermbg=brown +hi Directory cterm=NONE ctermfg=darkgreen ctermbg=NONE +hi ErrorMsg cterm=NONE ctermfg=white ctermbg=darkred +hi LineNr cterm=NONE ctermfg=darkgrey ctermbg=NONE +hi MatchParen cterm=NONE ctermfg=black ctermbg=green +hi ModeMsg cterm=NONE ctermfg=brown ctermbg=NONE +hi MoreMsg cterm=NONE ctermfg=darkgreen ctermbg=NONE +hi NonText cterm=NONE ctermfg=darkblue ctermbg=NONE +hi Question cterm=NONE ctermfg=green ctermbg=NONE +hi SpecialKey cterm=NONE ctermfg=darkgreen ctermbg=NONE +hi Title cterm=NONE ctermfg=darkmagenta ctermbg=NONE +hi VertSplit cterm=bold,reverse ctermfg=darkgrey ctermbg=black +hi WarningMsg cterm=NONE ctermfg=white ctermbg=darkred +hi WildMenu cterm=NONE ctermfg=black ctermbg=brown + + +"""""" +" TABS +"""""""""""""""""""""""" +hi TabLine cterm=bold,reverse ctermfg=darkgrey ctermbg=black +hi TabLineFill cterm=bold,reverse ctermfg=darkgrey ctermbg=grey +hi TabLineSel cterm=bold,reverse ctermfg=brown ctermbg=black + + +"""""" +" COMPLETION +"""""""""""""""""""""""" +hi Pmenu cterm=reverse ctermfg=darkgrey ctermbg=black +hi PmenuSel cterm=bold ctermfg=black ctermbg=brown + + +"""""" +" STATUS +"""""""""""""""""""""""" +hi StatusLine cterm=bold,reverse ctermfg=brown ctermbg=black +hi StatusLineNC cterm=bold,reverse ctermfg=darkgrey ctermbg=black + + +"""""" +" DIFF +"""""""""""""""""""""""" +hi DiffAdd cterm=NONE ctermfg=NONE ctermbg=darkblue +hi DiffChange cterm=NONE ctermfg=NONE ctermbg=darkmagenta +hi DiffDelete cterm=NONE ctermfg=darkblue ctermbg=darkcyan +hi DiffText cterm=NONE ctermbg=darkred ctermbg=NONE + + +"""""" +" VISUAL +"""""""""""""""""""""""" +hi Visual cterm=reverse ctermfg=NONE ctermbg=NONE +hi VisualNOS cterm=bold,underline ctermfg=NONE ctermbg=NONE + + +"""""" +" FOLDING +"""""""""""""""""""""""" +hi Folded cterm=NONE ctermfg=darkgrey ctermbg=NONE +hi FoldColumn cterm=NONE ctermfg=darkgrey ctermbg=NONE + + +"""""" +" SEARCH +"""""""""""""""""""""""" +hi IncSearch cterm=NONE ctermfg=black ctermbg=green +hi Search cterm=NONE ctermfg=black ctermbg=green + + +"vim: sw=4 diff --git a/.vim/colors/DevC++.vim b/.vim/colors/DevC++.vim new file mode 100644 index 0000000..376f040 --- /dev/null +++ b/.vim/colors/DevC++.vim @@ -0,0 +1,32 @@ +" Vim color file +" Maintainer: Xi Chen +" Last Change: 22. december 2005. +" URL: http://www.acidplanet.com/hypernewbie +" The theme I always use from DEV-C++ +" Its the classic theme modified a little, carried +" over a little from Kate. +" Merry Christmas! + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="DevC++" + +hi Comment gui=italic guifg=#335EA8 guibg=NONE +hi Constant gui=NONE guifg=#004488 guibg=NONE +hi Identifier gui=NONE guifg=Black guibg=NONE +hi Statement gui=bold guifg=DarkBlue guibg=NONE +hi PreProc gui=NONE guifg=DarkGreen guibg=NONE +hi Type gui=bold guifg=DarkBlue guibg=NONE +hi Special gui=NONE guifg=#FF00FF guibg=NONE +hi String gui=NONE guifg=#969696 guibg=NONE +hi Number gui=NONE guifg=#660066 +hi Boolean gui=bold guifg=DarkBlue guibg=NONE +hi Gutter gui=NONE guifg=Black guibg=Grey +hi Todo gui=bold,italic guifg=White guibg=Pink +hi LineNr gui=italic guifg=Black guibg=#EBE9ED +hi NonText gui=bold guifg=Grey70 guibg=White +hi Visual gui=NONE guifg=DarkBlue guibg=White + diff --git a/.vim/colors/MountainDew.vim b/.vim/colors/MountainDew.vim new file mode 100644 index 0000000..51d4935 --- /dev/null +++ b/.vim/colors/MountainDew.vim @@ -0,0 +1,120 @@ +" Colorscheme created with ColorSchemeEditor v1.2.1 +"Name: MountainDew +"Maintainer: Erik Falor +"Version: 2.0 +"Last Change: 2008 May 01 +"License: Vim License + +"Notes: Do the Dew! +"Version 2.0 - Let's see if this is easier on the eyes. Made the normal background darker. + +set background=dark +if version > 580 + highlight clear + if exists("syntax_on") + syntax reset + endif +endif +let g:colors_name = "MountainDew" + +if v:version >= 700 + highlight CursorColumn guibg=#0F5123 gui=NONE + highlight CursorLine guibg=#0F5123 gui=NONE + highlight Pmenu guifg=#2FB457 guibg=#017550 gui=NONE + highlight PmenuSel guifg=#FF0000 guibg=#FFFF00 gui=bold + highlight PmenuSbar guibg=#017550 gui=NONE + highlight PmenuThumb guibg=#2FB457 gui=NONE + highlight TabLine guifg=#60FF60 guibg=#017550 gui=NONE + highlight TabLineFill guifg=#017550 guibg=#017550 gui=NONE + highlight TabLineSel guifg=#FFFF00 guibg=#FF0000 gui=bold + if has('spell') + highlight SpellBad gui=undercurl + highlight SpellCap gui=undercurl + highlight SpellLocal gui=undercurl + highlight SpellRare gui=undercurl + endif +endif +highlight Cursor guifg=#FFFF00 guibg=#FF0000 gui=NONE +highlight link CursorIM cleared +highlight DiffAdd guibg=DarkBlue gui=NONE +highlight DiffChange guibg=DarkMagenta gui=NONE +highlight DiffDelete guifg=Blue guibg=DarkCyan gui=bold +highlight DiffText guibg=Red gui=bold +highlight Directory guifg=#21D959 gui=bold +highlight ErrorMsg guifg=#FFFF00 guibg=#FF0000 gui=NONE +highlight FoldColumn guifg=#E12E2A guibg=bg gui=NONE +highlight Folded guifg=#FFFF00 guibg=bg gui=NONE +highlight IncSearch guifg=#2FB457 guibg=#FFFF60 gui=bold,reverse +highlight LineNr guifg=#E12E2A gui=bold +highlight MatchParen guifg=#017550 guibg=#D8E353 gui=NONE +highlight ModeMsg guifg=#60FF60 gui=bold +highlight MoreMsg guifg=#017550 gui=bold +highlight NonText guifg=#E12E2A guibg=bg gui=bold +highlight Normal guifg=#FFFFFF guibg=#203D29 gui=NONE +highlight Question guifg=#60FF60 gui=bold +highlight Search guifg=#2FB457 guibg=#FFFF00 gui=bold +highlight SignColumn guifg=fg guibg=bg gui=NONE +highlight SpecialKey guifg=#90dcb0 gui=NONE +highlight StatusLine guifg=#FFFF00 guibg=#E12E2A gui=bold +highlight StatusLineNC guifg=#60FF60 guibg=#017550 gui=NONE +highlight Title guifg=#60FF60 gui=bold +highlight VertSplit guifg=#60FF60 guibg=#017550 gui=NONE +highlight Visual guifg=#FFFFFF guibg=#FFA500 gui=NONE +highlight VisualNOS guifg=#201a30 guibg=#a3a5FF gui=bold,underline +highlight WarningMsg guifg=#E12E2A gui=NONE +highlight WildMenu guifg=#FFFF60 guibg=#2FB457 gui=bold +highlight link Boolean Constant +highlight link Character Constant +highlight Comment guifg=#21D959 gui=NONE +highlight Conditional guifg=#D8E353 guibg=bg gui=bold +highlight Constant guifg=#FF0000 gui=NONE +highlight link Debug Special +highlight link Define PreProc +highlight link Delimiter Special +highlight Error guifg=#FFFF00 guibg=Red gui=NONE +highlight Exception guifg=#60FF60 guibg=bg gui=NONE +highlight link Float Number +highlight Function guifg=#FFFF00 guibg=bg gui=NONE +highlight Identifier guifg=#FFFF60 gui=NONE +highlight Ignore guifg=bg gui=NONE +highlight link Include PreProc +highlight Keyword guifg=grey guibg=bg gui=bold +highlight link Label Statement +highlight link Macro PreProc +highlight Number guifg=#60FF60 gui=bold +highlight Operator guifg=#60FF60 guibg=bg gui=NONE +highlight link PreCondit PreProc +highlight PreProc guifg=#D8E353 gui=NONE +highlight Repeat guifg=#D8E353 guibg=bg gui=bold +highlight Special guifg=#E12E2A gui=bold +highlight link SpecialChar Special +highlight link SpecialComment Special +highlight Statement guifg=#FFFF60 gui=bold +highlight link StorageClass Type +highlight link String Constant +highlight link Structure Type +highlight link Tag Special +highlight Todo guifg=#FF0000 guibg=#FFFF00 gui=bold +highlight Type guifg=#E12E2A gui=bold +highlight link Typedef Type +highlight Underlined guifg=#80a0ff gui=underline + + +"ColorScheme metadata{{{ +if v:version >= 700 + let g:MountainDew_Metadata = { + \"Palette" : "#FF0000:#E12E2A:#8B0000:#023525:#0F5123:#017550:#2FB457:#5CAC27:#0D3C0A:#203D29:#FFFF60:#FFFF00:#D8E353:#FF8C00:#FFA500:#60FF60:#21D959:#FFFFFF:#FFFFFF:#000000", + \"Maintainer" : "Erik Falor", + \"Name" : "MountainDew", + \"License" : ["Vim License", + \], + \"Notes" : ["Do the Dew!", + \"Version 2.0 - Let's see if this is easier on the eyes. Made the normal background darker.", + \], + \"Version" : "2.0", + \"Email" : "ewfalor@gmail.com", + \"Last Change" : "2008 May 01", + \} +endif +"}}} +" vim:set foldmethod=marker expandtab filetype=vim: diff --git a/.vim/colors/PapayaWhip.vim b/.vim/colors/PapayaWhip.vim new file mode 100644 index 0000000..5f8725a --- /dev/null +++ b/.vim/colors/PapayaWhip.vim @@ -0,0 +1,31 @@ +" Vim color file +" Maintainer: Gerald S. Williams +" Last Change: 2003 Apr 17 + +" A nice light background (you guessed it, PapayaWhip) that's relatively easy +" on the eyes yet very usable. Not nearly as "puffy" as peachpuff. +" +" Only values that differ from defaults are specified. + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "PapayaWhip" + +hi Normal guifg=#3f1f1f guibg=PapayaWhip ctermbg=Gray ctermfg=Black +hi NonText guibg=Moccasin guifg=Brown ctermfg=Brown +hi LineNr guibg=Moccasin +hi DiffDelete guibg=LightRed guifg=Black ctermbg=DarkRed ctermfg=White +hi DiffAdd guibg=LightGreen ctermbg=DarkGreen ctermfg=White +hi DiffChange guibg=LightCyan3 ctermbg=DarkCyan ctermfg=White +hi DiffText gui=NONE guibg=Gray80 ctermbg=DarkCyan ctermfg=Yellow +hi Comment guifg=MediumBlue +hi Constant guifg=DeepPink +hi PreProc guifg=DarkMagenta +hi StatusLine guibg=White guifg=#5f3705 cterm=bold ctermbg=Brown ctermfg=White +hi StatusLineNC gui=None guibg=Gray +hi VertSplit gui=None guibg=Gray +hi Identifier guifg=#005f5f +hi Statement ctermfg=DarkRed diff --git a/.vim/colors/adam.vim b/.vim/colors/adam.vim new file mode 100644 index 0000000..748ca7f --- /dev/null +++ b/.vim/colors/adam.vim @@ -0,0 +1,48 @@ +" local syntax file - set colors on a per-machine basis: +" vim: tw=0 ts=4 sw=4 +" Vim color file +" +" Based on an original vim color file by +" Ron Aaron (2001 Jul 28) +" +" Maintainer: Adam Krouskop +" Last Change: 2003 Jul 3 + + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "adam" +hi Normal guifg=#008844 guibg=#002244 +hi NonText guifg=brown +hi comment guifg=#D80033 +hi constant guifg=#CCCCCC +hi identifier guifg=#0033FF gui=NONE +hi statement guifg=white gui=NONE +hi preproc guifg=#009999 +hi type guifg=#0033FF gui=NONE +hi special guifg=#FFFF00 gui=NONE +hi ErrorMsg guifg=Black guibg=Red +hi WarningMsg guifg=Black guibg=Green +hi Error guibg=Red +hi Todo guifg=Black guibg=orange +hi Cursor guibg=#ffffff guifg=#cac2ff +hi Search guibg=#103F5F gui=bold +hi IncSearch gui=bold guibg=#285f7f +hi LineNr guifg=darkgrey +hi title guifg=darkgrey +hi StatusLineNC gui=NONE guifg=lightblue guibg=darkblue +hi StatusLine gui=bold guifg=cyan guibg=blue +hi label guifg=gold2 +hi operator guifg=orange +hi clear Visual +hi Visual term=reverse cterm=reverse gui=reverse +hi DiffChange guibg=darkgreen +hi DiffText guibg=olivedrab +hi DiffAdd guibg=slateblue +hi DiffDelete guibg=coral +hi Folded guibg=gray30 +hi FoldColumn guibg=gray30 guifg=white +hi cIf0 guifg=gray diff --git a/.vim/colors/adaryn.vim b/.vim/colors/adaryn.vim new file mode 100644 index 0000000..1b17f22 --- /dev/null +++ b/.vim/colors/adaryn.vim @@ -0,0 +1,72 @@ +" Vim color file +" Maintainer: Glenn T. Norton +" Last Change: 2003-04-11 + +" adaryn - A color scheme named after my daughter, Adaryn. (A-da-rin) +" I like deep, sharp colors and this scheme is inspired by +" Bohdan Vlasyuk's darkblue. +" The cterm background is black since the dark blue was just too light. +" Also the cterm colors are very close to an old Borland C++ color setup. + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "adaryn" + +hi Normal guifg=#fffff0 guibg=#00003F ctermfg=white ctermbg=Black +hi ErrorMsg guifg=#ffffff guibg=#287eff ctermfg=white ctermbg=red +hi Visual guifg=#8080ff guibg=fg gui=reverse ctermfg=blue ctermbg=fg cterm=reverse + +hi VisualNOS guifg=#8080ff guibg=fg gui=reverse,underline ctermfg=lightblue ctermbg=fg cterm=reverse,underline + +hi Todo guifg=#d14a14 guibg=#1248d1 ctermfg=red ctermbg=darkblue + +hi Search guifg=#90fff0 guibg=#2050d0 ctermfg=white ctermbg=darkblue cterm=underline term=underline + +hi IncSearch guifg=#b0ffff guibg=#2050d0 ctermfg=darkblue ctermbg=gray + +hi SpecialKey guifg=cyan ctermfg=darkcyan +hi Directory guifg=cyan ctermfg=cyan +hi Title guifg=#BDD094 gui=none ctermfg=magenta cterm=bold +hi WarningMsg guifg=red ctermfg=red +hi WildMenu guifg=yellow guibg=black ctermfg=yellow ctermbg=black cterm=none term=none +hi ModeMsg guifg=#22cce2 ctermfg=lightblue +hi MoreMsg ctermfg=darkgreen ctermfg=darkgreen +hi Question guifg=green gui=none ctermfg=green cterm=none +hi NonText guifg=#0030ff ctermfg=darkblue + +hi StatusLine guifg=blue guibg=darkgray gui=none ctermfg=blue ctermbg=gray term=none cterm=none + +hi StatusLineNC guifg=black guibg=darkgray gui=none ctermfg=black ctermbg=gray term=none cterm=none + +hi VertSplit guifg=black guibg=darkgray gui=none ctermfg=black ctermbg=gray term=none cterm=none + +hi Folded guifg=#808080 guibg=#000040 ctermfg=darkgrey ctermbg=black cterm=bold term=bold + +hi FoldColumn guifg=#808080 guibg=#000040 ctermfg=darkgrey ctermbg=black cterm=bold term=bold + +hi LineNr guifg=#90f020 ctermfg=green cterm=none + +hi DiffAdd guibg=darkblue ctermbg=darkblue term=none cterm=none +hi DiffChange guibg=darkmagenta ctermbg=magenta cterm=none +hi DiffDelete ctermfg=blue ctermbg=cyan gui=bold guifg=Blue guibg=DarkCyan +hi DiffText cterm=bold ctermbg=red gui=bold guibg=Red + +hi Cursor guifg=#000020 guibg=#ffaf38 ctermfg=bg ctermbg=brown +hi lCursor guifg=#ffffff guibg=#000000 ctermfg=bg ctermbg=darkgreen + + +hi Comment guifg=yellow ctermfg=Yellow +hi Constant ctermfg=green guifg=green cterm=none +hi Special ctermfg=White guifg=#FFFFFF cterm=none gui=none +hi Identifier ctermfg=DarkRed guifg=#BDD094 cterm=none +hi Statement ctermfg=LightCyan cterm=none guifg=#A9A900 gui=none +hi PreProc ctermfg=DarkRed guifg=#ffffff gui=none cterm=none +hi type ctermfg=LightCyan guifg=LightBlue gui=none cterm=none +hi Underlined cterm=underline term=underline +hi Ignore guifg=bg ctermfg=bg + + diff --git a/.vim/colors/adobe.vim b/.vim/colors/adobe.vim new file mode 100644 index 0000000..122a5b1 --- /dev/null +++ b/.vim/colors/adobe.vim @@ -0,0 +1,194 @@ +" Vim color file +" Maintainer: Micah Elliott +" Version: 0.3 +" Info: Adobe theme, easy on eyes. +" +"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Philosophy: See my blog article: +" http://micahelliott.com/2008/12/editor-color-scheme-philosophyeditor-color-scheme-philosophy/ +" +"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Colors: +" Blue: 19 26 33 87 153 +" Green: 58 22 29 84 +" Red: 124 201 225 +" Brown: 52 130 +" Orange: 166 +" Yellow: 185 192 +" Gray: 241 +" White: 253 +" +" NOTE: Set your terminal background color to: #B0B087, OR see Normal below + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "adobe" + +hi Normal guibg=#b0b087 ctermbg=144 +"hi Normal guibg=#b0b087 ctermbg=NONE +" This scheme is tuned for light backgrounds, particularly 144 (brown), +" but others can work... +" Other good "Normal" background colors: 144 (brown), 179 (orange), 180 +" (peach), 187 (tan), 215 (orange), 145 or 250 (gray), 71 or 72 (green) + +" Cursor +hi Cursor guibg=Yellow guifg=NONE ctermfg=white ctermbg=yellow +"hi Cursor cterm=bold ctermfg=0 ctermbg=0 + +" Search +hi Search guibg=green ctermfg=201 ctermbg=154 + +" Fold +hi Folded guibg=#a0a087 + +" Split area +hi StatusLine gui=reverse guibg=white + +" Messages +hi ModeMsg gui=none +hi MoreMsg gui=reverse +hi Question gui=NONE guifg=#ffff60 guibg=NONE + +" Other +hi Todo gui=underline guifg=white guibg=NONE cterm=bold,underline ctermbg=NONE +hi NonText guifg=blue ctermfg=darkblue +hi VisualNOS gui=underline +hi Title gui=none +hi SpellBad ctermfg=245 + +" Diff +hi DiffDelete gui=none +hi DiffText gui=none +hi DiffAdd guibg=lightblue + +" Html +hi htmlBoldUnderline gui=underline +hi htmlBold gui=none +hi htmlBoldItalic gui=none +hi htmlBoldUnderlineItalic gui=underline + +" Comments +hi Comment guifg=#80817c ctermfg=244 +"hi Comment cterm=bold ctermfg=0 +hi pythonCommentedCode guifg=#80817c ctermfg=red +hi pythonKingComment guifg=#d9d6d8 ctermfg=253 +hi pythonSmartComment guifg=#9b7d93 ctermfg=138 +hi pythonJavadoc guifg=#80817c ctermfg=yellow +hi pythonEpydoc guifg=#80817c ctermfg=brown +hi pythonMajorSection guifg=white ctermfg=white +hi pythonMinorSection guifg=white ctermfg=white +hi pythonInfoComment guifg=#80817c ctermfg=217 +hi pythonDisabledComment guifg=#9d979c ctermfg=247 +hi pythonEolComment guifg=#80817c ctermfg=blue +hi pythonTripleDirkString guifg=#056f7f ctermfg=23 +hi pythonTripleTickString guifg=#9d979c ctermfg=247 + +" General Programming +hi Statement guifg=orange4 gui=none ctermfg=brown +hi Type guifg=#626b3e gui=none cterm=bold ctermfg=100 +hi String guifg=#0a1b98 ctermfg=18 +hi PreProc guifg=#0066ff ctermfg=192 +hi Special guifg=purple3 ctermfg=97 +hi Constant guifg=red4 ctermfg=124 +hi Identifier guifg=darkblue ctermfg=19 +hi Function guifg=#b9dad9 gui=bold cterm=bold ctermfg=153 +hi Underlined guifg=yellow ctermfg=192 +hi Conditional guifg=#1596bb ctermfg=33 +hi Repeat guifg=green4 ctermfg=34 +hi Operator guifg=#c2f555 ctermfg=155 +hi Include guifg=yellow1 ctermfg=136 +"hi Keyword guifg=yellow guibg=blue ctermfg=yellow +"hi Exception guifg=yellow ctermfg=yellow +"hi Define guifg=yellow ctermfg=yellow +"hi Macro guifg=yellow ctermfg=yellow +"hi PreCondit guifg=brown guibg=yellow +"hi StorageClass guifg=yellow ctermfg=yellow +"hi Structure guifg=yellow ctermfg=yellow +"hi Typedef guifg=yellow ctermfg=yellow +"hi Tag guifg=yellow ctermfg=yellow +"hi SpecialChar guifg=yellow ctermfg=yellow +"hi Delimiter guifg=pink ctermfg=yellow +"hi SpecialComment guifg=yellow ctermfg=yellow +"hi Debug guifg=yellow ctermfg=yellow + +" Mail +hi mailQuoted1 guifg=red4 ctermfg=red +hi mailQuoted2 guifg=blue3 ctermfg=lightblue +hi mailQuoted3 guifg=orange4 ctermfg=yellow +hi mailQuoted4 guifg=purple3 ctermfg=darkred +hi mailQuoted5 guifg=white ctermfg=white + +" Perl +hi PerlPOD guifg=purple4 ctermfg=99 +hi perlVarPlain guifg=blue4 ctermfg=69 +hi perlIdentifier guifg=purple ctermfg=93 +hi perlPackageRef guifg=pink2 ctermfg=177 +hi perlMethod guifg=red4 ctermfg=160 +hi perlFunctionName gui=bold guifg=darkblue ctermfg=63 +hi perlVarMember guifg=lightblue4 ctermfg=87 + +" Python +"hi pythonStatement xxx links to Statement +"hi pythonFunction xxx links to Function +"hi pythonRepeat xxx links to Repeat +"hi pythonConditional xxx links to Conditional +hi pythonImport guifg=yellow1 ctermfg=yellow +"hi pythonException xxx links to Exception + +"hi pythonOperator xxx links to Operator +"hi pythonTodo xxx links to Todo +"hi pythonComment xxx links to Comment +"hi pythonRun xxx links to Special +"hi pythonCoding xxx links to Special +"hi pythonError xxx links to Error +"hi pythonIndentError xxx links to Error +"hi pythonEscape xxx links to Special +"hi pythonEscapeError xxx links to Error +"hi pythonString xxx links to String +"hi pythonDocTest2 xxx links to Special +"hi pythonDocTest xxx links to Special +"hi pythonUniEscape xxx links to Special +"hi pythonUniEscapeError xxx links to Error +"hi pythonUniString xxx links to String +"hi pythonRawEscape xxx cleared +"hi pythonRawString xxx links to String +"hi pythonUniRawEscape xxx links to Special +"hi pythonUniRawEscapeError xxx links to Error +"hi pythonUniRawString xxx links to String +"hi pythonStrFormat xxx links to Special +"hi pythonNumber xxx links to Number +"hi pythonFloat xxx links to Float +"hi pythonOctalError xxx links to Error +"hi pythonBuiltinObj xxx links to Structure +hi pythonBuiltinFunc guifg=#e326b4 gui=bold cterm=bold ctermfg=200 +"hi pythonExClass xxx links to Structure + +" Moin +hi moinHeader ctermfg=18 +hi moinItalic ctermfg=26 +hi moinBold ctermfg=33 +hi moinBoldItalic ctermfg=87 +hi moinUnderline ctermfg=153 +"hi moinSubscript ctermfg=58 +"hi moinSuperscript ctermfg=22 +hi moinTypewriter ctermfg=29 +hi moinMacro ctermfg=84 +hi moinPreformatted ctermfg=124 +hi moinWikiWord ctermfg=201 +hi moinBracketLink ctermfg=225 +hi moinSubLink ctermfg=52 +hi moinNormalURL ctermfg=130 +hi moinEmail ctermfg=166 +hi moinBulletList ctermfg=185 +hi moinNumberedList ctermfg=192 +hi moinAlphalist ctermfg=241 +hi moinRomanlist ctermfg=223 +hi moinBigromanlist ctermfg=233 +hi moinDescriptionlist ctermfg=243 +hi moinRule ctermfg=13 +hi moinComment ctermfg=23 +hi moinPragma ctermfg=253 +hi moinInterLink ctermfg=1 diff --git a/.vim/colors/adrian.vim b/.vim/colors/adrian.vim new file mode 100644 index 0000000..ba830cd --- /dev/null +++ b/.vim/colors/adrian.vim @@ -0,0 +1,97 @@ +" Vim colorscheme file +" Maintainer: Adrian Nagle +" Last Change: 2001-09-25 07:48:15 Mountain Daylight Time +" URL: http://www.naglenet.org/vim/syntax/adrian.vim +" MAIN URL: http://www.naglenet.org/vim + +" This is my custom syntax file to override the defaults provided with Vim. +" This file should be located in $HOME/vimfiles/colors. + +" This file should automatically be sourced by $RUNTIMEPATH. + +" NOTE(S): +" *(1) +" The color definitions assumes and is intended for a black or dark +" background. + +" *(2) +" This file is specifically in Unix style EOL format so that I can simply +" copy this file between Windows and Unix systems. VIM can source files in +" with the UNIX EOL format (only instead of for DOS) in any +" operating system if the 'fileformats' is not empty and there is no +" just before the on the first line. See ':help :source_crnl' and +" ':help fileformats'. +" +" *(3) +" Move this file to adrian.vim for vim6.0aw. +" + + + +hi clear +set background=dark +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "adrian" + +" Normal is for the normal (unhighlighted) text and background. +" NonText is below the last line (~ lines). +highlight Normal guibg=Black guifg=Green +highlight Cursor guibg=Grey70 guifg=White +highlight NonText guibg=Grey80 +highlight StatusLine gui=bold guibg=DarkGrey guifg=Orange +highlight StatusLineNC guibg=DarkGrey guifg=Orange + +highlight Comment term=bold ctermfg=LightGrey guifg=#d1ddff +highlight Constant term=underline ctermfg=White guifg=#ffa0a0 +"highlight Number term=underline ctermfg=Yellow guifg=Yellow +highlight Identifier term=underline ctermfg=Cyan guifg=#40ffff +highlight Statement term=bold ctermfg=Yellow gui=bold guifg=#ffff60 +highlight PreProc term=underline ctermfg=Blue guifg=#ff4500 +highlight Type term=underline ctermfg=DarkGrey gui=bold guifg=#7d96ff +highlight Special term=bold ctermfg=Magenta guifg=Orange +highlight Ignore ctermfg=black guifg=bg +highlight Error ctermfg=White ctermbg=Red guifg=White guibg=Red +highlight Todo ctermfg=Blue ctermbg=Yellow guifg=Blue guibg=Yellow + +" Change the highlight of search matches (for use with :set hls). +highlight Search ctermfg=Black ctermbg=Yellow guifg=Black guibg=Yellow + +" Change the highlight of visual highlight. +highlight Visual cterm=NONE ctermfg=Black ctermbg=LightGrey gui=NONE guifg=Black guibg=Grey70 + +highlight Float ctermfg=Blue guifg=#88AAEE +highlight Exception ctermfg=Red ctermbg=White guifg=Red guibg=White +highlight Typedef ctermfg=White ctermbg=Blue gui=bold guifg=White guibg=Blue +highlight SpecialChar ctermfg=Black ctermbg=White guifg=Black guibg=White +highlight Delimiter ctermfg=White ctermbg=Black guifg=White guibg=Black +highlight SpecialComment ctermfg=Black ctermbg=Green guifg=Black guibg=Green + +" Common groups that link to default highlighting. +" You can specify other highlighting easily. +highlight link String Constant +highlight link Character Constant +highlight link Number Constant +highlight link Boolean Statement +"highlight link Float Number +highlight link Function Identifier +highlight link Conditional Type +highlight link Repeat Type +highlight link Label Type +highlight link Operator Type +highlight link Keyword Type +"highlight link Exception Type +highlight link Include PreProc +highlight link Define PreProc +highlight link Macro PreProc +highlight link PreCondit PreProc +highlight link StorageClass Type +highlight link Structure Type +"highlight link Typedef Type +"highlight link SpecialChar Special +highlight link Tag Special +"highlight link Delimiter Special +"highlight link SpecialComment Special +highlight link Debug Special + diff --git a/.vim/colors/advantage.vim b/.vim/colors/advantage.vim new file mode 100644 index 0000000..fb1c3ce --- /dev/null +++ b/.vim/colors/advantage.vim @@ -0,0 +1,69 @@ +" Vim color file based on northsky +" Maintainer: Joe Estock +" Last Change: +" URL: + + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="advantage" + +hi Normal guifg=#00CCCC guibg=#050505 + +" Search +"hi Search guibg=#A28D68 guifg=bg gui=none +"hi Search guibg=#4668A1 guifg=bg gui=none +hi Search guibg=#3D5B8C guifg=yellow gui=none +hi IncSearch guifg=bg guibg=cyan gui=bold + +" highlight groups +hi Cursor guibg=#D74141 guifg=#e3e3e3 +hi VertSplit guibg=#C0FFFF guifg=#075554 gui=none +hi Folded guifg=plum1 guibg=#061A3E +hi FoldColumn guibg=#800080 guifg=tan +hi ModeMsg guifg=#404040 guibg=#C0C0C0 +hi MoreMsg guifg=darkturquoise guibg=#188F90 +hi NonText guibg=#334C75 guifg=#9FADC5 +hi Question guifg=#F4BB7E + +hi SpecialKey guifg=#BF9261 +hi StatusLine guibg=#067C7B guifg=cyan gui=none +hi StatusLineNC guibg=#004443 guifg=DimGrey gui=none +hi Title guifg=#8DB8C3 +hi Visual gui=bold guifg=black guibg=#84AF84 +hi WarningMsg guifg=#F60000 gui=underline + +" syntax highlighting groups +hi Comment guifg=DarkGray +hi Constant guifg=#72A5E4 gui=bold +hi Number guifg=chartreuse2 gui=bold +hi Identifier guifg=#ADCBF1 +hi Statement guifg=yellow +hi PreProc guifg=#37C9FF +hi Type guifg=#FFAE66 +hi Special guifg=#EEBABA +hi Ignore guifg=grey60 +hi Todo guibg=#444444 guifg=#00FFFF gui=bold +hi Label guifg=#ffc0c0 + +" Vim defaults +hi ErrorMsg guifg=White guibg=Red +hi DiffAdd guibg=DarkBlue +hi DiffChange guibg=aquamarine4 +hi DiffDelete gui=bold guifg=Yellow guibg=DarkBlue +hi DiffText gui=bold guibg=firebrick3 +hi Directory guifg=Cyan +hi LineNr guifg=DarkGreen +hi WildMenu guifg=Black guibg=Yellow +" hi lCursor guifg=bg guibg=fg +hi lCursor guibg=SeaGreen1 guifg=NONE +hi Underlined gui=underline guifg=#80a0ff +hi Error guifg=White guibg=Red diff --git a/.vim/colors/af.vim b/.vim/colors/af.vim new file mode 100644 index 0000000..d85e7d3 --- /dev/null +++ b/.vim/colors/af.vim @@ -0,0 +1,99 @@ +" Vim color file +" Maintainer: Stanislav Lechev [AngelFire] +" Last Change: 2004/03/31 +" URL: http://af.mis.bg/vim/af.vim +" ICQ: 2924004 +" Info: based on desert and a little bit of gothic +" Version: 1.1 + +set background=dark +if version > 580 + hi clear + if exists("syntax_on") + syntax reset + endif +endif +let g:colors_name="af" + +hi User1 guibg=darkblue guifg=yellow +hi User2 guibg=darkblue guifg=lightblue +hi User3 guibg=darkblue guifg=red +hi User4 guibg=darkblue guifg=cyan +hi User5 guibg=darkblue guifg=lightgreen +set statusline=%<%1*===\ %5*%f%1*%(\ ===\ %4*%h%1*%)%(\ ===\ %4*%m%1*%)%(\ ===\ %4*%r%1*%)\ ===%====\ %2*%b(0x%B)%1*\ ===\ %3*%l,%c%V%1*\ ===\ %5*%P%1*\ ===%0* laststatus=2 + + +hi Normal guifg=#dfdfdf guibg=#000000 +"hi Normal guifg=#87dee0 guibg=#000000 +"hi Normal guifg=#98fb98 guibg=#000000 +hi Cursor guibg=khaki guifg=slategrey +hi Comment guifg=#808080 +"hi Identifier guifg=#98FB98 +hi Identifier guifg=#87def0 +hi Constant guifg=#FF99FF +"hi String guifg=#87cee0 +hi String guifg=lightred +hi Character guifg=#87cee0 +hi Statement guifg=khaki +hi PreProc guifg=red +"hi Type guifg=#a0a0ff gui=none +hi Type guifg=lightgreen gui=none +hi Todo guifg=orangered guibg=yellow2 +hi Special guifg=Orange +hi Visual guifg=SkyBlue guibg=grey60 gui=none +hi IncSearch guifg=#ffff60 guibg=#0000ff gui=none +hi Search guifg=khaki guibg=slategrey gui=none +hi Ignore guifg=grey40 + +hi VertSplit guibg=#c2bfa5 guifg=grey50 gui=none +hi Folded guibg=grey30 guifg=gold +hi FoldColumn guibg=grey30 guifg=tan +hi ModeMsg guifg=goldenrod +hi MoreMsg guifg=SeaGreen +hi NonText guifg=LightBlue guibg=#000000 +hi Question guifg=springgreen +hi SpecialKey guifg=yellowgreen +hi StatusLineNC guibg=#c2bfa5 guifg=grey50 gui=none +hi Title guifg=indianred +hi WarningMsg guifg=salmon + + +" these are from desert ... i didn't change it +" color terminal definitions +hi SpecialKey ctermfg=darkgreen +hi NonText cterm=bold ctermfg=darkblue +hi Directory ctermfg=darkcyan +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green +hi Search cterm=NONE ctermfg=grey ctermbg=blue +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr ctermfg=3 +hi Question ctermfg=green +hi StatusLine cterm=bold,reverse +hi StatusLineNC cterm=reverse +hi VertSplit cterm=reverse +hi Title ctermfg=5 +hi Visual cterm=reverse +hi VisualNOS cterm=bold,underline +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=darkgrey ctermbg=NONE +hi FoldColumn ctermfg=darkgrey ctermbg=NONE +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 +hi Comment ctermfg=darkcyan +hi Constant ctermfg=brown +hi Special ctermfg=5 +hi Identifier ctermfg=6 +hi Statement ctermfg=3 +hi PreProc ctermfg=5 +hi Type ctermfg=2 +hi Underlined cterm=underline ctermfg=5 +hi Ignore cterm=bold ctermfg=7 +hi Error cterm=bold ctermfg=7 ctermbg=1 + + +"vim: sw=4 diff --git a/.vim/colors/aiseered.vim b/.vim/colors/aiseered.vim new file mode 100644 index 0000000..7e71108 --- /dev/null +++ b/.vim/colors/aiseered.vim @@ -0,0 +1,37 @@ +" gVim color file for working with files in GDL/VCG format. +" Works nice in conjunction with gdl.vim +" (see www.vim.org or www.aisee.com) +" Works fine for C/C++, too. + +" Author : Alexander A. Evstyugov-Babaev +" Version: 0.2 for gVim/Linux, +" tested with gVim 6.3.25 under Ubuntu Linux (Warty) +" by Jo Vermeulen +" Date : January 25th 2005 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name="aiseered" + +hi Normal guifg=lightred guibg=#600000 +hi Cursor guifg=bg guibg=fg +hi ErrorMsg guibg=red ctermfg=1 +hi Search term=reverse ctermfg=darkred ctermbg=lightred guibg=lightred guifg=#060000 + +hi Comment guifg=#ffffff +hi Constant guifg=#88ddee +hi String guifg=#ffcc88 +hi Character guifg=#ffaa00 +hi Number guifg=#88ddee +hi Identifier guifg=#cfcfcf +hi Statement guifg=#eeff99 gui=bold +hi PreProc guifg=firebrick1 gui=italic +hi Type guifg=#88ffaa gui=none +hi Special guifg=#ffaa00 +hi SpecialChar guifg=#ffaa00 +hi StorageClass guifg=#ddaacc +hi Error guifg=red guibg=white diff --git a/.vim/colors/anotherdark.vim b/.vim/colors/anotherdark.vim new file mode 100644 index 0000000..72a3341 --- /dev/null +++ b/.vim/colors/anotherdark.vim @@ -0,0 +1,108 @@ +" Vim color file +" Maintainer: Hans Fugal +" Last Change: $Date: 2003/05/06 16:37:49 $ +" Last Change: $Date: 2003/06/02 19:40:21 $ +" URL: http://hans.fugal.net/vim/colors/desert.vim +" Version: $Id: desert.vim,v 1.6 2003/06/02 19:40:21 fugalh Exp $ + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +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="anotherdark" + +hi Normal guifg=White guibg=grey20 + +" highlight groups +hi Cursor guibg=khaki guifg=slategrey +"hi CursorIM +"hi Directory +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +"hi ErrorMsg +hi VertSplit guibg=#c2bfa5 guifg=grey50 gui=none +hi Folded guibg=grey30 guifg=gold +hi FoldColumn guibg=grey30 guifg=tan +hi IncSearch guifg=slategrey guibg=khaki +"hi LineNr +hi ModeMsg guifg=goldenrod +hi MoreMsg guifg=SeaGreen +hi NonText guifg=LightBlue guibg=grey30 +hi Question guifg=springgreen +hi Search guibg=peru guifg=wheat +hi SpecialKey guifg=yellowgreen +hi StatusLine guibg=#c2bfa5 guifg=black gui=none +hi StatusLineNC guibg=#c2bfa5 guifg=grey50 gui=none +hi Title guifg=indianred +hi Visual gui=none guifg=khaki guibg=olivedrab +"hi VisualNOS +hi WarningMsg guifg=salmon +"hi WildMenu +"hi Menu +"hi Scrollbar +"hi Tooltip + +" syntax highlighting groups +hi Comment guifg=orange +hi Constant guifg=#ffa0a0 +hi Identifier guifg=palegreen +hi Statement guifg=khaki +hi PreProc guifg=indianred +hi Type guifg=darkkhaki +hi Special guifg=navajowhite +"hi Underlined +hi Ignore guifg=grey40 +"hi Error +hi Todo guifg=orangered guibg=yellow2 + +" color terminal definitions +hi SpecialKey ctermfg=darkgreen +hi NonText cterm=bold ctermfg=darkblue +hi Directory ctermfg=darkcyan +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green +hi Search cterm=NONE ctermfg=grey ctermbg=blue +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr ctermfg=3 +hi Question ctermfg=green +hi StatusLine cterm=bold,reverse +hi StatusLineNC cterm=reverse +hi VertSplit cterm=reverse +hi Title ctermfg=5 +hi Visual cterm=reverse +hi VisualNOS cterm=bold,underline +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=darkgrey ctermbg=NONE +hi FoldColumn ctermfg=darkgrey ctermbg=NONE +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 +hi Comment ctermfg=lightblue +hi Constant ctermfg=darkred +hi Special ctermfg=red +hi Identifier ctermfg=6 +hi Statement ctermfg=3 +hi PreProc ctermfg=5 +hi Type ctermfg=2 +hi Underlined cterm=underline ctermfg=5 +hi Ignore cterm=bold ctermfg=7 +hi Ignore ctermfg=darkgrey +hi Error cterm=bold ctermfg=7 ctermbg=1 + + +"vim: sw=4 diff --git a/.vim/colors/ansi_blows.vim b/.vim/colors/ansi_blows.vim new file mode 100644 index 0000000..3f48701 --- /dev/null +++ b/.vim/colors/ansi_blows.vim @@ -0,0 +1,197 @@ +" ansi_blows.vim +" Author: Brandon Low +" Last Change: 28 Feb 2009 +" License: as-is + +set bg=dark + +" Remove all existing highlighting and set the defaults. +hi clear + +" Load the syntax highlighting defaults, if it's enabled. +if exists("syntax_on") + syntax reset +endif + +" fg=7 +" bg=0 +" 0 black +" 1 red +" 2 green +" 3 brown/yellow +" 4 blue +" 5 magenta +" 6 cyan +" 7 white + +" Set these colors to the same as your console colors and your gVim and vim +" will be identically schemed. These colors are selected to render ANSI +" graphics reasonably and to be readable. I recommend setting your terminal +" emulator to use these colors. The specific color value that I use in this +" scheme that can be problematic with other color settings is brown. +" Terminals often use an ugly and hard to read dark yellow instead of brown +" and that color makes a couple of my highlight settings here unusable. +let s:black='#000000' +let s:boldBlack='#555555' +let s:red='#b90000' +let s:boldRed='#dc3244' +let s:green='#00aa00' +let s:boldGreen='#44ff44' +let s:brown='#aa5500' +let s:yellow='#ffff44' +let s:blue='#1d28d2' +let s:boldBlue='#5050ff' +let s:magenta='#aa00aa' +let s:boldMagenta='#ff44ff' +let s:cyan='#00aaaa' +let s:boldCyan='#44ffff' +let s:white='#aaaaaa' +let s:boldWhite='#ffffff' + +" These are supposedly Rasterman's colors: +" let s:black='#000000' +" let s:boldBlack='#444444' +" let s:red='#aa0000' +" let s:boldRed='#ff4444' +" let s:green='#00d200' +" let s:boldGreen='#44ff44' +" let s:brown='#aa5522' +" let s:yellow='#ffff44' +" let s:boldBlue='#4444ff' +" let s:blue='#0000aa' +" let s:magenta='#aa00aa' +" let s:boldMagenta='#ff44ff' +" let s:cyan='#00aaaa' +" let s:boldCyan='#44ffff' +" let s:white='#aaaaaa' +" let s:boldWhite='#ffffff' +" +" These are the colors specified in vim help for xterm color display: +" let s:black='#000000' +" let s:boldBlack='#808080' +" let s:red='#c00000' +" let s:boldRed='#ff6060' +" let s:green='#008000' +" let s:boldGreen='#00ff00' +" let s:brown='#808000' +" let s:yellow='#ffff00' +" let s:blue='#0000c0' +" let s:boldBlue='#8080ff' +" let s:magenta='#c000c0' +" let s:boldMagenta='#ff40ff' +" let s:cyan='#008080' +" let s:boldCyan='#00ffff' +" let s:white='#c0c0c0' +" let s:boldWhite='#ffffff' +" +" These are the Eterm defaults: +" let s:black='#000000' +" let s:boldBlack='#333333' +" let s:red='#cc0000' +" let s:boldRed='#ff0000' +" let s:green='#00cc00' +" let s:boldGreen='#00ff00' +" let s:blue='#0000cc' +" let s:boldBlue='#0000ff' +" let s:cyan='#00cccc' +" let s:boldCyan='#00ffff' +" let s:magenta='#cc00cc' +" let s:boldMagenta='#ff00ff' +" let s:brown='#cccc00' +" let s:yellow='#ffff00' +" let s:white='#faebd7' +" let s:boldWhite='#ffffff' +" +" These are gnome-terminal's defaults: +" let s:black='#000000' +" let s:boldBlack='#555555' +" let s:red='#aa0000' +" let s:boldRed='#ff5555' +" let s:green='#00aa00' +" let s:boldGreen='#55ff55' +" let s:blue='#0000aa' +" let s:boldBlue='#5555ff' +" let s:cyan='#00aaaa' +" let s:boldCyan='#55ffff' +" let s:magenta='#aa00aa' +" let s:boldMagenta='#ff55ff' +" let s:brown='#aa5500' +" let s:yellow='#ffff55' +" let s:white='#aaaaaa' +" let s:boldWhite='#ffffff' +" +" These are the colors as defined in the simple CGA spec: +" let s:black='#000000' +" let s:boldBlack='#444444' +" let s:red='#aa0000' +" let s:boldRed='#ff4444' +" let s:green='#00aa00' +" let s:boldGreen='#44ff44' +" let s:blue='#0000aa' +" let s:boldBlue='#4444ff' +" let s:cyan='#00aaaa' +" let s:boldCyan='#44ffff' +" let s:magenta='#aa00aa' +" let s:boldMagenta='#ff44ff' +" let s:brown='#aaaa00' +" let s:yellow='#ffff44' +" let s:white='#aaaaaa' +" let s:boldWhite='#ffffff' + +exe 'hi Normal guifg=' . s:white . ' guibg=' . s:black +exe 'hi SpecialKey guifg=' . s:boldBlue +exe 'hi NonText guifg=' . s:boldBlue . ' gui=none' +exe 'hi Directory guifg=' . s:boldCyan +exe 'hi ErrorMsg guifg=' . s:boldWhite . ' guibg=' . s:red +exe 'hi IncSearch cterm=reverse gui=reverse' +exe 'hi Search guifg=bg guibg=' . s:brown +exe 'hi MoreMsg guifg=' . s:boldGreen . ' gui=none' +exe 'hi ModeMsg guifg=' . s:boldWhite . ' gui=none' +exe 'hi LineNr guifg=' . s:yellow +exe 'hi Question guifg=' . s:boldGreen . ' gui=none' +exe 'hi StatusLine cterm=reverse gui=reverse' +exe 'hi StatusLineNC cterm=reverse gui=reverse' +exe 'hi VertSplit cterm=reverse gui=reverse' +exe 'hi Title guifg=' . s:boldMagenta . ' gui=none' +exe 'hi Visual cterm=reverse gui=reverse guibg=bg' +exe 'hi VisualNOS guifg=' . s:boldWhite . ' gui=underline' +exe 'hi WarningMsg guifg=' . s:boldRed +exe 'hi WildMenu ctermbg=3 guifg=bg guibg=' . s:brown +exe 'hi Folded ctermfg=3 ctermbg=7 guifg=' . s:brown . ' guibg=' . s:boldBlack +exe 'hi FoldColumn ctermfg=3 ctermbg=7 guifg=' . s:brown . ' guibg=' . s:boldBlack +exe 'hi DiffAdd guibg=' . s:blue +exe 'hi DiffChange guibg=' . s:magenta +exe 'hi DiffDelete cterm=none guifg=' . s:blue . ' guibg=' . s:cyan . ' gui=none' +exe 'hi DiffText cterm=bold guifg=' . s:boldWhite . ' guibg=' . s:boldRed +exe 'hi SignColumn ctermfg=3 ctermbg=7 guifg=' . s:brown . ' guibg=' . s:boldBlack +exe 'hi SpellBad cterm=bold guifg=' . s:boldWhite . ' guisp=' . s:boldRed . ' gui=undercurl' +exe 'hi SpellCap cterm=bold guifg=' . s:boldWhite . ' guisp=' . s:boldBlue . ' gui=undercurl' +exe 'hi SpellRare cterm=bold guifg=' . s:boldWhite . ' guisp=' . s:boldMagenta . ' gui=undercurl' +exe 'hi SpellLocal cterm=bold guifg=' . s:boldWhite . ' guisp=' . s:boldCyan . ' gui=undercurl' +exe 'hi Pmenu guibg=' . s:magenta +exe 'hi PmenuSel guibg=bg' +exe 'hi PmenuSbar ctermfg=3 guifg=' . s:brown . ' guibg=fg' +exe 'hi PmenuThumb cterm=reverse gui=reverse' +exe 'hi TabLine cterm=underline guifg=fg guibg=bg gui=underline' +exe 'hi TabLineSel cterm=bold guifg=' . s:boldWhite +exe 'hi TabLineFill cterm=reverse gui=reverse' +exe 'hi CursorColumn ctermfg=7 ctermbg=7 cterm=bold guifg=' . s:boldWhite . ' guibg=fg' +exe 'hi CursorLine cterm=underline gui=underline guibg=bg' +exe 'hi Cursor cterm=reverse guifg=bg guibg=fg' +exe 'hi lCursor cterm=reverse guifg=bg guibg=fg' +exe 'hi MatchParen cterm=bold guifg=' . s:boldWhite . ' guibg=' . s:cyan +exe 'hi Comment guifg=' . s:boldCyan +exe 'hi Constant guifg=' . s:boldMagenta +exe 'hi Special guifg=' . s:boldRed +exe 'hi Identifier cterm=bold guifg=' . s:boldCyan . ' gui=bold' +exe 'hi Statement guifg=' . s:yellow . ' gui=none' +exe 'hi PreProc guifg=' . s:boldBlue +exe 'hi Type guifg=' . s:boldGreen . ' gui=none' +exe 'hi Underlined cterm=bold,underline guifg=' . s:boldBlue . ' gui=underline' +exe 'hi Ignore guifg=bg' +exe 'hi Error guifg=' . s:boldWhite . ' guibg=' . s:boldRed +exe 'hi Todo guifg=bg guibg=' . s:brown + +let colors_name = "ansi_blows" + +" vim: sw=2 diff --git a/.vim/colors/aqua.vim b/.vim/colors/aqua.vim new file mode 100644 index 0000000..483b6ac --- /dev/null +++ b/.vim/colors/aqua.vim @@ -0,0 +1,44 @@ +" Vim color file +" Maintainer: tranquility@portugalmail.pt +" Last Change: 6 Apr 2002 + + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="aqua" + +hi Normal guibg=steelblue guifg=linen +hi Cursor guibg=lightblue3 guifg=black gui=bold +hi VertSplit guifg=white guibg=navyblue gui=none +hi Folded guibg=darkblue guifg=white +hi FoldColumn guibg=lightgray guifg=navyblue +hi ModeMsg guifg=black guibg=steelblue1 +hi MoreMsg guifg=black guibg=steelblue1 +hi NonText guifg=white guibg=steelblue4 gui=none +hi Question guifg=snow +hi Search guibg=#FFFFFF guifg=midnightblue gui=bold +hi SpecialKey guifg=navyblue +hi StatusLine guibg=skyblue3 guifg=black gui=none +hi StatusLineNC guibg=skyblue1 guifg=black gui=none +hi Title guifg=bisque3 +hi Subtitle guifg=black +hi Visual guifg=white guibg=royalblue4 gui=none +hi WarningMsg guifg=salmon4 guibg=gray60 gui=bold +hi Comment guifg=lightskyblue +hi Constant guifg=turquoise gui=bold +hi Identifier guifg=lightcyan +hi Statement guifg=royalblue4 +hi PreProc guifg=black gui=bold +hi Type guifg=lightgreen +hi Special guifg=navajowhite +hi Ignore guifg=grey29 +hi Todo guibg=black guifg=white +hi WildMenu guibg=aquamarine diff --git a/.vim/colors/ashen.vim b/.vim/colors/ashen.vim new file mode 100644 index 0000000..ace18fa --- /dev/null +++ b/.vim/colors/ashen.vim @@ -0,0 +1,34 @@ +" Vim color file +" Maintainer: Tuomas Kasmra +" Last Change: 2009 Feb 10 +" Version: 0.3 + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="ashen" + +hi Normal guifg=#000000 guibg=#e0e0e0 +hi Title guifg=#000000 gui=BOLD guibg=#ffffcc +hi lCursor guifg=NONE guibg=#000000 +hi LineNr guifg=#e0e0e0 guibg=#84986C +hi Comment guifg=#c03417 gui=italic +hi Identifier guifg=#000000 gui=NONE +hi Visual guifg=NONE gui=NONE guibg=#00ccff +hi Directory guifg=#8b8b8b +hi NonText guifg=#6f8b17 +hi Special guifg=#32329e +hi Operator guifg=#01c1c7 gui=NONE +hi Statement guifg=#006600 gui=bold +hi TypeDef guifg=#dcdce0 gui=NONE +hi Type guifg=#4848f3 gui=bold +hi Boolean guifg=#669900 gui=NONE +hi String guifg=#eb2c2c gui=NONE +hi Number guifg=#9d7d4a gui=NONE +hi Constant guifg=#9d7d4a gui=NONE +hi Function guifg=#660066 gui=NONE +hi PreProc guifg=#000080 gui=bold +hi Keyword guifg=#c03417 gui=NONE + diff --git a/.vim/colors/asmanian_blood.vim b/.vim/colors/asmanian_blood.vim new file mode 100644 index 0000000..378765b --- /dev/null +++ b/.vim/colors/asmanian_blood.vim @@ -0,0 +1,42 @@ + +set background=dark + +hi Normal guifg=#b4b0b0 guibg=#080404 gui=none +hi NonText guifg=#b4b0b0 guibg=#181414 gui=none +hi SpecialKey guifg=#b4b0b0 guibg=#282424 gui=bold + +hi Comment guifg=#686460 guibg=#080404 gui=none +hi Todo guifg=#686460 guibg=#080404 gui=underline,italic +hi Search guifg=#000000 guibg=#f0f000 gui=underline,italic +hi Visual guibg=#282020 +hi MatchParen guifg=#ffffff guibg=#904030 gui=none + +hi Title guifg=#ffffff guibg=#202020 gui=underline +hi Underlined guifg=#b4b0b0 guibg=#080404 gui=underline + +hi CursorColumn guifg=#f4f0f0 guibg=#201c1c gui=none +hi CursorLine guifg=#f4f0f0 guibg=#201c1c gui=none + +hi StatusLine guifg=#f8e0d0 guibg=#301810 gui=bold +hi StatusLineNC guifg=#503830 guibg=#200800 gui=none +hi VertSplit guifg=#200800 guibg=#301810 gui=none +hi LineNr guifg=#848070 guibg=#181414 gui=none +hi Folded guifg=#484040 guibg=#080404 gui=bold,italic + +hi Define guifg=#607080 guibg=#080404 gui=italic +hi Function guifg=#60b050 guibg=#080404 gui=italic +hi PreProc guifg=#a090a0 guibg=#080404 gui=italic +hi Define guifg=#806080 guibg=#080404 gui=italic +hi Identifier guifg=#c0b060 guibg=#080404 gui=italic + +hi Statement guifg=#506090 guibg=#080404 gui=underline +hi Repeat guifg=#906050 guibg=#080404 gui=underline +hi Conditional guifg=#609050 guibg=#080404 gui=underline +hi Exception guifg=#903020 guibg=#080404 gui=underline + +hi Type guifg=#705850 guibg=#080404 gui=italic +hi String guifg=#a06050 guibg=#080404 gui=italic +hi Special guifg=#a06050 guibg=#181414 gui=italic +hi Number guifg=#60d060 guibg=#080404 gui=none +hi Constant guifg=#60d060 guibg=#080404 gui=none + diff --git a/.vim/colors/astronaut.vim b/.vim/colors/astronaut.vim new file mode 100644 index 0000000..8caec73 --- /dev/null +++ b/.vim/colors/astronaut.vim @@ -0,0 +1,164 @@ +" astronaut.vim: a colorscheme +" Maintainer: Charles E. Campbell, Jr. +" Date: Feb 21, 2006 +" Version: 7 +" +" Usage: +" Put into your <.vimrc> file: +" color astronaut +" +" Optional Modifiers: +" let g:astronaut_bold=1 : term, cterm, and gui receive bold modifier +" let g:astronaut_dark=1 : dark colors used (otherwise some terminals +" make everything bold, which can be all one +" color) +" let g:astronaut_underline=1 : assume that underlining works on your terminal +" let g:astronaut_italic=1 : allows italic to be used in gui +" Examples: +" iris : let astronaut_dark=1 +" Linux xterm: no modifiers needed +" +" GetLatestVimScripts: 122 1 :AutoInstall: astronaut.vim + +set background=dark +hi clear +if exists( "syntax_on" ) + syntax reset +endif +let g:colors_name = "astronaut" +let g:loaded_astronaut = "v7" + +" --------------------------------------------------------------------- +" Default option values +if !exists("g:astronaut_bold") + " on some machines, notably SGIs, a bold qualifier means everything is + " one color (SGIs: yellow) + let g:astronaut_bold= 0 +endif +if !exists("g:astronaut_dark") + " this option, if true, means darkcolor (ex. darkred, darkmagenta, etc) + " is understood and wanted + let g:astronaut_dark= 0 +endif +if !exists("g:astronaut_underline") + let g:astronaut_underline= 1 +endif +if !exists("g:astronaut_italic") + let g:astronaut_italic= 0 +endif + +" --------------------------------------------------------------------- +" Settings based on options +if g:astronaut_bold != 0 + let s:bold=",bold" +else + let s:bold="" +endif + +if g:astronaut_italic != 0 + let s:italic= ",italic" +else + let s:italic= "" +endif + +if g:astronaut_dark != 0 + let s:black = "black" + let s:red = "darkred" + let s:green = "darkgreen" + let s:yellow = "darkyellow" + let s:blue = "darkblue" + let s:magenta = "darkmagenta" + let s:cyan = "darkcyan" + let s:white = "white" +else + let s:black = "black" + let s:red = "red" + let s:green = "green" + let s:yellow = "yellow" + let s:blue = "blue" + let s:magenta = "magenta" + let s:cyan = "cyan" + let s:white = "white" +endif + +if g:astronaut_underline != 0 + let s:underline= ",underline" + let s:ulbg = "" +else + let s:underline= "none" + if exists("g:astronaut_dark") + let s:ulbg = "ctermbg=darkmagenta guibg=magenta4" + else + let s:ulbg = "ctermbg=magenta guibg=magenta" + endif +endif + +" --------------------------------------------------------------------- +exe "hi Blue start= stop= ctermfg=".s:blue." guifg=blue guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Comment start= stop= ctermfg=".s:white." guifg=white term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Conceal ctermfg=".s:blue." ctermbg=".s:black." guifg=Blue guibg=Black term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Constant start= stop= ctermfg=".s:yellow." guifg=yellow guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Cursor guifg=blue guibg=green term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Cyan start= stop= ctermfg=".s:cyan." guifg=cyan guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Debug start= stop= ctermfg=".s:magenta." ctermbg=".s:black." guifg=magenta guibg=black term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Delimiter start= stop= ctermfg=".s:white." guifg=white guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi DiffAdd ctermfg=".s:white." ctermbg=".s:magenta." guifg=White guibg=Magenta term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi DiffChange ctermfg=".s:yellow." ctermbg=".s:blue." guifg=Yellow guibg=Blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi DiffDelete ctermfg=".s:white." ctermbg=".s:blue." guifg=White guibg=Blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi DiffText ctermfg=".s:white." ctermbg=".s:red." guifg=White guibg=Red term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Directory start= stop= ctermfg=".s:white." guifg=white term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Error start= stop= ctermfg=".s:white." ctermbg=".s:red." guifg=white guibg=red term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi ErrorMsg ctermfg=".s:white." ctermbg=".s:red." guifg=White guibg=Red term=standout".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi FoldColumn start= stop= ctermfg=".s:cyan." ctermbg=".s:black." guifg=Cyan guibg=Brown term=standout".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Folded start= stop= ctermfg=".s:magenta." ctermbg=".s:black." guifg=magenta guibg=black term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Function start= stop= ctermfg=".s:cyan." guifg=cyan guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Green start= stop= ctermfg=".s:green." guifg=green guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Identifier start= stop= ctermfg=".s:magenta." guifg=magenta guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Ignore ctermfg=".s:black ." guifg=bg term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi IncSearch start= stop= ctermfg=".s:black ." ctermbg=".s:green." guifg=black guibg=green term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi LineNr ctermfg=".s:yellow." ".s:ulbg." guifg=Yellow term=none".s:underline.s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Magenta start= stop= ctermfg=".s:magenta." guifg=magenta guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Menu guifg=black guibg=gray75 term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi ModeMsg ctermfg=".s:green." guifg=SeaGreen term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi MoreMsg ctermfg=".s:green." guifg=SeaGreen term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi NonText ctermfg=".s:blue." guifg=Blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Normal start= stop= ctermfg=".s:green." guifg=green guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi PreProc start= stop= ctermfg=".s:white." ctermbg=".s:blue." guifg=white guibg=blue3 term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Question start= stop= ctermfg=".s:yellow." guifg=yellow term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Red start= stop= ctermfg=".s:red." guifg=red guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Scrollbar guifg=gray80 guibg=gray70 term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Search start= stop= ctermfg=".s:yellow." ctermbg=".s:blue." guifg=yellow guibg=blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Special start= stop= ctermfg=".s:green." ctermbg=".s:blue." guifg=green guibg=blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi SpecialKey start= stop= ctermfg=".s:black." ctermbg=".s:magenta." guifg=black guibg=magenta term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Statement start= stop= ctermfg=".s:cyan." guifg=cyan guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi StatusLine start= stop= ctermfg=".s:black." ctermbg=".s:cyan." guifg=black guibg=cyan term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi StatusLineNC start= stop= ctermfg=".s:black." ctermbg=".s:green." guifg=black guibg=green term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi String start= stop= ctermfg=".s:yellow." guifg=yellow guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Subtitle start= stop= ctermfg=".s:magenta." guifg=magenta guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +if v:version >= 700 + exe "hi TabLine start= stop= ctermfg=".s:black." ctermbg=".s:blue." guifg=black guibg=blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold.s:underline.s:italic + exe "hi TabLineSel start= stop= ctermfg=".s:green." ctermbg=".s:blue." guifg=green guibg=blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold.s:underline.s:italic + exe "hi TabLineFill start= stop= ctermfg=".s:blue." ctermbg=".s:blue." guifg=blue guibg=blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +endif +exe "hi Tags start= stop= ctermfg=".s:yellow." ctermbg=".s:blue." guifg=yellow guibg=blue3 term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Title start= stop= ctermfg=".s:white." guifg=white term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Todo start= stop= ctermfg=".s:white." ctermbg=".s:magenta." guifg=white guibg=magenta term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Type start= stop= ctermfg=".s:green." ".s:ulbg." guifg=seagreen1 term=none".s:underline.s:bold." cterm=none".s:bold.s:underline." gui=none".s:bold.s:underline +exe "hi Underlined ctermfg=".s:green." ".s:ulbg." guifg=green term=none".s:underline.s:bold." cterm=none".s:bold.s:underline." gui=none".s:bold.s:underline +exe "hi Unique start= stop= ctermfg=".s:blue." ctermbg=".s:white." guifg=blue3 guibg=white term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi AltUnique start= stop= ctermfg=".s:magenta." ctermbg=".s:white." guifg=magenta guibg=white term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi AltAltUnique start= stop= ctermfg=".s:black." ctermbg=".s:white." guifg=black guibg=white term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi VertSplit start= stop= ctermfg=".s:black." ctermbg=".s:green." guifg=black guibg=green term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Visual start= stop= ctermfg=black ctermbg=green guifg=Grey guibg=fg term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi VisualNOS ".s:ulbg." term=none".s:underline.s:bold." cterm=none".s:bold.s:underline." gui=none".s:bold.s:underline +exe "hi WarningMsg start= stop= ctermfg=".s:black." ctermbg=".s:yellow." guifg=black guibg=yellow term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi White start= stop= ctermfg=".s:white." guifg=white guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi WildMenu ctermfg=".s:black." ctermbg=".s:yellow." guifg=Black guibg=Yellow term=standout".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi Yellow start= stop= ctermfg=".s:yellow." guifg=yellow guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi lCursor guifg=bg guibg=fg term=none".s:bold." cterm=none".s:bold." gui=none".s:bold +exe "hi AltConstant start= stop= ctermfg=".s:yellow." ctermbg=".s:black." guifg=yellow guibg=black term=none".s:bold." cterm=none".s:bold." gui=none".s:bold.s:italic +exe "hi AltFunction start= stop= ctermfg=".s:green." ctermbg=".s:black." guifg=green guibg=black term=none".s:bold." cterm=none".s:bold." gui=none".s:bold.s:italic +exe "hi AltType start= stop= ctermfg=".s:green." ctermbg=".s:black." guifg=seagreen1 guibg=black term=none".s:underline.s:bold." cterm=none".s:bold.s:underline." gui=none".s:bold.s:underline.s:italic +exe "hi User1 ctermfg=".s:white." ctermbg=".s:blue." guifg=white guibg=blue" +exe "hi User2 ctermfg=".s:cyan." ctermbg=".s:blue." guifg=cyan guibg=blue" +" vim: nowrap diff --git a/.vim/colors/asu1dark.vim b/.vim/colors/asu1dark.vim new file mode 100644 index 0000000..ce5f90f --- /dev/null +++ b/.vim/colors/asu1dark.vim @@ -0,0 +1,59 @@ +" Vim color file +" Maintainer: A. Sinan Unur +" Last Change: 2001/10/04 + +" Dark color scheme + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="asu1dark" + +" Console Color Scheme +hi Normal term=NONE cterm=NONE ctermfg=LightGray ctermbg=Black +hi NonText term=NONE cterm=NONE ctermfg=Brown ctermbg=Black +hi Function term=NONE cterm=NONE ctermfg=DarkCyan ctermbg=Black +hi Statement term=BOLD cterm=BOLD ctermfg=DarkBlue ctermbg=Black +hi Special term=NONE cterm=NONE ctermfg=DarkGreen ctermbg=Black +hi SpecialChar term=NONE cterm=NONE ctermfg=Cyan ctermbg=Black +hi Constant term=NONE cterm=NONE ctermfg=Blue ctermbg=Black +hi Comment term=NONE cterm=NONE ctermfg=DarkGray ctermbg=Black +hi Preproc term=NONE cterm=NONE ctermfg=DarkGreen ctermbg=Black +hi Type term=NONE cterm=NONE ctermfg=DarkMagenta ctermbg=Black +hi Identifier term=NONE cterm=NONE ctermfg=Cyan ctermbg=Black +hi StatusLine term=BOLD cterm=NONE ctermfg=Yellow ctermbg=DarkBlue +hi StatusLineNC term=NONE cterm=NONE ctermfg=Black ctermbg=Gray +hi Visual term=NONE cterm=NONE ctermfg=White ctermbg=DarkCyan +hi Search term=NONE cterm=NONE ctermbg=Yellow ctermfg=DarkBlue +hi VertSplit term=NONE cterm=NONE ctermfg=Black ctermbg=Gray +hi Directory term=NONE cterm=NONE ctermfg=Green ctermbg=Black +hi WarningMsg term=NONE cterm=NONE ctermfg=Blue ctermbg=Yellow +hi Error term=NONE cterm=NONE ctermfg=DarkRed ctermbg=Gray +hi Cursor ctermfg=Black ctermbg=Cyan +hi LineNr term=NONE cterm=NONE ctermfg=Red ctermbg=Black + +" GUI Color Scheme +hi Normal gui=NONE guifg=White guibg=#110022 +hi NonText gui=NONE guifg=#ff9999 guibg=#444444 +hi Function gui=NONE guifg=#7788ff guibg=#110022 +hi Statement gui=BOLD guifg=Yellow guibg=#110022 +hi Special gui=NONE guifg=Cyan guibg=#110022 +hi Constant gui=NONE guifg=#ff9900 guibg=#110022 +hi Comment gui=NONE guifg=#99cc99 guibg=#110022 +hi Preproc gui=NONE guifg=#33ff66 guibg=#110022 +hi Type gui=NONE guifg=#ff5577 guibg=#110022 +hi Identifier gui=NONE guifg=Cyan guibg=#110022 +hi StatusLine gui=BOLD guifg=White guibg=#336600 +hi StatusLineNC gui=NONE guifg=Black guibg=#cccccc +hi Visual gui=NONE guifg=White guibg=#00aa33 +hi Search gui=BOLD guibg=Yellow guifg=DarkBlue +hi VertSplit gui=NONE guifg=White guibg=#666666 +hi Directory gui=NONE guifg=Green guibg=#110022 +hi WarningMsg gui=STANDOUT guifg=#0000cc guibg=Yellow +hi Error gui=NONE guifg=White guibg=Red +hi Cursor guifg=White guibg=#00ff33 +hi LineNr gui=NONE guifg=#cccccc guibg=#334444 +hi ModeMsg gui=NONE guifg=Blue guibg=White +hi Question gui=NONE guifg=#66ff99 guibg=#110022 diff --git a/.vim/colors/automation.vim b/.vim/colors/automation.vim new file mode 100644 index 0000000..b449145 --- /dev/null +++ b/.vim/colors/automation.vim @@ -0,0 +1,59 @@ +" Vim color file (automation.vim) +" Maintainer: Ken McConnell +" Last Change: 2004 Jan 15 +" +" This color scheme uses a light grey background. It was created to simulate +" the look of an IDE. It is named after the MFP Automation Team at HP Boise. +" + +" First remove all existing highlighting. +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "automation" + +hi Normal ctermbg=Black ctermfg=LightGrey guifg=Black guibg=Grey96 + +" Groups used in the 'highlight' and 'guicursor' options default value. +hi ErrorMsg term=standout ctermbg=DarkRed ctermfg=White guibg=Red guifg=White +hi IncSearch term=reverse cterm=bold gui=bold +hi ModeMsg term=bold cterm=bold gui=bold +hi StatusLine term=bold cterm=bold gui=bold +hi StatusLineNC term=bold cterm=bold gui=bold +hi VertSplit term=bold cterm=bold gui=bold +hi Visual term=bold cterm=bold gui=bold guifg=Grey guibg=fg +hi VisualNOS term=underline,bold cterm=underline,bold gui=underline,bold +hi DiffText term=reverse cterm=bold ctermbg=Red gui=bold guibg=Red +hi Cursor guibg=Black guifg=Black +hi lCursor guibg=Cyan guifg=Black +hi Directory term=bold ctermfg=LightCyan guifg=DarkBlue +hi LineNr term=underline ctermfg=DarkGrey guifg=DarkGrey guibg=LightGrey +hi MoreMsg term=bold ctermfg=LightGreen gui=bold guifg=SeaGreen +hi NonText term=bold ctermfg=LightBlue gui=bold guifg=DarkGreen guibg=grey80 +hi Question term=standout ctermfg=LightGreen gui=bold guifg=Green +hi Search term=reverse ctermbg=Yellow ctermfg=Black guibg=Yellow guifg=Black +hi SpecialKey term=bold ctermfg=DarkBlue guifg=DarkBlue +hi Title term=bold ctermfg=LightMagenta gui=bold guifg=DarkBlue +hi WarningMsg term=standout ctermfg=LightRed guifg=Red +hi WildMenu term=standout ctermbg=Yellow ctermfg=Black guibg=Yellow guifg=Black +hi Folded term=standout ctermbg=LightGrey ctermfg=DarkBlue guibg=LightGrey guifg=DarkBlue +hi FoldColumn term=standout ctermbg=LightGrey ctermfg=DarkBlue guibg=Grey guifg=DarkBlue +hi DiffAdd term=bold ctermbg=DarkBlue guibg=DarkBlue +hi DiffChange term=bold ctermbg=DarkMagenta guibg=DarkMagenta +hi DiffDelete term=bold ctermfg=Blue ctermbg=DarkCyan gui=bold guifg=Blue guibg=DarkCyan +hi Comment guifg=Blue guibg=Grey90 ctermfg=DarkGreen +hi String guifg=DarkGreen ctermfg=DarkGreen +hi Statement guifg=DarkBlue ctermfg=Blue +hi Label gui=bold guifg=DarkBlue +" Groups for syntax highlighting +hi Constant term=underline ctermfg=DarkBlue guifg=DarkBlue guibg=Grey96 +hi Special term=bold ctermfg=LightRed guifg=DarkBlue guibg=Grey96 +if &t_Co > 8 + hi Statement term=bold cterm=bold ctermfg=DarkBlue guifg=DarkBlue +endif +hi Ignore ctermfg=LightGrey guifg=grey90 + +" vim: sw=2 diff --git a/.vim/colors/autumn.vim b/.vim/colors/autumn.vim new file mode 100644 index 0000000..22a5ef0 --- /dev/null +++ b/.vim/colors/autumn.vim @@ -0,0 +1,88 @@ +" Vim colour file +" Maintainer: Antony Scriven +" Last Change: 2003-06-12 +" +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "autumn" + +hi Normal term=none cterm=none ctermfg=black ctermbg=White gui=none guifg=Black guibg=#f0f2f0 +hi Cursor term=none cterm=none ctermfg=white ctermbg=darkgrey gui=none guifg=black guibg=red +hi DiffAdd term=bold cterm=none ctermfg=white ctermbg=DarkBlue gui=none guifg=#aaeeaa guibg=#447744 +hi DiffChange term=bold cterm=none ctermfg=white ctermbg=DarkMagenta gui=none guifg=lightyellow guibg=#ddbb55 +hi DiffDelete term=bold cterm=none ctermfg=blue ctermbg=darkcyan gui=none guifg=#336633 guibg=#aaccaa +hi difftext term=reverse cterm=bold ctermfg=white ctermbg=red gui=none guifg=lightyellow guibg=#cc7733 +hi Directory term=none cterm=none ctermfg=Red ctermbg=white gui=none guifg=Red guibg=bg +hi ErrorMsg term=standout cterm=none ctermfg=white ctermbg=DarkRed gui=none guifg=white guibg=DarkRed +hi Folded term=reverse cterm=none ctermfg=darkblue ctermbg=lightgrey gui=none guifg=darkblue guibg=lightgrey +"8 col term +hi FoldColumn term=reverse cterm=none ctermfg=darkblue ctermbg=grey gui=none guifg=darkblue guibg=grey +hi IncSearch term=reverse cterm=none ctermfg=yellow ctermbg=darkgreen gui=none guifg=yellow guibg=#449944 +hi lCursor term=reverse cterm=none ctermfg=black ctermbg=cyan gui=none guifg=black guibg=Cyan +hi LineNr term=reverse cterm=none ctermfg=darkred ctermbg=grey gui=none guifg=brown guibg=lightgrey +hi ModeMsg term=bold cterm=none ctermfg=green ctermbg=darkgreen gui=none guifg=#007700 guibg=#aaccaa +hi MoreMsg term=bold cterm=none ctermfg=darkGreen ctermbg=white gui=none guifg=darkgreen guibg=bg +hi Question term=bold cterm=none ctermfg=darkGreen ctermbg=white gui=none guifg=darkgreen guibg=bg +hi Search term=reverse cterm=none ctermfg=black ctermbg=yellow gui=none guifg=black guibg=yellow +hi SpecialKey term=italic cterm=none ctermfg=lightgrey ctermbg=white gui=none guifg=lightblue guibg=bg +hi NonText term=bold cterm=none ctermfg=lightgrey ctermbg=white gui=none guifg=#c6c6c6 guibg=bg +hi StatusLine term=reverse cterm=none ctermfg=white ctermbg=black gui=none guifg=#80624d guibg=#ddd9b8 +hi Title term=bold cterm=none ctermfg=DarkMagenta ctermbg=white gui=none guifg=DarkMagenta guibg=bg +if has("gui_running") || &t_Co > 8 + hi Visual term=reverse cterm=none ctermfg=black ctermbg=lightgrey gui=none guifg=black guibg=lightgreen + hi VertSplit term=reverse cterm=none ctermfg=darkgrey ctermbg=darkgrey gui=none guifg=#c7c7c2 guibg=#d7d7d2 + hi StatusLineNC term=reverse cterm=none ctermfg=white ctermbg=darkgrey gui=none guifg=darkgrey guibg=#d7d7d2 + hi Comment term=italic cterm=none ctermfg=grey ctermbg=white gui=none guifg=#ccaaaa guibg=bg +else + hi Visual term=reverse cterm=none ctermfg=green ctermbg=darkgreen gui=none guifg=black guibg=lightgreen + hi VertSplit term=reverse cterm=none ctermfg=darkcyan ctermbg=darkblue gui=none guifg=darkgrey guibg=darkgrey + hi StatusLineNC term=reverse cterm=none ctermfg=white ctermbg=darkblue gui=none guifg=white guibg=darkgrey + hi Comment term=italic cterm=none ctermfg=darkcyan ctermbg=white gui=none guifg=#ccaaaa guibg=bg +endif +hi VisualNOS term=bold cterm=none ctermfg=grey ctermbg=black gui=none guifg=grey guibg=black +hi WarningMsg term=standout cterm=none ctermfg=Red ctermbg=white gui=none guifg=Red guibg=bg +hi WildMenu term=bold cterm=none ctermfg=darkblue ctermbg=yellow gui=none guifg=black guibg=lightyellow + +hi Constant term=underline cterm=none ctermfg=darkred ctermbg=bg gui=none guifg=#bb6666 guibg=bg +hi Special term=bold cterm=none ctermfg=darkcyan ctermbg=white gui=none guifg=darkcyan guibg=bg +hi identifier term=underline cterm=none ctermfg=darkmagenta ctermbg=white gui=none guifg=darkcyan guibg=bg +hi statement term=bold cterm=none ctermfg=darkgreen ctermbg=white gui=none guifg=#44aa44 guibg=bg +hi preproc term=underline cterm=none ctermfg=darkgrey ctermbg=white gui=none guifg=darkgrey guibg=bg +hi type term=none cterm=none ctermfg=brown ctermbg=white gui=none guifg=#bb9900 guibg=bg +hi underlined term=underline cterm=underline ctermfg=darkmagenta ctermbg=white gui=underline guifg=darkmagenta guibg=bg +hi Ignore term=italic cterm=none ctermfg=lightgrey ctermbg=white gui=none guifg=grey guibg=bg +"hi todo term=underline cterm=bold ctermfg=yellow ctermbg=brown gui=none guifg=#333333 guibg=#ddee33 +hi todo term=bold cterm=none ctermfg=yellow ctermbg=brown gui=bold guifg=#229900 guibg=#ddd9b8 +hi function term=bold cterm=none ctermfg=blue ctermbg=white gui=none guifg=#0055cc guibg=bg + +hi link String Constant +hi link Character Constant +hi link Number Constant +hi link Boolean Constant +hi link Float Number +hi link Conditional Statement +hi link Repeat Statement +hi link Label Statement +hi link Operator Statement +hi link Keyword Statement +hi link Exception 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 +hi link vimfunction function + + +" vim: set ts=8 sw=8 et sts=8 tw=72 fo-=t ff=unix : diff --git a/.vim/colors/autumnleaf.vim b/.vim/colors/autumnleaf.vim new file mode 100644 index 0000000..f7af59f --- /dev/null +++ b/.vim/colors/autumnleaf.vim @@ -0,0 +1,154 @@ +" Vim color file +" Maintainer: Anders Korte +" Last Change: 17 Oct 2004 + +" AutumnLeaf color scheme 1.0 + +set background=light + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name="AutumnLeaf" + + +" Colors for the User Interface. + +hi Cursor guibg=#aa7733 guifg=#ffeebb gui=bold +hi Normal guibg=#fffdfa guifg=black gui=none +hi NonText guibg=#eafaea guifg=#000099 gui=bold +hi Visual guibg=#fff8cc guifg=black gui=none +" hi VisualNOS + +hi Linenr guibg=bg guifg=#999999 gui=none + +" Uncomment these if you use Diff...?? +" hi DiffText guibg=#cc0000 guifg=white gui=none +" hi DiffAdd guibg=#0000cc guifg=white gui=none +" hi DiffChange guibg=#990099 guifg=white gui=none +" hi DiffDelete guibg=#888888 guifg=#333333 gui=none + +hi Directory guibg=bg guifg=#337700 gui=none + +hi IncSearch guibg=#c8e8ff guifg=black gui=none +hi Search guibg=#c8e8ff guifg=black gui=none +hi SpecialKey guibg=bg guifg=fg gui=none +hi Titled guibg=bg guifg=fg gui=none + +hi ErrorMsg guibg=bg guifg=#cc0000 gui=bold +hi ModeMsg guibg=bg guifg=#003399 gui=none +hi link MoreMsg ModeMsg +hi link Question ModeMsg +hi WarningMsg guibg=bg guifg=#cc0000 gui=bold + +hi StatusLine guibg=#ffeebb guifg=black gui=bold +hi StatusLineNC guibg=#aa8866 guifg=#f8e8cc gui=none +hi VertSplit guibg=#aa8866 guifg=#ffe0bb gui=none + +" hi Folded +" hi FoldColumn +" hi SignColumn + + +" Colors for Syntax Highlighting. + +hi Comment guibg=#ddeedd guifg=#002200 gui=none + +hi Constant guibg=bg guifg=#003399 gui=bold +hi String guibg=bg guifg=#003399 gui=italic +hi Character guibg=bg guifg=#003399 gui=italic +hi Number guibg=bg guifg=#003399 gui=bold +hi Boolean guibg=bg guifg=#003399 gui=bold +hi Float guibg=bg guifg=#003399 gui=bold + +hi Identifier guibg=bg guifg=#003399 gui=none +hi Function guibg=bg guifg=#0055aa gui=bold +hi Statement guibg=bg guifg=#003399 gui=none + +hi Conditional guibg=bg guifg=#aa7733 gui=bold +hi Repeat guibg=bg guifg=#aa5544 gui=bold +hi link Label Conditional +hi Operator guibg=bg guifg=#aa7733 gui=bold +hi link Keyword Statement +hi Exception guibg=bg guifg=#228877 gui=bold + +hi PreProc guibg=bg guifg=#aa7733 gui=bold +hi Include guibg=bg guifg=#558811 gui=bold +hi link Define Include +hi link Macro Include +hi link PreCondit Include + +hi Type guibg=bg guifg=#007700 gui=bold +hi link StorageClass Type +hi link Structure Type +hi Typedef guibg=bg guifg=#009900 gui=italic + +hi Special guibg=bg guifg=fg gui=none +hi SpecialChar guibg=bg guifg=fg gui=bold +hi Tag guibg=bg guifg=#003399 gui=bold +hi link Delimiter Special +hi SpecialComment guibg=#dddddd guifg=#aa0000 gui=none +hi link Debug Special + +hi Underlined guibg=bg guifg=blue gui=underline + +hi Title guibg=bg guifg=fg gui=bold +hi Ignore guibg=bg guifg=#999999 gui=none +hi Error guibg=red guifg=white gui=none +hi Todo guibg=bg guifg=#aa0000 gui=none + + + +" The same in cterm colors. +hi Cursor ctermbg=6 ctermfg=14 +hi Normal ctermbg=15 ctermfg=0 +hi NonText ctermbg=10 ctermfg=1 +hi Visual ctermbg=14 ctermfg=0 +" hi VisualNOS +hi Linenr ctermbg=bg ctermfg=7 +" hi DiffText ctermbg=4 ctermfg=15 +" hi DiffAdd ctermbg=1 ctermfg=15 +" hi DiffChange ctermbg=5 ctermfg=15 +" hi DiffDelete ctermbg=7 ctermfg=8 +hi Directory ctermbg=bg ctermfg=2 +hi IncSearch ctermbg=9 ctermfg=0 +hi Search ctermbg=9 ctermfg=0 +hi SpecialKey ctermbg=bg ctermfg=fg +hi Titled ctermbg=bg ctermfg=fg +hi ErrorMsg ctermbg=bg ctermfg=12 +hi ModeMsg ctermbg=bg ctermfg=9 +hi WarningMsg ctermbg=bg ctermfg=12 +hi StatusLine ctermbg=14 ctermfg=0 +hi StatusLineNC ctermbg=6 ctermfg=14 +hi VertSplit ctermbg=6 ctermfg=14 +" hi Folded +" hi FoldColumn +" hi SignColumn +hi Comment ctermbg=10 ctermfg=2 +hi Constant ctermbg=bg ctermfg=9 +hi String ctermbg=bg ctermfg=9 cterm=italic +hi Character ctermbg=bg ctermfg=9 cterm=italic +hi Number ctermbg=bg ctermfg=9 cterm=bold +hi Boolean ctermbg=bg ctermfg=9 cterm=bold +hi Float ctermbg=bg ctermfg=9 cterm=bold +hi Function ctermbg=bg ctermfg=9 cterm=bold +hi Statement ctermbg=bg ctermfg=9 cterm=bold +hi Conditional ctermbg=bg ctermfg=6 cterm=bold +hi Repeat ctermbg=bg ctermfg=6 cterm=bold +hi Operator ctermbg=bg ctermfg=6 cterm=bold +hi Exception ctermbg=bg ctermfg=2 cterm=bold +hi PreProc ctermbg=bg ctermfg=6 +hi Include ctermbg=bg ctermfg=2 cterm=bold +hi Type ctermbg=bg ctermfg=2 cterm=bold +hi Typedef ctermbg=bg ctermfg=2 cterm=italic +hi Special ctermbg=bg ctermfg=fg cterm=bold +hi Tag ctermbg=bg ctermfg=9 cterm=bold +hi SpecialComment ctermbg=7 ctermfg=4 +hi Underlined ctermbg=bg ctermfg=9 cterm=underline +hi Title ctermbg=bg ctermfg=fg cterm=bold +hi Ignore ctermbg=bg ctermfg=7 +hi Error ctermbg=12 ctermfg=15 +hi Todo ctermbg=bg ctermfg=15 diff --git a/.vim/colors/basic.vim b/.vim/colors/basic.vim new file mode 100644 index 0000000..da9b5c8 --- /dev/null +++ b/.vim/colors/basic.vim @@ -0,0 +1,47 @@ +" Vim color file +" Maintainer: Mikel Ward +" Last Change: 2008 Jan 16 + +" Remove all existing highlighting and set the defaults. +highlight clear + +" Load the syntax highlighting defaults, if it's enabled. +"if exists("syntax_on") +" syntax reset +"endif + +let colors_name = "basic" + +" Remove all highlighting +highlight clear Constant +highlight clear Number +highlight clear Statement +highlight clear PreProc +highlight clear Type +highlight clear Special +highlight clear Identifier + +highlight clear String +highlight clear Comment +highlight clear Error +highlight clear LineNr +highlight clear NonText +highlight clear SpecialKey + +" Set up some simple non-intrusive colors +if &background == "light" + highlight String term=underline cterm=NONE ctermfg=DarkGreen + highlight Comment term=bold cterm=NONE ctermfg=DarkBlue + highlight Error term=reverse cterm=NONE ctermfg=DarkRed + highlight LineNr term=bold cterm=NONE ctermfg=DarkYellow + highlight NonText term=bold cterm=NONE ctermfg=DarkYellow + highlight SpecialKey term=bold cterm=NONE ctermfg=DarkYellow +else + highlight String term=underline cterm=NONE ctermfg=Magenta + highlight Comment term=bold cterm=NONE ctermfg=Cyan + highlight Error term=reverse cterm=NONE ctermbg=Red + highlight LineNr term=bold cterm=NONE ctermfg=Yellow + highlight NonText term=bold cterm=NONE ctermfg=Yellow + highlight SpecialKey term=bold cterm=NONE ctermfg=Yellow +endif + diff --git a/.vim/colors/bayQua.vim b/.vim/colors/bayQua.vim new file mode 100644 index 0000000..c279ce6 --- /dev/null +++ b/.vim/colors/bayQua.vim @@ -0,0 +1,161 @@ +" Vim color file +" bayQua v1.2b +" http://www.vim.org/scripts/script.php?script_id=1454 +" +" Maintainer: Shawn Axsom +" +" * Place :colo bayqua in your VimRC/GVimRC file +" * GvimRC if using GUI any +" +" - An offwhite version of baycomb, inspired somewhat by TaQua +" - Thanks to Desert and OceanDeep for their color scheme +" file layouts +" - Thanks to Raimon Grau for his feedback + +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="bayQua" + +hi Normal guifg=#003255 guibg=#e8ebf0 "greyish blue2 +hi NonText guifg=#382920 guibg=#152555 + +" syntax highlighting """""""""""""""""""""""""""""""""""""""" + +"set comments to grey on non-Windows OS's to make sure +"it is readable +if &term == "builtin_gui" || &term == "win32" + hi Comment guifg=#daddb8 guibg=#308ae5 +else + hi Comment guifg=darkyellow guibg=#207ada +endif +"""""""""""""""""""""""""""""""""""""""""""""""""""""" + +hi Title guifg=#857540 gui=none +hi Underlined guifg=#8a758a + +hi Statement guifg=#da302a gui=none +hi Type guifg=#307aca gui=none +hi Constant guifg=#3a40aa gui=none +hi PreProc guifg=#9570b5 +hi Identifier guifg=#856075 "gui=bold +hi Special guifg=#652a7a +hi Ignore guifg=grey40 +hi Todo guifg=orangered guibg=yellow2 +hi Error guibg=#b03452 +"""""this section borrowed from OceanDeep/Midnight""""" +hi Number guifg=#006bcd +hi Function gui=None guifg=#d06d50 "or green 50b3b0 +highlight Conditional gui=None guifg=#a50a4a +highlight Repeat gui=None guifg=#700d8a +"hi Label gui=None guifg=LightGreen guibg=bg +highlight Operator gui=None guifg=#e0b045 +highlight Keyword gui=bold guifg=grey guibg=bg +highlight Exception gui=none guifg=#ea5460 +""""""""""""""""""""""""""""""""""""""""""""""""""""""" +"end syntax highlighting """"""""""""""""""""""""""""""""""""" + +" highlight groups +"hi CursorIM +hi Directory guifg=#bbd0df +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +hi ErrorMsg guibg=#ff4545 + +hi Cursor guibg=#cadaca guifg=#05293d + +hi FoldColumn guibg=#409ae0 guifg=darkgrey +"hi FoldColumn guibg=#83a5cd guifg=#70459F +hi LineNr guibg=#409ae0 guifg=darkblue gui=bold +"hi LineNr guibg=#081c30 guifg=#80a0dA +hi StatusLine guibg=#20b5fd guifg=#0a150d gui=none +hi StatusLineNC guibg=#0580da guifg=#302d34 gui=none + +hi Search guibg=#babdad guifg=#3a4520 +hi IncSearch guifg=#dadeca guibg=#3a4520 + +hi VertSplit guibg=#525f95 guifg=grey50 gui=none +hi Folded guibg=#252f5d guifg=#BBDDCC +hi ModeMsg guifg=#00AACC +hi MoreMsg guifg=SeaGreen +hi Question guifg=#AABBCC +hi SpecialKey guifg=#308c70 +hi Visual guifg=#008FBF guibg=#33DFEF +"hi VisualNOS +hi WarningMsg guifg=salmon +"hi WildMenu +"hi Menu +"hi Scrollbar guibg=grey30 guifg=tan +"hi Tooltip + + +" new Vim 7.0 items +hi Pmenu guibg=#3a6595 guifg=#9aadd5 +hi PmenuSel guibg=#4a85ba guifg=#b0d0f0 + + + + + +" color terminal definitions +hi Normal ctermfg=black ctermbg=white +hi Number ctermfg=blue +highlight Operator ctermfg=yellow +highlight Conditional ctermfg=magenta +highlight Repeat ctermfg=magenta +hi Exception ctermfg=red +hi function ctermfg=darkyellow +hi SpecialKey ctermfg=darkgreen +hi NonText cterm=bold ctermfg=darkgrey +hi Directory ctermfg=darkcyan +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE +hi Search ctermfg=white ctermbg=darkyellow cterm=NONE +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr ctermfg=black ctermbg=blue +hi Question ctermfg=green +hi StatusLine ctermfg=cyan ctermbg=blue cterm=NONE +hi StatusLineNC ctermfg=grey ctermbg=darkblue cterm=NONE +hi VertSplit ctermfg=black ctermbg=black cterm=NONE +hi Title ctermfg=darkyellow ctermbg=white +hi Visual ctermbg=darkcyan ctermfg=cyan cterm=NONE +hi VisualNOS ctermbg=darkcyan ctermfg=white cterm=NONE +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=black ctermbg=white cterm=NONE +hi FoldColumn ctermfg=green ctermbg=blue +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 + +hi Comment ctermfg=grey ctermbg=blue + +hi Constant ctermfg=darkblue +hi Special ctermfg=darkmagenta +hi Identifier ctermfg=darkyellow cterm=NONE +hi Statement ctermfg=red +hi PreProc ctermfg=magenta +hi Type ctermfg=darkcyan "or darkcyan +hi Underlined ctermfg=black ctermbg=white +hi Ignore cterm=bold ctermfg=7 +hi Ignore ctermfg=darkgrey +hi Error cterm=bold ctermfg=7 ctermbg=1 + +" new Vim 7.0 items +hi Pmenu ctermbg=darkblue ctermfg=lightgrey +hi PmenuSel ctermbg=lightblue ctermfg=white + +"vim: sw=4 + + diff --git a/.vim/colors/baycomb.vim b/.vim/colors/baycomb.vim new file mode 100644 index 0000000..1311e72 --- /dev/null +++ b/.vim/colors/baycomb.vim @@ -0,0 +1,319 @@ +" Vim color file +" baycomb v2.4 +" http://www.vim.org/scripts/script.php?script_id=1454 +" +" Maintainer: Shawn Axsom +" +" * Place :colo baycomb in your VimRC/GVimRC file +" * Also add :set background=dark or :setbackground=light +" depending on your preference. +" +" - Thanks to Desert and OceanDeep for their color scheme +" file layouts +" - Thanks to Raimon Grau and Bob Lied for their feedback + +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="baycomb" + +if &background == "dark" +hi Normal guifg=#a0b4e0 guibg=#11121a "1a1823 +hi NonText guifg=#382920 guibg=bg + +hi Folded guibg=#232235 guifg=grey +hi FoldColumn guibg=#0a0a18 guifg=#dbcaa5 +hi LineNr guibg=#101124 guifg=#206aa9 +hi StatusLine guibg=#354070 guifg=#6880ea gui=none +hi StatusLineNC guibg=#2c3054 guifg=#5c6dbe gui=none +hi VertSplit guibg=#22253c guifg=#223355 gui=none + +hi tablinesel guibg=#515a71 guifg=#50aae5 gui=none +hi tabline guibg=#4d4d5f guifg=#5b7098 gui=none +hi tablinefill guibg=#2d2d3f guifg=#aaaaaa gui=none + +"hi SpellBad +"hi SpellCap +"hi SpellLocal +"hi SpellRare + +hi MatchParen guibg=#7b5a55 guifg=#001122 + +" syntax highlighting """""""""""""""""""""""""""""""""""""""" + + +hi Comment guifg=#349d58 guibg=bg +hi Title guifg=#e5e5ca gui=none +hi Underlined guifg=#bac5ba gui=none + +hi Statement guifg=#fca8ad gui=none "a080aa +hi Type guifg=#0490e8 gui=bold +hi Constant guifg=#5c78f0 "guibg=#111a2a +hi Number guifg=#4580b4 "guibg=#111a2a +hi PreProc guifg=#ba75cf +hi Special guifg=#aaaaca +hi Ignore guifg=grey40 +hi Todo guifg=orangered guibg=yellow2 +hi Error guibg=#b03452 +hi Function guifg=#bab588 guibg=bg gui=bold +hi Identifier guifg=#5094c4 +"""""this section borrowed from OceanDeep/Midnight""""" +highlight Conditional gui=None guifg=#d0688d guibg=bg +highlight Repeat gui=None guifg=#e06070 guibg=bg +"hi Label gui=None guifg=LightGreen guibg=bg +highlight Operator gui=None guifg=#e8cdc0 guibg=bg +highlight Keyword gui=bold guifg=grey guibg=bg +highlight Exception gui=bold guifg=#d0a8ad guibg=bg +""""""""""""""""""""""""""""""""""""""""""""""""""""""" +"end syntax highlighting """"""""""""""""""""""""""""""""""""" + +" highlight groups +"hi CursorIM +hi Directory guifg=#bbd0df +hi DiffText guibg=#004335 +hi DiffChange guibg=#685b5c +hi DiffAdd guibg=#0a4b8c +hi DiffDelete guifg=#300845 guibg=#200845 +hi ErrorMsg guibg=#ff4545 + +hi Cursor guibg=#cad5c0 guifg=#0000aa + + +hi Search guibg=darkyellow guifg=black +hi IncSearch guifg=#babeaa guibg=#3a4520 + +hi ModeMsg guifg=#00AACC +hi MoreMsg guifg=SeaGreen +hi Question guifg=#AABBCC +hi SpecialKey guifg=#90dcb0 +hi Visual guifg=#102030 guibg=#80a0f0 +hi VisualNOS guifg=#201a30 guibg=#a3a5FF +hi WarningMsg guifg=salmon +"hi WildMenu +"hi Menu +"hi Scrollbar guibg=grey30 guifg=tan +"hi Tooltip + + +" new Vim 7.0 items +hi Pmenu guibg=#3a6595 guifg=#9aadd5 +hi PmenuSel guibg=#4a85ba guifg=#b0d0f0 + + + + + +" color terminal definitions +hi Cursor ctermfg=black ctermbg=white +hi Normal ctermfg=grey ctermbg=black +hi Number ctermfg=darkgreen +highlight Operator ctermfg=yellow +highlight Conditional ctermfg=darkred +highlight Repeat ctermfg=darkred +hi Exception ctermfg=darkred +hi SpecialKey ctermfg=darkgreen +hi NonText cterm=bold ctermfg=darkgrey +hi Directory ctermfg=darkcyan +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE +hi Search ctermfg=black ctermbg=darkyellow cterm=NONE +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr ctermfg=darkcyan ctermbg=black +hi Question ctermfg=green +hi StatusLine ctermfg=yellow ctermbg=darkblue cterm=NONE +hi StatusLineNC ctermfg=grey ctermbg=darkblue cterm=NONE +hi VertSplit ctermfg=black ctermbg=darkgrey cterm=NONE +hi Title ctermfg=yellow cterm=NONE +hi Visual ctermbg=grey ctermfg=blue cterm=NONE +hi VisualNOS ctermbg=grey ctermfg=blue cterm=NONE +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=darkgreen ctermbg=darkblue cterm=NONE +hi FoldColumn ctermfg=yellow ctermbg=black +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 +hi Comment ctermfg=darkgreen ctermbg=black +hi Identifier ctermfg=cyan + +"set comments to grey on non-Windows OS's to make sure +"it is readable +if &term == "builtin_gui" || &term == "win32" + hi function ctermfg=grey + hi Type ctermfg=darkyellow ctermbg=darkblue + hi IncSearch ctermfg=black ctermbg=grey cterm=NONE + hi Search ctermfg=black ctermbg=darkgrey cterm=NONE +else + hi function ctermfg=white + hi Type ctermfg=grey + hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE + hi Search ctermfg=black ctermbg=darkyellow cterm=NONE +endif +"""""""""""""""""""""""""""""""""""""""""""""""""""""" + +hi Constant ctermfg=darkcyan +hi Special ctermfg=white +hi Statement ctermfg=yellow +hi PreProc ctermfg=darkred +hi Underlined ctermfg=cyan cterm=NONE +hi Ignore cterm=bold ctermfg=7 +hi Ignore ctermfg=darkgrey +hi Error cterm=bold ctermfg=7 ctermbg=1 + +" new Vim 7.0 items +hi Pmenu ctermbg=darkblue ctermfg=lightgrey +hi PmenuSel ctermbg=lightblue ctermfg=white + +hi tablinesel ctermfg=cyan ctermbg=blue +hi tabline ctermfg=black ctermbg=blue +hi tablinefill ctermfg=green ctermbg=darkblue +"vim: sw=4 +" +hi MatchParen ctermfg=black ctermbg=green + + +elseif &background == "light" + +hi Normal guifg=#003255 guibg=#e8ebf0 "greyish blue2 +hi NonText guifg=#382920 guibg=#152555 + +" syntax highlighting """""""""""""""""""""""""""""""""""""""" + +"set comments to grey on non-Windows OS's to make sure +"it is readable +if &term == "builtin_gui" || &term == "win32" + hi Comment guifg=#daddb8 guibg=#308ae5 +else + hi Comment guifg=darkyellow guibg=#207ada +endif +"""""""""""""""""""""""""""""""""""""""""""""""""""""" + +hi Title guifg=#857540 gui=none +hi Underlined guifg=#8a758a + +hi Statement guifg=#da302a gui=none +hi Type guifg=#307aca gui=none +hi Constant guifg=#3a40aa gui=none +hi PreProc guifg=#9570b5 +hi Identifier guifg=#856075 "gui=bold +hi Special guifg=#652a7a +hi Ignore guifg=grey40 +hi Todo guifg=orangered guibg=yellow2 +hi Error guibg=#b03452 +"""""this section borrowed from OceanDeep/Midnight""""" +hi Number guifg=#006bcd +hi Function gui=None guifg=#d06d50 "or green 50b3b0 +highlight Conditional gui=None guifg=#a50a4a +highlight Repeat gui=None guifg=#700d8a +"hi Label gui=None guifg=LightGreen guibg=bg +highlight Operator gui=None guifg=#e0b045 +highlight Keyword gui=bold guifg=grey guibg=bg +highlight Exception gui=none guifg=#ea5460 +""""""""""""""""""""""""""""""""""""""""""""""""""""""" +"end syntax highlighting """"""""""""""""""""""""""""""""""""" + +" highlight groups +"hi CursorIM +hi Directory guifg=#bbd0df +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +hi ErrorMsg guibg=#ff4545 + +hi Cursor guibg=#cadaca guifg=#05293d + +hi FoldColumn guibg=#409ae0 guifg=darkgrey +"hi FoldColumn guibg=#83a5cd guifg=#70459F +hi LineNr guibg=#409ae0 guifg=darkblue gui=bold +"hi LineNr guibg=#081c30 guifg=#80a0dA +hi StatusLine guibg=#20b5fd guifg=#0a150d gui=none +hi StatusLineNC guibg=#0580da guifg=#302d34 gui=none + +hi Search guibg=#babdad guifg=#3a4520 +hi IncSearch guifg=#dadeca guibg=#3a4520 + +hi VertSplit guibg=#525f95 guifg=grey50 gui=none +hi Folded guibg=#252f5d guifg=#BBDDCC +hi ModeMsg guifg=#00AACC +hi MoreMsg guifg=SeaGreen +hi Question guifg=#AABBCC +hi SpecialKey guifg=#308c70 +hi Visual guifg=#008FBF guibg=#33DFEF +"hi VisualNOS +hi WarningMsg guifg=salmon +"hi WildMenu +"hi Menu +"hi Scrollbar guibg=grey30 guifg=tan +"hi Tooltip + + +" new Vim 7.0 items +hi Pmenu guibg=#3a6595 guifg=#9aadd5 +hi PmenuSel guibg=#4a85ba guifg=#b0d0f0 + + + + + +" color terminal definitions +hi Normal ctermfg=black ctermbg=white +hi Number ctermfg=blue +highlight Operator ctermfg=yellow +highlight Conditional ctermfg=magenta +highlight Repeat ctermfg=magenta +hi Exception ctermfg=red +hi function ctermfg=darkyellow +hi SpecialKey ctermfg=darkgreen +hi NonText cterm=bold ctermfg=darkgrey ctermbg=grey +hi Directory ctermfg=darkcyan +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE +hi Search ctermfg=white ctermbg=darkyellow cterm=NONE +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr ctermfg=black ctermbg=blue +hi Question ctermfg=green +hi StatusLine ctermfg=cyan ctermbg=blue cterm=NONE +hi StatusLineNC ctermfg=grey ctermbg=darkblue cterm=NONE +hi VertSplit ctermfg=black ctermbg=black cterm=NONE +hi Title ctermfg=darkyellow ctermbg=white +hi Visual ctermbg=darkcyan ctermfg=cyan cterm=NONE +hi VisualNOS ctermbg=darkcyan ctermfg=white cterm=NONE +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=black ctermbg=white cterm=NONE +hi FoldColumn ctermfg=green ctermbg=blue +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 + +hi Comment ctermfg=grey ctermbg=blue + +hi Constant ctermfg=darkblue +hi Special ctermfg=darkmagenta +hi Identifier ctermfg=darkyellow cterm=NONE +hi Statement ctermfg=red +hi PreProc ctermfg=magenta +hi Type ctermfg=darkcyan "or darkcyan +hi Underlined ctermfg=black ctermbg=white +hi Ignore cterm=bold ctermfg=7 +hi Ignore ctermfg=darkgrey +hi Error cterm=bold ctermfg=7 ctermbg=1 + +" new Vim 7.0 items +hi Pmenu ctermbg=darkblue ctermfg=lightgrey +hi PmenuSel ctermbg=lightblue ctermfg=white + +"vim: sw=4 + +endif diff --git a/.vim/colors/bclear.vim b/.vim/colors/bclear.vim new file mode 100644 index 0000000..bc35464 --- /dev/null +++ b/.vim/colors/bclear.vim @@ -0,0 +1,69 @@ +" Vim colorscheme +" Name: bclear +" Maintainer: Ricky Cintron 'borosai' +" Last Change: 2010-10-17 + +hi clear +set background=light +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "bclear" + +"---GUI settings +hi SpecialKey guifg=#000000 guibg=#ffcde6 +hi NonText guifg=#969696 guibg=#f0f0f0 gui=none +hi Directory guifg=#78681a +hi ErrorMsg guifg=#ffffff guibg=#a01010 +hi IncSearch guifg=#ffffff guibg=#ff8000 gui=none +hi Search guifg=#000000 guibg=#ffd073 +hi MoreMsg guifg=#ffffff guibg=#3c960f gui=none +hi ModeMsg guifg=#323232 gui=none +hi LineNr guifg=#969696 guibg=#f0f0f0 +hi Question guifg=#000000 guibg=#ffde37 gui=none +hi StatusLine guifg=#ffffff guibg=#323232 gui=none +hi StatusLineNC guifg=#f0f0f0 guibg=#646464 gui=none +hi VertSplit guifg=#f0f0f0 guibg=#646464 gui=none +hi Title guifg=#323232 gui=none +hi Visual guifg=#ffffff guibg=#1994d1 +hi VisualNOS guifg=#000000 guibg=#1994d1 gui=none +hi WarningMsg guifg=#c8c8c8 guibg=#a01010 +hi WildMenu guifg=#ffffff guibg=#1994d1 +hi Folded guifg=#969696 guibg=#f0f0f0 +hi FoldColumn guifg=#969696 guibg=#f0f0f0 +hi DiffAdd guibg=#deffcd +hi DiffChange guibg=#dad7ff +hi DiffDelete guifg=#c8c8c8 guibg=#ffffff gui=none +hi DiffText guifg=#ffffff guibg=#767396 gui=none +hi SignColumn guifg=#969696 guibg=#f0f0f0 +hi Conceal guifg=#969696 guibg=#f0f0f0 +hi SpellBad guifg=#000000 guibg=#fff5c3 guisp=#f01818 gui=undercurl +hi SpellCap guifg=#000000 guibg=#fff5c3 guisp=#14b9c8 gui=undercurl +hi SpellRare guifg=#000000 guibg=#fff5c3 guisp=#4cbe13 gui=undercurl +hi SpellLocal guifg=#000000 guibg=#fff5c3 guisp=#000000 gui=undercurl +hi Pmenu guifg=#ffffff guibg=#323232 +hi PmenuSel guifg=#ffffff guibg=#1994d1 +hi PmenuSbar guifg=#323232 guibg=#323232 +hi PmenuThumb guifg=#646464 guibg=#646464 gui=none +hi TabLine guifg=#f0f0f0 guibg=#646464 gui=none +hi TabLineSel guifg=#ffffff guibg=#323232 gui=none +hi TabLineFill guifg=#646464 guibg=#646464 gui=none +hi CursorColumn guibg=#e1f5ff +hi CursorLine guibg=#e1f5ff gui=none +hi ColorColumn guibg=#b8ddf0 +hi Cursor guifg=#ffffff guibg=#323232 +hi lCursor guifg=#ffffff guibg=#004364 +hi MatchParen guifg=#ffffff guibg=#f00078 +hi Normal guifg=#323232 guibg=#ffffff +hi Comment guifg=#969696 +hi Constant guifg=#1094a0 +hi Special guifg=#dc6816 +hi Identifier guifg=#3c960f +hi Statement guifg=#3b6ac8 gui=none +hi PreProc guifg=#294a8c +hi Type guifg=#a00050 gui=none +hi Underlined guifg=#323232 gui=underline +hi Ignore guifg=#c8c8c8 +hi Error guifg=#ffffff guibg=#c81414 +hi Todo guifg=#c81414 guibg=#ffffff + diff --git a/.vim/colors/beachcomber.vim b/.vim/colors/beachcomber.vim new file mode 100644 index 0000000..4b34b66 --- /dev/null +++ b/.vim/colors/beachcomber.vim @@ -0,0 +1,64 @@ +" Vim color file +" beachcomber v1.0 +" Maintainer: Rob Valentine + +" Beachcomber +" +" This theme is meant to remind one of a day at the beach. +" +" useful help screens & commands +" :syntax +" :he group-name +" :he highlight-groups +" :he cterm-colors +" +" useful online resource +" http://www.colorpicker.com + +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="beachcomber" + +hi Normal guibg=#F1EFD8 guifg=#192B4E + +" syntax highlighting +hi Comment guifg=#6C5B5B +hi Title guifg=#416B24 +hi Underlined guifg=#20b0eF gui=none +hi Statement guifg=#41898A +hi Type guifg=#204546 +hi PreProc guifg=#984D4D +hi Constant guifg=#6A3F70 +hi Identifier guifg=#395420 + +"highlight groups +hi Ignore guifg=grey40 +hi Todo guifg=#204546 guibg=#FFBCFD +hi Cursor guibg=#A8CDCD guifg=#FF05EA +hi MatchParen guibg=#FF05EA guifg=#A8CDCD +hi Directory guifg=#395420 +hi DiffAdd guifg=#07AF07 guibg=#FFFFFF +hi DiffChange guifg=#333333 guibg=#FFFFFF +hi DiffDelete guifg=#FF0000 guibg=#FFFFFF +hi DiffText guifg=#000000 guibg=#FFE572 +hi ErrorMsg guifg=#FFFFFF guibg=#0000FF +hi VertSplit guibg=#555555 guifg=#A3FFFE gui=none +hi Folded guibg=#7BD3D4 guifg=#2F2F2F +hi FoldColumn guibg=#7BD3D4 guifg=#2F2F2F +hi LineNr guifg=#2F2F2F guibg=#B8EAEB +hi NonText guifg=#52503B guibg=#D8D6BC +hi Search guibg=#FDFF5B guifg=#52503B +hi IncSearch guifg=#FDFF5B guibg=#52503B +hi StatusLine guibg=#7BD3D4 guifg=#2F2F2F gui=none +hi StatusLineNC guibg=#555555 guifg=#A3FFFE gui=none +hi Visual guifg=#726F54 guibg=#D4FEFE +hi Pmenu guifg=#52503B guibg=#FAAFFF +hi PmenuSel guifg=#242318 guibg=#F375FB +"vim: sw=4 diff --git a/.vim/colors/beauty256.vim b/.vim/colors/beauty256.vim new file mode 100644 index 0000000..0781bc9 --- /dev/null +++ b/.vim/colors/beauty256.vim @@ -0,0 +1,79 @@ +" Vim colour scheme +" Maintainer: Mahmoud Sahebi Afzal +" Last Change: 22 March 2008 +" Version: 1.0 +" +" This colorscheme is my try to be beautiful as posible in the xterm +" 256 color environments + +hi clear +set background=light +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = 'beauty256' + +hi Normal gui=none guifg=Black guibg=White ctermfg=0 ctermbg=231 + +hi Cursor guifg=White guibg=Black ctermfg=231 ctermbg=16 +hi LineNr gui=bold guifg=#828c95 guibg=#bbbbbb ctermfg=244 ctermbg=7 +hi NonText gui=bold guifg=DarkGray guibg=#bbbbbb ctermfg=7 ctermbg=7 +hi SpecialKey term=bold ctermfg=4 +hi Title term=bold ctermfg=5 guifg=RoyalBlue4 +hi Visual term=reverse ctermbg=7 guifg=White guibg=#829db9 +hi Ignore ctermfg=bg guifg=bg + +hi FoldColumn guifg=Black guibg=#979797 ctermbg=7 ctermfg=4 +hi Folded guifg=Black guibg=#bbbbbb ctermbg=7 ctermfg=244 +hi StatusLine guifg=#ddddff guibg=#220088 ctermfg=5 ctermbg=231 +hi StatusLineNC guifg=#829db9 guibg=Black ctermfg=8 ctermbg=188 +hi VertSplit gui=bold guifg=#9ca6af guibg=Black cterm=bold ctermfg=231 ctermbg=8 +hi Wildmenu guifg=Black guibg=White ctermfg=0 ctermbg=11 +"hi CursorLine ctermbg=255 +hi Pmenu guibg=Grey65 guifg=Black gui=none ctermfg=250 ctermbg=238 +hi PmenuSbar guibg=Grey50 guifg=fg gui=none ctermbg=214 +hi PmenuSel guibg=Yellow guifg=Black gui=none ctermbg=214 ctermfg=16 +hi PmenuThumb guibg=Grey75 guifg=fg gui=none cterm=reverse + +hi IncSearch gui=none guifg=White guibg=Black cterm=reverse +hi Search gui=none guifg=Black guibg=Yellow ctermbg=11 + +hi MoreMsg gui=bold guifg=ForestGreen +hi Question gui=bold guifg=ForestGreen +hi WarningMsg gui=bold guifg=Red + +hi Comment gui=italic guifg=#9999cc ctermfg=248 +hi Error gui=none guifg=White guibg=Red ctermfg=15 ctermbg=197 +hi Identifier gui=none guifg=Sienna4 ctermfg=94 +hi Special gui=none guifg=RoyalBlue4 ctermfg=69 +hi PreProc gui=none guifg=RoyalBlue3 ctermfg=12 +hi Todo gui=bold guifg=Black guibg=Yellow ctermbg=214 ctermbg=232 +hi Type gui=bold guifg=RoyalBlue4 ctermfg=62 +hi Underlined gui=underline guifg=Blue +hi Directory ctermfg=132 +hi Pmenu ctermfg=250 ctermbg=238 +hi PmenuSel ctermbg=214 ctermfg=16 + +hi Boolean gui=bold guifg=ForestGreen +hi Constant gui=none guifg=ForestGreen +hi Number gui=bold guifg=ForestGreen +hi String gui=none guifg=ForestGreen ctermfg=2 +hi helpNote ctermbg=220 ctermfg=16 + +hi Label gui=bold,underline guifg=Sienna4 +hi Statement gui=bold guifg=#bb88bb ctermfg=132 +hi htmlStatement ctermfg=132 + +hi htmlBold gui=bold +hi htmlItalic gui=italic +hi htmlUnderline gui=underline +hi htmlBoldItalic gui=bold,italic +hi htmlBoldUnderline gui=bold,underline +hi htmlBoldUnderlineItalic gui=bold,underline,italic +hi htmlUnderlineItalic gui=underline,italic + +hi djangoStatement guibg=#ddffaa ctermbg=150 ctermfg=22 +hi docSpecial guifg=RoyalBlue1 +hi docTrans guibg=White guifg=White +hi docCode guifg=#00aa00 diff --git a/.vim/colors/bensday.vim b/.vim/colors/bensday.vim new file mode 100644 index 0000000..66dae1d --- /dev/null +++ b/.vim/colors/bensday.vim @@ -0,0 +1,60 @@ +" Vim color file +" Maintainer: Christian V. J. Brssow +" Last Change: So 27 Apr 2008 18:55:52 CEST + +" This color scheme uses a dark grey background. +" It is based upon the evening color scheme with only slight modifications. +" So most (99%) of the credit for this color scheme belongs to the maintainer +" of the original work, Bram Moolenaar. + +" First remove all existing highlighting. +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "bensday" + +hi Normal ctermbg=DarkGrey ctermfg=White guifg=White guibg=grey15 + +" Groups used in the 'highlight' and 'guicursor' options default value. +hi ErrorMsg term=standout ctermbg=DarkRed ctermfg=White guibg=Red guifg=White +hi IncSearch term=reverse cterm=reverse gui=reverse +hi ModeMsg term=bold cterm=bold gui=bold +hi StatusLine term=reverse,bold cterm=reverse,bold gui=bold guifg=DarkBlue guibg=LightGray +hi User1 term=inverse,bold cterm=inverse,bold ctermfg=red gui=bold guifg=white guibg=DarkBlue +hi StatusLineNC term=reverse cterm=reverse gui=none guifg=LightGray guibg=#509050 +hi VertSplit term=reverse cterm=reverse gui=reverse guifg=LightGray guibg=DarkBlue +hi Visual term=reverse cterm=reverse gui=reverse guifg=grey30 guibg=fg +hi VisualNOS term=underline,bold cterm=underline,bold gui=underline,bold +hi DiffText term=reverse cterm=bold ctermbg=Red gui=bold guibg=Red +hi Cursor guibg=Green guifg=Black +hi lCursor guibg=Cyan guifg=Black +hi Directory term=bold ctermfg=LightCyan guifg=Cyan +hi LineNr term=underline ctermfg=green guibg=grey10 guifg=#509050 gui=bold +hi MoreMsg term=bold ctermfg=LightGreen gui=bold guifg=SeaGreen +hi NonText term=bold ctermfg=LightBlue gui=bold guifg=LightBlue guibg=grey30 +hi Question term=standout ctermfg=LightGreen gui=bold guifg=Green +hi Search term=reverse ctermbg=Yellow ctermfg=Black guibg=Yellow guifg=Black +hi SpecialKey term=bold ctermfg=LightBlue guifg=Cyan +hi Title term=bold ctermfg=LightMagenta gui=bold guifg=Magenta +hi WarningMsg term=standout ctermfg=LightRed guifg=Red +hi WildMenu term=standout ctermbg=Yellow ctermfg=Black guibg=Yellow guifg=Black +hi Folded term=standout ctermbg=LightGrey ctermfg=DarkBlue gui=bold,italic guibg=gray20 guifg=#609060 +hi FoldColumn term=standout ctermbg=LightGrey ctermfg=DarkBlue gui=bold guibg=gray20 guifg=#609060 +hi DiffAdd term=bold ctermbg=DarkBlue guibg=DarkBlue +hi DiffChange term=bold ctermbg=DarkMagenta guibg=DarkMagenta +hi DiffDelete term=bold ctermfg=Blue ctermbg=DarkCyan gui=bold guifg=Blue guibg=DarkCyan +hi CursorColumn term=reverse ctermbg=Black guibg=grey40 +hi CursorLine term=underline cterm=underline guibg=grey40 + +" Groups for syntax highlighting +hi Constant term=underline ctermfg=Magenta guifg=#ffa0a0 gui=bold +hi Special term=bold ctermfg=LightRed guifg=Orange gui=bold +if &t_Co > 8 + hi Statement term=bold cterm=bold ctermfg=Yellow guifg=#ffff60 gui=bold +endif +hi Ignore ctermfg=DarkGrey guifg=grey20 + +" vim: sw=2 diff --git a/.vim/colors/billw.vim b/.vim/colors/billw.vim new file mode 100644 index 0000000..26a0b37 --- /dev/null +++ b/.vim/colors/billw.vim @@ -0,0 +1,103 @@ +" Vim color file +" Maintainer: Datila Carvalho +" Last Change: May, 19, 2005 +" Version: 0.2 + +" This is a VIM's version of the emacs color theme +" _Billw_ created by Bill White. + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "billw" + + +""" Colors + +" GUI colors +hi Cursor guifg=fg guibg=cornsilk +hi CursorIM guifg=NONE guibg=cornsilk +"hi Directory +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +hi ErrorMsg gui=bold guifg=White guibg=Red +"hi VertSplit +"hi Folded +"hi FoldColumn +"hi IncSearch +hi LineNr gui=bold guifg=yellow4 guibg=gray10 +hi ModeMsg gui=bold +"hi MoreMsg +"hi NonText +hi Normal guibg=black guifg=cornsilk +"hi Question +hi Search gui=bold guifg=Black guibg=cornsilk +"hi SpecialKey +hi StatusLine guifg=tan1 guibg=gray10 +hi StatusLineNC guifg=orange3 +"hi Title +hi Visual guifg=gray35 guibg=fg +hi VisualNOS gui=bold guifg=black guibg=fg +hi WarningMsg guifg=White guibg=Tomato +"hi WildMenu + +hi User2 guifg=lightgoldenrod guibg=gray15 gui=bold + +"If using Motif/Athena +hi Menu guifg=fg guibg=gray35 +hi Scrollbar guibg=gray35 + +" Colors for syntax highlighting +hi Comment guifg=gold + +hi Constant guifg=mediumspringgreen + hi String guifg=orange + hi Character guifg=orange + hi Number guifg=mediumspringgreen + hi Boolean guifg=mediumspringgreen + hi Float guifg=mediumspringgreen + +hi Identifier guifg=yellow + hi Function guifg=mediumspringgreen + +hi Statement gui=bold guifg=cyan1 + hi Conditional gui=bold guifg=cyan1 + hi Repeat gui=bold guifg=cyan1 + hi Label guifg=cyan1 + hi Operator guifg=cyan1 + "hi Keyword + "hi Exception + +hi PreProc guifg=LightSteelBlue + hi Include guifg=LightSteelBlue + hi Define guifg=LightSteelBlue + hi Macro guifg=LightSteelBlue + hi PreCondit guifg=LightSteelBlue + +hi Type guifg=yellow + hi StorageClass guifg=cyan1 + hi Structure gui=bold guifg=cyan1 + hi Typedef guifg=cyan1 + +"hi Special + ""Underline Character + "hi SpecialChar gui=underline + "hi Tag gui=bold,underline + ""Statement + "hi Delimiter gui=bold + ""Bold comment (in Java at least) + "hi SpecialComment gui=bold + "hi Debug gui=bold + +hi Underlined gui=underline + +hi Ignore guifg=bg + +hi Error gui=bold guifg=White guibg=Red + +"hi Todo diff --git a/.vim/colors/biogoo.vim b/.vim/colors/biogoo.vim new file mode 100644 index 0000000..cb4a4c9 --- /dev/null +++ b/.vim/colors/biogoo.vim @@ -0,0 +1,121 @@ +" Vim color File +" Name: biogoo +" Maintainer: Benjamin Esham +" Last Change: 2010-08-16 +" Version: 1.6.1 +" +" Colorful text on a light gray background. It's pretty easy on the eyes in my +" opinion. Any feedback is greatly appreciated! +" +" Installation: +" Copy to ~/.vim/colors; do :color biogoo +" +" Customization Options: +" Use a 'normal' cursor color: +" let g:biogoo_normal_cursor = 1 +" +" Thanks: +" Jani Nurminen's zenburn.vim as an example file. +" Scott F., Matt F., and sc for feature suggestions/bug reports. +" Bill McCarthy for his Vim mailing list post about Vim 7 support. +" +" Version History: +" 1.6.1: fixed some oversights in 1.6 +" 1.6: swapped the spelling-error color so that setting 'cursorline' or +" 'cursorcolumn' doesn't make words invisible; added "ColorColumn" to +" support 'colorcolumn' in Vim 7.3 +" 1.5: should fully support Vim 7 now +" 1.4: more Vim 7 support: added the "MatchParen" group for ()[]{} matching +" 1.3: added support for Vim 7: added groups for the new spellchecking, and +" added a conditional to display Visual mode correctly in any version +" 1.2: added "SpellErrors" group for use with vimspell +" 1.1: added "IncSearch" group for improved visibility in incremental +" searches +" 1.0: minor tweaks +" 0.95: initial release +" +" I will add new groups as requested... e-mail me with any suggestions! + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "biogoo" + +hi Comment guifg=#0000c3 +hi ColorColumn guibg=#e0e0e0 +hi Constant guifg=#0000ff +hi CursorColumn guibg=#ffffff +hi CursorLine guibg=#ffffff +hi Delimiter guifg=#00007f +hi DiffAdd guifg=#007f00 guibg=#e5e5e5 +hi DiffChange guifg=#00007f guibg=#e5e5e5 +hi DiffDelete guifg=#7f0000 guibg=#e5e5e5 +hi DiffText guifg=#ee0000 guibg=#e5e5e5 +hi Directory guifg=#b85d00 +hi Error guifg=#d6d6d6 guibg=#7f0000 +hi ErrorMsg guifg=#ffffff guibg=#ff0000 gui=bold +hi Float guifg=#b85d00 +hi FoldColumn guifg=#00007f guibg=#e5e5e5 +hi Folded guifg=#00007f guibg=#e5e5e5 +hi Function guifg=#7f0000 +hi Identifier guifg=#004000 +hi Include guifg=#295498 gui=bold +hi IncSearch guifg=#ffffff guibg=#0000ff gui=bold +hi LineNr guifg=#303030 guibg=#e5e5e5 gui=underline +hi Keyword guifg=#00007f +hi Macro guifg=#295498 +hi MatchParen guifg=#ffffff guibg=#00a000 +hi ModeMsg guifg=#00007f +hi MoreMsg guifg=#00007f +hi NonText guifg=#007f00 +hi Normal guifg=#000000 guibg=#d6d6d6 +hi Number guifg=#b85d00 +hi Operator guifg=#00007f +hi Pmenu guifg=#000000 guibg=#cc9999 +hi PmenuSel guifg=#ffffff guibg=#993333 +hi PmenuSbar guibg=#99cc99 +hi PmenuThumb guifg=#339933 +hi PreCondit guifg=#295498 gui=bold +hi PreProc guifg=#0c3b6b gui=bold +hi Question guifg=#00007f +hi Search guibg=#ffff00 +hi Special guifg=#007f00 +hi SpecialKey guifg=#00007f +hi SpellBad guifg=#7f0000 guibg=#f0f0f0 gui=undercurl guisp=#7f0000 +hi SpellCap guifg=#7f007f guibg=#f0f0f0 gui=undercurl guisp=#7f007f +hi SpellLocal guifg=#007f7f guibg=#f0f0f0 gui=undercurl guisp=#007f7f +hi SpellRare guifg=#b85d00 guibg=#f0f0f0 gui=undercurl guisp=#b85d00 +hi Statement guifg=#00007f gui=none +hi StatusLine guifg=#00007f guibg=#ffffff +hi StatusLineNC guifg=#676767 guibg=#ffffff +hi String guifg=#d10000 +hi TabLine guifg=#222222 guibg=#d6d6d6 +hi TabLineFill guifg=#d6d6d6 +hi TabLineSel guifg=#00007f guibg=#eeeeee gui=bold +hi Title guifg=#404040 gui=bold +hi Todo guifg=#00007f guibg=#e5e5e5 gui=underline +hi Type guifg=#540054 gui=bold +hi Underlined guifg=#b85d00 +hi VertSplit guifg=#676767 guibg=#ffffff +if version < 700 + hi Visual guifg=#7f7f7f guibg=#ffffff +else + hi Visual guifg=#ffffff guibg=#7f7f7f +endif +hi VisualNOS guifg=#007f00 guibg=#e5e5e5 +hi WarningMsg guifg=#500000 +hi WildMenu guifg=#540054 + +" Non-standard highlighting (e.g. for plugins) + +" vimspell +hi SpellErrors guibg=#f0f0f0 guifg=#7f0000 gui=undercurl guisp=#7f0000 + +if !exists("g:biogoo_normal_cursor") + " use a gray-on-blue cursor + hi Cursor guifg=#ffffff guibg=#00007f +endif + +" vim:noet:ts=4 sw=4 tw=80 cc=+1 diff --git a/.vim/colors/black_angus.vim b/.vim/colors/black_angus.vim new file mode 100644 index 0000000..145b639 --- /dev/null +++ b/.vim/colors/black_angus.vim @@ -0,0 +1,115 @@ +" Vim color file +" Maintainer: Angus Salkeld +" Last Change: 14 September 2004 +" Version: 1.0 +" mainly green on black + +set background=dark +highlight clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "black_angus" + +" GUI +" ----------------------------------------------------------------------- +highlight Normal guifg=Grey80 guibg=Black +highlight Search guifg=brown gui=reverse +highlight Visual guifg=Grey25 gui=bold +highlight Cursor guifg=Yellow guibg=DarkGreen gui=bold +highlight DiffAdd guibg=#000080 gui=NONE +highlight DiffChange guibg=#800080 gui=NONE +highlight DiffDelete guifg=#80c0e0 guibg=#404040 gui=NONE +highlight DiffText guifg=Black guibg=#c0e080 gui=NONE + +" Console +" ----------------------------------------------------------------------- +highlight Normal ctermfg=LightGrey ctermbg=Black +highlight Search ctermfg=Brown cterm=reverse +highlight Visual cterm=reverse +highlight Cursor ctermfg=Yellow ctermbg=Green cterm=bold + +" both +" ----------------------------------------------------------------------- +highlight StatusLine guifg=LightGreen guibg=#003300 gui=none ctermfg=LightGreen ctermbg=DarkGreen term=none +highlight VertSplit guifg=LightGreen guibg=#003300 gui=none ctermfg=LightGreen ctermbg=DarkGreen term=none +highlight Folded guifg=#aaDDaa guibg=#333333 gui=none ctermfg=LightGray ctermbg=DarkGray term=none +highlight FoldColumn guifg=LightGreen guibg=#003300 gui=none ctermfg=LightGreen ctermbg=DarkGreen term=none +highlight SignColumn guifg=LightGreen guibg=#003300 gui=none ctermfg=LightGreen ctermbg=DarkGreen term=none +highlight WildMenu guifg=LightGreen guibg=#003300 gui=none ctermfg=LightGreen ctermbg=DarkGreen term=none + +highlight LineNr guifg=DarkGreen guibg=Black gui=none ctermfg=DarkGreen ctermbg=Black term=none +highlight Directory guifg=LightGreen ctermfg=LightGreen +highlight Comment guifg=DarkGrey ctermfg=DarkGray + +highlight Special guifg=Orange ctermfg=Brown +highlight Title guifg=Orange ctermfg=Brown +highlight Tag guifg=DarkRed ctermfg=DarkRed +highlight link Delimiter Special +highlight link SpecialChar Special +highlight link SpecialComment Special +highlight link SpecialKey Special +highlight link NonText Special + +highlight Error guifg=White guibg=DarkRed gui=none ctermfg=White ctermbg=DarkRed cterm=none +highlight Debug guifg=White guibg=DarkGreen gui=none ctermfg=White ctermbg=DarkRed cterm=none +highlight ErrorMsg guifg=White guibg=DarkBlue gui=none ctermfg=White ctermbg=DarkRed cterm=none +highlight WarningMsg guifg=White guibg=DarkBlue gui=none ctermfg=White ctermbg=DarkBlue cterm=none +highlight Todo guifg=White guibg=DarkYellow gui=none ctermfg=White ctermbg=DarkBlue cterm=none +highlight link cCommentStartError WarningMsg +highlight link cCommentError Debug + +" Preprocesor +highlight PreCondit guifg=Cyan3 ctermfg=Cyan +highlight PreProc guifg=Magenta ctermfg=Magenta +highlight Include guifg=DarkCyan ctermfg=DarkCyan +highlight ifdefIfOut guifg=DarkGray ctermfg=DarkGray +highlight link Macro Include +highlight link Define Include + +" lang +highlight Function guifg=#AAEEAA gui=none ctermfg=LightGreen +highlight Identifier guifg=#bbccbb gui=none ctermfg=Grey +highlight Statement guifg=LightGreen gui=underline ctermfg=LightGreen +highlight Operator guifg=Yellow gui=none ctermfg=Yellow +highlight Conditional guifg=lightslateblue gui=none ctermfg=LightBlue + +highlight link Exception Statement +highlight link Label Statement +highlight link Repeat Conditional + +highlight link Keyword Label + +highlight Constant guifg=LightGreen ctermfg=LightGreen gui=none +highlight link Character Constant +highlight link Number Constant +highlight link Boolean Constant +highlight link String Constant +highlight link Float Constant + +highlight Type guifg=DarkGreen ctermfg=DarkGreen gui=none +highlight link StorageClass Type +highlight link Structure Type +highlight link Typedef Type + +" ------------------------------------------------------------------------------ +" Common groups that link to other highlighting definitions. +highlight link Search IncSearch +highlight link Question Statement +highlight link VisualNOS Visual +" ------------------------------------------------------------------------------ + +" only for vim 5 +if has("unix") + if v:version<600 + highlight Normal ctermfg=Grey ctermbg=Black cterm=NONE guifg=Grey80 guibg=Black gui=NONE + highlight Search ctermfg=Black ctermbg=Red cterm=bold guifg=Black guibg=Red gui=bold + highlight Visual ctermfg=Black ctermbg=yellow cterm=bold guifg=Grey25 gui=bold + highlight Special ctermfg=LightBlue cterm=NONE guifg=LightBlue + highlight Comment ctermfg=Cyan cterm=NONE guifg=LightBlue + endif +endif + + + diff --git a/.vim/colors/blackbeauty.vim b/.vim/colors/blackbeauty.vim new file mode 100644 index 0000000..a824ea3 --- /dev/null +++ b/.vim/colors/blackbeauty.vim @@ -0,0 +1,66 @@ +" Vim color file +" Maintainer: Surya +" Last Change: 12/23/2003 10:32:41 . +" version: 1.0 +" This color scheme uses a dark background. +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "koehler" +hi Normal guifg=white guibg=black +hi Scrollbar guibg=darkgray guifg=darkgray +hi Menu guifg=black guibg=gray +hi SpecialKey term=bold cterm=bold ctermfg=darkred guifg=Blue +hi NonText term=bold cterm=bold ctermfg=darkred gui=bold guifg=Blue +hi Directory term=bold cterm=bold ctermfg=brown guifg=Blue +hi ErrorMsg term=standout cterm=bold ctermfg=grey ctermbg=blue gui=bold guifg=White guibg=brown +hi Search term=reverse ctermfg=white ctermbg=red gui=bold guifg=#000000 guibg=Magenta +hi MoreMsg term=bold cterm=bold ctermfg=darkgreen gui=bold guifg=SeaGreen +hi ModeMsg term=bold cterm=bold gui=bold guifg=White guibg=Blue +hi LineNr term=underline cterm=bold ctermfg=darkcyan guibg=brown guifg=white +hi Question term=standout cterm=bold ctermfg=darkgreen gui=bold guifg=Green +hi StatusLine term=bold,reverse cterm=bold ctermfg=lightblue ctermbg=white gui=bold guibg=white guifg=brown +hi StatusLineNC term=reverse ctermfg=white ctermbg=lightblue guifg=white guibg=blue +hi Title term=bold cterm=bold ctermfg=darkmagenta gui=bold guifg=Magenta +hi Visual term=reverse cterm=reverse gui=reverse +hi WarningMsg term=standout cterm=bold ctermfg=darkblue gui=bold guifg=cyan guibg=Black +hi Cursor guifg=bg guibg=cyan +hi Comment term=bold cterm=bold ctermfg=cyan guifg=#80a0ff +hi Constant term=underline cterm=bold ctermfg=magenta guifg=#ffa0a0 +hi String term=underline cterm=bold ctermfg=magenta gui=bold guifg=brown guibg=darkgray +hi Number term=underline cterm=bold ctermfg=magenta guifg=#00ffff +hi Special term=bold gui=bold cterm=bold ctermfg=red guifg=Orange +hi Identifier term=underline ctermfg=brown guifg=#40ffff +hi Statement term=bold cterm=bold ctermfg=yellow gui=bold guifg=#ffff60 +hi PreProc term=underline ctermfg=darkblue guifg=#ff80ff +hi Type term=underline cterm=bold ctermfg=lightgreen gui=bold guifg=#60ff60 +hi Error gui=bold guifg=Yellow guibg=Black +hi Todo term=standout ctermfg=black ctermbg=darkcyan guifg=Blue guibg=Yellow +"hi VertSplit guifg=#00FFFF guibg=#000000 gui=bold +hi link IncSearch Visual +hi link Character Constant +hi link Boolean Constant +hi link Float Number +hi link Function Identifier +hi link Conditional Statement +hi link Repeat Statement +hi link Label Statement +hi link Operator Statement +hi link Keyword Statement +hi link Exception 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 + diff --git a/.vim/colors/blackboard.vim b/.vim/colors/blackboard.vim new file mode 100644 index 0000000..4ef875f --- /dev/null +++ b/.vim/colors/blackboard.vim @@ -0,0 +1,55 @@ +" Vim color scheme +" +" Name: blackboard.vim +" Maintainer: Ben Wyrosdick +" Last Change: 20 August 2009 +" License: public domain +" Version: 1.4 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "blackboard" + +if has("gui_running") + "GUI Colors + highlight Normal guifg=White guibg=#0B1022 + highlight Cursor guifg=Black guibg=Yellow + highlight CursorLine guibg=#191E2F + highlight LineNr guibg=#323232 guifg=#888888 + highlight Folded guifg=#f1f3e8 guibg=#444444 + highlight Pmenu guibg=#84A7C1 + + "General Colors + highlight Comment guifg=#AEAEAE + highlight Constant guifg=#CAFE1E + highlight Keyword guifg=#FFDE00 + highlight String guifg=#00D42D + highlight Type guifg=#84A7C1 + highlight Identifier guifg=#00D42D gui=NONE + highlight Function guifg=#FF5600 gui=NONE + highlight clear Search + highlight Search guibg=#1C3B79 + highlight PreProc guifg=#FF5600 + + "HTML Colors + highlight link htmlTag Type + highlight link htmlEndTag htmlTag + highlight link htmlTagName htmlTag + + "Ruby Colors + highlight link rubyClass Keyword + highlight link rubyDefine Keyword + highlight link rubyConstant Type + highlight link rubySymbol Constant + highlight link rubyStringDelimiter rubyString + highlight link rubyInclude Keyword + highlight link rubyAttribute Keyword + highlight link rubyInstanceVariable Normal + + "Rails Colors + highlight link railsMethod Type +end diff --git a/.vim/colors/blackdust.vim b/.vim/colors/blackdust.vim new file mode 100644 index 0000000..0eb20a7 --- /dev/null +++ b/.vim/colors/blackdust.vim @@ -0,0 +1,62 @@ +set background=dark +hi clear + +hi Boolean guifg=#dca3a3 gui=bold +hi Character guifg=#dca3a3 gui=bold +hi Comment guifg=#7f7f7f +hi Condtional guifg=#8fffff +hi Constant guifg=#dca3a3 gui=bold +hi Cursor guifg=#000000 guibg=#aeaeae +hi Debug guifg=#dca3a3 gui=bold +hi Define guifg=#ffcfaf gui=bold +hi Delimiter guifg=#8f8f8f +hi DiffAdd guibg=#613c46 +hi DiffChange guibg=#333333 +hi DiffDelete guifg=#333333 guibg=#464646 gui=none +hi DiffText guifg=#ffffff guibg=#1f1f1f gui=bold +hi Directory guifg=#ffffff gui=bold +hi Error guifg=#000000 guibg=#00ffff +hi ErrorMsg guifg=#000000 guibg=#00c0cf +hi Exception guifg=#8fffff gui=underline +hi Float guifg=#9c93b3 +hi FoldColumn guifg=#dca3a3 guibg=#464646 +hi Folded guifg=#dca3a3 guibg=#333333 +hi Function guifg=#ffff8f +hi Identifier guifg=#ffffff +hi Include guifg=#ffcfaf gui=bold +hi IncSearch guifg=#000000 guibg=#c15c66 +hi Keyword guifg=#ffffff gui=bold +hi Label guifg=#8fffff gui=underline +hi LineNr guifg=#7f7f7f guibg=#464646 +hi Macro guifg=#ffcfaf gui=bold +hi ModeMsg guifg=#dca3a3 gui=bold +hi MoreMsg guifg=#ffffff gui=bold +hi NonText guifg=#1f1f1f +hi Normal guifg=#cccccc guibg=#3f3f3f +hi Number guifg=#aca0a3 +hi Operator guifg=#ffffff +hi PreCondit guifg=#dfaf8f gui=bold +hi PreProc guifg=#ffcfaf gui=bold +hi Question guifg=#ffffff gui=bold +hi Repeat guifg=#8fffff gui=underline +hi Search guifg=#000000 guibg=#c15c66 +hi SpecialChar guifg=#dca3a3 gui=bold +hi SpecialComment guifg=#dca3a3 gui=bold +hi Special guifg=#7f7f7f +hi SpecialKey guifg=#7e7e7e +hi Statement guifg=#8fffff +hi StatusLine guifg=#333333 guibg=#f18c96 +hi StatusLineNC guifg=#333333 guibg=#cccccc +hi StorageClass guifg=#ffffff gui=bold +hi String guifg=#cc9393 +hi Structure guifg=#ffffff gui=bold,underline +hi Tag guifg=#dca3a3 gui=bold +hi Title guifg=#ffffff guibg=#333333 gui=bold +hi Todo guifg=#ffffff guibg=#000000 gui=bold +hi Typedef guifg=#ffffff gui=bold,underline +hi Type guifg=#ffffff gui=bold +hi VertSplit guifg=#333333 guibg=#cccccc +hi Visual guifg=#333333 guibg=#f18c96 gui=reverse +hi VisualNOS guifg=#333333 guibg=#f18c96 gui=bold,underline +hi WarningMsg guifg=#ffffff guibg=#333333 gui=bold +hi WildMenu guifg=#000000 guibg=#dca3a3 diff --git a/.vim/colors/blacklight.vim b/.vim/colors/blacklight.vim new file mode 100644 index 0000000..072a948 --- /dev/null +++ b/.vim/colors/blacklight.vim @@ -0,0 +1,49 @@ +"vim gui/256 color file +"Created with color_toon.vim +"Version 1.0 +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let colors_name="blacklight" + +hi SpecialKey term=bold ctermfg=2 guifg=yellowgreen +hi NonText term=bold ctermfg=84 gui=bold guifg=#5fff87 +hi Directory term=bold ctermfg=84 guifg=#5fff87 +hi ErrorMsg term=standout cterm=bold ctermfg=7 ctermbg=1 guifg=White guibg=Red +hi IncSearch term=reverse ctermfg=11 ctermbg=10 gui=reverse guifg=slategrey guibg=khaki +hi Search term=reverse ctermfg=47 ctermbg=34 guifg=#00ff00 guibg=#00af00 +hi MoreMsg term=bold ctermfg=2 gui=bold guifg=SeaGreen +hi ModeMsg term=bold ctermfg=130 gui=bold guifg=goldenrod +hi LineNr term=underline ctermfg=3 guifg=Yellow +hi Question term=standout ctermfg=10 gui=bold guifg=springgreen +hi StatusLine term=bold,reverse cterm=bold,reverse guifg=black guibg=#c2bfa5 +hi StatusLineNC term=reverse cterm=reverse guifg=grey50 guibg=#c2bfa5 +hi VertSplit term=reverse cterm=reverse guifg=grey50 guibg=#c2bfa5 +hi Title term=bold ctermfg=117 guifg=#87dfff +hi Visual term=reverse cterm=reverse guifg=khaki guibg=olivedrab +hi VisualNOS term=bold,underline cterm=bold,underline gui=bold,underline +hi WarningMsg term=standout ctermfg=1 guifg=salmon +hi WildMenu term=standout ctermfg=0 ctermbg=3 guifg=Black guibg=Yellow +hi Folded term=standout ctermfg=242 guifg=gold guibg=grey30 +hi FoldColumn term=standout ctermfg=242 guifg=tan guibg=grey30 +hi DiffAdd term=bold ctermbg=4 guibg=DarkBlue +hi DiffChange term=bold ctermbg=5 guibg=DarkMagenta +hi DiffDelete term=bold cterm=bold ctermfg=4 ctermbg=6 gui=bold guifg=Blue guibg=DarkCyan +hi DiffText term=reverse cterm=bold ctermbg=1 gui=bold guibg=Red +hi SignColumn term=standout ctermfg=14 ctermbg=242 guifg=Cyan guibg=Grey +hi Cursor guifg=#303030 guibg=#00ff5f +hi lCursor guifg=bg guibg=fg +hi Normal ctermfg=39 ctermbg=235 guifg=#00afff guibg=#262626 +hi Comment term=bold ctermfg=251 guifg=#c6c6c6 +hi Constant term=underline ctermfg=165 guifg=#d700ff +hi Special term=bold ctermfg=3 guifg=DarkYellow +hi Identifier term=underline ctermfg=10 guifg=#00ff00 +hi Statement term=bold ctermfg=228 guifg=#ffff87 gui=NONE +hi PreProc term=underline ctermfg=190 guifg=#d7ff00 +hi Type term=underline ctermfg=159 guifg=#afffff gui=NONE +hi Underlined term=underline cterm=underline ctermfg=47 gui=underline guifg=#00ff00 +hi Ignore cterm=bold ctermfg=242 guifg=grey40 +hi Error term=reverse cterm=bold ctermfg=7 ctermbg=1 guifg=White guibg=Red +hi Todo term=standout ctermfg=0 ctermbg=11 guifg=orangered guibg=yellow2 diff --git a/.vim/colors/blazer.vim b/.vim/colors/blazer.vim new file mode 100644 index 0000000..b647680 --- /dev/null +++ b/.vim/colors/blazer.vim @@ -0,0 +1,83 @@ +" Vim color scheme +" +" Name: blazer.vim +" Author: Mitko Kostov +" Repo: http://github.com/mitkok/blazer +" Last Change: 30 May 2010 +" License: MIT +" Version: 0.3 + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "blazer" + +hi link htmlTag xmlTag +hi link htmlTagName xmlTagName +hi link htmlEndTag xmlEndTag + +highlight Normal guifg=#E6E1DC guibg=#0A0A0A +highlight Cursor guifg=#FFFFFF ctermfg=0 guibg=#FFFFFF ctermbg=15 +highlight CursorLine guibg=#000000 ctermbg=233 cterm=NONE + +highlight Comment guifg=#868686 ctermfg=180 +highlight Constant guifg=#73B1EE ctermfg=73 +highlight Define guifg=#FF2847 ctermfg=173 +highlight Error guifg=#FFC66D ctermfg=221 guibg=#990000 ctermbg=88 +highlight Function guifg=#1CFFCE ctermfg=221 gui=NONE cterm=NONE +highlight Identifier guifg=#FF2847 ctermfg=73 gui=NONE cterm=NONE +highlight Include guifg=#FF2847 ctermfg=173 gui=NONE cterm=NONE +highlight PreCondit guifg=#FF2847 ctermfg=173 gui=NONE cterm=NONE +highlight Keyword guifg=#8AB6EE ctermfg=173 cterm=NONE +highlight LineNr guifg=#9E9E9E ctermfg=159 guibg=#0A0A0A +highlight Number guifg=#E8E8E8 ctermfg=107 +highlight PreProc guifg=#8AB6EE ctermfg=103 +highlight Search guifg=NONE ctermfg=NONE guibg=#2b2b2b ctermbg=235 gui=italic cterm=underline +highlight Statement guifg=#FF2847 ctermfg=173 gui=NONE cterm=NONE +highlight String guifg=#30DF78 ctermfg=107 +highlight Title guifg=#CCCCCC ctermfg=15 +highlight Type guifg=#8AB6EE ctermfg=167 gui=NONE cterm=NONE +highlight Visual guibg=#8AB6EE ctermbg=60 + +highlight DiffAdd guifg=#E6E1DC ctermfg=7 guibg=#519F50 ctermbg=71 +highlight DiffDelete guifg=#E6E1DC ctermfg=7 guibg=#660000 ctermbg=52 +highlight Special guifg=#8AB6EE ctermfg=167 + +highlight rubyBlockParameter guifg=#61EEB2 ctermfg=15 +highlight rubyClass guifg=#FF2847 ctermfg=15 +highlight rubyConstant guifg=#54B5F8 ctermfg=167 +highlight rubyInstanceVariable guifg=#8AB6EE ctermfg=189 +highlight rubyInterpolation guifg=#8AB6EE ctermfg=107 +highlight rubyLocalVariableOrMethod guifg=#d990de ctermfg=189 +highlight rubyPredefinedConstant guifg=#4596ff ctermfg=167 +highlight rubyPseudoVariable guifg=#4596ff ctermfg=221 +highlight rubyStringDelimiter guifg=#30DF78 ctermfg=143 +highlight rubyIdentifier guifg=#8AB6EE ctermfg=143 +highlight rubyOperator guifg=#FFFFFF ctermfg=143 +highlight rubyInclude guifg=#FF2847 +highlight rubyConditional guifg=#FF2847 +highlight rubyOptionalDo guifg=#FF2847 +highlight rubyConditionalModifier guifg=#FF2847 +highlight rubyControl guifg=#FF2847 +highlight rubyClassVariable guifg=#54b2d9 +highlight rubyAttribute guifg=#becbf5 +highlight rubyEval guifg=#88d1f0 +highlight rubyPseudoVariable guifg=#8AB6EE +highlight rubyPredifinedIdentifier guifg=#8AB6EE +highlight xmlTag guifg=#8AB6EE ctermfg=179 +highlight xmlTagName guifg=#8AB6EE ctermfg=179 +highlight xmlEndTag guifg=#8AB6EE ctermfg=179 +highlight mailSubject guifg=#A5C261 ctermfg=107 +highlight mailHeaderKey guifg=#FFC66D ctermfg=221 +highlight mailEmail guifg=#A5C261 ctermfg=107 gui=italic cterm=underline +highlight rubyModule guifg=#FF2847 +highlight rubyDefine guifg=#FF2847 +highlight SpellBad guifg=#D70000 ctermfg=160 ctermbg=NONE cterm=underline +highlight SpellRare guifg=#D75F87 ctermfg=168 guibg=NONE ctermbg=NONE gui=underline cterm=underline +highlight SpellCap guifg=#D0D0FF ctermfg=189 guibg=NONE ctermbg=NONE gui=underline cterm=underline +highlight MatchParen guifg=#519F50 ctermfg=15 guibg=#005f5f ctermbg=23 diff --git a/.vim/colors/blink.vim b/.vim/colors/blink.vim new file mode 100644 index 0000000..8936f2f --- /dev/null +++ b/.vim/colors/blink.vim @@ -0,0 +1,79 @@ +" Vim color file +" Maintainer: Adam Blinkinsop +" Last Change: 2006 Sept 29 + +" Remove all existing highlighting. +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "blink" + +" Set Default +hi Normal term=NONE cterm=NONE ctermfg=Gray ctermbg=Black gui=NONE guifg=Gray guibg=Black + +" Vim colors (reverse for highlighting, red for errors, brown for special) +hi Cursor term=reverse cterm=reverse +hi CursorIME term=reverse cterm=reverse +hi CursorColumn term=reverse cterm=reverse +hi CursorLine term=reverse cterm=reverse +hi ErrorMsg term=reverse ctermfg=Red ctermbg=Black guifg=Red guibg=Black +hi ModeMsg term=reverse cterm=reverse +hi NonText term=bold ctermfg=DarkBlue guifg=#0000c0 +hi SpecialKey term=NONE ctermfg=Brown guifg=#c0c000 +hi StatusLine term=reverse cterm=reverse +hi Visual term=reverse cterm=reverse gui=NONE guifg=bg guibg=fg +hi WarningMsg term=reverse ctermfg=Brown guifg=#c0c000 + +" Syntax Colors, General +hi Comment term=reverse ctermfg=Black ctermbg=DarkCyan guifg=Black guibg=#00c0c0 +hi Underlined term=underline cterm=underline gui=underline +hi Ignore term=NONE cterm=NONE gui=NONE +hi Error term=bold ctermfg=Red ctermbg=Black guifg=Red guibg=Black +hi Todo term=reverse cterm=reverse gui=reverse + +" Constants (plain data) +hi Constant term=bold cterm=bold ctermfg=Brown ctermbg=Black gui=bold guifg=#c0c000 guibg=Black +hi def link Boolean Constant +hi def link Character Constant +hi def link String Constant +hi def link Number Constant +hi def link Float Constant + +" Identifiers (are things) +hi Identifier term=NONE cterm=NONE ctermfg=DarkCyan ctermbg=Black gui=NONE guifg=#00c0c0 ctermbg=Black +hi def link Function Identifier + +" Statements (do things) +hi Statement term=bold ctermfg=DarkGreen ctermbg=Black guifg=#00c000 ctermbg=Black +hi def link Conditional Statement +hi def link Repeat Statement +hi def link Label Statement +hi def link Operator Statement +hi def link Keyword Statement +hi def link Exception Statement + +" Preprocessing (meta) +hi PreProc term=bold cterm=NONE ctermfg=DarkGreen ctermbg=Black gui=NONE guifg=#00c000 guibg=Black +hi def link Include PreProc +hi def link Define PreProc +hi def link Macro PreProc +hi def link PreCondit PreProc + +" Types (define things) +hi Type term=NONE cterm=bold ctermfg=DarkCyan ctermbg=Black gui=Bold guifg=#00c0c0 guibg=Black +hi def link StorageClass Type +hi def link Structure Type +hi def link Typedef Type + +" Special (undef) +hi Special term=NONE cterm=NONE ctermfg=Brown ctermbg=Black gui=NONE guifg=#c0c000 guibg=Black +hi def link Tag Special +hi def link SpecialChar Special +hi def link Delimiter Special +hi def link SpecialComment Special +hi def link Debug Special + +" vim: sw=2 diff --git a/.vim/colors/blue.vim b/.vim/colors/blue.vim new file mode 100644 index 0000000..220700f --- /dev/null +++ b/.vim/colors/blue.vim @@ -0,0 +1,41 @@ +" Vim color file +" Maintainer: TaQ +" Last Change: 10 October 2001 - 0.2 +" URL: http://taq.cjb.net + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +set background=dark " or light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="blue" + +hi Normal ctermfg=Gray ctermbg=Black guifg=#CCCCCC guibg=#000040 +hi NonText ctermfg=Gray ctermbg=Black guifg=#0050EE guibg=#000040 + +hi Statement ctermfg=White ctermbg=Black guifg=#007FFF guibg=#000040 gui=BOLD +hi Comment ctermfg=Blue ctermbg=Black guifg=#00A0FF guibg=#000090 gui=NONE +hi Constant ctermfg=White ctermbg=Black guifg=#0050EE guibg=#000040 gui=NONE +hi Identifier ctermfg=Cyan ctermbg=Black guifg=#FFFFFF guibg=#000040 gui=NONE +hi Type ctermfg=Cyan ctermbg=Black guifg=#5050FF guibg=#000040 gui=NONE +hi Folded ctermfg=White ctermbg=Blue guifg=#00A0FF guibg=#000050 gui=BOLD +hi Special ctermfg=Blue ctermbg=Black guifg=#00A0FF guibg=#000090 gui=NONE +hi PreProc ctermfg=Blue ctermbg=Black guifg=#00FF00 guibg=#000040 gui=BOLD +hi Scrollbar ctermfg=Blue ctermbg=Black guifg=#00C0FF guibg=#000040 +hi Cursor ctermfg=white ctermbg=Black guifg=#FFFFFF guibg=#5050FF +hi ErrorMsg ctermfg=white ctermbg=Red guifg=#FFFFFF guibg=#FF0000 +hi WarningMsg ctermfg=Black ctermbg=Yellow guifg=#000000 guibg=#FFFF00 +hi VertSplit ctermfg=White ctermbg=Blue guifg=#000090 guibg=#000090 +hi Directory ctermfg=Cyan ctermbg=DarkBlue guifg=#00A0F0 guibg=#000040 +hi Visual ctermfg=Black ctermbg=Cyan guifg=#5050FF guibg=#FFFFFF +hi Title ctermfg=White ctermbg=Blue guifg=#FFFFFF guibg=#0050EE gui=NONE + +hi StatusLine term=bold cterm=bold ctermfg=White ctermbg=Blue gui=bold guifg=#FFFFFF guibg=#0050EE +hi StatusLineNC term=bold cterm=bold ctermfg=Gray ctermbg=Blue gui=bold guifg=#AAAAAA guibg=#000090 +hi LineNr term=bold cterm=bold ctermfg=White ctermbg=DarkBlue gui=bold guifg=#00A0FF guibg=#000050 + diff --git a/.vim/colors/bluechia.vim b/.vim/colors/bluechia.vim new file mode 100644 index 0000000..0d840a1 --- /dev/null +++ b/.vim/colors/bluechia.vim @@ -0,0 +1,104 @@ +" Name: bluechia.vim +" Authorship: Kojo Sugita +" Modifier: CRUX +" Last Change: 2009-12-03 +" Revision: 1.0 +" +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = 'bluechia' + +" Default colors +hi Normal guifg=#d3daed guibg=#05131c +hi NonText guifg=#92add3 guibg=#071925 gui=none +hi SpecialKey guifg=#92add3 guibg=#14220a gui=none +hi Cursor guifg=#3a553a guibg=#d2ff00 +hi CursorLine guibg=#303035 +hi CursorColumn guibg=#303035 +hi lCursor guifg=#3a553a guibg=#d2ff00 +hi CursorIM guifg=#3a553a guibg=#d2ff00 + + +" Directory +hi Directory guifg=white gui=bold + +" Diff +hi DiffAdd guifg=#d2ff00 guibg=#3a553a gui=none +hi DiffChange guifg=#d2ff00 guibg=#3a553a gui=none +hi DiffDelete guifg=#99bdff guibg=#99bdff gui=none +hi DiffText guifg=#d2ff00 guibg=#448844 gui=bold + + +hi ErrorMsg guifg=#eb7aa0 guibg=black +hi VertSplit guifg=black guibg=#cfddea + +" Folds +" hi Folded guifg=#b265a4 guibg=black +" hi Folded guifg=#fdfe00 guibg=black +hi Folded guifg=#ff6902 guibg=black +hi FoldColumn guifg=#557755 guibg=#102010 + +" Search +hi Search guifg=#99bdff guibg=#071925 gui=none +hi IncSearch guifg=#3a553a guibg=#d2ff00 gui=none + +" hi LineNr guifg=#a9ce49 guibg=black gui=none +hi LineNr guifg=#afcd63 guibg=black gui=none +hi ModeMsg guifg=#cfddea guibg=black +hi MoreMsg guifg=#071925 guibg=black +hi Question guifg=#071925 guibg=black + +"\n, \0, %d, %s, etc... +hi Special guifg=#fcd942 gui=none + +" status line +hi StatusLine guifg=#cfddea guibg=black gui=bold +" hi StatusLineNC guifg=#a9ce49 guibg=black gui=none +hi StatusLineNC guifg=#a9ce49 guibg=black gui=bold + +hi Title guifg=#cfddea guibg=#000000 gui=none +hi Visual guifg=#d2ff00 guibg=#448844 gui=none +hi VisualNOS guifg=#071925 guibg=black +hi WarningMsg guifg=#d2ff00 guibg=black +hi WildMenu guifg=#3a553a guibg=#d2ff00 + +hi Number guifg=#d2ff00 +hi Char guifg=#d2ff00 +hi String guifg=#d2ff00 +hi Boolean guifg=#d2ff00 +hi Comment guifg=#7b8487 +hi Constant guifg=#cfddea gui=none +hi Identifier guifg=white +hi Statement guifg=#f19dae gui=none + +" Procedure name +hi Function guifg=#ef008c + +" Define, def +hi PreProc guifg=#8ddaea gui=none +hi Type guifg=white gui=none +hi Underlined guifg=gray gui=underline +hi Error guifg=#eb7aa0 guibg=black +hi Todo guifg=#fcd942 guibg=black gui=none +hi SignColumn guibg=#05131c + +" Matches +hi MatchParen guifg=#000000 guibg=#ef008c + +" Pmenu +if version >= 700 + hi Pmenu guibg=#202530 + hi PmenuSel guifg=#cfddea guibg=black + hi PmenuSbar guibg=#202530 + + hi TabLine guifg=#a9ce49 guibg=black gui=None + hi TabLineFill guibg=#071925 guibg=#071925 gui=None + hi TabLineSel guifg=#cfddea guibg=black gui=None +endif + +finish + +" vim:set ts=8 sts=2 sw=2 tw=0: diff --git a/.vim/colors/bluegreen.vim b/.vim/colors/bluegreen.vim new file mode 100644 index 0000000..0b23dcd --- /dev/null +++ b/.vim/colors/bluegreen.vim @@ -0,0 +1,52 @@ + + +" Vim color file +" Maintainer: +" Last Change: +" URL: + + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="mine" + +hi Normal guifg=White guibg=#061A3E + +" highlight groups +hi Cursor guibg=#D74141 guifg=#e3e3e3 +hi VertSplit guibg=#C0FFFF guifg=#075554 gui=none +hi Folded guibg=#FFC0C0 guifg=black +hi FoldColumn guibg=#800080 guifg=tan +"hi IncSearch cterm=none ctermbg=blue ctermfg=grey guifg=slategrey guibg=khaki +hi ModeMsg guifg=#404040 guibg=#C0C0C0 +hi MoreMsg guifg=darkturquoise guibg=#188F90 +hi NonText guibg=#334C75 guifg=#9FADC5 +hi Question guifg=#F4BB7E +hi Search guibg=fg guifg=bg +hi SpecialKey guifg=#BF9261 +hi StatusLine guibg=#004443 guifg=#c0ffff gui=none +hi StatusLineNC guibg=#067C7B guifg=#004443 gui=bold +hi Title guifg=#8DB8C3 +hi Visual gui=bold guifg=black guibg=#C0FFC0 +hi WarningMsg guifg=#F60000 gui=underline + +" syntax highlighting groups +hi Comment guifg=#DABEA2 +hi Constant guifg=#72A5E4 gui=bold +hi Identifier guifg=#ADCBF1 +hi Statement guifg=#7E75B5 +hi PreProc guifg=#14F07C +hi Type guifg=#A9EE8A +hi Special guifg=#EEBABA +hi Ignore guifg=grey60 +hi Todo guibg=#9C8C84 guifg=#244C0A + +"vim: ts=4 diff --git a/.vim/colors/blueprint.vim b/.vim/colors/blueprint.vim new file mode 100644 index 0000000..5ad2125 --- /dev/null +++ b/.vim/colors/blueprint.vim @@ -0,0 +1,60 @@ +" Vim color file +" Maintainer: Xiance Si +" Last Change: 2002 Mar 09 + +" blueprint, a color scheme after real engineering blueprint. + +set bg=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "blueprint" + +hi Normal guifg=#cccccc guibg=#0e4072 ctermfg=gray ctermbg=black +hi ErrorMsg guifg=#ffffff guibg=#0e4072 ctermfg=white ctermbg=lightblue +hi Visual guifg=#606060 guibg=fg gui=reverse ctermfg=lightblue ctermbg=fg cterm=reverse +hi VisualNOS guifg=bg guibg=fg gui=reverse,underline ctermfg=lightblue ctermbg=fg cterm=reverse,underline +hi Todo guifg=#d14a14 guibg=#1248d1 ctermfg=red ctermbg=darkblue +hi Search guifg=#2050d0 guibg=#90fff0 ctermfg=white ctermbg=darkblue cterm=underline term=underline +hi IncSearch guifg=#b0ffff guibg=#2050d0 ctermfg=darkblue ctermbg=gray + +hi SpecialKey guifg=cyan ctermfg=darkcyan +hi Directory guifg=cyan ctermfg=cyan +hi Title guifg=magenta gui=none ctermfg=magenta cterm=bold +hi WarningMsg guifg=red ctermfg=red +hi WildMenu guifg=yellow guibg=black ctermfg=yellow ctermbg=black cterm=none term=none +hi ModeMsg guifg=#22cce2 ctermfg=lightblue +hi MoreMsg ctermfg=darkgreen ctermfg=darkgreen +hi Question guifg=green gui=none ctermfg=green cterm=none +hi NonText guifg=#0030ff ctermfg=darkblue + +hi StatusLine guifg=blue guibg=darkgray gui=none ctermfg=blue ctermbg=gray term=none cterm=none +hi StatusLineNC guifg=black guibg=darkgray gui=none ctermfg=black ctermbg=gray term=none cterm=none +hi VertSplit guifg=black guibg=darkgray gui=none ctermfg=black ctermbg=gray term=none cterm=none + +hi Folded guifg=#808080 guibg=#0d3d6d ctermfg=darkgrey ctermbg=black cterm=bold term=bold +hi FoldColumn guifg=#808080 guibg=#0d3d6d ctermfg=darkgrey ctermbg=black cterm=bold term=bold +hi LineNr guifg=#808080 ctermfg=green cterm=none + +hi DiffAdd guibg=darkblue ctermbg=darkblue term=none cterm=none +hi DiffChange guibg=darkmagenta ctermbg=magenta cterm=none +hi DiffDelete ctermfg=blue ctermbg=cyan gui=bold guifg=Blue guibg=DarkCyan +hi DiffText cterm=bold ctermbg=red gui=bold guibg=Red + +hi Cursor guifg=#000020 guibg=#ffaf38 ctermfg=bg ctermbg=brown +hi lCursor guifg=#ffffff guibg=#000000 ctermfg=bg ctermbg=darkgreen + + +hi Comment guifg=#80a0ff ctermfg=darkred +hi Constant ctermfg=magenta guifg=#ffa0a0 cterm=none +hi Special ctermfg=brown guifg=Orange cterm=none gui=none +hi Identifier ctermfg=cyan guifg=#40ffff cterm=none +hi Statement ctermfg=white cterm=none guifg=white gui=bold +hi PreProc ctermfg=magenta guifg=#999999 gui=none cterm=none +hi type ctermfg=darkgreen guifg=#60ff60 gui=none cterm=none +hi Underlined cterm=underline term=underline +hi Ignore guifg=bg ctermfg=bg + + diff --git a/.vim/colors/blueshift.vim b/.vim/colors/blueshift.vim new file mode 100644 index 0000000..bfcf22a --- /dev/null +++ b/.vim/colors/blueshift.vim @@ -0,0 +1,86 @@ +" Blueshift color scheme +" by Jan Zwiener, mail: jan@zwiener.org +" Based upon the pyte color scheme by Henning Hasemann +" +" 2010/11/16: Version 1.0 +" + +set background=light + +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "blueshift" + +" Taglist colors +hi MyTagListFileName guifg=black guibg=#c0d0e0 +hi MyTagListTagName guifg=black guibg=#ffbc29 + +if version >= 700 + hi CursorLine guibg=#f6f6f6 + hi CursorColumn guibg=#f6f6f6 + hi MatchParen guifg=black guibg=#dfdfdf + + hi TabLine guifg=black guibg=#b0b8c0 + hi TabLineFill guifg=#9098a0 + hi TabLineSel guifg=black guibg=#f0f0f0 gui=bold + + hi Pmenu guifg=white guibg=#808080 + hi PmenuSel guifg=black guibg=#ffbc29 +endif + +hi Title guifg=#202020 gui=none +hi Underlined guifg=#202020 gui=underline + +hi Normal guifg=black guibg=white +hi ModeMsg guifg=black guibg=white +hi Cursor guifg=#f0f0f0 guibg=#101010 +hi LineNr guifg=#ffffff guibg=#c0d0e0 +hi Visual guifg=white guibg=#5381bc +hi WildMenu guifg=black guibg=#ffbc29 +hi IncSearch guibg=black guifg=#ffbc29 +hi Question guifg=black guibg=#ffbc29 + +hi StatusLine guifg=white guibg=#8090a0 gui=bold +hi StatusLineNC guifg=#708090 guibg=#ced5db gui=none +hi VertSplit guifg=#a0b0c0 guibg=#a0b0c0 gui=none + +hi NonText guifg=#bebebe guibg=#f2f2f2 +hi Comment guifg=#008000 gui=italic +hi Folded guifg=#708090 guibg=#c0d0e0 +hi Folded guifg=#708090 guibg=#c0d0e0 +hi FoldColumn guifg=#708090 guibg=#c0d0e0 + +hi Constant guifg=black +hi Number guifg=black +hi Float guifg=black +hi Boolean guifg=#0048ff +hi String guifg=#4070a0 gui=none + +hi Statement guifg=#0048ff gui=none +hi Type guifg=#0048ff gui=none +hi Structure guifg=#0048ff gui=none +hi Identifier guifg=#0048ff gui=none +hi Function guifg=#0048ff gui=none +hi Repeat guifg=#0048ff gui=bold +hi Conditional guifg=#0048ff gui=bold +hi Operator guifg=black + +hi PreProc guifg=#1060a0 gui=none +hi Define guifg=#1060a0 gui=bold +hi Include guifg=#1060a0 gui=none + +hi Error guifg=red guibg=white gui=bold,underline +hi Todo guifg=white guibg=#1060a0 gui=bold +hi SpecialKey guifg=#1060a0 guibg=white +hi Special guifg=black guibg=white + +" Diff +hi DiffChange guifg=NONE guibg=#e0e0e0 gui=bold +hi DiffText guifg=NONE guibg=#f0c8c8 gui=bold +hi DiffAdd guifg=NONE guibg=#c0e0d0 gui=bold +hi DiffDelete guifg=NONE guibg=#f0e0b0 gui=bold + + diff --git a/.vim/colors/bluez.vim b/.vim/colors/bluez.vim new file mode 100644 index 0000000..ce9394a --- /dev/null +++ b/.vim/colors/bluez.vim @@ -0,0 +1,145 @@ +" Vim color file +" Maintainer: Shirk +" Last Change: 18 May 2006 - 0.1 +" URL: trinity.linuxdevel.net + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +set background=dark "or light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="bluez" + +if exists("g:bluez_transbg") + hi Cursor ctermfg=19 ctermbg=68 + hi lCursor ctermfg=19 ctermbg=69 + hi Normal ctermfg=47 ctermbg=none + hi Comment ctermfg=37 ctermbg=none + hi Constant ctermfg=68 ctermbg=none + hi String ctermfg=61 ctermbg=none + hi Character ctermfg=70 ctermbg=none + hi Number ctermfg=71 ctermbg=none + hi Boolean ctermfg=74 ctermbg=none + hi Float ctermfg=75 ctermbg=none + + hi Special ctermfg=60 ctermbg=none + hi Tag ctermfg=61 ctermbg=none + hi Delimiter ctermfg=62 ctermbg=none + hi SpecialChar ctermfg=63 ctermbg=none + hi SpecialComment ctermfg=63 ctermbg=none + hi Debug ctermfg=76 ctermbg=none cterm=underline + hi VimModeline ctermfg=77 ctermbg=none + + hi Identifier ctermfg=53 ctermbg=none + hi Function ctermfg=54 ctermbg=none + + hi Statement ctermfg=23 ctermbg=none + hi Conditional ctermfg=39 ctermbg=none + hi Repeat ctermfg=39 ctermbg=none + hi Label ctermfg=55 ctermbg=none + hi Operator ctermfg=55 ctermbg=none + hi Keyword ctermfg=51 ctermbg=none + hi Exception ctermfg=49 ctermbg=none + + hi PreProc ctermfg=35 ctermbg=none + hi Include ctermfg=51 ctermbg=none + hi Define ctermfg=55 ctermbg=none + hi Macro ctermfg=58 ctermbg=none + hi PreCondit ctermfg=59 ctermbg=none + + hi Type ctermfg=46 ctermbg=none + hi StorageClass ctermfg=47 ctermbg=none + hi Structure ctermfg=62 ctermbg=none + hi Typedef ctermfg=63 ctermbg=none + + hi Underline ctermfg=70 ctermbg=none cterm=underline + hi Ignore ctermfg=18 ctermbg=none + hi Error ctermfg=0 ctermbg=65 + hi Todo ctermfg=67 ctermbg=none + + hi Pmenu ctermfg=79 ctermbg=23 + hi PmenuSel ctermfg=79 ctermbg=19 + hi PmenuSbar ctermfg=38 ctermbg=17 + hi PmenuThumb ctermfg=23 ctermbg=76 + + hi Folded ctermfg=48 ctermbg=none + hi FoldColumn ctermfg=49 ctermbg=none + + hi SpellLocal ctermfg=31 ctermbg=22 + + hi WildMenu ctermfg=79 ctermbg=23 + hi IncSearch ctermfg=0 ctermbg=35 + hi Search ctermfg=0 ctermbg=50 + hi StatusLine ctermfg=52 ctermbg=none cterm=bold + hi StatusLineNC ctermfg=52 ctermbg=none + hi VertSplit ctermfg=52 ctermbg=none + +else + hi Cursor ctermfg=19 ctermbg=68 + hi lCursor ctermfg=19 ctermbg=69 + hi Normal ctermfg=47 ctermbg=0 + hi Comment ctermfg=37 ctermbg=0 + hi Constant ctermfg=68 ctermbg=0 + hi String ctermfg=61 ctermbg=0 + hi Character ctermfg=70 ctermbg=0 + hi Number ctermfg=71 ctermbg=0 + hi Boolean ctermfg=74 ctermbg=0 + hi Float ctermfg=75 ctermbg=0 + + hi Special ctermfg=60 ctermbg=0 + hi Tag ctermfg=61 ctermbg=0 + hi Delimiter ctermfg=62 ctermbg=0 + hi SpecialChar ctermfg=63 ctermbg=0 + hi SpecialComment ctermfg=63 ctermbg=0 + hi Debug ctermfg=76 ctermbg=0 cterm=underline + hi VimModeline ctermfg=77 ctermbg=0 + + hi Identifier ctermfg=53 ctermbg=0 + hi Function ctermfg=54 ctermbg=0 + + hi Statement ctermfg=23 ctermbg=0 + hi Conditional ctermfg=39 ctermbg=0 + hi Repeat ctermfg=39 ctermbg=0 + hi Label ctermfg=55 ctermbg=0 + hi Operator ctermfg=55 ctermbg=0 + hi Keyword ctermfg=51 ctermbg=0 + hi Exception ctermfg=49 ctermbg=0 + + hi PreProc ctermfg=35 ctermbg=0 + hi Include ctermfg=51 ctermbg=0 + hi Define ctermfg=55 ctermbg=0 + hi Macro ctermfg=58 ctermbg=0 + hi PreCondit ctermfg=59 ctermbg=0 + + hi Type ctermfg=46 ctermbg=0 + hi StorageClass ctermfg=47 ctermbg=0 + hi Structure ctermfg=62 ctermbg=0 + hi Typedef ctermfg=63 ctermbg=0 + + hi Underline ctermfg=70 ctermbg=0 cterm=underline + hi Ignore ctermfg=18 ctermbg=0 + hi Error ctermfg=0 ctermbg=65 + hi Todo ctermfg=67 ctermbg=0 + + hi Pmenu ctermfg=79 ctermbg=23 + hi PmenuSel ctermfg=79 ctermbg=19 + hi PmenuSbar ctermfg=38 ctermbg=17 + hi PmenuThumb ctermfg=23 ctermbg=76 + + hi Folded ctermfg=48 ctermbg=0 + hi FoldColumn ctermfg=49 ctermbg=0 + + hi SpellLocal ctermfg=31 ctermbg=22 + + hi WildMenu ctermfg=79 ctermbg=23 + hi IncSearch ctermfg=0 ctermbg=35 + hi Search ctermfg=0 ctermbg=50 + hi StatusLine ctermfg=52 ctermbg=0 cterm=bold + hi StatusLineNC ctermfg=52 ctermbg=0 + hi VertSplit ctermfg=52 ctermbg=0 +endif diff --git a/.vim/colors/blugrine.vim b/.vim/colors/blugrine.vim new file mode 100644 index 0000000..6ba6330 --- /dev/null +++ b/.vim/colors/blugrine.vim @@ -0,0 +1,42 @@ +" author Helder Correia < helder (dot) correia (at) netcabo (dot) pt> +" version 2004.0 +" based on bluegreen colorscheme by Joao Estevao +" feel free to modify / redistribute this file + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="blugrine" + +hi Normal guifg=White guibg=#000000 + +" highlight groups +hi Cursor guibg=#D74141 guifg=#e3e3e3 +hi VertSplit guibg=#C0FFFF guifg=#075554 gui=none +hi Folded guibg=#FFC0C0 guifg=black +hi FoldColumn guibg=#800080 guifg=tan +hi ModeMsg guifg=#404040 guibg=#C0C0C0 +hi MoreMsg guifg=darkturquoise guibg=#188F90 +hi NonText guibg=#334C75 guifg=#9FADC5 +hi Question guifg=#F4BB7E +hi Search guibg=fg guifg=bg +hi SpecialKey guifg=#BF9261 +hi StatusLine guibg=#004443 guifg=#c0ffff gui=none +hi StatusLineNC guibg=#067C7B guifg=#004443 gui=bold +hi Title guifg=#8DB8C3 +hi Visual gui=bold guifg=black guibg=#C0FFC0 +hi WarningMsg guifg=#F60000 gui=underline + +" syntax highlighting groups +hi Comment guifg=#DABEA2 +hi Constant guifg=#72A5E4 gui=bold +hi Identifier guifg=#ADCBF1 +hi Statement guifg=#7E75B5 +hi PreProc guifg=#14F07C +hi Type guifg=#A9EE8A +hi Special guifg=#EEBABA +hi Ignore guifg=grey60 +hi Todo guibg=#9C8C84 guifg=#244C0A + diff --git a/.vim/colors/bmichaelsen.vim b/.vim/colors/bmichaelsen.vim new file mode 100644 index 0000000..b63f65c --- /dev/null +++ b/.vim/colors/bmichaelsen.vim @@ -0,0 +1,55 @@ +" local syntax file - set colors on a per-machine basis: +" vim: tw=0 ts=4 sw=4 +" Vim color file +" Maintainer: Bjrn Michaelsen +" based on: Zellner maintained by Ron Aaron +" Last Change: 2003 Sep 09 + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "bmichaelsen" + +hi Comment term=bold ctermfg=Red guifg=Red +hi Normal guifg=black guibg=#dee2ee +hi Constant term=underline ctermfg=Magenta guifg=Magenta +hi Special term=bold ctermfg=Magenta guifg=Magenta +hi Identifier term=underline ctermfg=Blue guifg=Blue +hi Statement term=bold ctermfg=DarkRed gui=NONE guifg=Brown +hi PreProc term=underline ctermfg=Magenta guifg=Purple +hi Type term=underline ctermfg=Blue gui=NONE guifg=Blue +hi Visual term=reverse ctermfg=Yellow ctermbg=Red gui=NONE guifg=Black guibg=#5a5d6a +hi Search term=reverse ctermfg=Black ctermbg=Cyan gui=NONE guifg=Black guibg=Cyan +hi Tag term=bold ctermfg=DarkGreen guifg=DarkGreen +hi Error term=reverse ctermfg=15 ctermbg=9 guibg=Red guifg=White +hi Todo term=standout ctermbg=Yellow ctermfg=Black guifg=Blue guibg=#5a5d6a +hi StatusLine term=bold,reverse cterm=NONE ctermfg=Yellow ctermbg=DarkGray gui=NONE guifg=Black guibg=#a4b2c5 +hi! link MoreMsg Comment +hi! link ErrorMsg Visual +hi! link WarningMsg ErrorMsg +hi! link Question Comment +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 Conditional Statement +hi link Repeat Statement +hi link Label Statement +hi link Operator Statement +hi link Keyword Statement +hi link Exception 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 SpecialChar Special +hi link Delimiter Special +hi link SpecialComment Special +hi link Debug Special diff --git a/.vim/colors/bocau.vim b/.vim/colors/bocau.vim new file mode 100644 index 0000000..3506258 --- /dev/null +++ b/.vim/colors/bocau.vim @@ -0,0 +1,187 @@ +" Maintainer: Tien Le (tienlex@gmail.com) +" Version: 1.0 +" Last Change: Dec 17 2010 +" Based on the Vividchalk theme of Tim Pope and Mustang theme + +if has("gui_running") + set background=dark +endif +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "bocau" + +" First two functions adapted from inkpot.vim + +" map a urxvt cube number to an xterm-256 cube number +fun! s:M(a) + return strpart("0245", a:a, 1) + 0 +endfun + +" map a urxvt colour to an xterm-256 colour +fun! s:X(a) + if &t_Co == 88 + return a:a + else + if a:a == 8 + return 237 + elseif a:a < 16 + return a:a + elseif a:a > 79 + return 232 + (3 * (a:a - 80)) + else + let l:b = a:a - 16 + let l:x = l:b % 4 + let l:y = (l:b / 4) % 4 + let l:z = (l:b / 16) + return 16 + s:M(l:x) + (6 * s:M(l:y)) + (36 * s:M(l:z)) + endif + endif +endfun + +function! E2T(a) + return s:X(a:a) +endfunction + +function! s:choose(mediocre,good) + if &t_Co != 88 && &t_Co != 256 + return a:mediocre + else + return s:X(a:good) + endif +endfunction + +function! s:hifg(group,guifg,first,second,...) + if a:0 && &t_Co == 256 + let ctermfg = a:1 + else + let ctermfg = s:choose(a:first,a:second) + endif + exe "highlight ".a:group." guifg=".a:guifg." ctermfg=".ctermfg +endfunction + +function! s:hibg(group,guibg,first,second) + let ctermbg = s:choose(a:first,a:second) + exe "highlight ".a:group." guibg=".a:guibg." ctermbg=".ctermbg +endfunction + +hi link railsMethod PreProc +hi link rubyDefine Keyword +hi link rubySymbol Constant +hi link rubyAccess rubyMethod +hi link rubyAttribute rubyMethod +hi link rubyEval rubyMethod +hi link rubyException rubyMethod +hi link rubyInclude rubyMethod +hi link rubyStringDelimiter rubyString +hi link rubyRegexp Regexp +hi link rubyRegexpDelimiter rubyRegexp +"hi link rubyConstant Variable +"hi link rubyGlobalVariable Variable +"hi link rubyClassVariable Variable +"hi link rubyInstanceVariable Variable +hi link javascriptRegexpString Regexp +hi link javascriptNumber Number +hi link javascriptNull Constant +highlight link diffAdded String +highlight link diffRemoved Statement +highlight link diffLine PreProc +highlight link diffSubname Comment + +call s:hifg("Normal","#EEEEEE","White",87) +if &background == "light" || has("gui_running") + hi Normal guibg=Black ctermbg=Black +else + hi Normal guibg=Black ctermbg=NONE +endif +highlight StatusLine guifg=Black guibg=#aabbee gui=bold ctermfg=Black ctermbg=White cterm=bold +highlight StatusLineNC guifg=#444444 guibg=#aaaaaa gui=none ctermfg=Black ctermbg=Grey cterm=none +"if &t_Co == 256 + "highlight StatusLine ctermbg=117 +"else + "highlight StatusLine ctermbg=43 +"endif + +highlight Ignore ctermfg=Black +highlight WildMenu guifg=Black guibg=#ffff00 gui=bold ctermfg=Black ctermbg=Yellow cterm=bold +highlight Cursor guifg=Black guibg=White ctermfg=Black ctermbg=White +highlight CursorLine guibg=#333333 guifg=NONE +highlight CursorColumn guibg=#333333 guifg=NONE +highlight NonText guifg=#404040 ctermfg=8 +highlight SpecialKey guifg=#404040 ctermfg=8 +highlight Directory none +high link Directory Identifier +highlight ErrorMsg guibg=Red ctermbg=DarkRed guifg=NONE ctermfg=NONE +highlight Search guifg=NONE ctermfg=NONE gui=none cterm=none +call s:hibg("Search" ,"Yellow","DarkBlue",81) +highlight IncSearch guifg=White guibg=Black ctermfg=White ctermbg=Black +highlight MoreMsg guifg=#00AA00 ctermfg=Green +highlight LineNr guifg=#808080 ctermfg=White +call s:hibg("LineNr" ,"#101010","DarkBlue",80) +highlight Question none +high link Question MoreMsg +highlight Title guifg=White ctermfg=Magenta +highlight VisualNOS gui=none cterm=none +call s:hibg("Visual" ,"#444444","LightBlue",83) +call s:hibg("VisualNOS" ,"#222222","DarkBlue",81) +call s:hibg("MatchParen","#1100AA","DarkBlue",18) +highlight WarningMsg guifg=Red ctermfg=Red +highlight Error ctermbg=DarkRed +highlight SpellBad ctermbg=DarkRed +" FIXME: Comments +highlight SpellRare ctermbg=DarkMagenta +highlight SpellCap ctermbg=DarkBlue +highlight SpellLocal ctermbg=DarkCyan + +call s:hibg("Folded" ,"#110077","DarkBlue",17) +call s:hifg("Folded" ,"#aaddee","LightCyan",63) +highlight FoldColumn none +high link FoldColumn Folded +highlight DiffAdd ctermbg=4 guibg=DarkBlue +highlight DiffChange ctermbg=5 guibg=DarkMagenta +highlight DiffDelete ctermfg=12 ctermbg=6 gui=bold guifg=Blue guibg=DarkCyan +highlight DiffText ctermbg=DarkRed +highlight DiffText cterm=bold ctermbg=9 gui=bold guibg=Red + +highlight Pmenu guifg=White ctermfg=White +highlight PmenuSel guifg=White ctermfg=White +call s:hibg("Pmenu" ,"#000099","Blue",18) +call s:hibg("PmenuSel" ,"#5555ff","DarkCyan",39) +highlight PmenuSbar guibg=Grey ctermbg=Grey +highlight PmenuThumb guibg=White ctermbg=White +highlight TabLine gui=underline cterm=underline +call s:hifg("TabLine" ,"#bbbbbb","LightGrey",85) +call s:hibg("TabLine" ,"#333333","DarkGrey",80) +highlight TabLineSel guifg=White guibg=Black ctermfg=White ctermbg=Black +highlight TabLineFill gui=underline cterm=underline +call s:hifg("TabLineFill","#bbbbbb","LightGrey",85) +call s:hibg("TabLineFill","#808080","Grey",83) + +hi Type gui=none +hi Statement gui=none +if !has("gui_mac") + " Mac GUI degrades italics to ugly underlining. + hi Comment gui=italic + hi railsUserClass gui=italic + hi railsUserMethod gui=italic +endif +hi Identifier cterm=none +" Commented numbers at the end are *old* 256 color values +"highlight PreProc guifg=#EDF8F9 +call s:hifg("Comment" ,"#aaaaaa","Grey",34) " 92 +" 26 instead? +call s:hifg("Constant" ,"#AAAA77","DarkCyan",21) " 30 +call s:hifg("rubyNumber" ,"#CCFF33","Yellow",60) " 190 +call s:hifg("String" ,"#b1d631","LightGreen",44,82) " 82 +call s:hifg("Identifier" ,"#33CCFF","Yellow",72) " 220 +call s:hifg("Statement" ,"#ff7700","Brown",68) " 202 +call s:hifg("PreProc" ,"#AAFFFF","LightCyan",47) " 213 +call s:hifg("railsUserMethod","#AACCFF","LightCyan",27) +call s:hifg("Type" ,"#ffaa00","Grey",57) " 101 +call s:hifg("railsUserClass" ,"#AAAAAA","Grey",7) " 101 +call s:hifg("Special" ,"#33AA00","DarkGreen",24) " 7 +call s:hifg("Regexp" ,"#44B4CC","DarkCyan",21) " 74 +call s:hifg("rubyMethod" ,"#DDE93D","Yellow",77) " 191 +"highlight railsMethod guifg=#EE1122 ctermfg=1 diff --git a/.vim/colors/bog.vim b/.vim/colors/bog.vim new file mode 100644 index 0000000..542262d --- /dev/null +++ b/.vim/colors/bog.vim @@ -0,0 +1,87 @@ +" Vim color file +" Maintainer: [smeagol] +" Last Change: +" URL: + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +" your pick: +set background=light " or light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="bog" + +hi Normal guifg=#3a3a3d guibg=white ctermfg=darkgrey ctermbg=white + +" OR + +" highlight clear Normal +" set background& +" highlight clear +" if &background == "light" +" highlight Error ... +" ... +" else +" highlight Error ... +" ... +" endif + +" A good way to see what your colorscheme does is to follow this procedure: +" :w +" :so % +" +" Then to see what the current setting is use the highlight command. +" For example, +" :hi Cursor +" gives +" Cursor xxx guifg=bg guibg=fg + +" Uncomment and complete the commands you want to change from the default. + +hi Cursor guifg=#04ae6c guibg=#0056a0 ctermfg=darkgreen ctermbg=darkblue +"hi CursorIM +hi Directory guifg=green ctermfg=green +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +hi ErrorMsg guibg=#004a8a guifg=white ctermfg=white ctermbg=darkblue +hi VertSplit guibg=#04ae6c guifg=#0056a0 +hi Folded guibg=#0a62c4 guifg=#60abff ctermfg=lightgrey ctermbg=blue +hi FoldColumn guibg=#0a62c4 guifg=#60abff ctermfg=lightgrey ctermbg=blue +hi IncSearch guifg=white guibg=#ffdc34 ctermfg=white ctermbg=lightred gui=underline +hi LineNr guifg=#3669e8 guibg=white ctermfg=lightblue ctermbg=white +hi ModeMsg guifg=orange guibg=white ctermfg=lightred ctermbg=white +hi MoreMsg guifg=orange guibg=white ctermfg=lightred ctermbg=white +hi NonText gui=bold +hi Question guifg=white guibg=orange ctermfg=white ctermbg=lightred +hi Search guifg=white guibg=#ffdc34 ctermfg=white ctermbg=lightred gui=underline +"hi SpecialKey +hi StatusLine guifg=#04ae6c guibg=white ctermfg=darkgreen ctermbg=white +hi StatusLineNC guifg=#04ae6c guibg=white ctermfg=darkgreen ctermbg=white +hi Title guifg=#02233f gui=bold +hi Visual guifg=darkblue guibg=white ctermfg=darkblue ctermbg=white +"hi VisualNOS +hi WarningMsg guifg=white guibg=orange ctermfg=white ctermbg=lightblue +hi WildMenu guifg=#75dc34 guibg=white ctermfg=lightgreen ctermbg=white +"hi Menu +"hi Scrollbar +"hi Tooltip + +" syntax highlighting groups +hi Comment guifg=orange guibg=white ctermbg=white ctermfg=blue +hi Constant guifg=#5b8f8d guibg=white ctermfg=grey ctermbg=white +hi Identifier guifg=#aad2ff guibg=white ctermfg=grey ctermbg=white +hi Statement guifg=#808283 guibg=white ctermfg=lightgrey ctermbg=white +hi PreProc guifg=#023a6a gui=bold guibg=white ctermfg=darkblue ctermbg=white +hi Type guifg=#0e9152 guibg=white ctermfg=darkgreen ctermbg=white +hi Special guifg=white guibg=skyblue ctermfg=white ctermbg=blue +hi Underlined guifg=#00d0e8 ctermbg=blue +hi Ignore guifg=black guibg=white ctermfg=black ctermbg=white +"hi Error +hi Todo guibg=lightblue guifg=white ctermbg=lightblue ctermfg=white diff --git a/.vim/colors/borland.vim b/.vim/colors/borland.vim new file mode 100644 index 0000000..c39c101 --- /dev/null +++ b/.vim/colors/borland.vim @@ -0,0 +1,60 @@ +" Vim color file +" Maintainer: Yegappan Lakshmanan +" Last Change: 2001 Sep 9 + +" Color settings similar to that used in Borland IDE's. + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="borland" + +hi Normal term=NONE cterm=NONE ctermfg=Yellow ctermbg=DarkBlue +hi Normal gui=NONE guifg=Yellow guibg=DarkBlue +hi NonText term=NONE cterm=NONE ctermfg=White ctermbg=DarkBlue +hi NonText gui=NONE guifg=White guibg=DarkBlue + +hi Statement term=NONE cterm=NONE ctermfg=White ctermbg=DarkBlue +hi Statement gui=NONE guifg=White guibg=DarkBlue +hi Special term=NONE cterm=NONE ctermfg=Cyan ctermbg=DarkBlue +hi Special gui=NONE guifg=Cyan guibg=DarkBlue +hi Constant term=NONE cterm=NONE ctermfg=Magenta ctermbg=DarkBlue +hi Constant gui=NONE guifg=Magenta guibg=DarkBlue +hi Comment term=NONE cterm=NONE ctermfg=Gray ctermbg=DarkBlue +hi Comment gui=NONE guifg=Gray guibg=DarkBlue +hi Preproc term=NONE cterm=NONE ctermfg=Green ctermbg=DarkBlue +hi Preproc gui=NONE guifg=Green guibg=DarkBlue +hi Type term=NONE cterm=NONE ctermfg=White ctermbg=DarkBlue +hi Type gui=NONE guifg=White guibg=DarkBlue +hi Identifier term=NONE cterm=NONE ctermfg=White ctermbg=DarkBlue +hi Identifier gui=NONE guifg=White guibg=DarkBlue + +hi StatusLine term=bold cterm=bold ctermfg=Black ctermbg=White +hi StatusLine gui=bold guifg=Black guibg=White + +hi StatusLineNC term=NONE cterm=NONE ctermfg=Black ctermbg=White +hi StatusLineNC gui=NONE guifg=Black guibg=White + +hi Visual term=NONE cterm=NONE ctermfg=Black ctermbg=DarkCyan +hi Visual gui=NONE guifg=Black guibg=DarkCyan + +hi Search term=NONE cterm=NONE ctermbg=Gray +hi Search gui=NONE guibg=Gray + +hi VertSplit term=NONE cterm=NONE ctermfg=Black ctermbg=White +hi VertSplit gui=NONE guifg=Black guibg=White + +hi Directory term=NONE cterm=NONE ctermfg=Green ctermbg=DarkBlue +hi Directory gui=NONE guifg=Green guibg=DarkBlue + +hi WarningMsg term=standout cterm=NONE ctermfg=Red ctermbg=DarkBlue +hi WarningMsg gui=standout guifg=Red guibg=DarkBlue + +hi Error term=NONE cterm=NONE ctermfg=White ctermbg=Red +hi Error gui=NONE guifg=White guibg=Red + +hi Cursor ctermfg=Black ctermbg=Yellow +hi Cursor guifg=Black guibg=Yellow + diff --git a/.vim/colors/breeze.vim b/.vim/colors/breeze.vim new file mode 100644 index 0000000..21cf417 --- /dev/null +++ b/.vim/colors/breeze.vim @@ -0,0 +1,70 @@ +" Vim color file +" Maintainer: Tiza +" Last Change: 2002/10/30 Wed 00:08. +" version: 1.0 +" This color scheme uses a dark background. + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "breeze" + +hi Normal guifg=#ffffff guibg=#005c70 + +" Search +hi IncSearch gui=UNDERLINE guifg=#60ffff guibg=#6060ff +hi Search gui=NONE guifg=#ffffff guibg=#6060ff + +" Messages +hi ErrorMsg gui=BOLD guifg=#ffffff guibg=#ff40a0 +hi WarningMsg gui=BOLD guifg=#ffffff guibg=#ff40a0 +hi ModeMsg gui=NONE guifg=#60ffff guibg=NONE +hi MoreMsg gui=NONE guifg=#ffc0ff guibg=NONE +hi Question gui=NONE guifg=#ffff60 guibg=NONE + +" Split area +hi StatusLine gui=NONE guifg=#000000 guibg=#d0d0e0 +hi StatusLineNC gui=NONE guifg=#606080 guibg=#d0d0e0 +hi VertSplit gui=NONE guifg=#606080 guibg=#d0d0e0 +hi WildMenu gui=NONE guifg=#000000 guibg=#00c8f0 + +" Diff +hi DiffText gui=UNDERLINE guifg=#ffff00 guibg=#000000 +hi DiffChange gui=NONE guifg=#ffffff guibg=#000000 +hi DiffDelete gui=NONE guifg=#60ff60 guibg=#000000 +hi DiffAdd gui=NONE guifg=#60ff60 guibg=#000000 + +" Cursor +hi Cursor gui=NONE guifg=#ffffff guibg=#d86020 +hi lCursor gui=NONE guifg=#ffffff guibg=#e000b0 +hi CursorIM gui=NONE guifg=#ffffff guibg=#e000b0 + +" Fold +hi Folded gui=NONE guifg=#ffffff guibg=#0088c0 +" hi Folded gui=NONE guifg=#ffffff guibg=#2080d0 +hi FoldColumn gui=NONE guifg=#60e0e0 guibg=#006c7f + +" Other +hi Directory gui=NONE guifg=#00e0ff guibg=NONE +hi LineNr gui=NONE guifg=#60a8bc guibg=NONE +hi NonText gui=BOLD guifg=#00c0c0 guibg=#006276 +hi SpecialKey gui=NONE guifg=#e0a0ff guibg=NONE +hi Title gui=BOLD guifg=#ffffff guibg=NONE +hi Visual gui=NONE guifg=#ffffff guibg=#6060d0 +" hi VisualNOS gui=NONE guifg=#ffffff guibg=#6060d0 + +" Syntax group +hi Comment gui=NONE guifg=#c8d0d0 guibg=NONE +hi Constant gui=NONE guifg=#60ffff guibg=NONE +hi Error gui=BOLD guifg=#ffffff guibg=#ff40a0 +hi Identifier gui=NONE guifg=#cacaff guibg=NONE +hi Ignore gui=NONE guifg=#006074 guibg=NONE +hi PreProc gui=NONE guifg=#ffc0ff guibg=NONE +hi Special gui=NONE guifg=#ffd074 guibg=NONE +hi Statement gui=NONE guifg=#ffff80 guibg=NONE +hi Todo gui=BOLD,UNDERLINE guifg=#ffb0b0 guibg=NONE +hi Type gui=NONE guifg=#80ffa0 guibg=NONE +hi Underlined gui=UNDERLINE guifg=#ffffff guibg=NONE diff --git a/.vim/colors/brookstream.vim b/.vim/colors/brookstream.vim new file mode 100644 index 0000000..ee907c6 --- /dev/null +++ b/.vim/colors/brookstream.vim @@ -0,0 +1,83 @@ +"-------------------------------------------------------------------- +" Name Of File: brookstream.vim. +" Description: Gvim colorscheme, works best with version 6.1 GUI . +" Maintainer: Peter Bckstrm. +" Creator: Peter Bckstrm. +" URL: http://www.brookstream.org (Swedish). +" Credits: Inspiration from the darkdot scheme. +" Last Change: Friday, April 13, 2003. +" Installation: Drop this file in your $VIMRUNTIME/colors/ directory. +"-------------------------------------------------------------------- + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="brookstream" + +"-------------------------------------------------------------------- + +hi Normal gui=none guibg=#000000 guifg=#bbbbbb +hi Cursor guibg=#44ff44 guifg=#000000 +hi Directory guifg=#44ffff +hi DiffAdd guibg=#080808 guifg=#ffff00 +hi DiffDelete guibg=#080808 guifg=#444444 +hi DiffChange guibg=#080808 guifg=#ffffff +hi DiffText guibg=#080808 guifg=#bb0000 +hi ErrorMsg guibg=#880000 guifg=#ffffff +hi Folded guifg=#000088 +hi IncSearch guibg=#000000 guifg=#bbcccc +hi LineNr guibg=#050505 guifg=#4682b4 +hi ModeMsg guifg=#ffffff +hi MoreMsg guifg=#44ff44 +hi NonText guifg=#4444ff +hi Question guifg=#ffff00 +hi SpecialKey guifg=#4444ff +hi StatusLine gui=none guibg=#2f4f4f guifg=#ffffff +hi StatusLineNC gui=none guibg=#bbbbbb guifg=#000000 +hi Title guifg=#ffffff +hi Visual gui=none guibg=#bbbbbb guifg=#000000 +hi WarningMsg guifg=#ffff00 + +" syntax highlighting groups ---------------------------------------- + +hi Comment guifg=#696969 +hi Constant guifg=#00aaaa +hi Identifier guifg=#00e5ee +hi Statement guifg=#00ffff +hi PreProc guifg=#8470ff +hi Type guifg=#ffffff +hi Special gui=none guifg=#87cefa +hi Underlined gui=bold guifg=#4444ff +hi Ignore guifg=#444444 +hi Error guibg=#000000 guifg=#bb0000 +hi Todo guibg=#aa0006 guifg=#fff300 +hi Operator gui=none guifg=#00bfff +hi Function guifg=#1e90ff +hi String gui=None guifg=#4682b4 +hi Boolean guifg=#9bcd9b + +"hi link Character Constant +"hi link Number Constant +"hi link Boolean Constant +"hi link Float Number +"hi link Conditional Statement +"hi link Label Statement +"hi link Keyword Statement +"hi link Exception Statement +"hi link Repeat 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 Delimiter Special +"hi link SpecialComment Special +"hi link Debug Special +"hi link FoldColumn Folded + +"- end of colorscheme ----------------------------------------------- diff --git a/.vim/colors/brown.vim b/.vim/colors/brown.vim new file mode 100644 index 0000000..aecfe4e --- /dev/null +++ b/.vim/colors/brown.vim @@ -0,0 +1,32 @@ +hi comment guifg=#fef8ff ctermfg=red +hi constant guifg=#aa712f ctermfg=white +hi cursor guibg=#5e3807 guifg=#deb887 +hi diffadd ctermbg=green ctermfg=black +hi diffchange ctermbg=green ctermfg=white +hi diffdelete ctermbg=none ctermfg=darkyellow +hi difftext ctermbg=black ctermfg=green +hi directory guifg=#3e1807 ctermfg=green +hi error guibg=#cc3807 guifg=#deb887 +hi errormsg guifg=#cc3807 guibg=#f9d7a6 +hi identifier guifg=#5e3807 ctermfg=green +hi incsearch guifg=#f9d7a6 guibg=#8e6837 +hi modemsg guifg=#793807 ctermbg=none ctermfg=cyan gui=none +hi moremsg guifg=#793807 gui=none +hi nontext guifg=#ffffff ctermfg=darkgrey +hi normal guibg=#deb887 guifg=#846037 +hi preproc guifg=#7e6f27 ctermfg=white +hi question guifg=#793807 gui=none +hi scrollbar guibg=#deb887 guifg=#ae8857 +hi search guifg=#f9d7a6 ctermbg=cyan ctermfg=yellow guibg=#8e6837 +hi special guifg=#000000 ctermfg=yellow +hi specialkey guifg=#ffffff ctermfg=white +hi statement guifg=#7e5827 ctermfg=cyan +hi statusline guibg=#fee8b7 ctermbg=black ctermfg=darkgreen guifg=#793807 gui=none +hi statuslinenc guibg=#ae8857 ctermbg=black ctermfg=darkcyan guifg=#deb887 gui=none +hi title guifg=#793807 ctermfg=darkgreen gui=none +hi todo guibg=#995827 guifg=#fed8a7 +hi type guifg=#7e5827 ctermfg=yellow gui=none +hi vertsplit guibg=#ae8857 ctermbg=green ctermfg=black guifg=#ae8857 gui=none +hi visual guifg=#f9d7a6 guibg=#8e6837 ctermbg=black ctermfg=darkcyan +hi warningmsg guifg=#cc3807 +hi wildmenu guifg=#f9d7a6 guibg=#8e6837 diff --git a/.vim/colors/busierbee.vim b/.vim/colors/busierbee.vim new file mode 100644 index 0000000..6e175f9 --- /dev/null +++ b/.vim/colors/busierbee.vim @@ -0,0 +1,59 @@ +" Maintainer: Stuart Radnidge +" Version: 1.0.0 +" Last Change: August 1st, 2010 +" Credits: This is a modification of the BusyBee.vim color scheme by Patrick J. Anderson. + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "busierbee" + +" Vim >= 7.0 specific colors +if version >= 700 + hi CursorLine ctermbg=234 + hi CursorColumn ctermbg=234 + hi MatchParen ctermfg=157 ctermbg=237 cterm=bold + hi Pmenu ctermbg=238 + hi PmenuSel ctermfg=0 ctermbg=148 +endif + +" General colors +hi Cursor ctermbg=241 +hi Normal ctermfg=253 ctermbg=234 +hi NonText ctermfg=244 ctermbg=235 +hi LineNr ctermfg=244 ctermbg=232 +hi StatusLine ctermfg=253 ctermbg=238 +hi StatusLineNC ctermfg=246 ctermbg=238 +hi VertSplit ctermfg=238 ctermbg=238 +hi Folded ctermbg=4 ctermfg=248 +hi Title ctermfg=254 cterm=bold +hi Visual ctermfg=254 ctermbg=4 +hi SpecialKey ctermfg=244 ctermbg=236 + +" Syntax highlighting +hi Comment ctermfg=244 +hi Todo ctermfg=245 +hi Boolean ctermfg=220 +hi String ctermfg=149 +hi Identifier ctermfg=148 +hi Function ctermfg=176 +hi Type ctermfg=103 +hi Statement ctermfg=103 +hi Keyword ctermfg=208 +hi Constant ctermfg=208 +hi Number ctermfg=208 +hi Special ctermfg=208 +hi PreProc ctermfg=230 +hi Todo ctermfg=200 + +" Code-specific colors +hi pythonImport ctermfg=38 +hi pythonException ctermfg=200 +hi pythonOperator ctermfg=103 +hi pythonBuiltinFunction ctermfg=200 +hi pythonExClass ctermfg=200 diff --git a/.vim/colors/busybee.vim b/.vim/colors/busybee.vim new file mode 100644 index 0000000..57cbdc9 --- /dev/null +++ b/.vim/colors/busybee.vim @@ -0,0 +1,60 @@ +" Maintainer: Patrick J. Anderson +" Version: 1.0.1 +" Last Change: February 23, 2009 +" Credits: This is a modification of Mustang.vim color scheme + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "busybee" + +" Vim >= 7.0 specific colors +if version >= 700 + hi CursorLine guibg=#202020 ctermbg=234 + hi CursorColumn guibg=#202020 ctermbg=234 + hi MatchParen guifg=#d0ffc0 guibg=#202020 gui=bold ctermfg=157 ctermbg=237 cterm=bold + hi Pmenu guifg=#ffffff guibg=#202020 ctermfg=255 ctermbg=238 + hi PmenuSel guifg=#000000 guibg=#b1d631 ctermfg=0 ctermbg=148 +endif + +" General colors +hi Cursor guifg=NONE guibg=#626262 gui=none ctermbg=241 +hi Normal guifg=#e2e2e5 guibg=#202020 gui=none ctermfg=253 ctermbg=234 +hi NonText guifg=#808080 guibg=#202020 gui=none ctermfg=244 ctermbg=235 +hi LineNr guifg=#303030 guibg=#202020 gui=none ctermfg=244 ctermbg=232 +hi StatusLine guifg=#d3d3d5 guibg=#303030 gui=none ctermfg=253 ctermbg=238 +hi StatusLineNC guifg=#939395 guibg=#303030 gui=none ctermfg=246 ctermbg=238 +hi VertSplit guifg=#444444 guibg=#303030 gui=none ctermfg=238 ctermbg=238 +hi Folded guibg=#384048 guifg=#a0a8b0 gui=none ctermbg=4 ctermfg=248 +hi Title guifg=#f6f3e8 guibg=NONE gui=bold ctermfg=254 cterm=bold +hi Visual guifg=#faf4c6 guibg=#3c414c gui=none ctermfg=254 ctermbg=4 +hi SpecialKey guifg=#808080 guibg=#343434 gui=none ctermfg=244 ctermbg=236 + +" Syntax highlighting +hi Comment guifg=#3f3f3f gui=italic ctermfg=244 +hi Todo guifg=#8f8f8f gui=none ctermfg=245 +hi Boolean guifg=#b1d631 gui=none ctermfg=148 +hi String guifg=#606060 gui=none ctermfg=148 +hi Identifier guifg=#b1d631 gui=none ctermfg=148 +hi Function guifg=#ffff00 gui=none ctermfg=255 +hi Type guifg=#7e8aa2 gui=none ctermfg=103 +hi Statement guifg=#7e8aa2 gui=none ctermfg=103 +hi Keyword guifg=#ff9800 gui=none ctermfg=208 +hi Constant guifg=#ff9800 gui=none ctermfg=208 +hi Number guifg=#ff9800 gui=none ctermfg=208 +hi Special guifg=#ff9800 gui=none ctermfg=208 +hi PreProc guifg=#faf4c6 gui=none ctermfg=230 +hi Todo guifg=#ff9f00 guibg=#202020 gui=none + +" Code-specific colors +hi pythonImport guifg=#009000 gui=none ctermfg=255 +hi pythonException guifg=#f00000 gui=none ctermfg=200 +hi pythonOperator guifg=#7e8aa2 gui=none ctermfg=103 +hi pythonBuiltinFunction guifg=#009000 gui=none ctermfg=200 +hi pythonExClass guifg=#009000 gui=none ctermfg=200 + diff --git a/.vim/colors/buttercream.vim b/.vim/colors/buttercream.vim new file mode 100644 index 0000000..58055fd --- /dev/null +++ b/.vim/colors/buttercream.vim @@ -0,0 +1,59 @@ +" Vim color file +" vim: tw=0 ts=8 sw=4 +" Scriptname: buttercream +" Maintainer: Hkan Wikstrm +" Version: 1.1 +" Last Change: 20060413 +" As of now only gui is supported +" Based on the theme fog theme by Thomas R. Kimpton + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let colors_name = "buttercream" + +" Highlight Foreground Background Extras + +hi Normal guifg=#213a58 guibg=#ffffde +hi NonText guifg=LightBlue guibg=#eee9bf gui=bold +hi Comment guifg=#2f8e99 +hi Constant guifg=#7070a0 +hi Statement guifg=DarkGreen gui=bold +hi identifier guifg=DarkGreen +hi preproc guifg=#408040 +hi type guifg=DarkBlue +hi label guifg=#c06000 +hi operator guifg=DarkGreen gui=bold +hi StorageClass guifg=#a02060 gui=bold +hi Number guifg=Blue +hi Special guifg=#aa8822 +hi Cursor guifg=LightGrey guibg=#880088 +hi lCursor guifg=Black guibg=Cyan +hi ErrorMsg guifg=White guibg=DarkRed +hi DiffText guibg=DarkRed gui=bold +hi Directory guifg=DarkGrey gui=underline +hi LineNr guifg=#ccaa22 +hi MoreMsg guifg=SeaGreen gui=bold +hi Question guifg=DarkGreen gui=bold +hi Search guifg=Black guibg=#887722 +hi SpecialKey guifg=Blue +hi SpecialChar guifg=DarkGrey gui=bold +hi Title guifg=DarkMagenta gui=underline +hi WarningMsg guifg=DarkBlue guibg=#9999cc +hi WildMenu guifg=Black guibg=Yellow gui=underline +hi Folded guifg=DarkBlue guibg=LightGrey +hi FoldColumn guifg=DarkBLue guibg=Grey +hi DiffAdd guibg=DarkBlue +hi DiffChange guibg=DarkMagenta +hi DiffDelete guifg=Blue guibg=DarkCyan gui=bold +hi Ignore guifg=grey90 +hi IncSearch gui=reverse +hi ModeMsg gui=bold +hi StatusLine gui=reverse,bold +hi StatusLineNC gui=reverse +hi VertSplit gui=reverse +hi Visual guifg=LightGrey gui=reverse +hi VisualNOS gui=underline,bold +hi Todo guibg=#ccaa22 gui=bold,underline diff --git a/.vim/colors/bvemu.vim b/.vim/colors/bvemu.vim new file mode 100644 index 0000000..9a3ace2 --- /dev/null +++ b/.vim/colors/bvemu.vim @@ -0,0 +1,367 @@ +" Vim color file +" Maintainer: Subramanyam +" Version: 1.0 +" + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let colors_name="bvemu" + +" Base color +" ---------- +hi Normal guifg=#949F92 guibg=#202020 +hi Normal ctermfg=253 ctermbg=235 + +" Comment Group +" ------------- +" any comment +hi Comment guifg=#887C6B gui=none +hi Comment ctermfg=240 cterm=none + +" Blue based +" Constant Group +" -------------- +" any constant +hi Constant guifg=#8CD0D3 gui=none +hi Constant ctermfg=116 cterm=none + +" strings +hi String guifg=#ADADAD gui=none +hi String ctermfg=110 cterm=none + +" character constant +hi Character guifg=#8B0000 gui=none +hi Character ctermfg=110 cterm=none + +" numbers decimal/hex +hi Number guifg=#A3ABB7 gui=none +hi Number ctermfg=116 cterm=none + +" true, false +" could actually test this +hi Boolean guifg=#FF85A0 gui=none +hi Boolean ctermfg=116 cterm=none + +" float +hi Float guifg=#B94E48 gui=none +hi Float ctermfg=116 cterm=none + + +" Identifier Group +" ---------------- +" any variable name +hi Identifier guifg=#C4AD87 gui=none +hi Identifier ctermfg=216 cterm=none + +" function, method, class +hi Function guifg=#C4AD87 gui=none +hi Function ctermfg=216 cterm=none + +" Statement Group +" --------------- +" any statement +hi Statement guifg=#BDCB28 gui=none +hi Statement ctermfg=150 cterm=none + +" if, then, else +hi Conditional guifg=#DA3287 gui=none +hi Conditional ctermfg=150 cterm=none + +" try, catch, throw, raise +hi Exception guifg=#FF7900 gui=none +hi Exception ctermfg=150 cterm=none + +" for, while, do +hi Repeat guifg=#1E90FF gui=none +hi Repeat ctermfg=150 cterm=none + +" case, default +hi Label guifg=#CD00CC gui=none +hi Label ctermfg=150 cterm=none + +" sizeof, +, * +hi Operator guifg=#1560BD gui=none +hi Operator ctermfg=150 cterm=none + +" any other keyword +hi Keyword guifg=#C19A6B gui=none +hi Keyword ctermfg=150 cterm=none + +" Preprocessor Group +" ------------------ +" generic preprocessor +hi PreProc guifg=#D82626 gui=none +hi PreProc ctermfg=223 cterm=none + +" #include +hi Include guifg=#36EF0A gui=none +hi Include ctermfg=223 cterm=none + +" #define +hi Define guifg=#EF0A5C gui=none +hi Define ctermfg=223 cterm=none + +" same as define +hi Macro guifg=#0AEFC3 gui=none +hi Macro ctermfg=223 cterm=none + +" #if, #else, #endif +hi PreCondit guifg=#7D7D7D gui=none +hi PreCondit ctermfg=223 cterm=none + +" Type Group +" ---------- +" int, long, char +hi Type guifg=#60A0B7 gui=none +hi Type ctermfg=115 cterm=none + +" static, register, volative +hi StorageClass guifg=#D1E231 gui=none +hi StorageClass ctermfg=115 cterm=none + +" struct, union, enum +hi Structure guifg=#FFCC00 gui=none +hi Structure ctermfg=115 cterm=none + +" typedef +hi Typedef guifg=#2CCDD3 gui=none +hi Typedef ctermfg=115 cterm=none + +" Special Group +" ------------- +" any special symbol +hi Special guifg=#FEF896 gui=none +hi Special ctermfg=181 cterm=none + +" special character in a constant +hi SpecialChar guifg=#FBEC5D gui=none +hi SpecialChar ctermfg=181 cterm=none + +" things you can CTRL-] +hi Tag guifg=#FBEC5D gui=none +hi Tag ctermfg=181 cterm=none + +" character that needs attention +hi Delimiter guifg=#E4F59F gui=none +hi Delimiter ctermfg=181 cterm=none + +" special things inside a comment +hi SpecialComment guifg=#F5DA9F gui=none +hi SpecialComment ctermfg=181 cterm=none + +" debugging statements +hi Debug guifg=#cca3b3 guibg=NONE gui=none +hi Debug ctermfg=181 ctermbg=NONE cterm=none + +""TODO +" Underlined Group +" ---------------- +" text that stands out, html links +hi Underlined guifg=#415FB8 gui=underline +hi Underlined ctermfg=fg cterm=underline + +" Ignore Group +" ------------ +" left blank, hidden +hi Ignore guifg=bg +hi Ignore ctermfg=bg + +" Error Group +" ----------- +" any erroneous construct +hi Error guifg=#E80000 guibg=#432323 gui=none +hi Error ctermfg=167 ctermbg=52 cterm=none + +" Todo Group +" ---------- +" todo, fixme, note, xxx +hi Todo guifg=#E80000 guibg=NONE gui=underline +hi Todo ctermfg=228 ctermbg=NONE cterm=underline + +" Spelling +" -------- +" word not recognized +hi SpellBad guisp=#B4FF96 gui=undercurl +hi SpellBad ctermbg=9 cterm=undercurl + +" word not capitalized +hi SpellCap guisp=#C00F00 gui=undercurl +hi SpellCap ctermbg=12 cterm=undercurl + +" rare word +hi SpellRare guisp=#FF4400 gui=undercurl +hi SpellRare ctermbg=13 cterm=undercurl + +" wrong spelling for selected region +hi SpellLocal guisp=#E80000 gui=undercurl +hi SpellLocal ctermbg=14 cterm=undercurl + +" Cursor +" ------ +" character under the cursor +hi Cursor guifg=bg guibg=#a3e3ed +hi Cursor ctermfg=bg ctermbg=153 + +" like cursor, but used when in IME mode +hi CursorIM guifg=bg guibg=#96cdcd +hi CursorIM ctermfg=bg ctermbg=116 + +" cursor column +hi CursorColumn guifg=NONE guibg=#202438 gui=none +hi CursorColumn ctermfg=NONE ctermbg=236 cterm=none + +" cursor line/row +hi CursorLine gui=NONE guibg=#202438 gui=none +hi CursorLine cterm=NONE ctermbg=236 cterm=none + +" Misc +" ---- +" directory names and other special names in listings +hi Directory guifg=#c0e0b0 gui=none +hi Directory ctermfg=151 cterm=none + +" error messages on the command line +hi ErrorMsg guifg=#ee0000 guibg=NONE gui=none +hi ErrorMsg ctermfg=196 ctermbg=NONE cterm=none + +" column separating vertically split windows +hi VertSplit guifg=#777777 guibg=#363946 gui=none +hi VertSplit ctermfg=242 ctermbg=237 cterm=none + +" columns where signs are displayed (used in IDEs) +hi SignColumn guifg=#9fafaf guibg=#181818 gui=none +hi SignColumn ctermfg=145 ctermbg=233 cterm=none + +" line numbers +hi LineNr guifg=#818698 guibg=#363946 +hi LineNr ctermfg=102 ctermbg=237 + +" match parenthesis, brackets +hi MatchParen guifg=#BAFF00 guibg=NONE gui=bold +hi MatchParen ctermfg=46 ctermbg=NONE cterm=bold + +" the 'more' prompt when output takes more than one line +hi MoreMsg guifg=#2e8b57 gui=none +hi MoreMsg ctermfg=29 cterm=none + +" text showing what mode you are in +hi ModeMsg guifg=#76d5f8 guibg=NONE gui=none +hi ModeMsg ctermfg=117 ctermbg=NONE cterm=none + +" the '~' and '@' and showbreak, '>' double wide char doesn't fit on line +hi NonText guifg=#FF7F00 gui=none +hi NonText ctermfg=235 cterm=none + +" the hit-enter prompt (show more output) and yes/no questions +hi Question guifg=fg gui=none +hi Question ctermfg=fg cterm=none + +" meta and special keys used with map, unprintable characters +hi SpecialKey guifg=#405060 +hi SpecialKey ctermfg=237 + +" titles for output from :set all, :autocmd, etc +hi Title guifg=#FF9500 gui=none +hi Title ctermfg=74 cterm=none + +"hi Title guifg=#5ec8e5 gui=none +" warning messages +hi WarningMsg guifg=#e5786d gui=none +hi WarningMsg ctermfg=173 cterm=none + +" current match in the wildmenu completion +hi WildMenu guifg=#cae682 guibg=#363946 gui=bold,underline +hi WildMenu ctermfg=16 ctermbg=186 cterm=bold + +" Diff +" ---- +" added line +hi DiffAdd guifg=#00CFFF guibg=#313c36 gui=none +hi DiffAdd ctermfg=108 ctermbg=22 cterm=none + +" changed line +hi DiffChange guifg=NONE guibg=#FF9631 gui=none +hi DiffChange ctermfg=fg ctermbg=52 cterm=none + +" deleted line +hi DiffDelete guifg=#FF0000 guibg=#E85500 gui=none +hi DiffDelete ctermfg=59 ctermbg=58 cterm=none + +" changed text within line +hi DiffText guifg=#f05060 guibg=#4a343a gui=bold +hi DiffText ctermfg=203 ctermbg=52 cterm=bold + +" Folds +" ----- +" line used for closed folds +hi Folded guifg=#91d6f8 guibg=#363946 gui=none +hi Folded ctermfg=117 ctermbg=238 cterm=none + +" column on side used to indicated open and closed folds +hi FoldColumn guifg=#91d6f8 guibg=#363946 gui=none +hi FoldColumn ctermfg=117 ctermbg=238 cterm=none + +" Search +" ------ +" highlight incremental search text; also highlight text replaced with :s///c +hi IncSearch guifg=#BD00FF gui=reverse +hi IncSearch ctermfg=87 cterm=reverse + +" hlsearch (last search pattern), also used for quickfix +hi Search guibg=#ffaa33 gui=none +hi Search ctermbg=214 cterm=none + +" Popup Menu +" ---------- +" normal item in popup +hi Pmenu guifg=#e0e0e0 guibg=#303840 gui=none +hi Pmenu ctermfg=253 ctermbg=233 cterm=none + +" selected item in popup +hi PmenuSel guifg=#cae682 guibg=#505860 gui=none +hi PmenuSel ctermfg=186 ctermbg=237 cterm=none + +" scrollbar in popup +hi PMenuSbar guibg=#505860 gui=none +hi PMenuSbar ctermbg=59 cterm=none + +" thumb of the scrollbar in the popup +hi PMenuThumb guibg=#808890 gui=none +hi PMenuThumb ctermbg=102 cterm=none + +" Status Line +" ----------- +" status line for current window +hi StatusLine guifg=#e0e0e0 guibg=#363946 gui=bold +hi StatusLine ctermfg=254 ctermbg=237 cterm=bold + +" status line for non-current windows +hi StatusLineNC guifg=#767986 guibg=#363946 gui=none +hi StatusLineNC ctermfg=244 ctermbg=237 cterm=none + +" Tab Lines +" --------- +" tab pages line, not active tab page label +hi TabLine guifg=#462244 guibg=#363946 gui=none +hi TabLine ctermfg=244 ctermbg=236 cterm=none + +" tab pages line, where there are no labels +hi TabLineFill guifg=#A2ADA3 guibg=#363946 gui=none +hi TabLineFill ctermfg=187 ctermbg=236 cterm=none + +" tab pages line, active tab page label +hi TabLineSel guifg=#002DC2 guibg=#414658 gui=bold +hi TabLineSel ctermfg=254 ctermbg=236 cterm=bold + +" Visual +" ------ +" visual mode selection +hi Visual guifg=NONE guibg=#CFE4FF +hi Visual ctermfg=NONE ctermbg=24 + +" visual mode selection when vim is not owning the selection (x11 only) +hi VisualNOS guifg=fg gui=underline +hi VisualNOS ctermfg=fg cterm=underline diff --git a/.vim/colors/bw.vim b/.vim/colors/bw.vim new file mode 100644 index 0000000..4c97e57 --- /dev/null +++ b/.vim/colors/bw.vim @@ -0,0 +1,55 @@ +" Vim color file +" Maintainer: Hans Fugal +" Last Change: 5 Oct 2001 +" URL: http://fugal.net/vim/colors/bw.vim + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors +" +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="bw" + +hi SpecialKey cterm=bold ctermfg=NONE +hi NonText cterm=bold ctermfg=NONE +hi Directory cterm=bold ctermfg=NONE +hi ErrorMsg cterm=standout ctermfg=NONE +hi IncSearch cterm=reverse ctermfg=NONE +hi Search cterm=reverse ctermfg=NONE +hi MoreMsg cterm=bold ctermfg=NONE +hi ModeMsg cterm=bold ctermfg=NONE +hi LineNr cterm=underline ctermfg=NONE +hi Question cterm=standout ctermfg=NONE +hi StatusLine cterm=bold,reverse ctermfg=NONE +hi StatusLineNC cterm=reverse ctermfg=NONE +hi VertSplit cterm=reverse ctermfg=NONE +hi Title cterm=bold ctermfg=NONE +hi Visual cterm=reverse ctermfg=NONE +hi VisualNOS cterm=bold,underline ctermfg=NONE +hi WarningMsg cterm=standout ctermfg=NONE +hi WildMenu cterm=standout ctermfg=NONE +hi Folded cterm=standout ctermfg=NONE +hi FoldColumn cterm=standout ctermfg=NONE +hi DiffAdd cterm=bold ctermfg=NONE +hi DiffChange cterm=bold ctermfg=NONE +hi DiffDelete cterm=bold ctermfg=NONE +hi DiffText cterm=reverse ctermfg=NONE +hi Comment cterm=bold ctermfg=NONE +hi Constant cterm=underline ctermfg=NONE +hi Special cterm=bold ctermfg=NONE +hi Identifier cterm=underline ctermfg=NONE +hi Statement cterm=bold ctermfg=NONE +hi PreProc cterm=underline ctermfg=NONE +hi Type cterm=underline ctermfg=NONE +hi Underlined cterm=underline ctermfg=NONE +hi Ignore cterm=bold ctermfg=NONE +hi Error cterm=reverse ctermfg=NONE +hi Todo cterm=standout ctermfg=NONE diff --git a/.vim/colors/c.vim b/.vim/colors/c.vim new file mode 100644 index 0000000..6109c22 --- /dev/null +++ b/.vim/colors/c.vim @@ -0,0 +1,32 @@ +" Vim Syntax Highlighting File +" +" Language: C +" +" Extra: This is to copy the vi clone elvis on its +" syntax highlighting. +" +" Maintainer: Dean Jones +" +" Comment: This works well with the default c.vim +" that comes with vim6.x. It basically +" overrides the very bright colors it uses +" and uses simple white for highlighting +" key words and types in the C language. +" If you're using Eterm, uncomment the +" Normal line specified below. + +hi clear + +" Eterm users, uncomment the line below +" hi Normal ctermfg=grey + +hi PreProc ctermfg=white +hi Type ctermfg=white +hi Statement ctermfg=white +hi Comment ctermfg=grey +hi Constant cterm=NONE ctermfg=NONE +hi Number cterm=NONE ctermfg=NONE +hi String cterm=NONE ctermfg=NONE +hi Special cterm=NONE ctermfg=NONE + +" EOF for Dean's Elvis like highlighting diff --git a/.vim/colors/calmar256-light.vim b/.vim/colors/calmar256-light.vim new file mode 100644 index 0000000..941f8ea --- /dev/null +++ b/.vim/colors/calmar256-light.vim @@ -0,0 +1,247 @@ +" Vim color file: calmar256-dark.vim +" Last Change: 21. Aug 2007 +" License: public domain +" Maintainer:: calmar +" +" for a 256 color capable terminal like xterm-256color, ... or gvim as well +" "{{{ +" it only works in such a terminal and when you have: +" set t_Co=256 +" in your vimrc"}}} + +" {{{ t_Co=256 is set - check +if &t_Co != 256 && ! has("gui_running") + echomsg "" + echomsg "write 'set t_Co=256' in your .vimrc or this file won't load" + echomsg "" + finish +endif +" }}} +" {{{ reset colors and set colors_name and store cpo setting +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "calmar256-light" + +let s:save_cpo = &cpo +set cpo&vim +" }}} + +" FORMAT:"{{{ +" +" \ ["color-group", "term-style", "foreground-color", "background-color", "gui-style", "under-curl-color" ], +" +" 'term-style'/'gui-style' can be: +" bold, underline, undercurl, reverse, inverse, italic, standout, NONE +" +" if gui-style is empty, the term-style value is used for the gui +" +" (Note: not everything is supported by a terminal nor the gui) +" +" besides empty values defaults to 'NONE" +" +" may also check: :help highlight-groups +" :help hl- " +" +" for the Color numbers (0-255) for the foreground/background and under-curl-colors: +" http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html + +"}}} +"============================================================ +" EDIT/ADD your style/colors below +"------------------------------------------------------------ + +" Format: \ ["color-group", +" "term-style", +" "foreground-color", +" "background-color", +" "gui-style", +" "under-curl-color" ], + +let s:colors256 = [ + \ ["Normal", "", "17", "230", "", "" ], + \ ["Cursor", "", "", "226", "", "" ], + \ ["CursorLine", "", "", "222", "", "" ], + \ ["CursorColumn", "", "", "223", "", "" ], + \ ["Incsearch", "bold", "195", "28", "", "" ], + \ ["Search", "", "", "119", "", "" ], + \ ["ErrorMsg", "bold", "16", "202", "", "" ], + \ ["WarningMsg", "bold", "16", "190", "", "" ], + \ ["ModeMsg", "bold", "16", "51", "", "" ], + \ ["MoreMsg", "bold", "16", "154", "", "" ], + \ ["Question", "bold", "27", "", "", "" ], + \ ["StatusLine", "", "231", "30", "", "" ], + \ ["StatusLineNC", "", "20", "250", "", "" ], + \ ["User1", "bold", "28", "", "", "" ], + \ ["User2", "bold", "39", "", "", "" ], + \ ["VertSplit", "", "84", "22", "", "" ], + \ ["WildMenu", "bold", "87", "35", "", "" ], + \ ["DiffText", "", "16", "190", "", "" ], + \ ["DiffChange", "", "16", "83", "", "" ], + \ ["DiffDelete", "", "79", "124", "", "" ], + \ ["DiffAdd", "", "79", "21", "", "" ], + \ ["Folded", "bold", "19", "115", "", "" ], + \ ["FoldedColumn", "", "39", "190", "", "" ], + \ ["FoldColumn", "", "19", "115", "", "" ], + \ ["Directory", "", "28", "", "", "" ], + \ ["LineNr", "", "63", "228", "", "" ], + \ ["NonText", "", "243", "229", "", "" ], + \ ["SpecialKey", "", "190", "", "", "" ], + \ ["Title", "bold", "18", "", "", "" ], + \ ["Visual", "", "", "220", "", "" ], + \ ["Comment", "", "21", "255", "", "" ], + \ ["Costant", "", "58", "", "", "" ], + \ ["String", "", "160", "", "", "" ], + \ ["Error", "", "130", "", "", "" ], + \ ["Identifier", "", "31", "", "", "" ], + \ ["Ignore", "", "", "", "", "" ], + \ ["Number", "bold", "23", "", "", "" ], + \ ["PreProc", "", "26", "255", "", "" ], + \ ["Special", "", "", "229", "", "" ], + \ ["SpecialChar", "", "22", "", "", "" ], + \ ["Statement", "", "36", "", "", "" ], + \ ["Todo", "", "", "229", "", "" ], + \ ["Type", "", "20", "", "", "" ], + \ ["Underlined", "bold", "25", "", "", "" ], + \ ["TaglistTagName","bold", "29", "118", "", "" ]] + +let s:colorvim7 = [ + \ ["Pmenu", "", "229", "29", "", "" ], + \ ["PmenuSel", "bold", "232", "226", "", "" ], + \ ["PmenuSbar", "", "16", "119", "", "" ], + \ ["PmenuThumb", "", "16", "11", "", "" ], + \ ["SpellBad", "undercurl", "","", "undercurl","160" ], + \ ["SpellRare", "", "", "228", "", "" ], + \ ["SpellLocal", "", "", "224", "", "" ], + \ ["SpellCap", "", "", "247", "", "" ], + \ ["MatchParen", "bold", "15", "22", "", "" ], + \ ["TabLine", "", "252", "22", "", "" ], + \ ["TabLineSel", "bold", "253", "30", "", "" ], + \ ["TabLineFill", "", "247", "16", "", "" ]] + +"============================================================ +" * NO NEED * to edit below (unless bugfixing) +"============================================================ +" +" {{{ change empty fields to "NONE" + +for s:col in s:colors256 + for i in [1, 2, 3, 4, 5] + if s:col[i] == "" + let s:col[i] = "NONE" + endif + endfor +endfor + +for s:col in s:colorvim7 + for i in [1, 2, 3, 4, 5] + if s:col[i] == "" + let s:col[i] = "NONE" + endif + endfor +endfor +" }}} +" {{{ check args helper function +function! s:checkargs(arg) + if a:arg+0 == 0 && a:arg != "0" "its a string + return a:arg + else + return s:cmap[a:arg+0] "get rgb color based on the number + endif +endfunction +" }}} +" {{{ guisetcolor helper function +" +function! s:guisetcolor(colarg) + " if gui-style is empty use (c)term-style also for gui + if a:colarg[4] == "" + let guival = a:colarg[1] + else + let guival = a:colarg[4] + endif + + let fg = s:checkargs(a:colarg[2]) + let bg = s:checkargs(a:colarg[3]) + let sp = s:checkargs(a:colarg[5]) + + exec "hi ".a:colarg[0]." gui=".guival." guifg=".fg." guibg=".bg." guisp=".sp +endfunction +" }}} +" {{{ color setup for terminal +if ! has("gui_running") + for s:col in s:colors256 + exec "hi ".s:col[0]." cterm=".s:col[1]." ctermfg=".s:col[2]." ctermbg=".s:col[3] + endfor + if v:version >= 700 + for s:col in s:colorvim7 + exec "hi ".s:col[0]." cterm=".s:col[1]." ctermfg=".s:col[2]." ctermbg=".s:col[3] + endfor + endif +else +" }}} + " color-mapping array {{{ + " number of vim colors and #html colors equivalent for gui + let s:cmap = [ + \ "#000000", "#800000", "#008000", "#808000", + \ "#000080", "#800080", "#008080", "#c0c0c0", + \ "#808080", "#ff0000", "#00ff00", "#ffff00", + \ "#0000ff", "#ff00ff", "#00ffff", "#ffffff", + \ + \ "#000000", "#00005f", "#000087", "#0000af", "#0000d7", "#0000ff", + \ "#005f00", "#005f5f", "#005f87", "#005faf", "#005fd7", "#005fff", + \ "#008700", "#00875f", "#008787", "#0087af", "#0087d7", "#0087ff", + \ "#00af00", "#00af5f", "#00af87", "#00afaf", "#00afd7", "#00afff", + \ "#00d700", "#00d75f", "#00d787", "#00d7af", "#00d7d7", "#00d7ff", + \ "#00ff00", "#00ff5f", "#00ff87", "#00ffaf", "#00ffd7", "#00ffff", + \ "#5f0000", "#5f005f", "#5f0087", "#5f00af", "#5f00d7", "#5f00ff", + \ "#5f5f00", "#5f5f5f", "#5f5f87", "#5f5faf", "#5f5fd7", "#5f5fff", + \ "#5f8700", "#5f875f", "#5f8787", "#5f87af", "#5f87d7", "#5f87ff", + \ "#5faf00", "#5faf5f", "#5faf87", "#5fafaf", "#5fafd7", "#5fafff", + \ "#5fd700", "#5fd75f", "#5fd787", "#5fd7af", "#5fd7d7", "#5fd7ff", + \ "#5fff00", "#5fff5f", "#5fff87", "#5fffaf", "#5fffd7", "#5fffff", + \ "#870000", "#87005f", "#870087", "#8700af", "#8700d7", "#8700ff", + \ "#875f00", "#875f5f", "#875f87", "#875faf", "#875fd7", "#875fff", + \ "#878700", "#87875f", "#878787", "#8787af", "#8787d7", "#8787ff", + \ "#87af00", "#87af5f", "#87af87", "#87afaf", "#87afd7", "#87afff", + \ "#87d700", "#87d75f", "#87d787", "#87d7af", "#87d7d7", "#87d7ff", + \ "#87ff00", "#87ff5f", "#87ff87", "#87ffaf", "#87ffd7", "#87ffff", + \ "#af0000", "#af005f", "#af0087", "#af00af", "#af00d7", "#af00ff", + \ "#af5f00", "#af5f5f", "#af5f87", "#af5faf", "#af5fd7", "#af5fff", + \ "#af8700", "#af875f", "#af8787", "#af87af", "#af87d7", "#af87ff", + \ "#afaf00", "#afaf5f", "#afaf87", "#afafaf", "#afafd7", "#afafff", + \ "#afd700", "#afd75f", "#afd787", "#afd7af", "#afd7d7", "#afd7ff", + \ "#afff00", "#afff5f", "#afff87", "#afffaf", "#afffd7", "#afffff", + \ "#d70000", "#d7005f", "#d70087", "#d700af", "#d700d7", "#d700ff", + \ "#d75f00", "#d75f5f", "#d75f87", "#d75faf", "#d75fd7", "#d75fff", + \ "#d78700", "#d7875f", "#d78787", "#d787af", "#d787d7", "#d787ff", + \ "#d7af00", "#d7af5f", "#d7af87", "#d7afaf", "#d7afd7", "#d7afff", + \ "#d7d700", "#d7d75f", "#d7d787", "#d7d7af", "#d7d7d7", "#d7d7ff", + \ "#d7ff00", "#d7ff5f", "#d7ff87", "#d7ffaf", "#d7ffd7", "#d7ffff", + \ "#ff0000", "#ff005f", "#ff0087", "#ff00af", "#ff00d7", "#ff00ff", + \ "#ff5f00", "#ff5f5f", "#ff5f87", "#ff5faf", "#ff5fd7", "#ff5fff", + \ "#ff8700", "#ff875f", "#ff8787", "#ff87af", "#ff87d7", "#ff87ff", + \ "#ffaf00", "#ffaf5f", "#ffaf87", "#ffafaf", "#ffafd7", "#ffafff", + \ "#ffd700", "#ffd75f", "#ffd787", "#ffd7af", "#ffd7d7", "#ffd7ff", + \ "#ffff00", "#ffff5f", "#ffff87", "#ffffaf", "#ffffd7", "#ffffff", + \ + \ "#080808", "#121212", "#1c1c1c", "#262626", "#303030", "#3a3a3a", + \ "#444444", "#4e4e4e", "#585858", "#606060", "#666666", "#767676", + \ "#808080", "#8a8a8a", "#949494", "#9e9e9e", "#a8a8a8", "#b2b2b2", + \ "#bcbcbc", "#c6c6c6", "#d0d0d0", "#dadada", "#e4e4e4", "#eeeeee" ] + " }}} +" {{{ color setup for gvim + for s:col in s:colors256 + call s:guisetcolor(s:col) + endfor + if v:version >= 700 + for s:col in s:colorvim7 + call s:guisetcolor(s:col) + endfor + endif +endif +" }}} +let &cpo = s:save_cpo " restoring &cpo value +" vim: set fdm=marker fileformat=unix: diff --git a/.vim/colors/camo.vim b/.vim/colors/camo.vim new file mode 100644 index 0000000..059af42 --- /dev/null +++ b/.vim/colors/camo.vim @@ -0,0 +1,76 @@ +" Vim color file +" Maintainer: Tim Aldrich +" Last Change: 19 January 2002 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="camo" +hi Normal guifg=bisque guibg=grey15 +hi Cursor guifg=snow guibg=bisque3 +hi CursorIM guifg=OliveDrab4 guibg=bisque +hi Directory guifg=OliveDrab4 guibg=grey15 +hi DiffAdd guifg=DarkOliveGreen1 guibg=grey15 +hi DiffChange guifg=PaleGreen guibg=grey15 +hi DiffDelete guifg=red guibg=grey15 +hi DiffText guifg=grey15 guibg=red +hi ErrorMsg guifg=snow guibg=red +hi VertSplit guifg=bisque4 guibg=DarkOliveGreen1 +hi Folded guifg=DarkOliveGreen2 guibg=grey30 +hi FoldColumn guifg=DarkOliveGreen2 guibg=grey30 +hi IncSearch guifg=bisque guibg=red +hi LineNr guifg=OliveDrab4 guibg=grey15 +hi ModeMsg guifg=khaki3 guibg=grey15 +hi MoreMsg guifg=khaki3 guibg=grey15 +hi NonText guifg=DarkSalmon guibg=grey10 +hi Question guifg=IndianRed guibg=grey10 +hi Search guifg=DarkSalmon guibg=grey15 +hi SpecialKey guifg=yellow guibg=grey15 +hi StatusLine guifg=bisque4 guibg=DarkOliveGreen1 +hi StatusLineNC guifg=bisque4 guibg=DarkOliveGreen3 +hi Title guifg=IndianRed guibg=grey15 +hi Visual guifg=OliveDrab4 guibg=bisque1 +hi WarningMsg guifg=bisque guibg=red +hi WildMenu guifg=LightBlue guibg=DarkViolet + + +"Syntax hilight groups + +hi Comment guifg=tan +hi Constant guifg=khaki +hi String guifg=moccasin +hi Character guifg=chocolate +hi Number guifg=chocolate +hi Boolean guifg=OliveDrab3 +hi Float guifg=chocolate +hi Identifier guifg=khaki4 +hi Function guifg=OliveDrab4 +hi Statement guifg=khaki +hi Conditional guifg=khaki +hi Repeat guifg=khaki +hi Label guifg=khaki +hi Operator guifg=DarkKhaki +hi Keyword guifg=DarkKhaki +hi Exception guifg=khaki +hi PreProc guifg=khaki4 +hi Include guifg=khaki4 +hi Define guifg=khaki1 +hi Macro guifg=khaki2 +hi PreCondit guifg=khaki3 +hi Type guifg=khaki3 +hi StorageClass guifg=tan +hi Structure guifg=DarkGoldenrod +hi Typedef guifg=khaki3 +hi Special guifg=IndianRed +hi SpecialChar guifg=DarkGoldenrod +hi Tag guifg=DarkKhaki +hi Delimiter guifg=DarkGoldenrod +hi SpecialComment guifg=cornsilk +hi Debug guifg=brown +hi Underlined guifg=IndianRed +hi Ignore guifg=grey30 +hi Error guifg=bisque guibg=red +hi Todo guifg=red guibg=bisque + diff --git a/.vim/colors/campfire.vim b/.vim/colors/campfire.vim new file mode 100644 index 0000000..74572c3 --- /dev/null +++ b/.vim/colors/campfire.vim @@ -0,0 +1,57 @@ +" Vim color file +" Maintainer: Alexander Timmermans +" Last Change: 28 september 2006 + +set bg=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "campfire" + +hi Normal guifg=#c0c0c0 guibg=#000040 ctermfg=gray ctermbg=black +hi ErrorMsg guifg=#ffffff guibg=#287eff ctermfg=white ctermbg=lightblue +hi Visual guifg=#8080ff guibg=fg gui=reverse ctermfg=lightblue ctermbg=fg cterm=reverse +hi VisualNOS guifg=#8080ff guibg=fg gui=reverse,underline ctermfg=lightblue ctermbg=fg cterm=reverse,underline +hi Todo guifg=#d14a14 guibg=#1248d1 ctermfg=red ctermbg=darkblue +hi Search guifg=#90fff0 guibg=#2050d0 ctermfg=white ctermbg=darkblue cterm=underline term=underline +hi IncSearch guifg=#b0ffff guibg=#2050d0 ctermfg=darkblue ctermbg=gray + +hi SpecialKey guifg=cyan ctermfg=darkcyan +hi Directory guifg=cyan ctermfg=cyan +hi Title guifg=magenta gui=none ctermfg=magenta cterm=bold +hi WarningMsg guifg=red ctermfg=red +hi WildMenu guifg=yellow guibg=black ctermfg=yellow ctermbg=black cterm=none term=none +hi ModeMsg guifg=#22cce2 ctermfg=lightblue +hi MoreMsg ctermfg=darkgreen ctermfg=darkgreen +hi Question guifg=green gui=none ctermfg=green cterm=none +hi NonText guifg=#0030ff ctermfg=darkblue + +hi StatusLine guifg=blue guibg=darkgray gui=none ctermfg=blue ctermbg=gray term=none cterm=none +hi StatusLineNC guifg=black guibg=darkgray gui=none ctermfg=black ctermbg=gray term=none cterm=none +hi VertSplit guifg=black guibg=darkgray gui=none ctermfg=black ctermbg=gray term=none cterm=none + +hi Folded guifg=#808080 guibg=#000040 ctermfg=darkgrey ctermbg=black cterm=bold term=bold +hi FoldColumn guifg=#808080 guibg=#000040 ctermfg=darkgrey ctermbg=black cterm=bold term=bold +hi LineNr guifg=#90f020 ctermfg=green cterm=none + +hi DiffAdd guibg=darkblue ctermbg=darkblue term=none cterm=none +hi DiffChange guibg=darkmagenta ctermbg=magenta cterm=none +hi DiffDelete ctermfg=blue ctermbg=cyan gui=bold guifg=Blue guibg=DarkCyan +hi DiffText cterm=bold ctermbg=red gui=bold guibg=Red + +hi lCursor guifg=#ffffff guibg=#000000 ctermfg=bg ctermbg=darkgreen + + +hi Comment guifg=#80a0ff ctermfg=darkred +hi Constant ctermfg=magenta guifg=#ffa0a0 cterm=none +hi Special ctermfg=brown guifg=Orange cterm=none gui=none +hi Identifier ctermfg=cyan guifg=seagreen1 cterm=none +hi Statement ctermfg=yellow cterm=none guifg=#ffff60 gui=none +hi PreProc ctermfg=magenta guifg=gold gui=none cterm=none +hi type ctermfg=green guifg=seagreen1 gui=none cterm=none +hi Underlined cterm=underline term=underline +hi Ignore guifg=bg ctermfg=bg +hi String term=NONE cterm=NONE gui=NONE start=^[[m^[[33m stop=^[[m^[[32m ctermfg=3 guifg=LightGrey +hi Constant term=NONE cterm=NONE gui=NONE start=^[[m^[[33m stop=^[[m^[[32m ctermfg=3 guifg=LightGrey diff --git a/.vim/colors/candy.vim b/.vim/colors/candy.vim new file mode 100644 index 0000000..545ff7c --- /dev/null +++ b/.vim/colors/candy.vim @@ -0,0 +1,78 @@ +" Vim color file +" Maintainer: Tiza +" Last Change: 2002/04/28 Sun 19:35. +" version: 1.0 +" This color scheme uses a dark background. + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "candy" + +hi Normal guifg=#f0f0f8 guibg=#000000 + +" Search +hi IncSearch gui=UNDERLINE guifg=#80ffff guibg=#0060c0 +hi Search gui=NONE guifg=#f0f0f8 guibg=#0060c0 + +" Messages +hi ErrorMsg gui=BOLD guifg=#ffa0ff guibg=NONE +hi WarningMsg gui=BOLD guifg=#ffa0ff guibg=NONE +hi ModeMsg gui=BOLD guifg=#40f0d0 guibg=NONE +hi MoreMsg gui=BOLD guifg=#00ffff guibg=#008070 +hi Question gui=BOLD guifg=#e8e800 guibg=NONE + +" Split area +hi StatusLine gui=NONE guifg=#000000 guibg=#c8c8d8 +hi StatusLineNC gui=NONE guifg=#707080 guibg=#c8c8d8 +hi VertSplit gui=NONE guifg=#606080 guibg=#c8c8d8 +hi WildMenu gui=NONE guifg=#000000 guibg=#a0a0ff + +" Diff +hi DiffText gui=NONE guifg=#ff78f0 guibg=#a02860 +hi DiffChange gui=NONE guifg=#e03870 guibg=#601830 +hi DiffDelete gui=NONE guifg=#a0d0ff guibg=#0020a0 +hi DiffAdd gui=NONE guifg=#a0d0ff guibg=#0020a0 + +" Cursor +hi Cursor gui=NONE guifg=#00ffff guibg=#008070 +hi lCursor gui=NONE guifg=#ffffff guibg=#8800ff +hi CursorIM gui=NONE guifg=#ffffff guibg=#8800ff + +" Fold +hi Folded gui=NONE guifg=#40f0f0 guibg=#005080 +hi FoldColumn gui=NONE guifg=#40c0ff guibg=#00305c + +" Other +hi Directory gui=NONE guifg=#40f0d0 guibg=NONE +hi LineNr gui=NONE guifg=#9090a0 guibg=NONE +hi NonText gui=BOLD guifg=#4080ff guibg=NONE +hi SpecialKey gui=BOLD guifg=#8080ff guibg=NONE +hi Title gui=BOLD guifg=#f0f0f8 guibg=NONE +hi Visual gui=NONE guifg=#e0e0f0 guibg=#707080 + +" Syntax group +hi Comment gui=NONE guifg=#c0c0d0 guibg=NONE +hi Constant gui=NONE guifg=#90d0ff guibg=NONE +hi Error gui=BOLD guifg=#ffffff guibg=#ff0088 +hi Identifier gui=NONE guifg=#40f0f0 guibg=NONE +hi Ignore gui=NONE guifg=#000000 guibg=NONE +hi PreProc gui=NONE guifg=#40f0a0 guibg=NONE +hi Special gui=NONE guifg=#e0e080 guibg=NONE +hi Statement gui=NONE guifg=#ffa0ff guibg=NONE +hi Todo gui=BOLD,UNDERLINE guifg=#ffa0a0 guibg=NONE +hi Type gui=NONE guifg=#ffc864 guibg=NONE +hi Underlined gui=UNDERLINE guifg=#f0f0f8 guibg=NONE + +" HTML +hi htmlLink gui=UNDERLINE +hi htmlBold gui=BOLD +hi htmlBoldItalic gui=BOLD,ITALIC +hi htmlBoldUnderline gui=BOLD,UNDERLINE +hi htmlBoldUnderlineItalic gui=BOLD,UNDERLINE,ITALIC +hi htmlItalic gui=ITALIC +hi htmlUnderline gui=UNDERLINE +hi htmlUnderlineItalic gui=UNDERLINE,ITALIC diff --git a/.vim/colors/candycode.vim b/.vim/colors/candycode.vim new file mode 100644 index 0000000..3800d9d --- /dev/null +++ b/.vim/colors/candycode.vim @@ -0,0 +1,174 @@ +" Vim color file -- candycode +" Maintainer: Justin Constantino +" Last Change: 2006 Aug 12 + +set background=dark +highlight clear +let g:colors_name="candycode" + +let save_cpo = &cpo +set cpo&vim + +" basic highlight groups (:help highlight-groups) {{{ + +" text {{{ + +hi Normal guifg=#ffffff guibg=#050505 gui=NONE + \ ctermfg=white ctermbg=black cterm=NONE + +hi Folded guifg=#c2bfa5 guibg=#050505 gui=underline + \ ctermfg=lightgray ctermbg=black cterm=underline + +hi LineNr guifg=#928c75 guibg=NONE gui=NONE + \ ctermfg=darkgray ctermbg=NONE cterm=NONE + +hi Directory guifg=#00bbdd guibg=NONE gui=NONE + \ ctermfg=cyan ctermbg=NONE cterm=NONE +hi NonText guifg=#77ff22 guibg=NONE gui=bold + \ ctermfg=yellow ctermbg=NONE cterm=NONE +hi SpecialKey guifg=#559933 guibg=NONE gui=NONE + \ ctermfg=green ctermbg=NONE cterm=NONE + +hi SpellBad guifg=NONE guibg=NONE gui=undercurl + \ ctermfg=white ctermbg=darkred guisp=#ff0011 +hi SpellCap guifg=NONE guibg=NONE gui=undercurl + \ ctermfg=white ctermbg=darkblue guisp=#0044ff +hi SpellLocal guifg=NONE guibg=NONE gui=undercurl + \ ctermfg=black ctermbg=cyan guisp=#00dd99 +hi SpellRare guifg=NONE guibg=NONE gui=undercurl + \ ctermfg=white ctermbg=darkmagenta guisp=#ff22ee + +hi DiffAdd guifg=#ffffff guibg=#126493 gui=NONE + \ ctermfg=white ctermbg=darkblue cterm=NONE +hi DiffChange guifg=#000000 guibg=#976398 gui=NONE + \ ctermfg=black ctermbg=darkmagenta cterm=NONE +hi DiffDelete guifg=#000000 guibg=#be1923 gui=bold + \ ctermfg=black ctermbg=red cterm=bold +hi DiffText guifg=#ffffff guibg=#976398 gui=bold + \ ctermfg=white ctermbg=green cterm=bold + +" }}} +" borders / separators / menus {{{ + +hi FoldColumn guifg=#c8bcb9 guibg=#786d65 gui=bold + \ ctermfg=lightgray ctermbg=darkgray cterm=NONE +hi SignColumn guifg=#c8bcb9 guibg=#786d65 gui=bold + \ ctermfg=lightgray ctermbg=darkgray cterm=NONE + +hi Pmenu guifg=#000000 guibg=#a6a190 gui=NONE + \ ctermfg=white ctermbg=darkgray cterm=NONE +hi PmenuSel guifg=#ffffff guibg=#133293 gui=NONE + \ ctermfg=white ctermbg=lightblue cterm=NONE +hi PmenuSbar guifg=NONE guibg=#555555 gui=NONE + \ ctermfg=black ctermbg=black cterm=NONE +hi PmenuThumb guifg=NONE guibg=#cccccc gui=NONE + \ ctermfg=gray ctermbg=gray cterm=NONE + +hi StatusLine guifg=#000000 guibg=#c2bfa5 gui=bold + \ ctermfg=black ctermbg=white cterm=bold +hi StatusLineNC guifg=#444444 guibg=#c2bfa5 gui=NONE + \ ctermfg=darkgray ctermbg=white cterm=NONE +hi WildMenu guifg=#ffffff guibg=#133293 gui=bold + \ ctermfg=white ctermbg=darkblue cterm=bold +hi VertSplit guifg=#c2bfa5 guibg=#c2bfa5 gui=NONE + \ ctermfg=white ctermbg=white cterm=NONE + +hi TabLine guifg=#000000 guibg=#c2bfa5 gui=NONE + \ ctermfg=black ctermbg=white cterm=NONE +hi TabLineFill guifg=#000000 guibg=#c2bfa5 gui=NONE + \ ctermfg=black ctermbg=white cterm=NONE +hi TabLineSel guifg=#ffffff guibg=#133293 gui=NONE + \ ctermfg=white ctermbg=black cterm=NONE + +"hi Menu +"hi Scrollbar +"hi Tooltip + +" }}} +" cursor / dynamic / other {{{ + +hi Cursor guifg=#000000 guibg=#ffff99 gui=NONE + \ ctermfg=black ctermbg=white cterm=NONE +hi CursorIM guifg=#000000 guibg=#aaccff gui=NONE + \ ctermfg=black ctermbg=white cterm=reverse +hi CursorLine guifg=NONE guibg=#1b1b1b gui=NONE + \ ctermfg=NONE ctermbg=NONE cterm=NONE +hi CursorColumn guifg=NONE guibg=#1b1b1b gui=NONE + \ ctermfg=NONE ctermbg=NONE cterm=NONE + +hi Visual guifg=#ffffff guibg=#606070 gui=NONE + \ ctermfg=white ctermbg=lightblue cterm=NONE + +hi IncSearch guifg=#000000 guibg=#eedd33 gui=bold + \ ctermfg=white ctermbg=yellow cterm=NONE +hi Search guifg=#efefd0 guibg=#937340 gui=NONE + \ ctermfg=white ctermbg=darkgreen cterm=NONE + +hi MatchParen guifg=NONE guibg=#3377aa gui=NONE + \ ctermfg=white ctermbg=blue cterm=NONE + +"hi VisualNOS + +" }}} +" listings / messages {{{ + +hi ModeMsg guifg=#eecc18 guibg=NONE gui=NONE + \ ctermfg=yellow ctermbg=NONE cterm=NONE +hi Title guifg=#dd4452 guibg=NONE gui=bold + \ ctermfg=red ctermbg=NONE cterm=bold +hi Question guifg=#66d077 guibg=NONE gui=NONE + \ ctermfg=green ctermbg=NONE cterm=NONE +hi MoreMsg guifg=#39d049 guibg=NONE gui=NONE + \ ctermfg=green ctermbg=NONE cterm=NONE + +hi ErrorMsg guifg=#ffffff guibg=#ff0000 gui=bold + \ ctermfg=white ctermbg=red cterm=bold +hi WarningMsg guifg=#ccae22 guibg=NONE gui=bold + \ ctermfg=yellow ctermbg=NONE cterm=bold + +" }}} + +" }}} +" syntax highlighting groups (:help group-name) {{{ + +hi Comment guifg=#ff9922 guibg=NONE gui=NONE + \ ctermfg=brown ctermbg=NONE cterm=NONE + +hi Constant guifg=#ff6050 guibg=NONE gui=NONE + \ ctermfg=red ctermbg=NONE cterm=NONE +hi Boolean guifg=#ff6050 guibg=NONE gui=bold + \ ctermfg=red ctermbg=NONE cterm=bold + +hi Identifier guifg=#eecc44 guibg=NONE gui=NONE + \ ctermfg=yellow ctermbg=NONE cterm=NONE + +hi Statement guifg=#66d077 guibg=NONE gui=bold + \ ctermfg=green ctermbg=NONE cterm=bold + +hi PreProc guifg=#bb88dd guibg=NONE gui=NONE + \ ctermfg=darkmagenta ctermbg=NONE cterm=NONE + +hi Type guifg=#4093cc guibg=NONE gui=bold + \ ctermfg=lightblue ctermbg=NONE cterm=bold + +hi Special guifg=#9999aa guibg=NONE gui=bold + \ ctermfg=lightgray ctermbg=NONE cterm=bold + +hi Underlined guifg=#80a0ff guibg=NONE gui=underline + \ ctermfg=NONE ctermbg=NONE cterm=underline + \ term=underline + +hi Ignore guifg=#888888 guibg=NONE gui=NONE + \ ctermfg=darkgray ctermbg=NONE cterm=NONE + +hi Error guifg=#ffffff guibg=#ff0000 gui=NONE + \ ctermfg=white ctermbg=red cterm=NONE + +hi Todo guifg=#ffffff guibg=#ee7700 gui=bold + \ ctermfg=black ctermbg=yellow cterm=bold + +" }}} + +let &cpo = save_cpo + +" vim: fdm=marker fdl=0 diff --git a/.vim/colors/candyman.vim b/.vim/colors/candyman.vim new file mode 100644 index 0000000..b0fa8cf --- /dev/null +++ b/.vim/colors/candyman.vim @@ -0,0 +1,426 @@ +" Vim color file +" +" " __ _ _ _ " +" " \ \ ___| | |_ _| |__ ___ __ _ _ __ ___ " +" " \ \/ _ \ | | | | | _ \ / _ \/ _ | _ \/ __| " +" " /\_/ / __/ | | |_| | |_| | __/ |_| | | | \__ \ " +" " \___/ \___|_|_|\__ |____/ \___|\____|_| |_|___/ " +" " \___/ " +" +" "A colorful, dark color scheme for Vim." +" +" File: candyman.vim +" Maintainer: NanoTech +" Version: 1.2 +" Last Change: May 26th, 2009 +" Contributors: Daniel Herbert , +" Henry So, Jr. , +" David Liang +" +" Copyright (c) 2009 NanoTech +" +" Permission is hereby granted, free of charge, to any person obtaining a copy +" of this software and associated documentation files (the "Software"), to deal +" in the Software without restriction, including without limitation the rights +" to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +" copies of the Software, and to permit persons to whom the Software is +" furnished to do so, subject to the following conditions: +" +" The above copyright notice and this permission notice shall be included in +" all copies or substantial portions of the Software. +" +" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +" OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +" THE SOFTWARE. + +set background=dark + +hi clear + +if exists("syntax_on") +syntax reset +endif + +let colors_name = "candyman" + +if has("gui_running") || &t_Co == 88 || &t_Co == 256 +let s:low_color = 0 +else +let s:low_color = 1 +endif + +" Color approximation functions by Henry So, Jr. and David Liang {{{ +" Added to jellybeans.vim by Daniel Herbert + +" returns an approximate grey index for the 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 + +" returns the actual grey level represented by the 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 + +" returns the palette index for the 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 + +" returns an approximate color index for the 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 + +" returns the actual color level for the 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 + +" returns the palette index for the given R/G/B 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 + +" returns the palette index to approximate the given R/G/B 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 +" there are two possibilities +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 +" use the grey +return s:grey_color(l:gx) +else +" use the color +return s:rgb_color(l:x, l:y, l:z) +endif +else +" only one possibility +return s:rgb_color(l:x, l:y, l:z) +endif +endfun + +" returns 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 +let l:fge = empty(a:fg) +let l:bge = empty(a:bg) + +if !l:fge && !l:bge +exec "hi ".a:group." guifg=#".a:fg." guibg=#".a:bg." ctermfg=".s:rgb(a:fg)." ctermbg=".s:rgb(a:bg) +elseif !l:fge && l:bge +exec "hi ".a:group." guifg=#".a:fg." guibg=NONE ctermfg=".s:rgb(a:fg) +elseif l:fge && !l:bge +exec "hi ".a:group." guifg=NONE guibg=#".a:bg." ctermbg=".s:rgb(a:bg) +endif +endif + +if a:attr == "" +exec "hi ".a:group." gui=none cterm=none" +else +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 +" }}} + +if version >= 700 + call s:X("CursorLine","","5a5a5a","","","") + call s:X("CursorColumn","","5a5a5a","","","") + call s:X("MatchParen","ffffff","80a090","bold","","") + + call s:X("TabLine","262626","b0b8c0","italic","","Black") + call s:X("TabLineFill","9098a0","","","","") + call s:X("TabLineSel","262626","f0f0f0","italic,bold","","") + +" Auto-completion + call s:X("Pmenu","ffffff","262626","","","") + call s:X("PmenuSel","101010","eeeeee","","","") +endif + +call s:X("Visual","","503d50","","","") +call s:X("Cursor","","996699","","","") + +call s:X("Normal","e8e8d3","151515","","White","") +call s:X("LineNr","605958","151515","none","Black","") +call s:X("Comment","888888","","italic","Grey","") +call s:X("Todo","8a3c3b","","bold","","") + +call s:X("StatusLine","f0f0f0","393f47","italic","","") +call s:X("StatusLineNC","484848","1a1f26","italic","","") +call s:X("VertSplit","393f47","393f47","italic","","") + +call s:X("Folded","a0a8b0","384048","italic","black","") +call s:X("FoldColumn","a0a8b0","384048","","","") +call s:X("SignColumn","a0a8b0","384048","","","") + +call s:X("Title","70b950","","bold","","") + +call s:X("Constant","cf6a4c","","","Red","") +call s:X("Special","799d6a","","","Green","") +call s:X("Delimiter","668799","","","Grey","") + +call s:X("String","99ad6a","","","Green","") +call s:X("StringDelimiter","556633","","","DarkGreen","") + +call s:X("Identifier","c6b6ee","","","LightCyan","") +call s:X("Structure","79a5bf","","","LightCyan","") +call s:X("Function","be9f5f","","","Yellow","") +call s:X("Statement","8197bf","","","DarkBlue","") +call s:X("PreProc","8fbfdc","","","LightBlue","") + +call s:X("Test","8fbfdc","","","LightBlue","") + +hi link Operator Normal + +call s:X("Type","d8a465","","","Yellow","") +call s:X("NonText","808080","151515","","","") + +call s:X("SpecialKey","808080","343434","","","") + +call s:X("Search","f0a0c0","302028","underline","Magenta","") + +call s:X("Directory","dad085","","","","") +call s:X("ErrorMsg","","902020","","","") + +" Diff + +hi link diffRemoved Constant +hi link diffAdded String + +" VimDiff + +call s:X("DiffAdd","","032218","","Black","DarkGreen") +call s:X("DiffChange","","100920","","Black","DarkMagenta") +call s:X("DiffDelete","220000","220000","","DarkRed","DarkRed") +call s:X("DiffText","","000940","","","DarkRed") + +" PHP + +hi link phpFunctions Function +call s:X("StorageClass","c59f6f","","","Red","") +hi link phpSuperglobal Identifier +hi link phpQuoteSingle StringDelimiter +hi link phpQuoteDouble StringDelimiter +hi link phpBoolean Constant +hi link phpNull Constant +hi link phpArrayPair Operator + +" Ruby + +hi link rubySharpBang Comment +call s:X("rubyClass","447799","","","DarkBlue","") +call s:X("rubyIdentifier","c6b6fe","","","","") + +call s:X("rubyInstanceVariable","c6b6fe","","","Cyan","") +call s:X("rubySymbol","7697d6","","","Blue","") +hi link rubyGlobalVariable rubyInstanceVariable +hi link rubyModule rubyClass +call s:X("rubyControl","7597c6","","","","") + +hi link rubyString String +hi link rubyStringDelimiter StringDelimiter +hi link rubyInterpolationDelimiter Identifier + +call s:X("rubyRegexpDelimiter","540063","","","Magenta","") +call s:X("rubyRegexp","dd0093","","","DarkMagenta","") +call s:X("rubyRegexpSpecial","a40073","","","Magenta","") + +call s:X("rubyPredefinedIdentifier","de5577","","","Red","") + + + +" JavaScript +hi link javaScriptValue Constant +hi link javaScriptRegexpString rubyRegexp + +" Objective-C/Cocoa +hi link objcClass Type +hi link cocoaClass objcClass +hi link objcSubclass objcClass +hi link objcSuperclass objcClass +hi link objcDirective rubyClass +hi link cocoaFunction Function +hi link objcMethodName Identifier +hi link objcMethodArg Normal +hi link objcMessageName Identifier + +" Tag list +hi link TagListFileName Directory + +" 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 +" }}} + + diff --git a/.vim/colors/caramel.vim b/.vim/colors/caramel.vim new file mode 100644 index 0000000..81f6fd5 --- /dev/null +++ b/.vim/colors/caramel.vim @@ -0,0 +1,67 @@ +" Vim color file +" Maintainer : Brian Gant +" Email : gantbd@muohio.edu +" Last Change : 2/15/03 +" Version : 0.1 +" +" TODO : add colors for diff and other non-implemented +" stuff +" +" LICENCE (heh) : Emailware. Basically it means use it, +" abuse it, change it, love it, leave it, whatever! I +" do however make the simple request that if you use the +" scheme, drop me an email and let me know what you think +" about it, especially if you modify it! I don't use +" the non-implemented features on a regular enough basis +" to get a feel for how they flesh out. +" +" Designed for use with COBOL, but looks pretty good with +" Perl, PHP, and C/C++ too (at least I think so). +" +" Brian +" +" --------------------------------------------------------- + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="caramel" + +" --------------------------------------------------------- + +hi Normal guifg=#dca454 guibg=#5c5094 + +" --------------------------------------------------------- + +hi Cursor guifg=#303030 guibg=#dca454 +hi CursorIM guifg=#303030 guibg=#dca454 +hi ErrorMsg guifg=#b4a8a8 guibg=bg +hi IncSearch guifg=#e0d070 guibg=#303030 +hi LineNr guifg=#b4a8a8 guibg=#39325d +hi ModeMsg guifg=#b4a8a8 guibg=bg +hi MoreMsg guifg=#b4a8a8 guibg=bg +hi NonText guifg=#b4a8a8 guibg=#39325d +hi Question guifg=#b4a8a8 guibg=bg +hi Search guifg=#303030 guibg=#e0d070 +hi StatusLine guifg=#e0d070 guibg=#303030 +hi StatusLineNC guifg=#dca454 guibg=#303030 +hi Title guifg=#b4a8a8 guibg=#39325d +hi Visual guifg=#b4a8a8 guibg=#303030 +hi VisualNOS guifg=#b4a8a8 guibg=#303030 +hi WarningMsg guifg=#b4a8a8 guibg=#39325d + +" --------------------------------------------------------- + +hi Comment guifg=#b4a8a8 guibg=bg +hi Constant guifg=#9cd464 guibg=bg +hi Identifier guifg=#e8c47c guibg=bg +hi Statement guifg=#8088bc guibg=bg +hi PreProc guifg=#e0d070 guibg=bg +hi Type guifg=#e0d070 guibg=bg +hi Special guifg=#e0d070 guibg=bg +hi Underlined guifg=#9cd464 guibg=bg +hi Ignore guifg=fg guibg=bg +hi Error guifg=#cc74a8 guibg=#9cd464 +hi Todo guifg=bg guibg=#e0d070 diff --git a/.vim/colors/carrot.vim b/.vim/colors/carrot.vim new file mode 100644 index 0000000..f809c91 --- /dev/null +++ b/.vim/colors/carrot.vim @@ -0,0 +1,88 @@ +" Vim color file +" Maintainer: Juan frias +" Last Change: 2007 Feb 25 +" Version: 1.0.1 +" URL: http://www.axisym3.net/jdany/vim-the-editor/#carrot + +set background=light +highlight clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "carrot" + +" Normal +highlight Normal gui=none guifg=DarkBlue guibg=PeachPuff + +" Search +highlight IncSearch gui=none guifg=White guibg=Brown +highlight Search gui=bold guifg=#804020 guibg=#fcc657 + +" Messages +highlight ErrorMsg gui=none guifg=#f8f8f8 guibg=#4040ff +highlight WarningMsg gui=none guifg=#f8f8f8 guibg=FireBrick +highlight ModeMsg gui=none guifg=#d06000 guibg=bg +highlight MoreMsg gui=none guifg=#0090a0 guibg=bg +highlight Question gui=none guifg=#8000ff guibg=bg + +" Split area +highlight StatusLine gui=bold guifg=Black guibg=#FFB848 +highlight StatusLineNC gui=none guifg=Brown guibg=#FCC785 +highlight VertSplit gui=none guifg=#f8f8f8 guibg=#904838 +highlight WildMenu gui=bold guifg=White guibg=NavyBlue + +" Diff +highlight DiffText gui=none guifg=red guibg=#ffd0d0 +highlight DiffChange gui=none guifg=black guibg=#ffe7e7 +highlight DiffDelete gui=none guifg=bg guibg=#e7e7ff +highlight DiffAdd gui=none guifg=blue guibg=#e7e7ff + +" Cursor +highlight Cursor gui=none guifg=Grey85 guibg=Red4 +highlight lCursor gui=none guifg=#ffffff guibg=#8040ff +highlight CursorIM gui=none guifg=#ffffff guibg=Red3 + +" Fold +highlight Folded gui=none guifg=#804030 guibg=#fff0d0 +highlight FoldColumn gui=none guifg=#6b6b6b guibg=#e7e7e7 + +" Other +highlight Directory gui=none guifg=#112662 guibg=bg +highlight LineNr gui=none guifg=#6b6b6b guibg=bg +highlight NonText gui=none guifg=#707070 guibg=PeachPuff2 +highlight SpecialKey gui=none guifg=#c0c0c0 guibg=bg +highlight Title gui=bold guifg=#112662 guibg=bg +highlight Visual gui=none guifg=#804020 guibg=#ffc0a0 + +" Syntax group +highlight Comment gui=none guifg=SteelBlue4 guibg=bg +highlight Constant gui=none guifg=#00884c guibg=bg +highlight Error gui=none guifg=#f8f8f8 guibg=#4040ff term=reverse +highlight Identifier gui=none guifg=#b07800 guibg=bg +highlight Ignore gui=none guifg=bg guibg=bg +highlight PreProc gui=none guifg=#683821 guibg=bg +highlight Special gui=none guifg=#8040f0 guibg=bg +highlight Statement gui=bold guifg=IndianRed3 guibg=bg +highlight Conditional gui=bold guifg=#7f0055 guibg=bg +highlight Todo gui=none guifg=White guibg=Grey20 term=standout +highlight Type gui=bold guifg=Brown guibg=bg +highlight Underlined gui=none guifg=blue guibg=bg +highlight String gui=none guifg=#8010a0 guibg=bg +highlight Number gui=none guifg=#0000ff guibg=bg + +if !has("gui_running") + hi link Float Number + hi link Include 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 Delimiter Normal + hi link SpecialComment Special + hi link Debug Special +endif + +" vim:ff=unix: diff --git a/.vim/colors/carvedwood.vim b/.vim/colors/carvedwood.vim new file mode 100644 index 0000000..ba1839e --- /dev/null +++ b/.vim/colors/carvedwood.vim @@ -0,0 +1,118 @@ +" Vim color file +" carvedwood v0.7c +" Maintainer: Shawn Axsom +" [axs221.1l.com] + +" carvedwood - +" a color scheme modified from my desertocean scheme into a brown +" and green scheme, easier on the eyes and optimized for more important syntax +" to stand out the most (eg comments and values are dark and dull while +" statements are bright). + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +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="carvedwood" + +hi Normal guifg=#dac0cd guibg=#1f2221 + +" syntax highlighting +hi Comment guifg=#5a6a6d +hi Title guifg=#60b0ea +hi Underlined guifg=#80aae0 +hi Statement guifg=#fac5ba +hi Type guifg=#cd9a8a +hi PreProc guifg=#ba857a gui=none +hi Constant guifg=#9a757d +hi Identifier guifg=#bd7560 +hi Special guifg=#cab0a5 +hi Ignore guifg=grey40 +hi Todo guifg=orangered guibg=yellow2 +hi Error guibg=#e04462 +"end syntax highlighting + +" highlight groups +hi Cursor guibg=#205a50 guifg=#7ab0aa +"hi CursorIM +hi Directory guifg=#bbd0df +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +"hi ErrorMsg +hi VertSplit guibg=#c2b0a5 guifg=grey50 gui=none +hi Folded guibg=#4a4f4d guifg=#BBDDCC +hi FoldColumn guibg=#4c3e3b guifg=#00CCFF +hi LineNr guifg=#D0C5CA guibg=#594540 +hi ModeMsg guifg=#00AACC +hi MoreMsg guifg=SeaGreen +hi NonText guifg=#382920 guibg=#1b1f1f +hi Question guifg=#AABBCC +hi Search guibg=#5a6d7d guifg=#bac5d0 +hi IncSearch guifg=#50606d guibg=#cddaf0 +hi SpecialKey guifg=#90703B +hi StatusLine guibg=#c99f93 guifg=#102015 gui=none +hi StatusLineNC guibg=#937b7a guifg=#373334 gui=none +hi Visual guifg=#008FBF guibg=#33DFEF +"hi VisualNOS +hi WarningMsg guifg=salmon +"hi WildMenu +"hi Menu +"hi Scrollbar guibg=grey30 guifg=tan +"hi Tooltip + + +" color terminal definitions +hi Normal ctermfg=white +hi SpecialKey ctermfg=darkyellow +hi NonText cterm=bold ctermfg=darkblue +hi Directory ctermfg=darkcyan +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green +hi Search cterm=NONE ctermfg=grey ctermbg=blue +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr ctermfg=white ctermbg=brown +hi Question ctermfg=green +hi StatusLine cterm=none ctermbg=white ctermfg=darkgreen +hi StatusLineNC cterm=none ctermbg=white ctermfg=black +hi VertSplit cterm=none ctermbg=darkgreen +hi Title ctermfg=blue +hi Visual cterm=reverse +hi VisualNOS cterm=bold,underline +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=white ctermbg=darkcyan +hi FoldColumn ctermfg=darkcyan ctermbg=grey +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 +hi Comment ctermfg=darkcyan +hi Special ctermfg=white +hi Identifier ctermfg=brown +hi Statement ctermfg=yellow +hi PreProc ctermfg=red +hi Type ctermfg=brown +hi Constant ctermfg=grey +hi Underlined cterm=none ctermfg=blue ctermbg=darkgrey +hi Ignore cterm=bold ctermfg=7 +hi Ignore ctermfg=darkgrey +hi Error cterm=bold ctermfg=7 ctermbg=1 +hi Function ctermfg=yellow + + +"vim: sw=4 + diff --git a/.vim/colors/carvedwoodcool.vim b/.vim/colors/carvedwoodcool.vim new file mode 100644 index 0000000..ab725a8 --- /dev/null +++ b/.vim/colors/carvedwoodcool.vim @@ -0,0 +1,116 @@ +" Vim color file +" carvedwood v0.1 +" Maintainer: Shawn Axsom +" [axs221.1l.com] + +" carvedwood - +" a cool blue version of my color scheme modified from my desertocean scheme into a brown +" and green scheme, easier on the eyes and optimized for more important syntax +" to stand out the most (eg comments and values are dark and dull while +" statements are bright). + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +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="carvedwoodcool" + +hi Normal guibg=#05181c guifg=#aa9aa3 +hi NonText guibg=#1c3447 guifg=#382920 +hi Folded guibg=#4a4f4d guifg=#BBDDCC +hi FoldColumn guibg=#3a4a5a guifg=#00CCFF +hi LineNr guibg=#153040 guifg=#D0C5c0 +hi StatusLine guibg=#d0a59a guifg=#102015 gui=none +hi StatusLineNC guibg=#937b7a guifg=#373334 gui=none + +" syntax highlighting +hi Comment guifg=#2d303d +hi Title guifg=#60b0ea +hi Underlined guifg=#80aae0 +hi Statement guifg=#f0caba +hi Type guifg=#c09a8a +hi Constant guifg=#55464a +hi PreProc guifg=#aa7065 gui=none +hi Identifier guifg=#d07a70 +hi Special guifg=#556065 +hi Ignore guifg=grey40 +hi Todo guifg=orangered guibg=yellow2 +hi Error guibg=#e04462 +"end syntax highlighting + +" highlight groups +hi Cursor guibg=#104550 guifg=#6aa09a +"hi CursorIM +hi Directory guifg=#bbd0df +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +"hi ErrorMsg +hi VertSplit guibg=#c2bfa5 guifg=grey50 gui=none +hi ModeMsg guifg=#00AACC +hi MoreMsg guifg=SeaGreen +hi Question guifg=#AABBCC +hi Search guibg=#5a6d7d guifg=#bac5d0 +hi IncSearch guifg=#50606d guibg=#cddaf0 +hi SpecialKey guifg=#90703B +hi Visual guifg=#008FBF guibg=#33DFEF +"hi VisualNOS +hi WarningMsg guifg=salmon +"hi WildMenu +"hi Menu +"hi Scrollbar guibg=grey30 guifg=tan +"hi Tooltip + + +" color terminal definitions +hi SpecialKey ctermfg=darkgreen +hi NonText cterm=bold ctermfg=darkblue +hi Directory ctermfg=darkcyan +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green +hi Search cterm=NONE ctermfg=grey ctermbg=blue +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr ctermfg=3 +hi Question ctermfg=green +hi StatusLine cterm=bold,reverse +hi StatusLineNC cterm=reverse +hi VertSplit cterm=reverse +hi Title ctermfg=5 +hi Visual cterm=reverse +hi VisualNOS cterm=bold,underline +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=darkgrey ctermbg=NONE +hi FoldColumn ctermfg=darkgrey ctermbg=NONE +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 +hi Comment ctermfg=darkcyan +hi Constant ctermfg=brown +hi Special ctermfg=5 +hi Identifier ctermfg=6 +hi Statement ctermfg=3 +hi PreProc ctermfg=5 +hi Type ctermfg=2 +hi Underlined cterm=underline ctermfg=5 +hi Ignore cterm=bold ctermfg=7 +hi Ignore ctermfg=darkgrey +hi Error cterm=bold ctermfg=7 ctermbg=1 + + +"vim: sw=4 + diff --git a/.vim/colors/chance-of-storm.vim b/.vim/colors/chance-of-storm.vim new file mode 100644 index 0000000..2387304 --- /dev/null +++ b/.vim/colors/chance-of-storm.vim @@ -0,0 +1,155 @@ +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Author: Mario Gutierrez (mario@mgutz.com) +" Last Change: Dececember 6, 2010 +" Version: 0.1.2 +" +" removed italics on string +" ruby interpolation color +" identifier color +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let colors_name = "chance-of-storm" + + +"""""""""" General + +hi Normal guifg=#cacfd3 guibg=#181c20 gui=none + +" Vim >= 7.0 +if version >= 700 + hi CursorLine guibg=#2a2e31 + hi MatchParen guifg=magenta guibg=black gui=bold,italic + hi Pmenu guifg=#dfeff6 guibg=#1E415E + hi PmenuSel guifg=#dfeff6 guibg=#2D7889 + + hi IncSearch guifg=bg guibg=#AF81F4 gui=bold + hi Search guifg=bg guibg=#AF81F4 gui=none +endif + +hi Cursor guifg=bg guibg=#8fdef9 gui=none +hi Folded guifg=#68CEE8 guibg=#1A3951 gui=none +hi FoldColumn guifg=#1E415E guibg=#1A3951 gui=none +hi LineNr guifg=#2e363d guibg=bg gui=none +" e.g. tildes at the end of file +hi NonText guifg=#2e363d guibg=bg gui=none +hi Question guifg=#6dbb6d guibg=bg gui=none +hi StatusLine guifg=lightmagenta guibg=#060809 gui=none +hi StatusLineNC guifg=#69839a guibg=#060809 gui=none +hi TabLine guifg=#555555 guibg=#dddddd gui=none +hi TabLineFill guifg=fg guibg=#dddddd gui=none +hi TabLineSel guifg=#101010 guibg=#b0b0b0 gui=none +hi Title guifg=#ef7760 guibg=bg gui=none +hi VertSplit guifg=#060809 guibg=#060809 gui=bold + " Selected text color +hi Visual guifg=#dfeff6 guibg=#24557A gui=none +hi WarningMsg guifg=#bb6d6d guibg=bg gui=none + + +"""""""""" Syntax highlighting + +hi Comment guifg=#69839a guibg=bg gui=italic +hi Constant guifg=#96defa gui=none +hi Function guifg=#9e7cd7 gui=none +hi Identifier guifg=#2ed6d7 gui=none +hi Ignore guifg=bg guibg=bg gui=none +hi Keyword guifg=#8ac6f2 gui=none +hi Number guifg=#e1d4a8 gui=none +hi PreProc guifg=#f99d71 gui=none +hi Special guifg=#ffcde4 gui=none +hi Statement guifg=#8ac6f2 gui=none +hi String guifg=#89e14b gui=none +hi Todo guifg=#ADED80 guibg=bg gui=bold +hi Type guifg=#489fd7 gui=none +hi Underlined guifg=#8ac6f2 gui=underline + + +""""""""""" ERB + +hi link erubyDelimiter PreProc + + +""""""""""" HAML + +hi link hamlAttributes htmlArg +hi link hamlTag htmlTag +hi link hamlTagName htmlTagName +hi link hamlIdChar hamlId +hi link hamlClassChar hamlClass + + +""""""""""" HELP + +hi link helpSectionDelim NonText +hi link helpExample Statement + + +""""""""""" HTML + +hi link htmlTag Statement +hi link htmlEndTag Statement +hi link htmlTagName Statement + + +"""""""""" JavaScript + +hi link javaScriptFunction Statement +hi link javaScriptFuncName Function +hi link javaScriptLabel PreProc + + +"""""""""" MAKE + +hi link makeCommands Statement + + +"""""""""" MARKDOWN (tpope's vim-markdown) + +hi link markdownCodeBlock Statement +hi link markdownCode Statement +hi link markdownCodeDelimiter Statement +hi link markdownHeadingDelimiter Title +hi markdownLinkText guifg=#489fd7 gui=underline +hi markdownUrl guifg=#69839a guibg=bg gui=none +hi link markdownLinkTextDelimiter markdownUrl +hi link markdownLinkDelimiter markdownUrl + + +""""""""""" NERDTree + +hi link treePart NonText +hi link treePartFile treePart +hi link treeDirSlash treePart +hi link treeDir Statement +hi link treeClosable PreProc +hi link treeOpenable treeClosable +hi link treeUp treeClosable +hi treeFlag guifg=#3e71a1 guibg=bg gui=none +hi link treeHelp Comment +hi link treeLink Type +hi link treeExecFile Type + + +"""""""""" PHP + +hi link phpVarSelector Identifier + + +"""""""""" Ruby + +hi rubyAccess guifg=#ef7760 guibg=bg gui=italic +hi rubyInterpolation guifg=#c2f0a2 guibg=bg +hi link rubyInterpolationDelimiter rubyInterpolation +hi link rubyStringDelimiter String + + +""""""""""" XML + +hi link xmlTag htmlTag +hi link xmlEndTag htmlEndTag +hi link xmlTagName htmlTagName diff --git a/.vim/colors/charged-256.vim b/.vim/colors/charged-256.vim new file mode 100644 index 0000000..9f132d7 --- /dev/null +++ b/.vim/colors/charged-256.vim @@ -0,0 +1,18 @@ +hi Normal ctermfg=247 ctermbg=16 +hi NonText ctermfg=247 ctermbg=232 + +hi LineNr ctermfg=237 ctermbg=232 +hi VertSplit ctermfg=234 ctermbg=234 +hi StatusLine ctermfg=240 ctermbg=234 +hi StatusLineNC ctermfg=234 ctermbg=238 + +hi Folded ctermfg=243 ctermbg=16 +hi FoldColumn ctermfg=243 ctermbg=16 + +hi PMenum ctermfg=240 ctermbg=234 +hi PMenuSbar ctermfg=240 ctermbg=234 +hi PMenuThumb ctermfg=237 ctermbg=232 + +hi TabLine ctermfg=240 ctermbg=234 +hi TabLineSel ctermfg=16 ctermbg=243 +hi TabLineFill ctermfg=238 ctermbg=234 cterm=underline diff --git a/.vim/colors/charon.vim b/.vim/colors/charon.vim new file mode 100644 index 0000000..64f0355 --- /dev/null +++ b/.vim/colors/charon.vim @@ -0,0 +1,62 @@ +" Vim color file +" Maintainer: iyerns +" +" Comments are welcome ! +" Spammers will be shot. Survivors will be shot again +" +" Last Change: 17 Oct 2005 +" Version:1.0 +" Changes: Recolored comments and Statement +" + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="charon" + +hi Normal guibg=black guifg=#f0c009 +hi Statusline gui=none guibg=SteelBlue guifg=PowderBlue +hi VertSplit gui=none guibg=black guifg=SkyBlue +hi StatuslineNC gui=none guibg=LightSlateGray guifg=MistyRose +hi LineNr guifg=SlateGray2 gui=none +hi Cursor guibg=IndianRed guifg=Snow gui=none +hi Visual guibg=Yellow guifg=Black gui=none + +hi Title guifg=black guibg=white gui=BOLD +hi lCursor guibg=Cyan guifg=NONE +"guibg=#8c9bfa + +" syntax highlighting groups +hi Comment gui=NONE guifg=#8080af +hi Operator guifg=LightCoral + +hi Identifier guifg=#1faf40 gui=NONE + +hi Statement guifg=#fff0ff gui=NONE +hi TypeDef guifg=#ff00c8 gui=NONE +hi Type guifg=#ffffc8 gui=NONE +hi Boolean guifg=#ff00aa gui=NONE + +hi String guifg=Gray75 gui=NONE +hi Number guifg=PeachPuff gui=NONE +hi Constant guifg=#ff8080 gui=NONE +hi Folded guifg=PowderBlue guibg=SteelBlue gui=BOLD +hi FoldColumn guifg=#ff8080 guibg=black gui=italic + +hi Function gui=NONE guifg=#6666ff +hi PreProc guifg=#ffff00 gui=italic +hi Define gui=bold guifg=Red + +hi Keyword guifg=Tomato gui=NONE +hi Search gui=NONE guibg=DodgerBlue guifg=snow +"guibg=#339900 +hi IncSearch gui=NONE guifg=FireBrick4 guibg=AntiqueWhite1 +hi Conditional gui=none guifg=DeepSkyBlue1 +hi browseDirectory gui=none guifg=DarkSlateGray1 +hi DiffText gui=italic guifg=black guibg=yellow +hi DiffAdd gui=none guifg=yellow guibg=#006000 +hi DiffChange gui=none guifg=yellow guibg=#000060 +hi DiffDelete gui=none guifg=black guibg=#600000 + diff --git a/.vim/colors/chela_light.vim b/.vim/colors/chela_light.vim new file mode 100644 index 0000000..3cde34d --- /dev/null +++ b/.vim/colors/chela_light.vim @@ -0,0 +1,110 @@ +" Vim color file +" +" Maintainer: Stefan Karlsson +" Last Change: 8 August 2006 + + +set background=light + +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name="chela_light" + + +"Syntax Groups ============================================= + +hi comment guibg=#fafafa guifg=#339900 gui=none + +hi constant guibg=#fafafa guifg=#cc2222 gui=none + +hi identifier guibg=#fafafa guifg=#2222ff gui=none + +hi statement guibg=#fafafa guifg=#2222ff gui=none + +hi preproc guibg=#fafafa guifg=#2222ff gui=none +hi precondit guibg=#fafafa guifg=#cc00cc gui=none + +hi type guibg=#fafafa guifg=#2222ff gui=none + +hi special guibg=#fafafa guifg=#cc00cc gui=none +hi specialchar guibg=#fafafa guifg=#cc2222 gui=underline + +hi underlined guibg=#fafafa guifg=#2222ff gui=underline + +hi error guibg=#ff2222 guifg=#ffffff gui=none + +hi todo guibg=#339933 guifg=#ffffff gui=none + + +"General Groups ============================================ + +hi cursor guibg=#000000 guifg=#ffffff gui=none +" cursorim? +hi cursorcolumn guibg=#eeeeee gui=none +hi cursorline guibg=#eeeeee gui=none + +hi directory guibg=#fafafa guifg=#2222ff gui=none + +hi diffadd guibg=#66ff66 guifg=#000000 gui=none +hi diffchange guibg=#ffff00 guifg=#cccc99 gui=none +hi diffdelete guibg=#ff6666 guifg=#ff6666 gui=none +hi difftext guibg=#ffff00 guifg=#000000 gui=none + +hi errormsg guibg=#ff2222 guifg=#ffffff gui=none + +hi vertsplit guibg=#2222ff guifg=#2222ff gui=none + +hi folded guibg=#eeeeee guifg=#2222ff gui=none +hi foldcolumn guibg=#eeeeee guifg=#999999 gui=none + +" signcolumn? + +hi incsearch guibg=#ffbb00 guifg=#000000 gui=none + +hi linenr guibg=#fafafa guifg=#cccccc gui=none + +hi matchparen guibg=#cccccc gui=none + +hi modemsg guibg=#fafafa guifg=#999999 gui=none + +hi moremsg guibg=#339900 guifg=#ffffff gui=none + +hi nontext guibg=#fafafa guifg=#999999 gui=none + +hi normal guibg=#fafafa guifg=#222222 gui=none + +hi pmenu guibg=#cccccc guifg=#222222 gui=none +hi pmenusel guibg=#2222ff guifg=#ffffff gui=none +" pmenusbar? +" pmenuthumb? + +hi question guibg=#339900 guifg=#ffffff gui=none + +hi search guibg=#ffff00 guifg=#000000 gui=none + +hi specialkey guibg=#fafafa guifg=#cc00cc gui=none + +hi spellbad gui=undercurl guisp=#ff2222 +hi spellcap gui=undercurl guisp=#ff2222 +hi spelllocal gui=undercurl guisp=#cc2222 +hi spellrare gui=undercurl guisp=#22cc22 + +hi statusline guibg=#2222ff guifg=#ffffff gui=none +hi statuslinenc guibg=#2222ff guifg=#999999 gui=none + +hi tabline guibg=#cccccc guifg=#222222 gui=none +hi tablinesel guibg=#2222ff guifg=#ffffff gui=none +hi tablinefill guibg=#aaaaaa guifg=#aaaaaa gui=none + +hi title guibg=#fafafa guifg=#6666ff gui=none + +hi visual guibg=#cccccc guifg=#333333 gui=none +" visualnos? + +hi warningmsg guibg=#fafafa guifg=#ff0000 gui=none + +hi wildmenu guibg=#339900 guifg=#ffffff gui=none + diff --git a/.vim/colors/chlordane.vim b/.vim/colors/chlordane.vim new file mode 100644 index 0000000..11b83f3 --- /dev/null +++ b/.vim/colors/chlordane.vim @@ -0,0 +1,79 @@ + " vim:set ts=8 sts=2 sw=2 tw=0: +" Name: chlordane.vim +" Maintainer: Kojo Sugita +" Last Change: 2008-11-22 +" Revision: 1.2 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = 'chlordane' + +hi Cursor guifg=#3a553a guibg=#77dd88 +hi lCursor guifg=#3a553a guibg=#77dd88 +hi CursorLine guibg=#000000 gui=underline +hi CursorIM guifg=#3a553a guibg=#77dd88 +hi Directory guifg=#77dd88 guibg=#000000 gui=bold +hi DiffAdd guifg=#77dd88 guibg=#3a553a gui=none +hi DiffChange guifg=#77dd88 guibg=#3a553a gui=none +hi DiffDelete guifg=#223322 guibg=#223322 gui=none +hi DiffText guifg=#77dd88 guibg=#448844 gui=bold +hi ErrorMsg guifg=#ee1111 guibg=#000000 +hi VertSplit guifg=#223322 guibg=#223322 +hi Folded guifg=#55af66 guibg=#000000 +hi FoldColumn guifg=#557755 guibg=#102010 +hi IncSearch guifg=#3a553a guibg=#77dd88 gui=none +hi LineNr guifg=#446644 guibg=#000000 gui=none +hi ModeMsg guifg=#55af66 guibg=#000000 +hi MoreMsg guifg=#55af66 guibg=#000000 +hi Normal guifg=#55af66 guibg=#000000 +hi Question guifg=#55af66 guibg=#000000 +hi Search guifg=#223322 guibg=#55af66 gui=none +hi NonText guifg=#606060 gui=none +hi SpecialKey guifg=#707070 +"\n, \0, %d, %s, etc... +hi Special guifg=#55af66 guibg=#223333 gui=bold +" status line +hi StatusLine guifg=#88ee99 guibg=#447f55 gui=bold +hi StatusLineNC term=bold cterm=bold,underline ctermfg=green ctermbg=Black +hi StatusLineNC term=bold gui=bold,underline guifg=#3a553a guibg=Black +hi Title guifg=#77dd88 guibg=#223322 gui=bold +hi Visual guifg=#77dd88 guibg=#448844 gui=none +hi VisualNOS guifg=#55af66 guibg=#000000 +hi WarningMsg guifg=#77dd88 guibg=#000000 +hi WildMenu guifg=#3a553a guibg=#77dd88 +hi Number guifg=#77dd88 guibg=#354535 +hi Char guifg=#77dd88 guibg=#354535 +hi String guifg=#77dd88 guibg=#354535 +hi Boolean guifg=#77dd88 guibg=#354535 +hi Comment guifg=#446644 +hi Constant guifg=#88ee99 gui=none +hi Identifier guifg=#77dd88 +hi Statement guifg=#88ee99 gui=none + +"Procedure name +hi Function guifg=#77dd88 + +"Define, def +hi PreProc guifg=#77dd88 gui=bold +hi Type guifg=#77dd88 gui=bold +hi Underlined guifg=#77dd88 gui=underline +hi Error guifg=#ee1111 guibg=#000000 +hi Todo guifg=#223322 guibg=#55af66 gui=none +hi SignColumn guibg=#000000 + +if version >= 700 + " Pmenu + hi Pmenu guibg=#222222 + hi PmenuSel guibg=#3a553a guifg=#77dd88 + hi PmenuSbar guibg=#222222 + + " Tab + hi TabLine guifg=#3a553a guibg=black gui=bold + hi TabLineFill guifg=black guibg=black gui=bold + hi TabLineSel guifg=#88ee99 guibg=#447f55 gui=bold +endif + + diff --git a/.vim/colors/chocolate.vim b/.vim/colors/chocolate.vim new file mode 100644 index 0000000..7c575de --- /dev/null +++ b/.vim/colors/chocolate.vim @@ -0,0 +1,71 @@ +" Vim color file +" Maintainer: Adam Hayward +" Last Change: 2008 June 04 +" Email: +" Version: 0.1 +" +" Choclolate colorscheme, based on the W3C core style of the same name. +" See http://www.w3.org/StyleSheets/Core/Overview +" This file is also based on 'clean.vim' by Ron Aaron + +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "chocolate" +hi Normal guifg=#D0FFD0 guibg=#212121 +hi Scrollbar guifg=darkcyan guibg=cyan +hi Menu guifg=black guibg=cyan +hi SpecialKey term=bold cterm=bold ctermfg=darkred guifg=Blue +hi NonText term=bold cterm=bold ctermfg=darkred gui=bold guifg=white +hi Directory term=bold cterm=bold ctermfg=brown guifg=lightblue +hi ErrorMsg term=standout cterm=bold ctermfg=grey ctermbg=blue guifg=White guibg=Red +hi Search term=reverse ctermfg=white ctermbg=red guifg=white guibg=#7080dd gui=bold +hi MoreMsg term=bold cterm=bold ctermfg=darkgreen gui=bold guifg=SeaGreen +hi ModeMsg term=bold cterm=bold gui=bold guifg=White guibg=Blue +hi LineNr term=underline cterm=bold ctermfg=darkcyan guifg=#707070 +hi Question term=standout cterm=bold ctermfg=darkgreen gui=bold guifg=Green +hi StatusLine term=bold,reverse cterm=bold ctermfg=lightblue ctermbg=white gui=bold guifg=blue guibg=white +hi StatusLineNC term=reverse ctermfg=white ctermbg=lightblue guifg=white guibg=blue +hi Title term=bold cterm=bold ctermfg=darkmagenta gui=bold guifg=#a05000 +hi Visual term=reverse cterm=reverse gui=reverse +hi WarningMsg term=standout cterm=bold ctermfg=darkblue guifg=Red +hi Cursor guifg=bg guibg=Green +hi Comment term=bold cterm=bold ctermfg=cyan guifg=#30dd00 +hi Constant term=underline cterm=bold ctermfg=magenta guifg=#FFCC00 +hi Special term=bold cterm=bold ctermfg=red guifg=yellow gui=bold +hi Identifier term=underline ctermfg=brown guifg=white +hi Function guifg=#00ccaa +hi Operator guifg=white +hi Statement term=bold cterm=bold ctermfg=yellow guifg=#ffffff gui=bold +hi PreProc term=underline ctermfg=darkblue guifg=yellow gui=bold +hi Type term=underline cterm=bold ctermfg=lightgreen gui=bold guifg=#dddddd +hi Error term=reverse ctermfg=darkcyan ctermbg=white guifg=Red guibg=white +hi Todo term=standout ctermfg=black ctermbg=darkcyan guifg=#f5f5f5 guibg=#aa4040 gui=bold +hi VertSplit guibg=#505050 guifg=white +hi link IncSearch Visual +hi link String Constant +hi link Character Constant +hi link Number Constant +hi link Boolean Statement +hi link Float Number +" hi link Function Identifier +hi link Conditional Statement +hi link Repeat Statement +hi link Label Statement +" hi link Operator Statement +hi link Keyword Statement +hi link Exception 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 + diff --git a/.vim/colors/chrysoprase.vim b/.vim/colors/chrysoprase.vim new file mode 100644 index 0000000..8120e07 --- /dev/null +++ b/.vim/colors/chrysoprase.vim @@ -0,0 +1,53 @@ +" Chrysoprase color theme for (G)Vim, version 0.0.2 +" by Antoine Kalmbach + +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "chrysoprase" + +hi CursorLine guibg=#cccccc +hi CursorColumn guibg=#cccccc +hi MatchParen guifg=white guibg=#dd1144 gui=bold +hi TabLine guifg=white guibg=#445588 gui=italic +hi TabLineFill guifg=#9098a0 +hi TabLineSel guifg=white guibg=#dd1144 gui=bold +hi Pmenu guifg=#222222 guibg=#990000 +hi Title guifg=#202020 gui=bold +hi Underlined guifg=#202020 gui=underline +hi Cursor guifg=white guibg=#333333 +hi lCursor guifg=black guibg=white +hi LineNr guifg=#444444 guibg=#dddddd +hi Normal guifg=#000000 guibg=#eeeeee +hi StatusLine guifg=white guibg=#8090a0 gui=bold,italic +hi StatusLineNC guifg=white guibg=#a0b0c0 gui=none +hi VertSplit guifg=#111111 guibg=#a0b0c0 gui=NONE +hi Folded guifg=#111111 guibg=white +hi Keyword guifg=green gui=bold +hi PreProc guifg=#111111 gui=bold +hi NonText guifg=#111111 guibg=white +hi Comment guifg=#555555 gui=bold,italic +hi Constant guifg=#a512d5 +hi String guifg=#dd1144 +hi Number guifg=#005599 +hi Float guifg=#0088BB +hi Statement guifg=#111111 gui=bold +hi Type guifg=#445588 +hi Structure guifg=black gui=bold +hi Function guifg=#990000 gui=bold +hi Identifier guifg=#445588 gui=bold +hi Repeat guifg=#222222 gui=bold +hi Conditional guifg=#222222 gui=bold +hi Define guifg=#222222 gui=bold +hi Error guifg=white guibg=#990022 gui=none +hi Todo guifg=white guibg=#dd1144 gui=bold,underline +hi Special guifg=#dd1144 +hi Operator guifg=#222222 gui=bold +hi SpecialKey guifg=#994400 guibg=#e8e8e8 gui=bold +hi DiffChange guifg=NONE guibg=#e0e0e0 gui=italic,bold +hi DiffText guifg=NONE guibg=#f0c8c8 gui=italic,bold +hi DiffAdd guifg=NONE guibg=#c0e0d0 gui=italic,bold +hi DiffDelete guifg=NONE guibg=#f0e0b0 gui=italic,bold + diff --git a/.vim/colors/ciscoacl.vim b/.vim/colors/ciscoacl.vim new file mode 100644 index 0000000..5cd00fa --- /dev/null +++ b/.vim/colors/ciscoacl.vim @@ -0,0 +1,102 @@ +" +" Vim syntax file +" Language: cisco access-list files +" Maintainer: Vladimir Kotal +" +" Last Modification: 23-Nov-2004 +" +" +syntax clear + +if version < 600 + syntax clear +elseif exists("b:current_syntax") + finish +endif + +" syntax case ignore + +setlocal iskeyword+=/ +setlocal iskeyword+=: +setlocal iskeyword+=. +setlocal iskeyword+=- + +setlocal foldmethod=syntax +syn sync fromstart + +" keywords +syntax keyword aclCmd permit +syntax keyword aclDeny deny +syntax keyword aclHost host +syntax keyword aclPort bgp chargen cmd daytime discard domain +syntax keyword aclPort echo exec finger ftp ftp-data gopher +syntax keyword aclPort hostname ident irc klogin kshell login +syntax keyword aclPort lpd nntp pim-auto-rp pop2 pop3 smtp sunrpc +syntax keyword aclPort syslog tacacs talk telnet time uucp whois +syntax keyword aclPort www biff bootpc bootps dnsix echo isakmp +syntax keyword aclPort mobile-ip nameserver netbios-dgm netbios-ns +syntax keyword aclPort netbios-ss ntp rip snmp snmptrap sunrpc +syntax keyword aclPort syslog talk tftp time who xdmcp + +" protocols +"syntax keyword aclProto icmp ip tcp udp + +syntax keyword aclSrcDst any + +"syntax keyword aclSrcDst host +"syntax keyword aclLog log logging + +" regexps +syntax match aclACL /^access-list\s+/ +" TODO: differentiate network address/mask +syntax match ciscoip /\d\{1,3}\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}/ + +" syntax match ciscocomment /^!.*/ +syntax keyword aclTodo TODO XXX contained +syntax region ciscocomment start="^!" matchgroup=NONE end="$" contains=@cCommentGroup,aclTodo +syntax region ciscocomment start=// end=// + +"syntax match aclDefine /[A-Z][A-Z\_0-9]*/ contained +syntax match aclDefine /[A-Z][A-Z\_0-9]*/ +"syntax region remark start="^access-list.*remark" end="$" contains=aclACL,aclDefine +syntax region remark start="remark " end="$" + +"syntax region portspec start="eq" end="\s*[a-z0-9]*" +"syntax region portspec start="range" end="\s*[a-z0-9]*\s*[a-z0-9]*" + +syntax match aclGenericNum /\<\d\+\>/ + + + +" Define the default hightlighting. +" For version 5.7 and earlier: only when not done already +" For version 5.8 and later: only when an item doesn't have highlighting yet +if version >= 508 || !exists("did_cisco_syn_inits") + if version < 508 + let did_cisco_syn_inits = 1 + command -nargs=+ HiLink hi link + else + command -nargs=+ HiLink hi def link + endif + + " special highlighting for deny keyword + hi Deny gui=bold guifg=LightRed ctermfg=White ctermbg=LightRed term=underline + + HiLink aclDeny Deny + HiLink aclCmd Statement + HiLink ciscoip Type + HiLink remark String + HiLink ciscocomment Comment + HiLink portspec Type + HiLink aclDefine Identifier + HiLink aclGenericNum Constant + HiLink aclPort Constant + HiLink aclSrcDst Type + HiLink aclTodo Todo + + delcommand HiLink +endif + +let b:current_syntax = "cisco" + +" vim:ts=4 diff --git a/.vim/colors/clarity.vim b/.vim/colors/clarity.vim new file mode 100644 index 0000000..3440ba3 --- /dev/null +++ b/.vim/colors/clarity.vim @@ -0,0 +1,52 @@ +" Vim color - Clarity +" + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="clarity" + +highlight Normal gui=NONE guifg=LightBlue2 guibg=#1F3055 +highlight Comment gui=NONE guifg=Grey62 guibg=bg +highlight PreProc gui=NONE guifg=Salmon guibg=bg +highlight Precondit gui=NONE guifg=Khaki3 guibg=bg +highlight Identifier gui=NONE guifg=Khaki3 guibg=bg +highlight Type gui=BOLD guifg=Orange guibg=bg +highlight StorageClass gui=BOLD guifg=Cornsilk2 guibg=bg +highlight Todo gui=BOLD guifg=#1F3055 guibg=White +highlight NonText gui=NONE guifg=#334C51 guibg=SteelBlue4 +highlight LineNr gui=NONE guifg=HoneyDew2 guibg=Grey25 +highlight StatusLineNC gui=NONE guifg=Grey80 guibg=LightBlue4 +highlight StatusLine gui=NONE guifg=DarkBlue guibg=#FFFFCA +highlight IncSearch gui=NONE guifg=Black guibg=#FFE568 +highlight Search gui=UNDERLINE,BOLD guifg=#FFE568 guibg=bg +highlight Cursor gui=NONE guifg=Grey50 guibg=#FFE568 +highlight CursorIM gui=NONE guifg=Grey50 guibg=#FFE568 +highlight Title gui=BOLD guifg=OliveDrab3 guibg=bg +highlight WarningMsg gui=BOLD guifg=White guibg=Red4 +highlight String gui=NONE guifg=Grey80 guibg=bg +highlight Number gui=NONE guifg=OliveDrab2 guibg=bg +highlight Constant gui=NONE guifg=#ACEDAB guibg=bg +highlight Visual gui=BOLD guifg=White guibg=bg +highlight Directory gui=NONE guifg=PeachPuff guibg=bg +highlight DiffAdd gui=NONE guifg=white guibg=SeaGreen +highlight DiffChange gui=BOLD guifg=white guibg=Blue +highlight DiffDelete gui=NONE guifg=Grey40 guibg=Grey20 +highlight DiffText gui=BOLD guifg=HoneyDew1 guibg=FireBrick +highlight Typedef gui=NONE guifg=Cornsilk guibg=bg +highlight Define gui=NONE guifg=White guibg=bg +highlight Tag gui=NONE guifg=LightBlue2 guibg=bg +highlight Debug gui=BOLD guifg=Green guibg=bg +highlight Special gui=NONE guifg=NavajoWhite guibg=bg +highlight SpecialChar gui=NONE guifg=NavajoWhite guibg=bg +highlight Delimiter gui=NONE guifg=NavajoWhite guibg=bg +highlight SpecialComment gui=NONE guifg=NavajoWhite3 guibg=bg +highlight Conditional gui=BOLD guifg=Wheat2 guibg=bg +highlight Statement gui=BOLD guifg=Pink3 guibg=bg +highlight WildMenu gui=NONE guifg=White guibg=FireBrick +highlight browseSuffixes gui=NONE guifg=Cornsilk3 guibg=bg + + + diff --git a/.vim/colors/cleanphp.vim b/.vim/colors/cleanphp.vim new file mode 100644 index 0000000..c0af691 --- /dev/null +++ b/.vim/colors/cleanphp.vim @@ -0,0 +1,81 @@ +" Vim color file +" Maintainer: Billy McIntosh +" Last Change: June 24, 2003 +" Licence: Public Domain + +" This package offers a eye-catching color scheme for PHP syntax + +" First remove all existing highlighting. +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "cleanphp" + +hi Normal guifg=#008000 guibg=#d3e4f8 + +hi ErrorMsg guibg=#d3e4f8 guifg=Red +hi IncSearch gui=reverse +hi ModeMsg gui=bold +hi StatusLine gui=reverse,bold +hi StatusLineNC gui=reverse +hi VertSplit gui=reverse +hi Visual gui=reverse guifg=#c0c0c0 guibg=fg +hi VisualNOS gui=underline,bold +hi DiffText gui=bold guibg=Red +hi Cursor guibg=Black guifg=NONE +hi lCursor guibg=Black guifg=NONE +hi Directory guifg=#ff8040 +hi LineNr guifg=#008000 +hi MoreMsg gui=bold guifg=SeaGreen +hi NonText gui=bold guifg=#ff8040 guibg=#d3e4f8 +hi Question gui=bold guifg=Black +hi Search guibg=#008000 guifg=NONE +hi SpecialKey guifg=#ff8040 +hi Title gui=bold guifg=Magenta +hi WarningMsg guifg=Red +hi WildMenu guibg=Cyan guifg=#d3e4f8 +hi Folded guibg=White guifg=Darkblue +hi FoldColumn guibg=#c0c0c0 guifg=Darkblue +hi DiffAdd guibg=Lightblue +hi DiffChange guibg=LightMagenta +hi DiffDelete gui=bold guifg=#ff8040 guibg=LightCyan + +hi Comment guifg=#ff8040 guibg=#d3e4f8 +hi Constant guifg=#BB0000 guibg=#d3e4f8 +hi PreProc guifg=#008080 guibg=#d3e4f8 +hi Statement gui=NONE guifg=#008000 guibg=#d3e4f8 +hi Special guifg=#008080 guibg=#d3e4f8 +hi Ignore guifg=#c0c0c0 +hi Identifier guifg=#000080 guibg=#d3e4f8 +hi Type guifg=#00BB00 guibg=#d3e4f8 + +hi link IncSearch Visual +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 Conditional Statement +hi link Repeat Statement +hi link Label Statement +hi link Operator Statement +hi link Keyword Statement +hi link Exception 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 + +" vim: sw=2 \ No newline at end of file diff --git a/.vim/colors/cloudy.vim b/.vim/colors/cloudy.vim new file mode 100644 index 0000000..7bbbc51 --- /dev/null +++ b/.vim/colors/cloudy.vim @@ -0,0 +1,49 @@ +" Maintainer: iyerns +" Last Change: 25 August 2005 +" Version:1.0 + + + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="peppers" + +hi Normal guifg=#ffffcc guibg=#003366 +hi LineNr guifg=white guibg=#003366 +hi Statusline gui=none guibg=#0099cc guifg=#ffffff +hi StatuslineNC gui=none guibg=#003399 guifg=#ffffff + +hi Title guifg=black guibg=white gui=BOLD +hi lCursor guibg=Cyan guifg=NONE + +" syntax highlighting groups +hi Comment gui=NONE guifg=#cccccc +hi Operator guifg=#ff0000 + +hi Identifier guifg=#33ff99 gui=NONE + +hi Statement guifg=#cc9966 gui=NONE +hi TypeDef guifg=#c000c8 gui=NONE +hi Type guifg=#ccffff gui=NONE +hi Boolean guifg=#ff00aa gui=NONE + +hi String guifg=#99ccff gui=NONE +hi Number guifg=#66ff66 gui=NONE +hi Constant guifg=#f0f080 gui=NONE + +hi Function gui=NONE guifg=#fffcfc +hi PreProc guifg=#ffff00 gui=NONE +hi Define gui=bold guifg=#f0f0f0 +hi Special gui=none guifg=#cccccc +hi BrowseDirectory gui=bold guifg=#FFFF00 + +hi Keyword guifg=#ff8088 gui=NONE +hi Search gui=NONE guibg=#ffff00 guifg=#330000 +hi IncSearch gui=NONE guifg=#fcfcfc guibg=#8888ff +hi SpecialKey gui=NONE guifg=#fcfcfc guibg=#8888ff +hi NonText gui=NONE guifg=#fcfcfc +hi Directory gui=NONE guifg=#999900 +hi browseDirectory gui=NONE guifg=#00F0FF diff --git a/.vim/colors/clue.vim b/.vim/colors/clue.vim new file mode 100644 index 0000000..b752c2d --- /dev/null +++ b/.vim/colors/clue.vim @@ -0,0 +1,62 @@ +" Vim color file +" Maintainer: Boyko Bantchev +" Last Change: 2008 Aug 27 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "clue" +hi normal guifg=#e0e0e0 guibg=darkblue ctermfg=grey ctermbg=black +hi identifier guifg=grey ctermfg=grey +hi type gui=bold guifg=#8080e0 ctermfg=darkcyan +hi statement gui=bold guifg=#e09000 ctermfg=brown +hi operator gui=bold guifg=orange ctermfg=brown +hi constant guifg=cyan ctermfg=darkblue +hi label gui=bold guifg=darkyellow ctermfg=grey +hi special guifg=magenta ctermfg=darkmagenta +hi preproc guifg=#00e000 ctermfg=darkgreen +hi comment gui=italic guifg=darkgrey ctermfg=blue ctermbg=black +hi todo guifg=white guibg=brown ctermfg=black ctermbg=yellow +hi nontext guifg=magenta ctermfg=magenta +hi underlined gui=underline guifg=cyan cterm=underline ctermfg=darkcyan + +hi cursor gui=reverse guifg=white guibg=black cterm=reverse ctermfg=white ctermbg=black +hi lcursor gui=reverse guifg=cyan guibg=black cterm=reverse ctermfg=cyan ctermbg=black +hi matchparen gui=bold guifg=yellow guibg=darkblue ctermfg=yellow ctermbg=black + +hi search guifg=black guibg=magenta ctermfg=black ctermbg=magenta +hi incsearch gui=none guifg=black guibg=white cterm=none ctermfg=black ctermbg=white +hi visual guifg=white guibg=darkcyan cterm=none ctermfg=black ctermbg=cyan + +hi error gui=none guifg=red guibg=darkblue cterm=none ctermfg=red ctermbg=black +hi errormsg gui=none guifg=orange guibg=darkblue cterm=none ctermfg=red ctermbg=black +hi warningmsg gui=bold guifg=cyan guibg=darkblue ctermfg=cyan +hi modemsg guifg=yellow ctermfg=brown +hi moremsg guifg=yellow ctermfg=brown + +hi statusline gui=bold guifg=cyan guibg=blue cterm=none ctermfg=black ctermbg=white +hi statuslinenc gui=none guifg=cyan guibg=blue cterm=none ctermfg=black ctermbg=white +hi vertsplit gui=none guifg=white guibg=blue cterm=none ctermfg=black ctermbg=white +hi linenr guifg=cyan ctermfg=darkcyan + +hi folded guifg=black guibg=orange ctermfg=black ctermbg=yellow +hi foldcolumn guifg=white guibg=blue ctermfg=black ctermbg=grey + +hi diffchange guifg=white guibg=darkgreen ctermfg=black ctermbg=darkcyan +hi difftext gui=none guifg=black guibg=orange cterm=none ctermfg=grey ctermbg=darkred +hi diffdelete guifg=lightgrey guibg=darkmagenta ctermfg=grey ctermbg=darkred +hi diffadd guifg=white guibg=darkcyan ctermfg=black ctermbg=darkgreen + +hi pmenu guifg=white guibg=blue ctermfg=black ctermbg=darkcyan +hi pmenusel guifg=black guibg=white ctermfg=black ctermbg=white +hi pmenusbar guifg=black guibg=grey ctermfg=black ctermbg=grey +hi pmenuthumb gui=reverse cterm=reverse + +hi spellcap guisp=darkcyan +hi spelllocal ctermfg=black + +hi title gui=bold guifg=white ctermfg=white +hi signcolumn guifg=white guibg=darkcyan ctermfg=black ctermbg=darkcyan +hi tabline gui=underline guifg=black guibg=darkgrey cterm=underline ctermfg=black ctermbg=white diff --git a/.vim/colors/cobalt.vim b/.vim/colors/cobalt.vim new file mode 100644 index 0000000..0e46380 --- /dev/null +++ b/.vim/colors/cobalt.vim @@ -0,0 +1,103 @@ +" ============================================================================== +" File: cobalt.vim +" Author: David Terei +" URL: http://www.vim.org/scripts/script.php?script_id=2828 +" Last Change: Thu Feb 03 13:44:07 PST 2011 +" Version: 1.2 +" License: Distributed under the Vim charityware license. +" Summary: A colour scheme for Vim attempting to replicate TextMates +" cobalt scheme. +" +" GetLatestVimScripts: 2828 1 :AutoInstall: cobalt.vim +" +" Description: +" A colour scheme for Vim that attempts to replicate TextMates cobalt colour +" scheme. This scheme only supports GVim, it should work fine in Vim but no +" promises are made about this or how it looks. +" +" History: +" Wed Oct 28, 2009 - 1.0: +" * Initial release. +" Thu Feb 03, 2011 - 1.2: +" * Tweaks by David Terei +" * Tweaks by Константин Городинский +" + +set background=dark +hi clear + +if exists("syntax_on") + syntax reset +endif + +let g:colors_name="cobalt" + +hi Normal guifg=#FFFFFF guibg=#002F52 +hi NonText guifg=#FFFFFF guibg=#002F52 +hi CursorLine guifg=NONE guibg=#002943 +hi Cursor guifg=#F8F8F8 guibg=#A7A7A7 +hi CursorIM guifg=#F8F8F8 guibg=#002947"#5F5A60 +hi Directory guifg=#8F9D6A guibg=#141414 +hi ErrorMsg guifg=#CF6A4C guibg=#420E09 +hi VertSplit guifg=#AC885B guibg=#FFFFFF +hi Folded guifg=#F9EE98 guibg=#494949 + +hi IncSearch guifg=#000000 guibg=#CF6A4C +hi LineNr guifg=#59809d guibg=#003454 "espresso style +"hi LineNr guifg=#888888 guibg=#e1e1e1 "textmate default +"hi LineNr guifg=#7587A6 guibg=#000000 "own style +hi ModeMsg guifg=#CF7D34 guibg=#E9C062 +hi MoreMsg guifg=#CF7D34 guibg=#E9C062 +hi Question guifg=#7587A6 guibg=#0E2231 +hi Search guifg=#420E09 guibg=#CF6A4C +hi SpecialKey guifg=#CF7D34 guibg=#141414 +hi StatusLine guifg=#0E2231 guibg=#8693A5 +hi StatusLineNC guifg=#7587A6 guibg=#F8F8F8 +hi Title guifg=#8B98AB guibg=#0E2231 +hi Visual guifg=#FFFFFF guibg=#B36539 +hi WarningMsg guifg=#CF6A4C guibg=#420E09 +hi WildMenu guifg=#AFC4DB guibg=#0E2231 + +"Syntax highlight groups + +hi Comment guifg=#009DFF gui=italic +hi Constant guifg=#E77E6E +hi String guifg=#3AD900 +hi Character guifg=#E9C062 +hi Number guifg=#FF7C9D +hi Boolean guifg=#FF7C9D +hi Float guifg=#FF7C9D +hi Identifier guifg=#FFEF92 gui=bold"#FF99E7"#FFEF92 +hi Function guifg=#FFEF92 gui=bold"#FFAD51 +hi Statement guifg=#FF9D00 gui=bold +hi Conditional guifg=#FF9D00 gui=bold +hi Repeat guifg=khaki +hi Label guifg=#E9C062 +hi Operator guifg=#FFAC00 gui=bold +hi Keyword guifg=#FF7C9D gui=bold "#E9C062 +hi Exception guifg=khaki +hi PreProc guifg=khaki4 +hi Include guifg=#A9C4D5 "Import +hi Define guifg=khaki1 +hi Macro guifg=#9B703F +hi PreCondit guifg=#A9C4D5 +hi Type guifg=#80FFBB gui=none"Filepath, IO, Maybe +hi StorageClass guifg=tan +hi Structure guifg=#FF9D00 "module +hi Typedef guifg=khaki3 +hi Special guifg=#F2DD00 +hi SpecialChar guifg=DarkGoldenrod +hi Tag guifg=DarkKhaki +hi Delimiter guifg=DarkGoldenrod +hi SpecialComment guifg=cornsilk +hi Debug guifg=brown +hi Underlined guifg=#Cf6A4C +hi Ignore guifg=#666666 +hi Error guifg=#CF6A4C guibg=#420E09 +hi Todo guifg=#7587A6 guibg=#0E2231 +hi Pmenu guifg=#141414 guibg=#CDA869 +hi PmenuSel guifg=#F8F8F8 guibg=#9B703F +hi PmenuSbar guibg=#DAEFA3 +hi PmenuThumb guifg=#8F9D6A + + diff --git a/.vim/colors/cobaltish.vim b/.vim/colors/cobaltish.vim new file mode 100644 index 0000000..703533e --- /dev/null +++ b/.vim/colors/cobaltish.vim @@ -0,0 +1,96 @@ +" ============================================================================== +" File: cobaltish.vim +" Author: David Terei +" URL: http://www.vim.org/scripts/script.php?script_id=3439 +" Last Change: Thu Feb 03 13:44:07 PST 2011 +" Version: 1.0 +" License: Distributed under the Vim charityware license. +" Summary: A colour scheme for Vim inspired by TextMates cobalt scheme. +" +" GetLatestVimScripts: 3439 1 :AutoInstall: cobaltish.vim +" +" Description: +" A colour scheme for Vim that is based on TextMates cobalt colour scheme. +" This scheme only supports GVim, it should work fine in Vim but no promises +" are made about this or how it looks. +" +" History: +" Thu Feb 03, 2011 - 1.0: +" * Initial release - based of cobalt colour scheme. +" + +set background=dark +hi clear + +if exists("syntax_on") + syntax reset +endif + +let g:colors_name="cobalt" + +hi Normal guifg=#FFFFFF guibg=#002240 +hi NonText guifg=#E9E9E9 guibg=#002240 +hi CursorLine guifg=NONE guibg=#05192A +hi Cursor guifg=#101010 guibg=#F0F0F0 +hi CursorIM guifg=#FFFFFF guibg=#000000 +hi Directory guifg=#A9C4D5 +hi ErrorMsg guifg=#CF6A4C guibg=#420E09 +hi VertSplit guifg=#A9C4D5 guibg=#101010 +hi Folded guifg=#F9EE98 guibg=#203560 + +hi IncSearch guifg=#000000 guibg=#CF6A4C +hi LineNr guifg=#7587A6 guibg=#000000 +hi ModeMsg guifg=#CF7D34 guibg=#E9C062 +hi MoreMsg guifg=#CF7D34 guibg=#E9C062 +hi Question guifg=#7587A6 guibg=#0E2231 +hi Search guifg=#420E09 guibg=#CF6A4C +hi SpecialKey guifg=#CF7D34 guibg=#141414 +hi StatusLine guifg=#0E2231 guibg=#8693A5 +hi StatusLineNC guifg=#7587A6 guibg=#F8F8F8 +hi Title guifg=#8B98AB guibg=#0E2231 +hi Visual guifg=#0E2231 guibg=#AFC4DB +hi WarningMsg guifg=#CF6A4C guibg=#420E09 +hi WildMenu guifg=#AFC4DB guibg=#0E2231 + +"Syntax highlight groups + +hi Comment guifg=#999999 gui=italic +hi Constant guifg=#E77E6E +hi String guifg=#3AD900 +hi Character guifg=#E9C062 +hi Number guifg=#FF627E +hi Boolean guifg=#CF6A4C +hi Float guifg=#F05A73 +hi Identifier guifg=#7587a6 gui=bold +hi Function guifg=#FFAD51 gui=bold +hi Statement guifg=#FF9D00 gui=bold +hi Conditional guifg=#FF9D00 gui=bold +hi Repeat guifg=khaki +hi Label guifg=#E9C062 +hi Operator guifg=#FFB054 gui=bold +hi Keyword guifg=#E9C062 gui=bold +hi Exception guifg=khaki +hi PreProc guifg=khaki4 +hi Include guifg=#A9C4D5 "Import +hi Define guifg=khaki1 +hi Macro guifg=#FF9D00 +hi PreCondit guifg=#A9C4D5 +hi Type guifg=#80FFBB "Filepath, IO, Maybe +hi StorageClass guifg=tan +hi Structure guifg=#FFEA72 "module +hi Typedef guifg=khaki3 +hi Special guifg=#F2DD00 +hi SpecialChar guifg=DarkGoldenrod +hi Tag guifg=DarkKhaki +hi Delimiter guifg=DarkGoldenrod +hi SpecialComment guifg=cornsilk +hi Debug guifg=brown +hi Underlined guifg=#Cf6A4C +hi Ignore guifg=#666666 +hi Error guifg=#CF6A4C guibg=#420E09 +hi Todo guifg=#7587A6 guibg=#0E2231 +hi Pmenu guifg=#141414 guibg=#CDA869 +hi PmenuSel guifg=#F8F8F8 guibg=#9B703F +hi PmenuSbar guibg=#DAEFA3 +hi PmenuThumb guifg=#8F9D6A + diff --git a/.vim/colors/codeblocks_dark.vim b/.vim/colors/codeblocks_dark.vim new file mode 100644 index 0000000..9bb32ae --- /dev/null +++ b/.vim/colors/codeblocks_dark.vim @@ -0,0 +1,139 @@ +" Vim color file +" Maintainer: Sergey Vlasov +" Inspired by original Code::Blocks theme in a dark manner. + +set background=dark +highlight clear +let g:colors_name="codeblocks_dark" + +let save_cpo = &cpo +set cpo&vim + +" basic highlight groups (:help highlight-groups) {{{ + +" text {{{ +hi Normal guifg=#D1D1D1 guibg=#121316 gui=NONE + +hi Folded guifg=#c2bfa5 guibg=#050505 gui=underline +hi LineNr guifg=#928c75 guibg=#0B0B0D gui=NONE +hi Directory guifg=#00bbdd guibg=NONE gui=bold +hi NonText guifg=#77ff22 guibg=NONE gui=bold +hi SpecialKey guifg=#559933 guibg=NONE gui=NONE + +hi SpellBad guifg=NONE guibg=NONE gui=undercurl +hi SpellCap guifg=NONE guibg=NONE gui=undercurl +hi SpellLocal guifg=NONE guibg=NONE gui=undercurl +hi SpellRare guifg=NONE guibg=NONE gui=undercurl + +hi DiffAdd guifg=#ffffff guibg=#126493 gui=NONE +hi DiffChange guifg=#000000 guibg=#976398 gui=NONE +hi DiffDelete guifg=#000000 guibg=#be1923 gui=bold +hi DiffText guifg=#ffffff guibg=#976398 gui=bold +" }}} + +" borders / separators / menus {{{ +hi FoldColumn guifg=#c8bcb9 guibg=#786d65 gui=bold +hi SignColumn guifg=#c8bcb9 guibg=#786d65 gui=bold + +hi Pmenu guifg=#000000 guibg=#a6a190 gui=NONE +hi PmenuSel guifg=#ffffff guibg=#133293 gui=NONE +hi PmenuSbar guifg=NONE guibg=#555555 gui=NONE +hi PmenuThumb guifg=NONE guibg=#cccccc gui=NONE + +hi StatusLine guifg=#000000 guibg=#c2bfa5 gui=bold +hi StatusLineNC guifg=#444444 guibg=#c2bfa5 gui=NONE +hi WildMenu guifg=#ffffff guibg=#133293 gui=bold +hi VertSplit guifg=#c2bfa5 guibg=#c2bfa5 gui=NONE + +hi TabLine guifg=#000000 guibg=#c2bfa5 gui=NONE +hi TabLineFill guifg=#000000 guibg=#c2bfa5 gui=NONE +hi TabLineSel guifg=#ffffff guibg=#133293 gui=NONE + +"hi Menu +"hi Scrollbar +"hi Tooltip +" }}} + +" cursor / dynamic / other {{{ +hi Cursor guifg=#000000 guibg=#ffff99 gui=NONE +hi CursorIM guifg=#000000 guibg=#aaccff gui=NONE +hi CursorLine guifg=NONE guibg=#1b1b1b gui=NONE +hi CursorColumn guifg=NONE guibg=#1b1b1b gui=NONE + +hi Visual guifg=NONE guibg=#344863 gui=NONE +hi IncSearch guifg=#000000 guibg=#eedd33 gui=bold +hi Search guifg=#efefd0 guibg=#A80F2B gui=NONE +hi MatchParen guifg=#FFC124 guibg=#47360A gui=bold + +"hi VisualNOS +" }}} + +" listings / messages {{{ +hi ModeMsg guifg=#eecc18 guibg=NONE gui=NONE +hi Title guifg=#dd4452 guibg=NONE gui=bold +hi Question guifg=#66d077 guibg=NONE gui=NONE +hi MoreMsg guifg=#39d049 guibg=NONE gui=NONE +hi ErrorMsg guifg=#ffffff guibg=#ff0000 gui=bold +hi WarningMsg guifg=#ccae22 guibg=NONE gui=bold +" }}} + +" }}} + +" syntax highlighting groups {{{ +"*Comment any comment +hi Comment guifg=#566E67 guibg=NONE gui=NONE + +"*Constant any constant +" String a string constant +" Character a character constant: 'c', '\n' +" Number a number constant: 234, 0xff +" Boolean a boolean constant: TRUE, false +" Float a floating point constant: 2.3e10 +hi Constant guifg=#F34AFF guibg=NONE gui=NONE +hi String guifg=#4D63EB guibg=NONE gui=NONE +hi Character guifg=orange guibg=NONE gui=bold +hi Boolean guifg=#F34AFF guibg=NONE gui=bold + +"*PreProc generic +" Include preprocessor #include +" Define preprocessor #define +" Macro same as Define +" PreCondit preprocessor #if, #else, #endif, etc. +hi PreProc guifg=#9FEF47 guibg=NONE gui=NONE + +"*Type int, long, char, etc. +" StorageClass static, register, volatile, etc. +" Structure struct, union, enum, etc. +" Typedef A typedef +hi Type guifg=#47ABF0 guibg=NONE gui=bold + +"*Identifier any variable name +" Function function name (also: methods for classes) + +" Statement any statement +" Conditional if, then, else, endif, switch, etc. +" Repeat for, do, while, etc. +" Label case, default, etc. +" Operator sizeof, +, *, etc. +" Keyword any other keyword +" Exception try, catch, throw +hi Statement guifg=#47ABF0 guibg=NONE gui=bold +hi Operator guifg=#EC2417 guibg=NONE gui=NONE + +"*Special any special symbol +" SpecialChar special character in a constant +" Tag you can use CTRL-] on this +" Delimiter character that needs attention +" SpecialComment special things inside a comment +" Debug debugging statements +hi Special guifg=#83E683 guibg=NONE gui=bold +hi SpecialChar guifg=orange guibg=NONE gui=bold +hi Delimiter guifg=orange guibg=NONE gui=bold + +hi Underlined guifg=#80a0ff guibg=NONE gui=underline +hi Ignore guifg=#888888 guibg=NONE gui=NONE +hi Error guifg=#ffffff guibg=#ff0000 gui=NONE +hi Todo guifg=#ffffff guibg=#ee7700 gui=bold +" }}} + +let &cpo = save_cpo diff --git a/.vim/colors/codeburn.vim b/.vim/colors/codeburn.vim new file mode 100644 index 0000000..8332bc3 --- /dev/null +++ b/.vim/colors/codeburn.vim @@ -0,0 +1,203 @@ +set background=light + +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "codeburn-0.2" + +if version >= 700 + " NERDTree current + hi CursorLine guibg=#BFB7AD gui=none + "hi CursorColumn guibg=#e4e2e0 + hi MatchParen guibg=black guifg=white gui=none + + hi TabLineFill guifg=#BFB39C guibg=#BFB39C + hi TabLine guifg=gray40 guibg=#BFB39C gui=none + hi TabLineSel guifg=gray90 guibg=#AB9876 gui=none + + "P-Menu (auto-completion) + hi Pmenu guifg=white guibg=#a4a2a0 + "PmenuSel + "PmenuSbar + "PmenuThumb +endif + +hi Normal guifg=gray20 guibg=#dcd8d8 + +hi ModeMsg guifg=gray10 guibg=#B3C71E gui=none +hi MoreMsg guifg=gray10 guibg=#B3C71E gui=none +hi Question guifg=gray10 guibg=#B3C71E gui=none +hi WarningMsg guifg=#600000 gui=none guibg=#dcd8d8 + +" Html-Titles +hi Title guifg=gray20 gui=none + +hi Underlined guifg=gray20 gui=underline +hi Cursor guifg=white guibg=#888480 +hi lCursor guifg=black guibg=white +hi LineNr guifg=#B0B1A1 +hi StatusLine guifg=gray90 guibg=#888480 gui=none + +" not current status line +hi StatusLineNC guifg=gray40 guibg=#ABA7A4 gui=none + +hi VertSplit guifg=#ABA7A4 guibg=#ABA7A4 gui=NONE + +" unused areas marked with ~ +hi NonText gui=none guifg=#dcd8d8 + +hi Comment guifg=#909090 gui=italic + +" ruby: symbols +hi Constant guifg=MediumSlateBlue + +hi String guifg=#3366cc +hi String guifg=DodgerBlue +hi link Character String +hi link Number Constant +hi link Float Number + +" ruby: debug, mixin, scope, throw, python: def +hi Statement guifg=gray20 gui=none +hi Keyword guifg=#605118 gui=none + +" ruby: interpolation +hi Operator gui=none + +" HTML: arguments +" Ruby: classname +hi Type gui=none guifg=SaddleBrown + +" Python: Standard exceptions, True&False +""hi Structure guifg=Sienna gui=bold,underline + +" Ruby: method definitions and calls +hi Identifier guifg=gray10 +hi Function guifg=#c2590e + +hi Directory guifg=SaddleBrown + +" do ..end +hi Repeat guifg=#660000 gui=none + +" Ruby: if..else..end +hi Conditional guifg=#990000 + +" Ruby: require, labels in .vim, +hi PreProc guifg=DarkGoldenrod gui=none + +hi Folded guifg=#64634B guibg=#c8c4c0 gui=none + +" Ruby: def..end, class..end +""hi Define guifg=#784830 + +" used by help tags * | +hi Ignore guifg=#A8A890 + +hi Error guifg=#a02000 guibg=white gui=underline + +hi Todo guifg=#6A7164 guibg=NONE gui=underline + +" search highlight +hi Search guibg=#ccff66 + +" Python: %(...)s - constructs, encoding, D: \n etc +" Ruby: "" +hi Special guifg=#808000 gui=none + +" color of s etc... , NERDTRee +hi SpecialKey guifg=gray60 gui=italic + + +" visual selection higlight +hi Visual guibg=#ffff00 + +" string interpolation +hi Delimiter guifg=#666600 gui=bold + +" Diff +hi DiffChange guifg=NONE guibg=#e4e2e0 gui=italic +hi DiffText guifg=NONE guibg=#f0e0a0 gui=none +hi DiffAdd guifg=NONE guibg=#c0e0d0 gui=bold +hi DiffDelete guifg=NONE guibg=#f0a0a0 gui=italic,bold + +hi link rubyBoolean Boolean +hi link rubyComment Comment +hi link rubyString String +hi link rubyStringDelimiter String + +hi link htmlTag Type +hi link htmlEndTag htmlTag +hi link htmlTagName htmlTag + +hi link htmlArg Function + +hi link hamlHtmlTag htmlTagName +hi link hamlPreDef hamlHtmlTag +hi link hmlHtmlTagEndl hamlHtmlTag + +" hi rubyASCIICode +hi rubyAccess guifg=Brown +"hi rubyAttribute guifg=red gui=underline +"hi rubyBlock gui=underline +"hi rubyBlockArgument gui=underline +hi rubyBlockParameter guifg=gray20 +hi link rubyClass Type + +""hi rubyClassVariable gui=none guifg=#556B2F guibg=white +""hi rubyConstant gui=none guifg=#DC143C guibg=white + +" do..end begin rescue end +hi link rubyControl Repeat + +"for somre reason begin end in erb is tied to this color instead of Conditional and Control +hi link rubyBeginEnd Repeat + +"hi rubyCurlyBlock guifg=#9C420C +"hi rubyData gui= guifg= guibg= +"hi rubyDataDirective gui= guifg= guibg= +hi link rubyDefine Function +"hi rubyDelimEscape +"hi rubyDoBlock guifg=SlateBlue guibg=red +"hi rubyDocumentation gui= guifg= guibg= +"hi rubyError +"hi rubyEscape +"hi rubyEval +hi rubyException guifg=Red +"hi rubyExprSubst gui=underline guifg=#FF4500 +"hi rubyFloat +""hi rubyFunction gui=none guifg=#784830 +"hi rubyGlobalVariable gui=none guifg=cyan +hi link rubyHeredocStart Comment +hi link rubyHeredocEnd Comment +"hi rubyIdentifier gui=underline +"hi rubyInclude gui= guifg= guibg= +"hi rubyInstanceVariable gui=none guifg=gray20 +"hi rubyInteger +"hi rubyInterpolation guifg=Orange +"hi rubyIterator gui=underline guifg=black +hi link rubyKeyword Normal +" hi rubyKeywordAsMethod +""hi rubyLocalVariableOrMethod gui=underline guifg=cyan +hi link rubyModule Type +"hi rubyNestedAngleBrackets +"hi rubyNestedCurlyBraces gui=underline +"hi rubyNestedParentheses +"hi rubyNestedSquareBrackets +"hi rubyNoDoBlock +"hi rubyNoInterpolation +"hi rubyNumber gui= guifg= guibg= +hi link rubyOperator Normal +"hi rubyOptDoBlock gui=underline +"hi rubyOptDoLine +hi rubyPredefinedConstant guifg=gray30 +hi rubyPredefinedIdentifier guifg=gray30 +hi rubyPredefinedVariable guifg=gray30 +"hi rubyPseudoVariable +"hi rubySharpBang gui= guifg= guibg= +"hi rubySpaceError +hi rubySymbol guifg=Purple + +"hi rubyTodo gui= guifg= guibg= diff --git a/.vim/colors/coffee.vim b/.vim/colors/coffee.vim new file mode 100644 index 0000000..284fb01 --- /dev/null +++ b/.vim/colors/coffee.vim @@ -0,0 +1,60 @@ +" Vim color file +" Maintainer: David Lazar +" Last Change: Fri Jan 31 01:08:13 UTC 2003 +" Version: 1.0 +" URL: http://c7.campus.utcluj.ro/~david/coffee.vim +" +" This colorscheme script was created using Hans Fugal's colorscheme template + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="coffee" + +hi Normal gui=none guibg= #514c44 guifg=#b0a594 + +hi Cursor gui=none guibg=#ffffff guifg=bg +hi link CursorIM Cursor +hi Directory guifg=#ffffff +hi DiffAdd guibg=#9e9485 guifg=bg +hi DiffDelete guibg=#2e2b26 guifg=fg +hi DiffChange guibg=#70695e guifg=fg +hi DiffText guibg=#70695e guifg=#880000 +hi ErrorMsg guibg=#880000 guifg=#ffffff +hi Folded guifg=#88c0c7 +hi FoldColumn guifg=#88c0c7 +hi IncSearch guifg=#fff0d6 guibg=#000000 +hi LineNr guibg=#000000 guifg=#ffff21 +hi ModeMsg guifg=#ffffff +hi MoreMsg guifg=#00ff00 +hi NonText guifg=#61616d +hi Question guifg=#ffff00 +hi link Search IncSearch +hi SpecialKey guifg=#ffffff +hi StatusLine guibg=#000000 guifg=#deefff +hi StatusLineNC guibg=#395956 guifg=#a4b1bd +hi VertSplit guibg=#395956 guifg=#a4b1bd +hi Title guifg=#ffffff +hi Visual guifg=#fff0d6 guibg=#000000 +hi VisualNOS guifg=#dddddd guibg=bg +hi WarningMsg guifg=#ffff00 +"hi WildMenu +"hi Menu +"hi Scrollbar +"hi Tooltip + +" syntax highlighting groups +hi Comment guifg=#1a1813 +hi Constant guifg=#cefece +hi Identifier guifg=#cc7c3d +hi Statement guifg=#effec5 +hi PreProc guifg=#85ff85 +hi Type guifg=#c6feeb +hi Special guifg=#eeffee +hi Underlined gui=underline guifg=#ffffff +hi Ignore guifg=fg +hi Error guibg=bg guifg=#ff4c4a +hi Todo guibg=#aa0006 guifg=#fff300 + diff --git a/.vim/colors/coldgreen.vim b/.vim/colors/coldgreen.vim new file mode 100644 index 0000000..747eebf --- /dev/null +++ b/.vim/colors/coldgreen.vim @@ -0,0 +1,56 @@ +" Vim/GVim color scheme file (coldgreen.vim) +" Maintainer: Hideo Hattori +" Version: 0.1 + +set background=dark +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "coldgreen" + +" Base setting +hi Normal ctermfg=grey ctermbg=none cterm=none guifg=grey80 guibg=black +hi NonText ctermfg=grey ctermbg=none cterm=none guifg=grey80 guibg=black + +hi Cursor ctermfg=darkgreen ctermbg=black cterm=reverse guibg=green +hi CursorIM ctermfg=darkmagenta ctermbg=darkred cterm=reverse guibg=magenta +hi CursorLine cterm=reverse guibg=grey10 +hi CursorColumn cterm=reverse guibg=grey10 + +hi LineNr ctermfg=lightcyan ctermbg=none cterm=none guifg=grey30 guibg=black +hi StatusLine ctermfg=black ctermbg=white cterm=none guifg=black guibg=lightblue gui=none +hi StatusLineNC ctermfg=grey ctermbg=darkblue guifg=grey40 guibg=black gui=reverse +hi Search ctermfg=grey ctermbg=lightmagenta cterm=none guifg=black guibg=lightmagenta + +" Syntax Highlight +hi Comment ctermfg=lightblue ctermbg=none guifg=#3366ff +hi String ctermfg=blue ctermbg=none guifg=#66ffcc +hi Number ctermfg=none ctermbg=none +hi Special ctermfg=cyan ctermbg=none cterm=none guifg=#66ffcc gui=bold +hi Keyword ctermfg=lightgreen ctermbg=none cterm=none guifg=lightgreen gui=none + +hi Type ctermfg=lightgreen ctermbg=none +hi Identifier ctermfg=white ctermbg=none cterm=none guifg=#66ffcc +hi Function ctermfg=lightcyan ctermbg=none cterm=none guifg=white gui=none +hi Statement ctermfg=green ctermbg=none guifg=#66ff66 gui=none + +hi Conditional ctermfg=green ctermbg=none guifg=#00ff66 +hi Repeat ctermfg=green ctermbg=none guifg=#00ff66 +hi PreProc ctermfg=lightcyan ctermbg=none cterm=none guifg=#9966ff + +hi Constant ctermfg=lightmagenta ctermbg=none guifg=#9966ff gui=none +hi Character ctermfg=cyan ctermbg=none guifg=#66ffcc + +hi Todo ctermfg=white ctermbg=lightred cterm=none guifg=white guibg=red + +" Python Syntax Highlight +hi pythonBuiltin ctermfg=lightcyan ctermbg=none guifg=white gui=none + +" Diff Syntax Highlight +hi diffFile ctermfg=yellow ctermbg=none cterm=none +hi diffAdded ctermfg=lightgreen ctermbg=none +hi diffRemoved ctermfg=lightblue ctermbg=none + diff --git a/.vim/colors/colorer.vim b/.vim/colors/colorer.vim new file mode 100644 index 0000000..30e1277 --- /dev/null +++ b/.vim/colors/colorer.vim @@ -0,0 +1,79 @@ +" local syntax file - set colors on a per-machine basis: +" vim: tw=0 ts=4 sw=4 +" Vim color file +" Maintainer: Sergey V. Beduev +" Last Change: Sun Mar 28 11:19:38 EEST 2004 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "colorer" + +hi Normal ctermfg=Gray guifg=DarkGray guibg=black +hi Visual ctermfg=DarkCyan guibg=black guifg=DarkCyan +hi Comment ctermfg=Brown guifg=#B46918 gui=NONE +hi PerlPOD ctermfg=Brown guifg=#B86A18 gui=NONE +hi Constant ctermfg=White guifg=White gui=NONE +hi Charachter ctermfg=Yellow guifg=Yellow gui=NONE +hi String ctermfg=Yellow guifg=Yellow gui=NONE +hi Number ctermfg=White guifg=White gui=NONE +hi Boolean ctermfg=Cyan guifg=DarkGray gui=NONE +hi Special ctermfg=DarkMagenta guifg=Red gui=NONE +hi Define ctermfg=LightMagenta guifg=Magenta gui=NONE +hi Identifier ctermfg=Green guifg=Green gui=NONE +hi Exception ctermfg=White guifg=White gui=NONE +hi Statement ctermfg=White guifg=White gui=NONE +hi Label ctermfg=White guifg=White gui=NONE +hi Keyword ctermfg=White guifg=White gui=NONE +hi PreProc ctermfg=Green guifg=Green gui=NONE +hi Type ctermfg=LightGreen guifg=Green gui=NONE +hi Function ctermfg=White guifg=White gui=NONE +hi Repeat ctermfg=White guifg=White gui=NONE +hi Operator ctermfg=White guifg=White gui=NONE +hi Ignore ctermfg=black guifg=bg +hi Folded ctermbg=LightBlue ctermfg=Gray guibg=DarkBlue guifg=DarkGray gui=NONE +hi Error term=reverse ctermbg=Red ctermfg=White guibg=darkRed guifg=White gui=NONE +hi Todo term=standout ctermbg=Yellow ctermfg=Black guifg=Black guibg=#AD5500 gui=NONE +hi Done term=standout ctermbg=Gray ctermfg=White guifg=White guibg=Gray gui=NONE + +hi SpellErrors ctermfg=DarkRed guifg=Black gui=NONE + +hi MailQ ctermfg=darkcyan guibg=black gui=NONE +hi MailQu ctermfg=darkgreen guibg=black gui=NONE +hi MyDiffNew ctermfg=magenta guifg=red gui=NONE +hi MyDiffCommLine ctermfg=white ctermbg=red guifg=white guibg=darkred gui=NONE +hi MyDiffRemoved ctermfg=LightRed guifg=red gui=NONE +hi MyDiffSubName ctermfg=DarkCyan guifg=Cyan gui=NONE +hi MyDiffNormal ctermbg=White ctermfg=black guibg=White guifg=black gui=NONE +hi MoreMsg gui=NONE +hi ModeMsg gui=NONE +hi Title gui=NONE +hi NonText gui=NONE +hi DiffDelete gui=NONE +hi DiffText gui=NONE +hi StatusLine guifg=black guibg=gray gui=NONE +hi Question gui=NONE +" Common groups that link to default highlighting. +" You can specify other highlighting easily. +"hi link String Constant +"hi link Character Constant +"hi link Number Constant +"hi link Boolean Constant +hi link Float Number +hi link Conditional Repeat +hi link Include PreProc +hi link Structure Define +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 Normal +hi link SpecialComment Special +hi link Debug Special + diff --git a/.vim/colors/colorful.vim b/.vim/colors/colorful.vim new file mode 100644 index 0000000..4ccd15d --- /dev/null +++ b/.vim/colors/colorful.vim @@ -0,0 +1,133 @@ +" Vim color file +" A modified verion of habiLight color schemeversion of habiLight color scheme by Christian Habermann + +" Intro {{{1 +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "colorful" + +" Normal {{{1 +hi Normal guifg=DarkBlue guibg=WhiteSmoke + +" Search {{{1 +hi IncSearch cterm=UNDERLINE ctermfg=Black ctermbg=brown gui=UNDERLINE guifg=White guibg=NavyBlue +hi Search term=reverse cterm=UNDERLINE ctermfg=Black ctermbg=brown gui=NONE guifg=DarkBlue guibg=#FFE270 + +" Messages {{{1 +hi ErrorMsg gui=BOLD guifg=#EB1513 guibg=NONE +hi! link WarningMsg ErrorMsg +hi ModeMsg gui=BOLD guifg=#0070ff guibg=NONE +hi MoreMsg guibg=NONE guifg=seagreen +hi! link Question MoreMsg + +" Split area {{{1 +hi StatusLineNC gui=NONE guibg=LightBlue guifg=white +hi StatusLine gui=NONE guibg=SteelBlue guifg=WhiteSmoke +hi! link VertSplit StatusLineNC +hi WildMenu gui=BOLD guifg=White guibg=DarkSalmon + +" Diff {{{1 +hi DiffText gui=NONE guifg=#f83010 guibg=#ffeae0 +hi DiffChange gui=NONE guifg=#006800 guibg=#d0ffd0 +hi DiffDelete gui=NONE guifg=#2020ff guibg=#c8f2ea +hi! link DiffAdd DiffDelete + +" Cursor {{{1 +hi Cursor gui=none guifg=White guibg=DarkBlue +"hi lCursor gui=NONE guifg=#f8f8f8 guibg=#8000ff +hi CursorIM gui=NONE guifg=#f8f8f8 guibg=#8000ff + +" Fold {{{1 +hi Folded gui=NONE guibg=#B5EEB5 guifg=black +"hi FoldColumn gui=NONE guibg=#9FD29F guifg=black +hi! link FoldColumn Folded + +" Other {{{1 +hi Directory gui=NONE guifg=NavyBlue guibg=#FFE9E3 +hi BrowseDirectory gui=NONE guifg=Blue2 guibg=#FFE9E3 +hi BrowseCurDirectory gui=NONE guifg=Red4 guibg=#FFE9E3 +hi BrowseFile gui=NONE guifg=NavyBlue guibg=#E3EFFF +hi BrowseSuffixes gui=none guifg=Gray50 guibg=bg +hi LineNr gui=NONE guifg=#8080a0 guibg=NONE +hi NonText gui=BOLD guifg=#4000ff guibg=White +"hi SpecialKey gui=NONE guifg=#A35B00 guibg=NONE +hi Title gui=BOLD guifg=#1014AD guibg=NONE +hi Visual term=reverse ctermfg=yellow ctermbg=black gui=NONE guifg=Black guibg=#D6E3F8 +hi VisualNOS term=reverse ctermfg=yellow ctermbg=black gui=UNDERLINE guifg=Black guibg=#BDDFFF + +" Syntax group {{{1 +hi Comment term=BOLD ctermfg=darkgray guifg=SteelBlue guibg=#F0F6FF +hi Type term=UNDERLINE ctermfg=red gui=NONE guifg=#B91F49 guibg=#FFE3E5 +hi Error term=REVERSE ctermfg=15 ctermbg=9 guibg=Red guifg=White +hi Identifier term=UNDERLINE ctermfg=Blue guifg=Blue +hi Number term=UNDERLINE ctermfg=red gui=NONE guifg=#00C226 guibg=#DBF8E3 +hi PreProc term=UNDERLINE ctermfg=darkblue guifg=#1071CE guibg=#E3EFFF +hi Special term=BOLD ctermfg=darkmagenta guifg=red2 +hi Statement term=BOLD ctermfg=DarkRed gui=NONE guifg=#F06F00 guibg=#FCECE0 +hi Conditional term=BOLD ctermfg=DarkRed gui=NONE guifg=#F06F00 guibg=#FCECEE +hi Tag term=BOLD ctermfg=DarkGreen guifg=DarkGreen +hi Todo term=STANDOUT ctermbg=Yellow ctermfg=blue gui=BOLD guifg=DarkBlue guibg=Red +hi Constant term=BOLD ctermfg=Blue gui=NONE guifg=Red4 guibg=#FEE6FF +hi! link String Constant +hi! link Character Constant +hi! link Boolean Constant +hi! link Float Number +hi! link Function Identifier +hi! link Repeat Statement +hi! link Label Statement +hi! link Operator Statement +hi! link Keyword Statement +hi! link Exception 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 SpecialChar Special +hi! link Delimiter Special +hi! link SpecialComment Special +hi! link Debug Special + +" HTML {{{1 +hi htmlLink gui=UNDERLINE guifg=#0000ff guibg=NONE +hi htmlBold gui=BOLD +hi htmlBoldItalic gui=BOLD,ITALIC +hi htmlBoldUnderline gui=BOLD,UNDERLINE +hi htmlBoldUnderlineItalic gui=BOLD,UNDERLINE,ITALIC +hi htmlItalic gui=ITALIC +hi htmlUnderline gui=UNDERLINE +hi htmlUnderlineItalic gui=UNDERLINE,ITALIC + +" Tabs {{{1 +highlight TabLine term=underline cterm=underline ctermfg=0 ctermbg=7 gui=underline guibg=LightGrey +highlight TabLineFill term=reverse cterm=reverse gui=reverse +highlight TabLineSel term=bold cterm=bold gui=bold + +" Spell Checker {{{1 +if v:version >= 700 + highlight SpellBad term=reverse ctermbg=12 gui=undercurl guisp=Red + highlight SpellCap term=reverse ctermbg=9 gui=undercurl guisp=Blue + highlight SpellRare term=reverse ctermbg=13 gui=undercurl guisp=Magenta + highlight SpellLocale term=underline ctermbg=11 gui=undercurl guisp=DarkCyan +endif + +" Completion {{{1 +highlight Pmenu ctermbg=13 guifg=Black guibg=#BDDFFF +highlight PmenuSel ctermbg=7 guifg=Black guibg=Orange +highlight PmenuSbar ctermbg=7 guifg=#CCCCCC guibg=#CCCCCC +highlight PmenuThumb cterm=reverse gui=reverse guifg=Black guibg=#AAAAAA + +" Misc {{{1 +highlight KDE guifg=magenta gui=NONE +highlight mySpecialSymbols guifg=magenta gui=NONE + + +highlight MatchParen term=reverse ctermbg=11 gui=bold guibg=#B5EEB5 guifg=black + + +" vim600:foldmethod=marker diff --git a/.vim/colors/colorful256.vim b/.vim/colors/colorful256.vim new file mode 100644 index 0000000..86fa476 --- /dev/null +++ b/.vim/colors/colorful256.vim @@ -0,0 +1,88 @@ +" Vim color file: colorful256.vim +" Last Change: 03 Oct, 2007 +" License: public domain +" Maintainer:: Jagpreet +" +" for a 256 color capable terminal +" "{{{ +" You must set t_Co=256 before calling this colorscheme +" +" Color numbers (0-255) see: +" http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html +" +" Added gui colors +" + +if &t_Co != 256 && ! has("gui_running") + echomsg "" + echomsg "colors not loaded first please set t_Co=256 in your .vimrc" + echomsg "" + finish +endif + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "colorful256" + + highlight Normal cterm=none ctermfg=249 ctermbg=16 gui=none guifg=#b2b2b2 guibg=#000000 + highlight Special cterm=none ctermfg=105 ctermbg=16 gui=none guifg=#8787ff guibg=#000000 + highlight Comment cterm=none ctermfg=3 ctermbg=16 gui=none guifg=#808000 guibg=#000000 + highlight Constant cterm=none ctermfg=9 ctermbg=16 gui=none guifg=#ff0000 guibg=#000000 + highlight LineNr cterm=none ctermfg=48 ctermbg=16 gui=none guifg=#00ff87 guibg=#000000 + highlight Number cterm=none ctermfg=209 ctermbg=16 gui=none guifg=#ff875f guibg=#000000 + highlight PreProc cterm=none ctermfg=10 ctermbg=16 gui=none guifg=#ff00ff guibg=#000000 + highlight Statement cterm=none ctermfg=51 ctermbg=16 gui=none guifg=#00ffff guibg=#000000 + highlight Type cterm=none ctermfg=39 ctermbg=16 gui=none guifg=#00afff guibg=#000000 + highlight Error cterm=none ctermfg=9 ctermbg=16 gui=none guifg=#ff0000 guibg=#000000 + highlight Identifier cterm=none ctermfg=207 ctermbg=16 gui=none guifg=#ff5fff guibg=#000000 + highlight SpecialKey cterm=none ctermfg=36 ctermbg=16 gui=none guifg=#00af87 guibg=#000000 + highlight NonText cterm=none ctermfg=164 ctermbg=16 gui=none guifg=#df00df guibg=#000000 + highlight Directory cterm=none ctermfg=34 ctermbg=16 gui=none guifg=#00af00 guibg=#000000 + highlight ErrorMsg cterm=none ctermfg=9 ctermbg=16 gui=none guifg=#ff0000 guibg=#000000 + highlight MoreMsg cterm=none ctermfg=34 ctermbg=16 gui=none guifg=#00af00 guibg=#000000 + highlight Title cterm=none ctermfg=199 ctermbg=16 gui=none guifg=#ff00af guibg=#000000 + highlight WarningMsg cterm=none ctermfg=9 ctermbg=16 gui=none guifg=#ff0000 guibg=#000000 + highlight DiffDelete cterm=none ctermfg=207 ctermbg=16 gui=none guifg=#ff5fff guibg=#000000 + highlight Search cterm=none ctermfg=15 ctermbg=160 gui=none guifg=#ffffff guibg=#df0000 + highlight Visual cterm=none ctermfg=16 ctermbg=50 gui=none guifg=#000000 guibg=#00ffdf + highlight Cursor cterm=none ctermfg=16 ctermbg=33 gui=none guifg=#000000 guibg=#0087ff + highlight StatusLine cterm=reverse ctermfg=58 ctermbg=15 gui=reverse guifg=#5f5f00 guibg=#ffffff + highlight Question cterm=none ctermfg=16 ctermbg=226 gui=none guifg=#000000 guibg=#ffff00 + highlight Todo cterm=none ctermfg=160 ctermbg=184 gui=none guifg=#df0000 guibg=#dfdf00 + highlight Folded cterm=none ctermfg=15 ctermbg=58 gui=none guifg=#ffffff guibg=#5f5f00 + highlight ModeMsg cterm=none ctermfg=16 ctermbg=46 gui=none guifg=#000000 guibg=#00ff00 + highlight VisualNOS cterm=none ctermfg=16 ctermbg=28 gui=none guifg=#000000 guibg=#008700 + highlight WildMenu cterm=none ctermfg=16 ctermbg=226 gui=none guifg=#000000 guibg=#ffff00 + highlight FoldColumn cterm=none ctermfg=15 ctermbg=58 gui=none guifg=#ffffff guibg=#5f5f00 + highlight SignColumn cterm=none ctermfg=16 ctermbg=28 gui=none guifg=#000000 guibg=#008700 + highlight DiffText cterm=none ctermfg=16 ctermbg=34 gui=none guifg=#000000 guibg=#00af00 + highlight StatusLineNC cterm=reverse ctermfg=131 ctermbg=15 gui=reverse guifg=#af5f5f guibg=#ffffff + highlight VertSplit cterm=reverse ctermfg=172 ctermbg=15 gui=reverse guifg=#df8700 guibg=#ffffff + highlight User1 cterm=none ctermbg=20 ctermfg=15 gui=none guibg=#0000df guifg=#ffffff + highlight User2 cterm=none ctermbg=20 ctermfg=46 gui=none guibg=#0000df guifg=#00ff00 + highlight User3 cterm=none ctermbg=20 ctermfg=46 gui=none guibg=#0000df guifg=#00ff00 + highlight User4 cterm=none ctermbg=20 ctermfg=50 gui=none guibg=#0000df guifg=#00ffdf + highlight User5 cterm=none ctermbg=20 ctermfg=46 gui=none guibg=#0000df guifg=#00ff00 + +" for groups introduced in version 7 +if v:version >= 700 + highlight Pmenu cterm=none ctermfg=16 ctermbg=165 gui=none guifg=#000000 guibg=#df00ff + highlight PmenuSel cterm=none ctermfg=16 ctermbg=220 gui=none guifg=#000000 guibg=#ffdf00 + highlight tablinesel cterm=none ctermfg=15 ctermbg=58 gui=none guifg=#ffffff guibg=#5f5f00 + highlight tabline cterm=none ctermfg=7 ctermbg=58 gui=none guifg=#c0c0c0 guibg=#5f5f00 + highlight tablinefill cterm=none ctermfg=58 ctermbg=58 gui=none guifg=#5f5f00 guibg=#5f5f00 +endif + +"for taglist plugin +" +if exists('loaded_taglist') + highlight TagListTagName cterm=none ctermfg=16 ctermbg=28 gui=none guifg=#000000 guibg=#008700 + highlight TagListTagScope cterm=none ctermfg=16 ctermbg=28 gui=none guifg=#000000 guibg=#008700 + highlight TagListTitle cterm=none ctermfg=199 ctermbg=16 gui=none guifg=#ff00af guibg=#000000 + highlight TagListComment cterm=none ctermfg=16 ctermbg=28 gui=none guifg=#000000 guibg=#008700 + highlight TagListFileName cterm=none ctermfg=15 ctermbg=90 gui=none guifg=#ffffff guibg=#870087 +endif diff --git a/.vim/colors/colorscheme_template.vim b/.vim/colors/colorscheme_template.vim new file mode 100644 index 0000000..660a199 --- /dev/null +++ b/.vim/colors/colorscheme_template.vim @@ -0,0 +1,88 @@ +" Vim color file +" Maintainer: Your name +" Last Change: +" URL: + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +" your pick: +set background=dark " or light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="mycolorscheme" + +"hi Normal + +" OR + +" highlight clear Normal +" set background& +" highlight clear +" if &background == "light" +" highlight Error ... +" ... +" else +" highlight Error ... +" ... +" endif + +" A good way to see what your colorscheme does is to follow this procedure: +" :w +" :so % +" +" Then to see what the current setting is use the highlight command. +" For example, +" :hi Cursor +" gives +" Cursor xxx guifg=bg guibg=fg + +" Uncomment and complete the commands you want to change from the default. + +"hi Cursor +"hi CursorIM +"hi Directory +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +"hi ErrorMsg +"hi VertSplit +"hi Folded +"hi FoldColumn +"hi IncSearch +"hi LineNr +"hi ModeMsg +"hi MoreMsg +"hi NonText +"hi Question +"hi Search +"hi SpecialKey +"hi StatusLine +"hi StatusLineNC +"hi Title +"hi Visual +"hi VisualNOS +"hi WarningMsg +"hi WildMenu +"hi Menu +"hi Scrollbar +"hi Tooltip + +" syntax highlighting groups +"hi Comment +"hi Constant +"hi Identifier +"hi Statement +"hi PreProc +"hi Type +"hi Special +"hi Underlined +"hi Ignore +"hi Error +"hi Todo + diff --git a/.vim/colors/colorzone.vim b/.vim/colors/colorzone.vim new file mode 100644 index 0000000..0b26f8f --- /dev/null +++ b/.vim/colors/colorzone.vim @@ -0,0 +1,168 @@ +"Vim color file +"Maintainer: Ricky Wu +"Note: If your terminal can use RGB colors, use this escape sequence colors: +" ff888a85,ffef2929,ff8ae234,ffe9b96e,ff00bfff,ffda70d6,ff87ceeb,ffeeeeec +" grey red green yellow blue magenta cyan white +" The Terminal colors and GUI colors are diffrent. + +"First remove all existing highlighting. +set background=light +if version > 580 + "no guarantees for version 5.8 and below + hi clear + if exists("syntax_on") + syntax reset + endif +endif +let colors_name = "colorzone" + +"High Light For Normal +hi Normal ctermfg=black ctermfg=yellow guifg=#2e3436 guibg=#eeeeec +hi NonText ctermfg=black guifg=#eeeeec guibg=#eeeeec + +"Cursor +hi Cursor cterm=reverse ctermbg=red ctermfg=white guibg=#ef2929 guifg=white +hi CursorIM cterm=reverse ctermbg=red ctermfg=white guibg=#ef2929 guifg=white +hi CursorLine ctermbg=none ctermfg=magenta guibg=#eeeeec guifg=#e06800 +hi CursorColumn ctermbg=none ctermfg=none guibg=#555753 + +"Symbol +hi Directory ctermfg=blue guifg=#3465a4 +hi MatchParen ctermfg=yellow guibg=#fcaf3e guifg=black + +"Messages +hi ModeMsg ctermfg=red guifg=red +hi MoreMsg ctermfg=green guifg=#4e9a06 +hi WarningMsg ctermfg=yellow guifg=#cc0000 +hi ErrorMsg ctermbg=red ctermfg=white guibg=#cc0000 guifg=#eeeeec + +"Menu +"hi Pmenu ctermbg=yellow ctermfg=blue guibg=#87ceeb guifg=black +hi Pmenu cterm=none ctermbg=green ctermfg=white guibg=#6b8e23 guifg=white +hi PmenuSel cterm=none ctermbg=blue ctermfg=yellow guibg=#fcaf3e guifg=black +hi PmenuSbar ctermbg=none ctermfg=grey guibg=#2e3436 guifg=white +hi PmenuThumb ctermfg=cyan guibg=#2e3436 guifg=white +hi WildMenu ctermbg=cyan guibg=#edd400 guifg=#888a85 + +"Search +"hi Search ctermbg=LightRed ctermfg=white guibg=#ff4500 guifg=white +hi Search ctermfg=yellow ctermbg=LightRed guibg=#fcaf3e guifg=black +hi IncSearch cterm=reverse gui=reverse + +hi Question ctermfg=green guifg=#4e9a06 +hi Title ctermfg=green guifg=#4e9a06 + +"Fold +hi Folded ctermfg=blue guibg=#d3d7cf guifg=#204a87 +hi FoldColumn ctermfg=grey guibg=#888a85 guifg=#204a87 + +"Vim Diff +hi DiffAdd ctermfg=green guifg=white guibg=#6b8e23 +hi DiffChange ctermfg=yellow guifg=white guibg=#f57900 +hi DiffDelete ctermfg=red guifg=white guibg=#cc0000 +hi DiffText ctermfg=blue guifg=white guibg=#3465a4 gui=none + +"Spell cheking +hi SpellBad ctermfg=red guifg=red +hi SpellCap ctermfg=green guifg=green +hi SpellLocal ctermfg=brown guifg=brown +hi SpellRare ctermfg=yellow guifg=yellow + +"Debugging +hi Debug ctermfg=red guifg=red + +"Colors for comments +hi Comment ctermfg=darkgrey guifg=#888a87 +hi SpecialComment ctermfg=grey guifg=#2e3436 +hi SpecialKey ctermfg=cyan guifg=#3465a4 + +"Syntax elements +hi Builtin ctermfg=lightblue guifg=#e06800 +hi vimFuncName ctermfg=Lightblue guifg=#e06800 +hi Condition ctermfg=cyan guifg=#4e9a06 +hi Delimiter ctermfg=yellow guifg=#4e9a06 +hi Function ctermfg=blue guifg=blue +hi Identifier ctermfg=yellow gui=none guifg=#000000 +hi Keyword ctermfg=yellow guifg=#4e9a06 +hi Label ctermfg=yellow guifg=#8a2be2 +hi NameSpace ctermfg=green guifg=green +hi Operator ctermfg=white guifg=#4169e1 +hi Repeat ctermfg=cyan guifg=#4e9a06 +hi Statement ctermfg=Lightgreen gui=none guifg=#4e9a06 + +"The name of functions methods and classes +hi Type ctermfg=green gui=none guifg=#4e9a06 +hi Boolean ctermfg=red guifg=red +hi Character ctermfg=magenta guifg=magenta +hi Constant ctermfg=red guifg=#ce5c00 +hi Float ctermfg=red guifg=red +hi Number ctermfg=magenta guifg=#ff00ff +hi String ctermfg=cyan guifg=#8a2be2 + +"The special characters +hi Special ctermfg=magenta guifg=#ce5c00 guibg=#eeeeec +hi SpecialChar ctermfg=red guifg=red +hi Underlined ctermfg=blue guifg=#204a87 + +"The preprocessors +hi PageMark ctermfg=LightCyan guifg=#4169e1 +"Like '#define' in C/C++ language +hi Define ctermfg=blue guifg=blue +hi Macro ctermfg=magenta guifg=#4169e1 +"The included sources +hi Include ctermfg=magenta guifg=#4169e1 + +"Text marking +hi Ignore ctermfg=grey guifg=#555753 +hi Todo ctermfg=yellow guibg=#fce94f guifg=#204a87 +hi Exception ctermfg=magenta guifg=magenta +hi Error ctermfg=red guibg=#8a2be2 guifg=white + +"Embed statement +hi SQL_Statement ctermfg=LightMagenta guifg=#9400d3 +hi CICS_Statement ctermfg=LightMagenta guifg=#4e9a06 + +hi TabLine ctermbg=none ctermfg=darkgrey guifg=red +hi TabLineSel ctermbg=none ctermfg=red guifg=red +hi TabLineFill cterm=none guifg=#2e3436 guibg=blue + +"Tags which can use on +hi Tag ctermfg=magenta guifg=magenta + +"Windows elements +hi VertSplit ctermbg=white gui=reverse guibg=#2e3436 guifg=#eeeeec +hi Visual cterm=none ctermbg=green ctermfg=white gui=none guibg=#6b8e23 guifg=white +hi VisualNOS cterm=underline gui=underline +hi LineNr ctermfg=darkgrey guifg=#2e3436 +hi SignColumn cterm=none ctermbg=none ctermfg=red gui=none guifg=black guibg=#eeeeec + +"StatusLine +hi StatusLine cterm=none ctermbg=none ctermfg=cyan guibg=#fff8dc guifg=black gui=none +hi StatusLineNC cterm=none ctermbg=none ctermfg=darkgrey guibg=#fff8dc guifg=#555753 gui=none +hi StatuslineBufNr cterm=none ctermfg=black ctermbg=cyan gui=none guibg=#840c0c guifg=#ffffff +hi StatuslineFlag cterm=none ctermfg=black ctermbg=cyan gui=none guibg=#f57900 guifg=black +"hi StatuslinePath cterm=none ctermfg=white ctermbg=green gui=none guibg=#fff8dc guifg=black +"hi StatuslineFileName cterm=none ctermfg=white ctermbg=blue gui=none guibg=#ffc0cb guifg=black +"hi StatuslineFileType cterm=none ctermbg=white ctermfg=black gui=none guibg=#87ceeb guifg=black +"hi StatuslineFileEnc cterm=none ctermfg=white ctermbg=yellow gui=none guibg=#fff8dc guifg=black +"hi StatuslineChar cterm=none ctermbg=white ctermfg=yellow gui=none guibg=#fff8dc guifg=black +hi StatuslinePosition cterm=none ctermfg=white ctermbg=magenta gui=none guibg=#8a2be2 guifg=white +"hi StatuslinePercent cterm=reverse ctermfg=white ctermbg=red gui=none guibg=#ffc0cb guifg=black +hi StatuslineCapsBuddy cterm=none ctermfg=white ctermbg=green gui=none guibg=#8ae234 guifg=black +"hi StatuslineTime cterm=none ctermfg=black ctermbg=cyan gui=none guibg=#fff8dc guifg=black +"hi StatuslineSyn cterm=none ctermbg=white ctermfg=yellow gui=none guibg=#60af9f guifg=black +"hi StatuslineRealSyn cterm=none ctermbg=white ctermfg=yellow gui=none guibg=#5881b7 guifg=black +"hi StatuslineTermEnc cterm=none ctermbg=white ctermfg=yellow gui=none guibg=#77cf77 guifg=black + +"---------- +"This color scheme uses a light grey background. +"Based on "tango-morning" and "wargreycolorscheme" color scheme +"Tango color palette: http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines#Color_Palette +"Version:0.1: Initial vesion +"Version:0.2: Merge with tango-morning +"Version:0.3: Optimized for PLI and vim syntax +"Version:0.4: 2010 March 11, Changes for some fields' color and highlighting for c/c++ +"Version:0.5: 2010 June 02, Little changes for some fields' color and statusline +"Version:1.0: 2010 June: Optimize cterm colors and changes for gui +" This version support both term and gui very well +"vim: sw=2 diff --git a/.vim/colors/contrasty.vim b/.vim/colors/contrasty.vim new file mode 100644 index 0000000..d5e6b7d --- /dev/null +++ b/.vim/colors/contrasty.vim @@ -0,0 +1,232 @@ +" Contrasty colour scheme +" Author: Ben Schmidt +" Version: 3 + +" Set general colour options. +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = expand(':t:r') + +" COLOR KEYWORDS + +" Black DarkBlue DarkGreen DarkCyan DarkRed DarkMagenta Brown Grey +" DarkGrey Blue Green Cyan Red Magenta Yellow White + +" GENERAL HIGHLIGHTS + +" Normal normal text (should be set first) +hi Normal term=none +hi Normal cterm=none ctermfg=White ctermbg=Black +hi Normal gui=none guifg=White guibg=Black +" Cursor the character under the cursor +hi Cursor term=inverse +hi Cursor cterm=none ctermfg=bg ctermbg=fg +hi Cursor gui=none guifg=bg guibg=fg +" CursorIM like Cursor, but used when in IME mode |CursorIM| +hi CursorIM term=inverse +hi CursorIM cterm=none ctermfg=bg ctermbg=fg +hi CursorIM gui=none guifg=bg guibg=fg +" Directory directory names (and other special names in listings) +hi Directory term=bold +hi Directory cterm=none ctermfg=Yellow ctermbg=bg +hi Directory gui=none guifg=#ffff00 guibg=bg +" DiffAdd diff mode: Added line |diff.txt| +hi DiffAdd term=none +hi DiffAdd cterm=none ctermfg=Brown ctermbg=bg +hi DiffAdd gui=none guifg=#ccaa44 guibg=bg +" DiffChange diff mode: Changed line |diff.txt| +hi DiffChange term=bold +hi DiffChange cterm=none ctermfg=Yellow ctermbg=bg +hi DiffChange gui=none guifg=#ffff00 guibg=bg +" DiffDelete diff mode: Deleted line |diff.txt| +hi DiffDelete term=none +hi DiffDelete cterm=none ctermfg=DarkGrey ctermbg=bg +hi DiffDelete gui=none guifg=#777777 guibg=bg +" DiffText diff mode: Changed text within a changed line |diff.txt| +hi DiffText term=bold,underline +hi DiffText cterm=none ctermfg=Red ctermbg=bg +hi DiffText gui=none guifg=#ff8800 guibg=bg +" ErrorMsg error messages on the command line +hi ErrorMsg term=inverse +hi ErrorMsg cterm=none ctermfg=White ctermbg=DarkRed +hi ErrorMsg gui=none guifg=White guibg=#770000 +" VertSplit the column separating vertically split windows +hi! link VertSplit StatusLine +" Folded line used for closed folds +hi Folded term=bold +hi Folded cterm=bold ctermfg=fg ctermbg=bg +hi Folded gui=bold guifg=fg guibg=bg +" FoldColumn 'foldcolumn' +hi! link FoldColumn StatusLine +" IncSearch 'incsearch' highlighting; also used for the text replaced with +" ":s///c" +hi! link IncSearch Search +" LineNr line number for ":number" and ":#" commands, and when 'number' +" option is set. +hi! link LineNr StatusLine +" ModeMsg 'showmode' message (e.g., "-- INSERT --") +hi! link ModeMsg StatusLine +" MoreMsg |more-prompt| +hi! link MoreMsg StatusLine +" NonText '~' and '@' at the end of the window, characters from +" 'showbreak' and other characters that do not really exist in +" the text (e.g., ">" displayed when a double-wide character +" doesn't fit at the end of the line). +hi NonText term=none +hi NonText cterm=none ctermfg=DarkGrey ctermbg=bg +hi NonText gui=none guifg=#777777 guibg=bg +" Question |hit-enter| prompt and yes/no questions +hi! link Question StatusLine +" Search Last search pattern highlighting (see 'hlsearch'). +" Also used for highlighting the current line in the quickfix +" window and similar items that need to stand out. +hi Search term=inverse +hi Search cterm=none ctermfg=bg ctermbg=fg +hi Search gui=none guifg=bg guibg=fg +" SpecialKey Meta and special keys listed with ":map", also for text used +" to show unprintable characters in the text, 'listchars'. +" Generally: text that is displayed differently from what it +" really is. +hi SpecialKey term=bold +hi SpecialKey cterm=none ctermfg=DarkCyan ctermbg=bg +hi SpecialKey gui=none guifg=#007777 guibg=bg +" StatusLine status line of current window +hi StatusLine term=bold,inverse +hi StatusLine cterm=none ctermfg=Black ctermbg=White +hi StatusLine gui=none guifg=Black guibg=White +" StatusLineNC status lines of not-current windows +" Note: if this is equal to "StatusLine" Vim will use "^^^" in +" the status line of the current window. +hi StatusLineNC term=inverse +hi StatusLineNC cterm=none ctermfg=DarkGrey ctermbg=White +hi StatusLineNC gui=none guifg=#777777 guibg=White +" TabLine tab pages line, not active tab page label +hi TabLine term=none +hi TabLine cterm=none ctermfg=yellow ctermbg=DarkGrey +hi TabLine gui=none guifg=yellow guibg=#777777 +" TabLineFill tab pages line, where there are no labels +hi TabLineFill term=none +hi TabLineFill ctermfg=DarkGrey +hi TabLineFill guifg=#777777 +" TabLineSel tab pages line, active tab page label +hi TabLineSel term=inverse +hi TabLineSel cterm=none ctermfg=yellow ctermbg=Black +hi TabLineSel gui=none guifg=yellow guibg=Black +" Title titles for output from ":set all", ":autocmd" etc. +hi Title term=bold,underline +hi Title cterm=none ctermfg=Yellow ctermbg=bg +hi Title gui=none guifg=#ffff00 guibg=bg +" Visual Visual mode selection +hi Visual term=inverse +hi Visual cterm=none ctermfg=bg ctermbg=fg +hi Visual gui=none guifg=bg guibg=fg +" VisualNOS Visual mode selection when vim is "Not Owning the Selection". +" Only X11 Gui's |gui-x11| and |xterm-clipboard| supports this. +hi! link VisualNOS Visual +" WarningMsg warning messages +hi! link WarningMsg StatusLine +" WildMenu current match in 'wildmenu' completion +hi WildMenu term=bold,inverse +hi WildMenu cterm=none ctermfg=bg ctermbg=Yellow +hi WildMenu gui=none guifg=bg guibg=#ffff00 + +" DEFAULT SYNTAX HIGHLIGHTS + +" *Comment any comment +hi Comment term=bold +hi Comment cterm=none ctermfg=Cyan ctermbg=bg +hi Comment gui=none guifg=#00ccff guibg=bg +" *Constant any constant +" String a string constant: "this is a string" +" Character a character constant: 'c', '\n' +" Number a number constant: 234, 0xff +" Boolean a boolean constant: TRUE, false +" Float a floating point constant: 2.3e10 +hi Constant term=none +hi Constant cterm=none ctermfg=Brown ctermbg=bg +hi Constant gui=none guifg=#ccaa44 guibg=bg +hi! link Literal Normal +hi! link String Literal +hi! link Character Literal +hi! link Number Literal +hi! link Boolean Constant +hi! link Float Literal +" *Identifier any variable name +" Function function name (also: methods for classes) +hi Identifier term=none +hi Identifier cterm=none ctermfg=Magenta ctermbg=bg +hi Identifier gui=none guifg=#ff00ff guibg=bg +hi! link Function Statement +" *Statement any statement +" Conditional if, then, else, endif, switch, etc. +" Repeat for, do, while, etc. +" Label case, default, etc. +" Operator "sizeof", "+", "*", etc. +" Keyword any other keyword +" Exception try, catch, throw +hi Statement term=underline +hi Statement cterm=none ctermfg=Yellow ctermbg=bg +hi Statement gui=none guifg=#ffff00 guibg=bg +hi! link Conditional Statement +hi! link Repeat Statement +hi! link Label Statement +hi! link Operator Normal +hi! link Keyword Statement +hi! link Exception Statement +" *PreProc generic Preprocessor +" Include preprocessor #include +" Define preprocessor #define +" Macro same as Define +" PreCondit preprocessor #if, #else, #endif, etc. +hi PreProc term=none +hi PreProc cterm=none ctermfg=Magenta ctermbg=bg +hi PreProc gui=none guifg=#ff00ff guibg=bg +hi! link Include PreProc +hi! link Define PreProc +hi! link Macro PreProc +hi! link PreCondit PreProc +" *Type int, long, char, etc. +" StorageClass static, register, volatile, etc. +" Structure struct, union, enum, etc. +" Typedef A typedef +hi Type term=none +hi Type cterm=none ctermfg=Brown ctermbg=bg +hi Type gui=none guifg=#ccaa44 guibg=bg +hi! link StorageClass Type +hi! link Structure Type +hi! link Typedef Type +" *Special any special symbol +" SpecialChar special character in a constant +" Tag you can use CTRL-] on this +" Delimiter character that needs attention +" SpecialComment special things inside a comment +" Debug debugging statements +hi Special term=bold +hi Special cterm=none ctermfg=DarkCyan ctermbg=bg +hi Special gui=none guifg=#007777 guibg=bg +hi! link SpecialChar Special +hi! link Tag Special +hi! link Delimiter Normal +hi! link SpecialComment Special +hi! link Debug Special +" *Underlined text that stands out, HTML links +hi Underlined term=underline +hi Underlined cterm=underline ctermfg=fg ctermbg=bg +hi Underlined gui=underline guifg=fg guibg=bg +" *Ignore left blank, hidden +" hi Ignore term=? +hi Ignore cterm=none ctermfg=bg ctermbg=bg +hi Ignore gui=none guifg=bg guibg=bg +" *Error any erroneous construct +hi Error term=inverse +hi Error cterm=none ctermfg=White ctermbg=DarkRed +hi Error gui=none guifg=White guibg=#770000 +" *Todo anything that needs extra attention; mostly the +" keywords TODO FIXME and XXX +hi Todo term=inverse +hi Todo cterm=none ctermfg=Red ctermbg=Black +hi Todo gui=none guifg=#ff0000 guibg=Black + diff --git a/.vim/colors/cool.vim b/.vim/colors/cool.vim new file mode 100644 index 0000000..a7593d9 --- /dev/null +++ b/.vim/colors/cool.vim @@ -0,0 +1,82 @@ +" Vim color file +" Maintainer: Gergely Kontra +" Last Change: 2002. 07. 03. +" Based on scite colors. +" I've changed my mind, and inverted the colors. +" After an hour, this is the result. +" Not resembles to scite's colors :-] +" I'm a bit red-blind, so if you have suggestions, don't hesitate :) +" ^^^^^^^^^ Sorry, I cannot speak English well, just want to say, +" that in some rare cases I cannot distinguish between some colors +" (I've just realized it, when I see some special tests) + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +"colorscheme default +let g:colors_name = "cool" + + +" GUI +"highlight Normal guifg=#77BBFF guibg=#304060 +highlight Normal guifg=#77BBFF guibg=#102040 +highlight Normal ctermfg=LightBlue ctermbg=Black + +highlight Comment guifg=#EEEEEE guibg=#393939 +highlight Comment ctermfg=white ctermbg=DarkGrey + +highlight Constant gui=underline +highlight Constant ctermfg=LightBlue cterm=bold,underline + +highlight Cursor guifg=#999999 guibg=#FFFFFF + +highlight Define guifg=#FFFF80 guibg=#000099 gui=bold +highlight Define ctermfg=Yellow ctermbg=DarkBlue cterm=bold + +highlight Delimiter guifg=#FFFFFF guibg=#221F22 gui=bold + +highlight FoldColumn guifg=#FFFFFF guibg=#222222 +highlight FoldColumn ctermfg=White ctermbg=DarkGrey cterm=reverse + +highlight Folded guifg=#000000 guibg=#999999 +highlight Folded ctermfg=DarkGrey ctermbg=Black cterm=reverse + +highlight Function guifg=#dddddd guibg=#000099 gui=bold +highlight Function ctermfg=White ctermbg=DarkBlue cterm=bold + +highlight IncSearch guifg=#000000 guibg=#ffffff gui=bold,underline + +highlight LineNr guifg=#FFFFFF guibg=#444444 + +highlight Number guifg=#dddddd gui=bold +highlight Number ctermfg=LightCyan + +highlight PreProc guibg=#000000 guifg=#77bbff gui=bold + +highlight Search guifg=#ffffff guibg=#335577 +highlight Search ctermfg=White ctermbg=Cyan cterm=reverse + +highlight Special guifg=#ccaa55 guibg=#102040 gui=none +highlight Special ctermfg=Brown ctermbg=Black cterm=bold + +highlight Statement guifg=#FF8080 gui=bold +highlight Statement ctermfg=Magenta cterm=bold + +highlight StatusLine guifg=#FFFFFF guibg=#553333 +highlight StatusLine ctermfg=white ctermbg=DarkRed + +highlight StatusLineNC guifg=#AA8888 guibg=#000000 +highlight StatusLineNC ctermfg=red ctermbg=black + +highlight String guifg=#99ffaa guibg=#000000 +highlight String ctermfg=White + +highlight Subtitle guifg=#FFFFFF guibg=#994444 gui=bold,underline + +highlight Type guifg=#FFFFFF gui=NONE +highlight Type guifg=white gui=NONE + +highlight Visual guibg=#112233 guifg=#6688AA +highlight Visual ctermbg=DarkBlue ctermfg=LightBlue diff --git a/.vim/colors/corn.vim b/.vim/colors/corn.vim new file mode 100644 index 0000000..45d612c --- /dev/null +++ b/.vim/colors/corn.vim @@ -0,0 +1,72 @@ +" Vim colorscheme +" Author: Charles +" Version: 0.01 +" Date: 07 December 2005 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +" multiple scheme method +" - one for C like language +" - one for markup language +" - one for style language (properties) -> property more outstanding than +" object + +let colors_name = "Corn" +" set mouseshape+=i:arrow + +" Window elements +hi Cursor guifg=#000000 guibg=#F0F0F0 +hi Folded guifg=#C0C0C0 guibg=#808080 +hi LineNr guifg=#CCCCCC +hi NonText guifg=#CCCCCC +hi Normal guifg=#E0E0E0 guibg=#333333 +hi StatusLine guifg=#B8860B guibg=#E5E5E5 +hi StatusLineNC guifg=#C0C0C0 guibg=#000000 +hi Visual guifg=#C0C0C0 guibg=#000000 + +" Main groups +hi Comment guifg=#BBCCEE +hi Constant guifg=#EEDDAA gui=none +hi Statement guifg=#CCEE00 gui=italic +hi StatementU guifg=#CCEE00 gui=underline +hi Keyword guifg=#CCEE00 +hi Underlined guifg=#E0E0E0 gui=underline +hi Error guifg=#FFFFFF guibg=#FF0000 + +" Tag syntax +hi Attribute guifg=#CCCCCC gui=italic + +hi! link String Constant +hi! link Character Constant +hi! link Number Constant +hi! link Boolean Constant +hi! link Float Constant + +hi! link Identifier Normal +hi! link Function Statement + +hi! link Operator Keyword +hi! link Preproc Keyword +hi! link Type Keyword + +hi! link Special Keyword +hi! link Ignore Normal +hi! link Todo Error + +hi! link Title Normal + + +hi! link phpDefine StatementU + +hi! link HtmlArg Attribute +hi! link HtmlSpecialChar Statement + +hi! link xmlTagName Keyword +hi! link xmlEndTag Keyword +hi! link xmlEntity Statement +hi! link xmlCData Comment +hi! link xmlAttrib Attribute diff --git a/.vim/colors/corporation.vim b/.vim/colors/corporation.vim new file mode 100644 index 0000000..14cde77 --- /dev/null +++ b/.vim/colors/corporation.vim @@ -0,0 +1,99 @@ +" description: color scheme based on +" julievonderropp's corporation (available on kuler.adobe.com) +" author: kamil.stachowski@gmail.com +" license: gpl 3+ +" version: 0.1 (2008.11.08) + +" changelog: +" 0.1: 2008.11.08 +" initial version + + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "corporation" + + +"black 192224 +"blue 536991 +"grey dark 5E6C70 +"grey light A1A6A8 +"white F9F9FF +"yellow BD9800 + +hi Comment gui=italic guifg=#5E6C70 +hi Constant guifg=#A1A6A8 +hi Cursor guifg=#192224 guibg=#F9F9F9 +hi CursorColumn guibg=#222E30 +hi CursorIM guifg=#192224 guibg=#536991 +hi DiffAdd guibg=#193224 +hi DiffChange guibg=#492224 +hi DiffDelete guibg=#192224 +hi DiffText guibg=#492224 +hi Error guifg=#A1A6A8 guibg=#912C00 +hi FoldColumn gui=italic guifg=#192224 guibg=#A1A6A8 +hi Identifier guifg=#BD9800 +hi ModeMsg gui=bold guifg=#F9F9F9 guibg=#192224 +hi Normal guifg=#F9F9FF guibg=#192224 +hi PreProc guifg=#BD9800 +hi Search guifg=#192224 guibg=#BD9800 +hi SignColumn guifg=#192224 guibg=#536991 +hi Statement gui=bold guifg=#BD9800 +hi StatusLine gui=bold guifg=#192224 guibg=#BD9800 +hi StatusLineNC gui=bold guifg=#192224 guibg=#5E6C70 +hi Title gui=bold guifg=#F9F9FF guibg=#192224 +hi Todo guifg=#F9F9FF guibg=#BD9800 +hi Type gui=bold guifg=#536991 +hi Underlined gui=underline guifg=#F9F9FF guibg=#192224 +hi Visual guifg=#192224 guibg=#F9F9FF +hi VisualNOS gui=underline guifg=#192224 guibg=#F9F9FF +hi WildMenu guibg=#A1A6A8 + +hi! link Boolean Constant +hi! link Character Constant +hi! link Conditional Statement +hi! link CursorLine CursorColumn +hi! link Debug Special +hi! link Define PreProc +hi! link Delimiter Special +hi! link Directory Type +hi! link ErrorMsg Error +hi! link Exception Statement +hi! link Float Constant +hi! link Folded FoldColumn +hi! link Function Type +hi! link IncSearch Search +hi! link Include PreProc +hi! link Keyword Statement +hi! link Label Statement +hi! link LineNr Identifier +hi! link Macro PreProc +hi! link MatchParen Statement +hi! link MoreMsg Statement +hi! link NonText Comment +hi! link Number Constant +hi! link Operator Statement +hi! link PreCondit PreProc +hi! link Repeat Statement +hi! link Special PreProc +hi! link SpecialChar Special +hi! link SpecialComment Special +hi! link SpecialKey Comment +hi! link SpellBad Underlined +hi! link SpellCap Underlined +hi! link SpellLocal Underlined +hi! link SpellRare Underlined +hi! link StorageClass Type +hi! link String Constant +hi! link Structure Type +hi! link TabLine StatusLineNC +hi! link TabLineFill StatusLineNC +hi! link TabLineSel StatusLine +hi! link Tag Special +hi! link Typedef Type +hi! link VertSplit StatusLineNC +hi! link WarningMsg Error diff --git a/.vim/colors/cthulhian.vim b/.vim/colors/cthulhian.vim new file mode 100644 index 0000000..0a4abd1 --- /dev/null +++ b/.vim/colors/cthulhian.vim @@ -0,0 +1,41 @@ +" -- Init ------------------------------------------------------------------------------------------ + +set background=dark +highlight clear +if exists("syntax_on") + syntax reset +endif + +runtime colors/oceandeep.vim + +let g:colors_name = "cthulhian" + +" -- Clear some stuff ------------------------------------------------------------------------------ + +highlight clear Folded +highlight clear FoldColumn +highlight clear LineNr +highlight clear SpecialKey +highlight clear StatusLine +highlight clear StatusLineNC +highlight clear Comment +highlight clear Conditional +highlight clear Repeat +highlight clear Special +highlight clear Underlined +highlight clear Todo + +" -- Do some redefinitions ------------------------------------------------------------------------- + +highlight Folded guibg=#305060 guifg=#b0d0e0 +highlight FoldColumn guibg=#305060 guifg=#b0d0e0 +highlight LineNr gui=NONE guifg=#007777 guibg=NONE +highlight SpecialKey guibg=bg guifg=SeaGreen +highlight StatusLine gui=BOLD guifg=#c9c9c9 guibg=#4e4e6e +highlight StatusLineNC gui=NONE guifg=#b9b9b9 guibg=#3e3e5e +highlight Comment gui=None guifg=#708090 +highlight Conditional gui=Bold guifg=LightGreen guibg=bg +highlight Repeat gui=Bold guifg=SeaGreen2 guibg=bg +highlight Special gui=None guifg=#dd88ff +highlight Underlined gui=underline guifg=honeydew3 guibg=bg +highlight Todo gui=underline guifg=Cyan guibg=#507080 diff --git a/.vim/colors/custom.vim b/.vim/colors/custom.vim new file mode 100644 index 0000000..977bd70 --- /dev/null +++ b/.vim/colors/custom.vim @@ -0,0 +1,91 @@ +" Make external commands work through a pipe instead of a pseudo-tty +"set noguipty + +" set guioptions=agml " scrollbar on left + +" Only do this for Vim version 5.0 and later. +if version >= 500 + + " Switch on syntax highlighting. +" source $VIM/vim61/syntax/syntax.vim +" source $VIM/vim-5.0/syntax/syntax.vim + + hi clear + " Switch on search pattern highlighting. + set hlsearch + + " highlight Comment gui=italic + + highlight Comment guifg=green3 guibg=black +" highlight Comment guifg=SkyBlue1 gui=none + highlight Constant guifg=cyan gui=none guibg=black +" highlight Constant gui=col_lgreen_bl + highlight Identifier guifg=lawngreen + highlight Statement guifg=Yellow gui=none + highlight Type guifg=goldenrod gui=none + highlight Special guifg=gold gui=none guibg=black + highlight Search guifg=hotpink3 guibg=grey20 + highlight Question guifg=Blue guibg=black + highlight WinEnd guifg=fg guibg=black gui=none + highlight SpecialKey guifg=pink + highlight Directory guifg=MistyRose + highlight Title guifg=pink + highlight Todo guifg=pink + highlight MoreMsg guifg=pink + highlight WarningMsg guibg=black guifg=red term=reverse + highlight tclCurlyList guifg=white + highlight Operator term=NONE ctermfg=6 guifg=cyan gui=none +" highlight Function term=bold ctermbg=1 guifg=darkgreen gui=bold + highlight Function ctermbg=1 guifg=lightblue + highlight String guifg=lavender + "highlight tclFlag guifg=thistle3 + highlight tclFlag guifg=pink + highlight PreProc guifg=pink + + " Yellow + " OliveDrab1 + " NavajoWhite + " MistyRose + " LightGoldenRod1 + " LavenderBlush + " LemonChiffon + " LightGoldenRod + " PaleGoldenRod + " PaleGreen + " PaleTurquoise + " PeachPuff + " RosyBrown1 + " PowderBlue + " SandyBrown + " SeaGreen1 + " LightPink + " LightSalmon1 + " LightSkyBlue1 + " SlateGray1 + " SpringGreen + " aquamarine + " azure3 + " beige + " bisque + " burlywood + " burlywood1 + " coral + " cornsilk2 + " cyan + " gold + " gray85 + " ivory2 + " khaki + " khaki1 + " lavender + " moccasin + " pink + " plum1 + " thistle1 + " turquoise + + hi Normal ctermfg=DarkBlue ctermbg=grey guifg=lightgreen guibg=black + highlight Comment guifg=green3 ctermbg=Grey ctermfg=Magenta + +endif + diff --git a/.vim/colors/d8g_01.vim b/.vim/colors/d8g_01.vim new file mode 100644 index 0000000..d7e5411 --- /dev/null +++ b/.vim/colors/d8g_01.vim @@ -0,0 +1,32 @@ +" Vim color file +" d8g_01 - Martin Kopta (http://martin.kopta.eu) + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +"colorscheme default +let g:colors_name = "d8g_01" + +" Console +hi Normal ctermfg=white ctermbg=Black +hi Cursor ctermfg=Black ctermbg=LightGrey cterm=NONE +hi Search ctermfg=Black ctermbg=Cyan cterm=NONE +hi Visual cterm=reverse +hi Special ctermfg=darkgrey +hi Comment ctermfg=darkgrey +hi StatusLine ctermfg=white ctermbg=black +hi Identifier ctermfg=Cyan +hi Statement ctermfg=Cyan cterm=NONE +hi Constant ctermfg=Grey cterm=NONE +hi Type ctermfg=Cyan cterm=NONE +hi LineNr ctermfg=grey ctermbg=black +hi Line ctermfg=white term=underline +hi Preproc ctermfg=Cyan + +hi Pmenu ctermfg=black ctermbg=gray +hi PmenuSel ctermfg=black ctermbg=yellow +hi PmenuSbar ctermfg=white ctermbg=black +hi PmenuThumb ctermfg=white ctermbg=gray + diff --git a/.vim/colors/d8g_02.vim b/.vim/colors/d8g_02.vim new file mode 100644 index 0000000..57fef5f --- /dev/null +++ b/.vim/colors/d8g_02.vim @@ -0,0 +1,32 @@ +" Vim color file +" d8g_02 - Martin Kopta (http://martin.kopta.eu) + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +"colorscheme default +let g:colors_name = "d8g_02" + +" Console +hi Normal ctermfg=black ctermbg=white +hi Cursor ctermfg=white ctermbg=black cterm=NONE +hi Search ctermfg=Black ctermbg=magenta cterm=NONE +hi Visual ctermfg=white ctermbg=darkgrey cterm=NONE +hi Special ctermfg=darkgrey +hi Comment ctermfg=darkgrey +hi StatusLine ctermfg=black ctermbg=white +hi Identifier ctermfg=magenta +hi Statement ctermfg=magenta cterm=NONE +hi Constant ctermfg=black cterm=NONE +hi Type ctermfg=magenta cterm=NONE +hi LineNr ctermfg=black ctermbg=lightgray +hi Line ctermfg=black term=underline +hi PreProc ctermfg=darkmagenta term=underline + +hi Pmenu ctermfg=black ctermbg=gray +hi PmenuSel ctermfg=black ctermbg=yellow +hi PmenuSbar ctermfg=white ctermbg=black +hi PmenuThumb ctermfg=white ctermbg=gray + diff --git a/.vim/colors/d8g_03.vim b/.vim/colors/d8g_03.vim new file mode 100644 index 0000000..ddc942b --- /dev/null +++ b/.vim/colors/d8g_03.vim @@ -0,0 +1,31 @@ +" Vim color file +" d8g_03 - Martin Kopta (http://martin.kopta.eu) + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "d8g_03" + +" Console +hi Normal ctermfg=white ctermbg=black +hi Cursor ctermfg=white ctermbg=darkgray cterm=NONE +hi Search ctermfg=black ctermbg=green cterm=NONE +hi Visual cterm=reverse +hi Special ctermfg=lightblue +hi Comment ctermfg=lightyellow +hi StatusLine ctermfg=white ctermbg=black +hi Identifier ctermfg=LightBlue +hi Statement ctermfg=LightBlue cterm=NONE +hi Constant ctermfg=grey cterm=NONE +hi Type ctermfg=LightBlue cterm=NONE +hi LineNr ctermfg=grey ctermbg=black +hi Line ctermfg=white term=underline +hi Preproc ctermfg=LightBlue + +hi Pmenu ctermfg=black ctermbg=lightgreen +hi PmenuSel ctermfg=black ctermbg=yellow +hi PmenuSbar ctermfg=white ctermbg=black +hi PmenuThumb ctermfg=white ctermbg=lightgreen + diff --git a/.vim/colors/d8g_04.vim b/.vim/colors/d8g_04.vim new file mode 100644 index 0000000..620eb37 --- /dev/null +++ b/.vim/colors/d8g_04.vim @@ -0,0 +1,31 @@ +" Vim color file +" d8g_04 - Martin Kopta (http://martin.kopta.eu) + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "d8g_04" + +" Console +hi Normal ctermfg=red ctermbg=black +hi Cursor ctermfg=white ctermbg=darkgray cterm=NONE +hi Search ctermfg=black ctermbg=green cterm=NONE +hi Visual cterm=reverse +hi Special ctermfg=DarkRed +hi Comment ctermfg=Grey +hi StatusLine ctermfg=white ctermbg=black +hi Identifier ctermfg=DarkRed +hi Statement ctermfg=DarkRed cterm=NONE +hi Constant ctermfg=grey cterm=NONE +hi Type ctermfg=LightRed cterm=NONE +hi LineNr ctermfg=grey ctermbg=black +hi Line ctermfg=white term=underline +hi Preproc ctermfg=DarkRed + +hi Pmenu ctermfg=black ctermbg=lightgreen +hi PmenuSel ctermfg=black ctermbg=yellow +hi PmenuSbar ctermfg=white ctermbg=black +hi PmenuThumb ctermfg=white ctermbg=lightgreen + diff --git a/.vim/colors/dante.vim b/.vim/colors/dante.vim new file mode 100644 index 0000000..f584889 --- /dev/null +++ b/.vim/colors/dante.vim @@ -0,0 +1,83 @@ +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" 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 +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" 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 +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" diff --git a/.vim/colors/dark-ruby.vim b/.vim/colors/dark-ruby.vim new file mode 100644 index 0000000..684c74d --- /dev/null +++ b/.vim/colors/dark-ruby.vim @@ -0,0 +1,294 @@ +" Vim color file +" Maintainer: Priit Tamboom +" Last Change: Alfa version +" URL: http://www.vim.org/scripts/script.php?script_id=2256 + +" In order to enamble 256 colors on Ubuntu +" install: sudo apt-get install ncurses-term +set term=xterm-256color + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="dark-ruby" + +" A good way to see what your colorscheme does is to follow this procedure: +" :w +" :so % +" +" Then to see what the current setting is use the highlight command. +" For example, +" :hi Cursor +" gives +" Cursor xxx guifg=bg guibg=fg + +" Uncomment and complete the commands you want to change from the default. + +" highlight Normal guibg=#EDE9E3 +" hi Cursor ctermfg=red guifg=lightgray +" hi CursorIM ctermfg=red guifg=lightgray +" hi Directory ctermfg=red guifg=lightgray +" hi DiffAdd ctermfg=red guifg=lightgray +" hi DiffChange ctermfg=red guifg=lightgray +" hi DiffDelete ctermfg=red guifg=lightgray +" hi DiffText ctermfg=red guifg=lightgray +" hi ErrorMsg ctermfg=red guifg=lightgray +" hi VertSplit ctermfg=red guifg=lightgray +" hi Folded ctermfg=red guifg=lightgray +" hi FoldColumn ctermfg=red guifg=lightgray +" hi IncSearch ctermfg=red guifg=lightgray +" hi ModeMsg ctermfg=red guifg=lightgray +" hi MoreMsg ctermfg=red guifg=lightgray +" hi NonText ctermfg=red guifg=lightgray +" hi Question ctermfg=red guifg=lightgray +" hi Search ctermfg=red guifg=lightgray +" hi SpecialKey ctermfg=red guifg=lightgray +" hi StatusLine ctermfg=red guifg=lightgray +" hi StatusLineNC ctermfg=red guifg=lightgray +" hi Title ctermfg=red guifg=lightgray +" hi Visual ctermfg=red guifg=lightgray +" hi VisualNOS ctermfg=red guifg=lightgray +" hi WarningMsg ctermfg=red guifg=lightgray +" hi WildMenu ctermfg=red guifg=lightgray +" hi Menu ctermfg=red guifg=lightgray +" hi Scrollbar ctermfg=red guifg=lightgray +" hi Tooltip ctermfg=red guifg=lightgray + +" syntax highlighting groups +hi LineNr ctermfg=252 guifg=252 +hi Comment ctermfg=darkgreen guifg=28 +hi Constant ctermfg=185 guifg=185 +hi Identifier ctermfg=252 guifg=252 +hi Statement ctermfg=32 guifg=32 +hi PreProc ctermfg=252 guifg=252 +hi Type ctermfg=167 guifg=167 +hi Special ctermfg=252 guifg=252 +hi Underlined ctermfg=red guifg=red +hi Ignore ctermfg=red guifg=red +hi Error ctermfg=160 ctermbg=none guifg=160 guibg=none +hi Todo ctermfg=red guifg=red + +" Alfa version notes: color 'red' means I haven't set color yet + +hi rubyEscape ctermfg=252 guifg=252 +hi rubyInterpolationDelimiter ctermfg=252 guifg=252 +hi rubyInterpolation ctermfg=252 guifg=252 +hi rubyPredefinedVariable ctermfg=red guifg=red +hi rubyInstanceVariable ctermfg=66 guifg=66 +hi rubyClassVariable ctermfg=red guifg=red +hi rubyGlobalVariable ctermfg=red guifg=red +hi rubyPredefinedVariable ctermfg=red guifg=red +hi rubyNoInterpolation ctermfg=red guifg=red +hi rubyDelimEscape ctermfg=red guifg=red +hi rubyNestedParentheses ctermfg=red guifg=red +hi rubyNestedCurlyBraces ctermfg=red guifg=red +hi rubyNestedAngleBrackets ctermfg=red guifg=red +hi rubyNestedSquareBrackets ctermfg=red guifg=red +hi rubyASCIICode ctermfg=red guifg=red +hi rubyInteger ctermfg=185 guifg=185 +hi rubyFloat ctermfg=185 guifg=185 +hi rubyLocalVariableOrMethod ctermfg=red guifg=red +hi rubyBlockArgument ctermfg=red guifg=red +hi rubyConstant ctermfg=252 guifg=252 +hi rubySymbol ctermfg=167 guifg=167 +hi rubyStringSpecial ctermfg=red guifg=red +hi rubyBlockParameter ctermfg=252 guifg=252 +hi rubyPredefinedConstant ctermfg=red guifg=red +hi rubyRegexp ctermfg=167 guifg=167 +hi rubyString ctermfg=185 guifg=185 +hi rubyBoolean ctermfg=252 guifg=252 +hi rubyPseudoVariable ctermfg=252 guifg=252 +hi rubyMethodDeclaration ctermfg=red guifg=red +hi rubyClassDeclaration ctermfg=red guifg=red +hi rubyModuleDeclaration ctermfg=red guifg=red +hi rubyFunction ctermfg=252 guifg=252 +hi rubyDefine ctermfg=32 guifg=32 +hi rubyClass ctermfg=25 guifg=25 +hi rubyModule ctermfg=25 guifg=25 +hi rubyBlock ctermfg=252 guifg=252 +hi rubyConditional ctermfg=81 guifg=81 +hi rubyRepeat ctermfg=81 guifg=81 +hi rubyControl ctermfg=81 guifg=81 +hi rubyKeyword ctermfg=red guifg=red +hi rubyOperator ctermfg=red guifg=red +hi rubyBeginEnd ctermfg=red guifg=red +hi rubyAccess ctermfg=32 guifg=32 +hi rubyAttribute ctermfg=252 guifg=252 +hi rubyEval ctermfg=red guifg=red +hi rubyException ctermfg=red guifg=red +hi rubyInclude ctermfg=252 guifg=252 +hi rubySharpBang ctermfg=red guifg=red +hi rubyTodo ctermfg=34 guifg=34 +hi rubyComment ctermfg=28 guifg=28 +hi rubyDocumentation ctermfg=red guifg=red +hi rubyData ctermfg=red guifg=red + +hi railsMethod ctermfg=107 guifg=107 +hi railsUserClass ctermfg=107 guifg=107 +hi railsUserMethod ctermfg=107 guifg=107 + +" hi rubyRailsError ctermfg=lightgray guifg=lightgray +" hi rubyRailsDeprecatedMethod ctermfg=lightgray guifg=lightgray +" hi erubyRailsMethod ctermfg=lightgray guifg=lightgray +" hi erubyRailsRenderMethod ctermfg=lightgray guifg=lightgray +" hi erubyRailsHelperMethod ctermfg=lightgray guifg=lightgray +"hi javascriptRailsClass ctermfg=lightgray guifg=lightgray +"hi javascriptRailsFunction ctermfg=lightgray guifg=lightgray +"hi htmlError ctermfg=lightgray guifg=lightgray +"hi htmlSpecialChar ctermfg=lightgray guifg=lightgray +"hi javaScriptExpression ctermfg=lightgray guifg=lightgray +"hi htmlString ctermfg=lightgray guifg=lightgray +"hi htmlValue ctermfg=lightgray guifg=lightgray +"hi htmlTagN ctermfg=lightgray guifg=lightgray +"hi htmlTagError ctermfg=lightgray guifg=lightgray +hi htmlEndTag ctermfg=25 guifg=25 +"hi htmlArg ctermfg=lightgray guifg=lightgray +"hi htmlEvent ctermfg=lightgray guifg=lightgray +"hi htmlCssDefinition ctermfg=lightgray guifg=lightgray +hi htmlTag ctermfg=25 guifg=25 +hi htmlTagName ctermfg=25 guifg=25 +"hi htmlSpecialTagName ctermfg=lightgray guifg=lightgray +"hi htmlCommentPart ctermfg=lightgray guifg=lightgray +"hi htmlCommentError ctermfg=lightgray guifg=lightgray +"hi htmlComment ctermfg=lightgray guifg=lightgray +"hi htmlPreStmt ctermfg=lightgray guifg=lightgray +"hi htmlPreError ctermfg=lightgray guifg=lightgray +"hi htmlPreAttr ctermfg=lightgray guifg=lightgray +"hi htmlPreProc ctermfg=lightgray guifg=lightgray +"hi htmlPreProcAttrError ctermfg=lightgray guifg=lightgray +"hi htmlPreProcAttrName ctermfg=lightgray guifg=lightgray +"hi htmlLink ctermfg=lightgray guifg=lightgray +"hi javaScript ctermfg=lightgray guifg=lightgray +"hi htmlBoldUnderline ctermfg=lightgray guifg=lightgray +"hi htmlBoldItalic ctermfg=lightgray guifg=lightgray +"hi htmlBold ctermfg=lightgray guifg=lightgray +"hi htmlBoldUnderlineItalic ctermfg=lightgray guifg=lightgray +"hi htmlBoldItalicUnderline ctermfg=lightgray guifg=lightgray +"hi htmlUnderlineBold ctermfg=lightgray guifg=lightgray +"hi htmlUnderlineItalic ctermfg=lightgray guifg=lightgray +"hi htmlUnderline ctermfg=lightgray guifg=lightgray +"hi htmlUnderlineBoldItalic ctermfg=lightgray guifg=lightgray +"hi htmlUnderlineItalicBold ctermfg=lightgray guifg=lightgray +"hi htmlItalicBold ctermfg=lightgray guifg=lightgray +"hi htmlItalicUnderline ctermfg=lightgray guifg=lightgray +"hi htmlItalic ctermfg=lightgray guifg=lightgray +"hi htmlItalicBoldUnderline ctermfg=lightgray guifg=lightgray +"hi htmlItalicUnderlineBold ctermfg=lightgray guifg=lightgray +hi htmlH1 ctermfg=25 guifg=25 +"hi htmlH2 ctermfg=lightgray guifg=lightgray +"hi htmlH3 ctermfg=lightgray guifg=lightgray +"hi htmlH4 ctermfg=lightgray guifg=lightgray +"hi htmlH5 ctermfg=lightgray guifg=lightgray +"hi htmlH6 ctermfg=lightgray guifg=lightgray +"hi htmlTitle ctermfg=lightgray guifg=lightgray +"hi cssStyle ctermfg=lightgray guifg=lightgray +"hi htmlHead ctermfg=lightgray guifg=lightgray +"hi javaScriptCommentTodo ctermfg=lightgray guifg=lightgray +"hi javaScriptLineComment ctermfg=lightgray guifg=lightgray +"hi javaScriptCommentSkip ctermfg=lightgray guifg=lightgray +"hi javaScriptComment ctermfg=lightgray guifg=lightgray +"hi javaScriptSpecial ctermfg=lightgray guifg=lightgray +"hi javaScriptStringD ctermfg=lightgray guifg=lightgray +"hi javaScriptStringS ctermfg=lightgray guifg=lightgray +"hi javaScriptSpecialCharacter ctermfg=lightgray guifg=lightgray +"hi javaScriptNumber ctermfg=lightgray guifg=lightgray +"hi javaScriptRegexpString ctermfg=lightgray guifg=lightgray +"hi javaScriptConditional ctermfg=lightgray guifg=lightgray +"hi javaScriptRepeat ctermfg=lightgray guifg=lightgray +"hi javaScriptBranch ctermfg=lightgray guifg=lightgray +"hi javaScriptOperator ctermfg=lightgray guifg=lightgray +"hi javaScriptType ctermfg=lightgray guifg=lightgray +"hi javaScriptStatement ctermfg=lightgray guifg=lightgray +"hi javaScriptBoolean ctermfg=lightgray guifg=lightgray +"hi javaScriptNull ctermfg=lightgray guifg=lightgray +"hi javaScriptIdentifier ctermfg=lightgray guifg=lightgray +"hi javaScriptLabel ctermfg=lightgray guifg=lightgray +"hi javaScriptException ctermfg=lightgray guifg=lightgray +"hi javaScriptMessage ctermfg=lightgray guifg=lightgray +"hi javaScriptDeprecated ctermfg=lightgray guifg=lightgray +"hi javaScriptReserved ctermfg=lightgray guifg=lightgray +"hi javaScriptFunction ctermfg=lightgray guifg=lightgray +"hi javaScriptBraces ctermfg=lightgray guifg=lightgray +"hi javaScriptBraces ctermfg=lightgray guifg=lightgray +"hi javaScriptParens ctermfg=lightgray guifg=lightgray +"hi htmlCssStyleComment ctermfg=lightgray guifg=lightgray +"hi htmlScriptTag ctermfg=lightgray guifg=lightgray +"hi htmlEventTag ctermfg=lightgray guifg=lightgray +"hi htmlEventSQ ctermfg=lightgray guifg=lightgray +"hi htmlEventDQ ctermfg=lightgray guifg=lightgray +"hi vbStatement ctermfg=lightgray guifg=lightgray +"hi vbFunction ctermfg=lightgray guifg=lightgray +"hi vbMethods ctermfg=lightgray guifg=lightgray +"hi vbEvents ctermfg=lightgray guifg=lightgray +"hi vbTypes ctermfg=lightgray guifg=lightgray +"hi vbOperator ctermfg=lightgray guifg=lightgray +"hi vbConst ctermfg=lightgray guifg=lightgray +"hi vbTodo ctermfg=lightgray guifg=lightgray +"hi vbNumber ctermfg=lightgray guifg=lightgray +"hi vbString ctermfg=lightgray guifg=lightgray +"hi vbComment ctermfg=lightgray guifg=lightgray +"hi vbLineNumber ctermfg=lightgray guifg=lightgray +"hi vbTypeSpecifier ctermfg=lightgray guifg=lightgray +"hi cssTagName ctermfg=lightgray guifg=lightgray +"hi cssDefinition ctermfg=lightgray guifg=lightgray +"hi cssSelectorOp ctermfg=lightgray guifg=lightgray +"hi cssSelectorOp2 ctermfg=lightgray guifg=lightgray +"hi cssUnicodeEscape ctermfg=lightgray guifg=lightgray +"hi cssStringQ ctermfg=lightgray guifg=lightgray +"hi cssStringQQ ctermfg=lightgray guifg=lightgray +"hi cssIdentifier ctermfg=lightgray guifg=lightgray +"hi cssMediaType ctermfg=lightgray guifg=lightgray +"hi cssMedia ctermfg=lightgray guifg=lightgray +"hi cssMediaComma ctermfg=lightgray guifg=lightgray +"hi cssMediaBlock ctermfg=lightgray guifg=lightgray +"hi cssBraces ctermfg=lightgray guifg=lightgray +"hi cssError ctermfg=lightgray guifg=lightgray +"hi cssComment ctermfg=lightgray guifg=lightgray +"hi cssURL ctermfg=lightgray guifg=lightgray +"hi cssValueInteger ctermfg=lightgray guifg=lightgray +"hi cssValueNumber ctermfg=lightgray guifg=lightgray +"hi cssValueLength ctermfg=lightgray guifg=lightgray +"hi cssValueAngle ctermfg=lightgray guifg=lightgray +"hi cssValueTime ctermfg=lightgray guifg=lightgray +"hi cssValueFrequency ctermfg=lightgray guifg=lightgray +"hi cssFontDescriptor ctermfg=lightgray guifg=lightgray +"hi cssFontProp ctermfg=lightgray guifg=lightgray +"hi cssFontAttr ctermfg=lightgray guifg=lightgray +"hi cssCommonAttr ctermfg=lightgray guifg=lightgray +"hi cssFontDescriptorProp ctermfg=lightgray guifg=lightgray +"hi cssFontDescriptorFunction ctermfg=lightgray guifg=lightgray +"hi cssUnicodeRange ctermfg=lightgray guifg=lightgray +"hi cssColor ctermfg=lightgray guifg=lightgray +"hi cssFunction ctermfg=lightgray guifg=lightgray +"hi cssImportant ctermfg=lightgray guifg=lightgray +"hi cssColorProp ctermfg=lightgray guifg=lightgray +"hi cssColorAttr ctermfg=lightgray guifg=lightgray +"hi cssTextProp ctermfg=lightgray guifg=lightgray +"hi cssTextAttr ctermfg=lightgray guifg=lightgray +"hi cssBoxProp ctermfg=lightgray guifg=lightgray +"hi cssBoxAttr ctermfg=lightgray guifg=lightgray +"hi cssGeneratedContentProp ctermfg=lightgray guifg=lightgray +"hi cssGeneratedContentAttr ctermfg=lightgray guifg=lightgray +"hi cssAurlAttr ctermfg=lightgray guifg=lightgray +"hi cssPagingProp ctermfg=lightgray guifg=lightgray +"hi cssPagingAttr ctermfg=lightgray guifg=lightgray +"hi cssUIProp ctermfg=lightgray guifg=lightgray +"hi cssUIAttr ctermfg=lightgray guifg=lightgray +"hi cssRenderAttr ctermfg=lightgray guifg=lightgray +"hi cssRenderProp ctermfg=lightgray guifg=lightgray +"hi cssAuralProp ctermfg=lightgray guifg=lightgray +"hi cssTableProp ctermfg=lightgray guifg=lightgray +"hi cssTableAttr ctermfg=lightgray guifg=lightgray +"hi cssInclude ctermfg=lightgray guifg=lightgray +"hi cssBraceError ctermfg=lightgray guifg=lightgray +"hi cssPreudoClassId ctermfg=lightgray guifg=lightgray +"hi cssPseudoClass ctermfg=lightgray guifg=lightgray +"hi cssPseudoClassLang ctermfg=lightgray guifg=lightgray +"hi cssSpecialCharQQ ctermfg=lightgray guifg=lightgray +"hi cssSpecialCharQ ctermfg=lightgray guifg=lightgray +"hi erubyOneLiner ctermfg=lightgray guifg=lightgray +"hi erubyBlock ctermfg=lightgray guifg=lightgray +"hi erubyExpression ctermfg=lightgray guifg=lightgray +"hi erubyComment ctermfg=lightgray guifg=lightgray diff --git a/.vim/colors/darkBlue.vim b/.vim/colors/darkBlue.vim new file mode 100644 index 0000000..54d560a --- /dev/null +++ b/.vim/colors/darkBlue.vim @@ -0,0 +1,91 @@ +" local syntax file - set colors on a per-machine basis: +" vim: tw=0 ts=4 sw=4 +" Vim color file +" Version: 1.0 +" Maintainer: lilydjwg +" Last Change: 2009年6月23日 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "darkBlue" + +hi Comment guifg=#6666ff +hi Constant guifg=#99cc33 +hi Cursor guifg=#ffffff guibg=#335577 +hi CursorIM guifg=#00AAFF guibg=#FF66FF +hi CursorLine guibg=#223344 +hi DiffAdd guifg=#000000 guibg=#33ff33 +hi DiffChange guifg=#dddddd guibg=#5555CC +hi DiffDelete guifg=#000000 guibg=#ee6699 +hi DiffText guifg=#ffffff guibg=#8888ff +hi Directory guifg=#ff99ff +hi Error gui=underline guifg=#ff0000 guibg=#111133 +hi ErrorMsg guifg=#FFFF00 guibg=#0000FF +hi FoldColumn guifg=#0033FF guibg=#333333 +hi Folded guifg=#6666ff guibg=#223344 +hi Identifier guifg=#00a0e0 +hi Ignore gui=None +hi IncSearch gui=bold,reverse guifg=#99ff99 guibg=#3454ff +hi LineNr guifg=#446699 +hi MatchParen guifg=#99FF99 guibg=#112233 +hi ModeMsg gui=bold guifg=#AAAA3C guibg=#222211 +hi MoreMsg guifg=#FFFF00 +hi NonText guifg=#8400ff guibg=#102030 +hi Normal guifg=#eeeeee guibg=#112233 +hi Pmenu guifg=#3366FF guibg=#111111 +hi PmenuSbar guibg=#113355 +hi PmenuSel guifg=#80ff00 guibg=#1a1a1a +hi PmenuThumb gui=reverse +hi PreProc guifg=#FF99FF +hi Question gui=bold guifg=#009966 guibg=#113322 +hi Search guifg=#3404ff guibg=#FFFF00 +hi SignColumn guifg=#00FFFF guibg=#C0C0C0 +hi Special guifg=#FF00FF +hi SpecialKey guifg=#00AEA0 guibg=#22302D +hi SpellBad gui=undercurl +hi SpellCap gui=undercurl +hi SpellLocal gui=undercurl +hi SpellRare gui=undercurl +hi Statement guifg=#00a0e0 +hi StatusLine gui=reverse guifg=#00c4ff guibg=#000000 +hi StatusLineNC guifg=#A4A4FF guibg=#444400 +hi TabLine guifg=#0066FF guibg=#001133 +hi TabLineFill gui=None +hi TabLineSel gui=underline guifg=#999944 guibg=#112233 +hi Title guifg=#ffff44 +hi Todo gui=bold,underline guifg=#ff0000 guibg=#112233 +hi Type guifg=#ff9933 +hi Underlined gui=underline +hi VertSplit gui=reverse guifg=#00C4FF guibg=#0000FF +hi Visual guibg=#223344 +hi VisualNOS gui=None +hi WarningMsg guifg=#FFA500 guibg=#000080 +hi WildMenu gui=None +hi link Boolean Constant +hi link Character Constant +hi link Conditional Statement +hi link CursorColumn CursorLine +hi link Debug Special +hi link Define PreProc +hi link Delimiter Special +hi link Exception Statement +hi link Float Constant +hi link Function Identifier +hi link Include PreProc +hi link Keyword Statement +hi link Label Statement +hi link Macro PreProc +hi link Number Constant +hi link Operator Statement +hi link PreCondit PreProc +hi link Repeat Statement +hi link SpecialChar Special +hi link SpecialComment Special +hi link StorageClass Type +hi link String Constant +hi link Structure Type +hi link Tag Special +hi link Typedef Type diff --git a/.vim/colors/darkZ.vim b/.vim/colors/darkZ.vim new file mode 100644 index 0000000..246f69a --- /dev/null +++ b/.vim/colors/darkZ.vim @@ -0,0 +1,91 @@ +" Vim color file +" Create by Andy +" QQ24375048 + +set background=dark +if version > 580 + hi clear + if exists("syntax_on") + syntax reset + endif +endif +let g:colors_name="darkZ" + +hi Normal guifg=#DFD6C1 guibg=gray14 gui=none + +" highlight groups +hi Cursor guifg=black guibg=yellow gui=none +hi ErrorMsg guifg=white guibg=red gui=none +hi VertSplit guifg=gray40 guibg=gray40 gui=none +hi Folded guifg=DarkSlateGray3 guibg=grey30 gui=none +hi FoldColumn guifg=tan guibg=grey30 gui=none +hi IncSearch guifg=#b0ffff guibg=#2050d0 +hi LineNr guifg=burlywood3 gui=none +hi ModeMsg guifg=SkyBlue gui=none +hi MoreMsg guifg=SeaGreen gui=none +hi NonText guifg=cyan gui=none +hi Question guifg=springgreen gui=none +hi Search guifg=gray80 guibg=#445599 gui=none +hi SpecialKey guifg=cyan gui=none +hi StatusLine guifg=black guibg=Pink gui=bold +hi StatusLineNC guifg=grey guibg=gray40 gui=none +hi Title guifg=#ff4400 gui=none gui=bold +hi Visual guifg=gray17 guibg=tan1 gui=none +hi WarningMsg guifg=salmon gui=none +hi Pmenu guifg=white guibg=#445599 gui=none +hi PmenuSel guifg=#445599 guibg=gray +hi WildMenu guifg=gray guibg=gray17 gui=none +hi MatchParen guifg=cyan guibg=#6C6C6C gui=bold +hi DiffAdd guifg=black guibg=wheat1 +hi DiffChange guifg=black guibg=skyblue1 +hi DiffText guifg=black guibg=hotpink1 gui=none +hi DiffDelete guibg=gray45 guifg=black gui=none + +" syntax highlighting groups +hi Comment guifg=gray50 gui=italic +hi Constant guifg=#FF77FF gui=none +hi Identifier guifg=#6FDEF8 gui=none +hi Function guifg=#82EF2A gui=none +hi Statement guifg=#FCFC63 gui=none +hi PreProc guifg=#82EF2A gui=none +hi Type guifg=#33AFF3 gui=none +hi Special guifg=orange gui=none +hi Ignore guifg=red gui=none +hi Todo guifg=red guibg=yellow2 gui=none + +" color terminal definitions +hi SpecialKey ctermfg=red +hi NonText cterm=bold ctermfg=darkblue +hi Directory ctermfg=darkcyan +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green +hi Search cterm=NONE ctermfg=white ctermbg=grey +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr ctermfg=3 +hi Question ctermfg=green +hi StatusLine cterm=bold,reverse +hi StatusLineNC cterm=reverse +hi VertSplit cterm=reverse +hi Title ctermfg=5 +hi Visual cterm=reverse +hi VisualNOS cterm=bold,underline +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=darkgrey ctermbg=NONE +hi FoldColumn ctermfg=darkgrey ctermbg=NONE +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 +hi Comment ctermfg=darkcyan +hi Constant ctermfg=brown +hi Special ctermfg=5 +hi Identifier ctermfg=6 +hi Statement ctermfg=3 +hi PreProc ctermfg=5 +hi Type ctermfg=2 +hi Underlined cterm=underline ctermfg=5 +hi Ignore ctermfg=darkgrey +hi Error cterm=bold ctermfg=7 ctermbg=1 + diff --git a/.vim/colors/darkblack.vim b/.vim/colors/darkblack.vim new file mode 100644 index 0000000..5dcd263 --- /dev/null +++ b/.vim/colors/darkblack.vim @@ -0,0 +1,60 @@ +" Vim color file +" Maintainer: Matthew Jimenez +" Last Change: 2005 Feb 25 + +" darkblack -- an alteration to the darkblue colorscheme by Bohdan Vlasyuk + + +set bg=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "darkblack" + +hi Normal guifg=lightgrey guibg=black ctermfg=lightgray ctermbg=black +hi ErrorMsg guifg=white guibg=lightblue ctermfg=white ctermbg=lightblue +hi Visual guifg=lightblue guibg=fg gui=reverse ctermfg=lightblue ctermbg=fg cterm=reverse +hi VisualNOS guifg=lightblue guibg=fg gui=reverse,underline ctermfg=lightblue ctermbg=fg cterm=reverse,underline +hi Todo guifg=red guibg=black ctermfg=red ctermbg=black +hi Search guifg=white guibg=black ctermfg=white ctermbg=black cterm=underline term=underline +hi IncSearch guifg=black guibg=gray ctermfg=black ctermbg=gray + +hi SpecialKey guifg=cyan ctermfg=darkcyan +hi Directory guifg=cyan ctermfg=cyan +hi Title guifg=magenta gui=none ctermfg=magenta cterm=bold +hi WarningMsg guifg=red ctermfg=red +hi WildMenu guifg=yellow guibg=black ctermfg=yellow ctermbg=black cterm=none term=none +hi ModeMsg guifg=lightblue ctermfg=lightblue +hi MoreMsg ctermfg=darkgreen ctermfg=darkgreen +hi Question guifg=green gui=none ctermfg=green cterm=none +hi NonText guifg=lightcyan ctermfg=lightcyan + +hi StatusLine guifg=lightblue guibg=darkgray gui=none ctermfg=lightblue ctermbg=gray term=none cterm=none +hi StatusLineNC guifg=black guibg=darkgray gui=none ctermfg=black ctermbg=gray term=none cterm=none +hi VertSplit guifg=black guibg=darkgray gui=none ctermfg=black ctermbg=gray term=none cterm=none + +hi Folded guifg=darkgrey guibg=black ctermfg=darkgrey ctermbg=black cterm=bold term=bold +hi FoldColumn guifg=darkgrey guibg=black ctermfg=darkgrey ctermbg=black cterm=bold term=bold +hi LineNr guifg=green ctermfg=green cterm=none + +hi DiffAdd guibg=black ctermbg=black term=none cterm=none +hi DiffChange guibg=darkmagenta ctermbg=magenta cterm=none +hi DiffDelete ctermfg=lightblue ctermbg=cyan gui=bold guifg=Blue guibg=DarkCyan +hi DiffText cterm=bold ctermbg=red gui=bold guibg=Red + +hi Cursor guifg=bg guibg=lightgrey ctermfg=bg ctermbg=lightgrey +hi lCursor guifg=bg guibg=darkgreen ctermfg=bg ctermbg=darkgreen + + +hi Comment guifg=lightblue ctermfg=lightblue +hi Constant ctermfg=magenta guifg=magenta cterm=none +hi Special ctermfg=brown guifg=Orange cterm=none gui=none +hi Identifier ctermfg=cyan guifg=cyan cterm=none +hi Statement ctermfg=yellow cterm=none guifg=yellow gui=none +hi PreProc ctermfg=magenta guifg=magenta gui=none cterm=none +hi type ctermfg=green guifg=green gui=none cterm=none +hi Underlined cterm=underline term=underline +hi Ignore guifg=bg ctermfg=bg + diff --git a/.vim/colors/darkblue2.vim b/.vim/colors/darkblue2.vim new file mode 100644 index 0000000..eee2cc7 --- /dev/null +++ b/.vim/colors/darkblue2.vim @@ -0,0 +1,105 @@ +" Vim color file +" Maintainer: Datila Carvalho +" Last Change: May, 19, 2005 +" Version: 0.2 + +" This is a VIM's version of the emacs color theme +" _Dark Blue2_ created by Chris McMahan. + +""" Init stuff + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "darkblue2" + + +""" Colors + +" GUI colors +hi Cursor guifg=#233b5a guibg=Yellow +hi CursorIM guifg=NONE guibg=Yellow +hi Directory gui=bold guifg=cyan +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +hi DiffText guibg=grey50 +hi ErrorMsg gui=bold guifg=White guibg=gray85 +hi VertSplit gui=bold guifg=NONE guibg=gray80 +"hi Folded +"hi FoldColumn +"hi IncSearch +hi LineNr gui=bold guifg=lightsteelblue guibg=#132b4a +hi ModeMsg gui=bold +"hi MoreMsg +"hi NonText +hi Normal guibg=#233b5a guifg=#fff8dc +"hi Question +hi Search gui=bold guifg=#233b5a guibg=lightgoldenrod +"hi SpecialKey +hi StatusLine guifg=steelblue4 guibg=lightgray +hi StatusLineNC guifg=royalblue4 guibg=lightsteelblue +"hi Title +hi Visual guifg=steelblue guibg=fg +hi VisualNOS gui=bold guifg=steelblue guibg=fg +hi WarningMsg guifg=White guibg=Tomato +"hi WildMenu + +hi User2 guifg=lightskyblue guibg=#021a39 gui=bold + +" If using Motif/Athena +hi Menu guibg=#233b5a guifg=#fff8dc +hi Scrollbar guibg=bg + +" Colors for syntax highlighting +hi Comment gui=italic guifg=mediumaquamarine + +hi Constant gui=bold guifg=lightgoldenrod1 + hi String guifg=aquamarine + hi Character guifg=aquamarine + hi Number gui=bold guifg=lightgoldenrod1 + hi Boolean gui=bold guifg=lightgoldenrod1 + hi Float gui=bold guifg=lightgoldenrod1 + +hi Identifier gui=bold guifg=palegreen + hi Function guifg=lightskyblue + +hi Statement gui=bold guifg=cyan + hi Conditional gui=bold guifg=cyan + hi Repeat gui=bold guifg=cyan + hi Label guifg=cyan + hi Operator guifg=cyan + "hi Keyword + "hi Exception + +hi PreProc guifg=lightsteelblue + hi Include gui=bold guifg=lightsteelblue + hi Define guifg=lightsteelblue + hi Macro guifg=lightsteelblue + hi PreCondit guifg=lightsteelblue + +hi Type gui=bold guifg=palegreen + hi StorageClass gui=bold guifg=lightgoldenrod1 + hi Structure gui=bold guifg=lightgoldenrod1 + hi Typedef gui=bold guifg=lightgoldenrod1 + +"hi Special + ""Underline Character + "hi SpecialChar + "hi Tag + ""Statement + "hi Delimiter + ""Bold comment (in Java at least) + "hi SpecialComment + "hi Debug + +hi Underlined gui=underline + +hi Ignore guifg=bg + +hi Error gui=bold guifg=White guibg=Red + +"hi Todo diff --git a/.vim/colors/darkbone.vim b/.vim/colors/darkbone.vim new file mode 100644 index 0000000..a97c8fe --- /dev/null +++ b/.vim/colors/darkbone.vim @@ -0,0 +1,102 @@ +" Name: darkbone.vim +" Maintainer: Kojo Sugita +" Last Change: 2008-11-22 +" Revision: 1.1 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = 'darkbone' + +"default colors +hi Normal guifg=#a0a0c0 guibg=#000000 +hi NonText guifg=#606080 guibg=#101020 gui=none +hi SpecialKey guifg=#404060 +hi Cursor guifg=#000000 guibg=#a0a0c0 +hi CursorLine guibg=#303050 +hi CursorColumn guibg=#303050 +hi lCursor guifg=#000000 guibg=#a0a0c0 +hi CursorIM guifg=#000000 guibg=#a0a0c0 + +" Directory +hi Directory guifg=#e0e0ff guibg=#000000 gui=bold + +" Diff +hi DiffAdd guifg=#8090f0 guibg=#000000 gui=none +hi DiffChange guifg=#8090f0 guibg=#000000 gui=none +hi DiffDelete guifg=#8090f0 guibg=#000000 gui=none +hi DiffText guifg=#8090f0 guibg=#000000 gui=bold + +" Message +hi ModeMsg guifg=#a0a0c0 guibg=#000000 +hi MoreMsg guifg=#a0a0c0 guibg=#000000 +hi ErrorMsg guifg=#ee1111 guibg=#000000 +hi WarningMsg guifg=#ee1111 guibg=#000000 + +hi VertSplit guifg=#606080 guibg=#606080 + +" Folds +hi Folded guifg=#a0a0c0 guibg=#000000 +hi FoldColumn guifg=#a0a0c0 guibg=#102010 + +" Search +hi Search guifg=#000000 guibg=#c0c0ff gui=none +hi IncSearch guifg=#000000 guibg=#c0c0ff gui=none + +hi LineNr guifg=#606080 guibg=#000000 gui=none +hi Question guifg=#a0a0c0 guibg=#000000 + +"\n, \0, %d, %s, etc... +" hi Special guifg=#d0e080 guibg=#000000 gui=none +hi Special guifg=#808080 guibg=#000000 gui=none + +" status line +hi StatusLine guifg=#c0c0ff guibg=#000000 gui=bold,underline +hi StatusLineNC guifg=#606080 guibg=#000000 gui=bold,underline +hi WildMenu guifg=#000000 guibg=#c0c0ff + +hi Title guifg=#c0c0ff guibg=#000000 gui=bold +hi Visual guifg=#000000 guibg=#707090 gui=none +hi VisualNOS guifg=#a0a0c0 guibg=#000000 + +hi Number guifg=#d0e080 guibg=#000000 +hi Char guifg=#d0e080 guibg=#000000 +hi String guifg=#d0e080 guibg=#000000 + +hi Boolean guifg=#d0e080 guibg=#000000 +hi Comment guifg=#606080 +hi Constant guifg=#f0a0b0 guibg=#000000 gui=none +hi Identifier guifg=#8090f0 +hi Statement guifg=#8090f0 gui=none + +"Procedure name +hi Function guifg=#f0b040 + +"Define, def +" hi PreProc guifg=#f0a0b0 gui=none +hi PreProc guifg=#e0e0ff gui=none + +hi Type guifg=#e0e0ff gui=none +hi Underlined guifg=#a0a0c0 gui=underline +hi Error guifg=#ee1111 guibg=#000000 +hi Todo guifg=#8090f0 guibg=#000000 gui=none +hi SignColumn guibg=#000000 + +" Matches +hi MatchParen guifg=#a0a0c0 guibg=#404080 gui=none + +if version >= 700 + " Pmenu + hi Pmenu guibg=#202040 + hi PmenuSel guibg=#404080 guifg=#a0a0c0 + hi PmenuSbar guibg=#202040 + + " Tab + hi TabLine guifg=#606080 guibg=black gui=underline + hi TabLineFill guifg=#a0a0c0 guibg=black gui=none + hi TabLineSel guifg=#c0c0ff guibg=#606080 gui=bold +endif + +" vim:set ts=8 sts=2 sw=2 tw=0: diff --git a/.vim/colors/darkburn.vim b/.vim/colors/darkburn.vim new file mode 100644 index 0000000..c2fa999 --- /dev/null +++ b/.vim/colors/darkburn.vim @@ -0,0 +1,300 @@ +"============================================================================= +" Vim color file +" File: darkburn.vim +" Maintainer: Taurus Olson +" License: GPL +" Created: 2009-03-27 20:25:21 CET +" Modified: 2009-06-06 21:18:55 CET +" Version: 1.2 + +" Modified version of zenburn originally created by: +" Maintainer: Jani Nurminen +" Last Change: $Id: zenburn.vim,v 2.4 2008/11/18 20:43:18 slinky Exp $ +" URL: http://slinky.imukuppi.org/zenburnpage/ +" License: GPL +"============================================================================= +" +" Credits: +" - Jani Nurminen - original Zenburn +" - Steve Hall & Cream posse - higher-contrast Visual selection +" - Kurt Maier - 256 color console coloring, low and high contrast toggle, +" bug fixing +" - Charlie - spotted too bright StatusLine in non-high contrast mode +" - Pablo Castellazzi - CursorLine fix for 256 color mode +" - Tim Smith - force dark background +" +" CONFIGURABLE PARAMETERS: +" +" You can use the default (don't set any parameters), or you can +" set some parameters to tweak the Zenburn colours. +" +" * You can now set a darker background for bright environments. To activate, use: +" contrast Zenburn, use: +" + let g:darkburn_high_Contrast = 1 +" +" * To get more contrast to the Visual selection, use +" +" let g:darkburn_alternate_Visual = 1 +" +" * To use alternate colouring for Error message, use +" + let g:darkburn_alternate_Error = 1 +" +" * The new default for Include is a duller orange. To use the original +" colouring for Include, use +" + let g:darkburn_alternate_Include = 1 +" +" * Work-around to a Vim bug, it seems to misinterpret ctermfg and 234 and 237 +" as light values, and sets background to light for some people. If you have +" this problem, use: +" + let g:darkburn_force_dark_Background = 1 +" +" * To turn the parameter(s) back to defaults, use UNLET: +" +" unlet g:darkburn_alternate_Include +" +" Setting to 0 won't work! +" +" That's it, enjoy! +" +" TODO +" - Visual alternate color is broken? Try GVim >= 7.0.66 if you have trouble +" - IME colouring (CursorIM) + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="darkburn" + +hi Boolean guifg=#dca3a3 +hi Character guifg=#dca3a3 gui=bold +hi Comment guifg=#7f9f7f gui=italic +hi Conditional guifg=#f0dfaf gui=bold +hi Constant guifg=#dca3a3 gui=bold +hi Cursor guifg=#000d18 guibg=#8faf9f gui=bold +hi Debug guifg=#bca3a3 gui=bold +hi Define guifg=#ffcfaf gui=bold +hi Delimiter guifg=#8f8f8f +hi DiffAdd guifg=#709080 guibg=#313c36 gui=bold +hi DiffChange guibg=#333333 +hi DiffDelete guifg=#333333 guibg=#464646 +hi DiffText guifg=#ecbcbc guibg=#41363c gui=bold +hi Directory guifg=#dcdccc gui=bold +hi ErrorMsg guifg=#80d4aa guibg=#2f2f2f gui=bold +hi Exception guifg=#c3bf9f gui=bold +hi Float guifg=#c0bed1 +hi FoldColumn guifg=#93b3a3 guibg=#3f4040 +hi Folded guifg=#93b3a3 guibg=#3f4040 +hi Function guifg=#efef8f +hi Identifier guifg=#dcdcdc +hi IncSearch guibg=#f8f893 guifg=#385f38 +hi Keyword guifg=#f0dfaf gui=bold +hi Label guifg=#dfcfaf gui=underline +hi LineNr guifg=#9fafaf guibg=#262626 +hi Macro guifg=#ffcfaf gui=bold +hi ModeMsg guifg=#6fb86f gui=none +hi MoreMsg guifg=#ffffff gui=bold +hi NonText guifg=#404040 +hi Number guifg=#8cd0d3 +hi Operator guifg=#f0efd0 +hi PreCondit guifg=#dfaf8f gui=bold +hi PreProc guifg=#ffb23f gui=bold +hi Question guifg=#ffffff gui=bold +hi Repeat guifg=#ffd7a7 gui=bold +hi Search guifg=#ffffe0 guibg=#284f28 +hi SpecialChar guifg=#9fbfd6 gui=bold +hi SpecialComment guifg=#82a282 gui=bold +hi Special guifg=#9fbfd6 +hi SpecialKey guifg=#9ece9e +hi Statement guifg=#6fb86f gui=none +hi StatusLine guifg=#313633 guibg=#ccdc90 +hi StatusLineNC guifg=#2e3330 guibg=#88b090 +hi StorageClass guifg=#c3bf9f gui=bold +hi String guifg=#b75151 +hi Structure guifg=#efefaf gui=bold +hi Tag guifg=#e89393 gui=bold +hi Title guifg=#efefef gui=bold +hi Todo guifg=#dfdfdf guibg=bg gui=bold +hi Typedef guifg=#dfe4cf gui=bold +hi Type guifg=#dfdfbf gui=bold +hi Underlined guifg=#dcdccc gui=underline +hi VertSplit guifg=#2e3330 guibg=#688060 +hi VisualNOS guifg=#333333 guibg=#f18c96 gui=bold,underline +hi WarningMsg guifg=#ffffff guibg=#333333 gui=bold +hi WildMenu guibg=#2c302d guifg=#cbecd0 gui=underline + +hi SpellBad guisp=#bc6c4c guifg=#dc8c6c +hi SpellCap guisp=#6c6c9c guifg=#8c8cbc +hi SpellRare guisp=#bc6c9c guifg=#bc8cbc +hi SpellLocal guisp=#7cac7c guifg=#9ccc9c + +" Entering Kurt zone +if &t_Co > 255 + hi Boolean ctermfg=181 + hi Character ctermfg=181 cterm=bold + 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 DiffAdd ctermfg=66 ctermbg=237 cterm=bold + 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 Keyword ctermfg=223 cterm=bold + hi Label ctermfg=187 cterm=underline + 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 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 SpecialChar ctermfg=181 cterm=bold + hi SpecialComment ctermfg=108 cterm=bold + hi Special ctermfg=181 + hi SpecialKey ctermfg=151 + hi Statement ctermfg=187 ctermbg=234 cterm=none + hi StatusLine ctermfg=236 ctermbg=186 + hi StatusLineNC ctermfg=235 ctermbg=108 + hi StorageClass ctermfg=249 cterm=bold + hi String ctermfg=174 + hi Structure ctermfg=229 cterm=bold + hi Tag ctermfg=181 cterm=bold + hi Title ctermfg=7 ctermbg=234 cterm=bold + hi Todo ctermfg=108 ctermbg=234 cterm=bold + hi Typedef ctermfg=253 cterm=bold + hi Type ctermfg=187 cterm=bold + hi Underlined ctermfg=188 ctermbg=234 cterm=bold + hi VertSplit ctermfg=236 ctermbg=65 + 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 CursorLine ctermbg=236 cterm=none + + " spellchecking, always "bright" background + hi SpellLocal ctermfg=14 ctermbg=237 + hi SpellBad ctermfg=9 ctermbg=237 + hi SpellCap ctermfg=12 ctermbg=237 + hi SpellRare ctermfg=13 ctermbg=237 + + " pmenu + hi PMenu ctermfg=248 ctermbg=0 + hi PMenuSel ctermfg=223 ctermbg=235 + + if exists("g:darkburn_high_Contrast") + hi Normal ctermfg=188 ctermbg=234 + else + hi Normal ctermfg=188 ctermbg=237 + hi Cursor ctermbg=109 + hi diffadd ctermbg=237 + hi diffdelete ctermbg=238 + hi difftext ctermbg=237 + hi errormsg ctermbg=237 + hi foldcolumn ctermbg=238 + hi folded ctermbg=238 + hi incsearch ctermbg=228 + hi linenr ctermbg=238 + hi search ctermbg=238 + hi statement ctermbg=237 + hi statusline ctermbg=144 + hi statuslinenc ctermbg=108 + hi title ctermbg=237 + hi todo ctermbg=237 + hi underlined ctermbg=237 + hi vertsplit ctermbg=65 + hi visualnos ctermbg=210 + hi warningmsg ctermbg=236 + hi wildmenu ctermbg=236 + endif +endif + +if exists("g:darkburn_force_dark_Background") + " Force dark background, because of a bug in VIM: VIM sets background + " automatically during "hi Normal ctermfg=X"; it misinterprets the high + " value (234 or 237 above) as a light color, and wrongly sets background to + " light. See ":help highlight" for details. + set background=dark +endif + +if exists("g:darkburn_high_Contrast") + " use new darker background + hi Normal guifg=#ffffff guibg=#1f1f1f + hi CursorLine guibg=#121212 gui=bold + hi Pmenu guibg=#242424 guifg=#ccccbc + hi PMenuSel guibg=#353a37 guifg=#ccdc90 gui=bold + hi PmenuSbar guibg=#2e3330 guifg=#000000 + hi PMenuThumb guibg=#a0afa0 guifg=#040404 + hi MatchParen guifg=#f0f0c0 guibg=#383838 gui=bold + hi SignColumn guifg=#9fafaf guibg=#181818 gui=bold + hi TabLineFill guifg=#cfcfaf guibg=#181818 gui=bold + hi TabLineSel guifg=#efefef guibg=#1c1c1b gui=bold + hi TabLine guifg=#b6bf98 guibg=#181818 gui=bold + hi CursorColumn guifg=#dcdccc guibg=#2b2b2b +else + " Original, lighter background + hi Normal guifg=#dcdccc guibg=#3f3f3f + hi CursorLine guibg=#434443 + hi Pmenu guibg=#2c2e2e guifg=#9f9f9f + hi PMenuSel guibg=#242424 guifg=#d0d0a0 gui=bold + hi PmenuSbar guibg=#2e3330 guifg=#000000 + hi PMenuThumb guibg=#a0afa0 guifg=#040404 + hi MatchParen guifg=#b2b2a0 guibg=#2e2e2e gui=bold + hi SignColumn guifg=#9fafaf guibg=#343434 gui=bold + hi TabLineFill guifg=#cfcfaf guibg=#353535 gui=bold + hi TabLineSel guifg=#efefef guibg=#3a3a39 gui=bold + hi TabLine guifg=#b6bf98 guibg=#353535 gui=bold + hi CursorColumn guifg=#dcdccc guibg=#4f4f4f +endif + + +if exists("g:darkburn_alternate_Visual") + " Visual with more contrast, thanks to Steve Hall & Cream posse + " gui=none fixes weird highlight problem in at least GVim 7.0.66, thanks to Kurt Maier + hi Visual guifg=#000000 guibg=#71d3b4 gui=none + hi VisualNOS guifg=#000000 guibg=#71d3b4 gui=none +else + " use default visual + hi Visual guifg=#71d3b4 guibg=#233323 gui=none + hi VisualNOS guifg=#71d3b4 guibg=#233323 gui=none +endif + +if exists("g:darkburn_alternate_Error") + " use a bit different Error + hi Error guifg=#ef9f9f guibg=#201010 gui=bold +else + " default + hi Error guifg=#e37170 guibg=#332323 gui=none +endif + +if exists("g:darkburn_alternate_Include") + " original setting + hi Include guifg=#ffcfaf gui=bold +else + " new, less contrasted one + hi Include guifg=#dfaf8f gui=bold +endif + " TODO check for more obscure syntax groups that they're ok + +" vim: : diff --git a/.vim/colors/darkdot.vim b/.vim/colors/darkdot.vim new file mode 100644 index 0000000..de59f71 --- /dev/null +++ b/.vim/colors/darkdot.vim @@ -0,0 +1,97 @@ +" Vim color file +" Maintainer: David Lazar +" Last Change: Fri, 25 Aug 2006 16:30:00 +0300 +" Version: 2.7 +" URL: http://www.c7obs.net/~david/stuff/darkdot.vim +" +" This colorscheme script was created using Hans Fugal's colorscheme template. + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="darkdot" + +hi Normal cterm=none gui=none guibg=#00285e guifg=#d6ebf0 +hi Cursor cterm=none guibg=#44ff44 guifg=#000000 +hi link CursorIM Cursor +hi Directory ctermfg=cyan guifg=#44ffff +hi DiffAdd ctermbg=blue ctermfg=yellow guibg=#080888 guifg=#ffff00 +hi DiffDelete ctermbg=black ctermfg=darkgray guibg=#080808 guifg=#444444 +hi DiffChange ctermbg=black guibg=#080808 guifg=#ffffff +hi DiffText ctermbg=black ctermfg=darkred guibg=#080808 guifg=#bb0000 +hi ErrorMsg ctermbg=darkred ctermfg=white guibg=#880000 guifg=#ffffff +hi Folded ctermbg=black ctermfg=darkblue guibg=black guifg=#000088 +hi link FoldColumn Folded +hi IncSearch ctermbg=black ctermfg=gray guibg=#000000 guifg=#bbcccc +hi LineNr ctermfg=yellow guibg=#404040 guifg=#ffff00 +hi ModeMsg ctermfg=white guifg=#ffffff +hi MoreMsg ctermfg=green guifg=#44ff44 +hi NonText ctermfg=blue guifg=#4444ff +hi Question ctermfg=yellow guifg=#ffff00 +hi Search ctermbg=NONE ctermfg=green guibg=NONE guifg=green +hi SpecialKey ctermfg=blue guifg=#4444ff +hi StatusLine cterm=none ctermbg=darkcyan ctermfg=white gui=none guibg=#00aaaa guifg=#ffffff +hi StatusLineNC cterm=none ctermbg=gray ctermfg=black gui=none guibg=#bbbbbb guifg=#000000 +hi link VertSplit StatusLineNC +hi Title ctermfg=white guifg=#ffffff +hi Visual cterm=none ctermbg=gray ctermfg=black gui=none guibg=#bbbbbb guifg=#000000 +hi link VisualNOS Visual +hi WarningMsg ctermfg=yellow guifg=#ffff00 +"hi WildMenu +"hi Menu +"hi Scrollbar +"hi Tooltip + +" syntax highlighting groups +hi Comment ctermfg=blue guifg=#4444ff +hi Constant ctermfg=darkcyan guifg=#00aaaa +hi Identifier ctermfg=white guifg=#ffffff +hi Statement ctermfg=cyan guifg=#44ffff +hi PreProc ctermfg=darkcyan guifg=#00aaaa +hi Type ctermfg=white guifg=#ffffff +hi Special ctermfg=blue cterm=bold guifg=#6666ff gui=bold +hi Underlined ctermfg=blue guifg=#4444ff +hi Ignore ctermfg=darkgray guifg=#444444 +hi Error ctermbg=black ctermfg=darkred guibg=#000000 guifg=#bb0000 +hi Todo ctermbg=darkred ctermfg=yellow guibg=#aa0006 guifg=#fff300 + +hi link Character Constant +hi link Number Constant +hi link Boolean Constant +hi link Float Number +hi link Conditional Statement +hi link Label Statement +hi link Keyword Statement +hi link Exception Statement +hi link Repeat 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 Delimiter Special +hi link SpecialComment Special +hi link Debug Special +hi link FoldColumn Folded + +if v:version >= 700 + hi link Pmenu StatusLineNC + hi link PmenuSel StatusLine + hi link PmenuThumb StatusLine + hi link PmenuSbar StatusLineNC + + hi SpellBad ctermbg=none ctermfg=red gui=undercurl guisp=#ff6666 + hi SpellCap ctermbg=none ctermfg=blue gui=undercurl guisp=#6666ff + hi SpellRare ctermbg=none ctermfg=magenta gui=undercurl guisp=#ff66ff + + hi TabLine cterm=inverse ctermbg=none ctermfg=none gui=none guibg=#bbbbbb guifg=#000000 + hi TabLineSel cterm=bold ctermbg=none ctermfg=none gui=none guibg=#bbbbbb guifg=#000000 + hi TabLineFill cterm=inverse ctermbg=none ctermfg=none gui=none guibg=#bbbbbb guifg=#000000 + + hi MatchParen cterm=bold ctermbg=none ctermfg=green gui=bold guibg=bg guifg=#44ff44 +endif diff --git a/.vim/colors/darkeclipse.vim b/.vim/colors/darkeclipse.vim new file mode 100644 index 0000000..2e68b98 --- /dev/null +++ b/.vim/colors/darkeclipse.vim @@ -0,0 +1,102 @@ +" Name: darkeclipse.vim +" Maintainer: Kojo Sugita +" Last Change: 2008-11-22 +" Revision: 1.1 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = 'darkeclipse' + +"default colors +hi Normal guifg=#b0b0b0 guibg=#101520 +hi NonText guifg=#606060 guibg=#202530 gui=none +hi SpecialKey guifg=#606060 guibg=#101520 +hi Cursor guifg=#101520 guibg=#c0c0c0 +hi CursorLine guibg=#252530 +hi CursorColumn guibg=#252530 +hi lCursor guifg=#101520 guibg=#c0c0c0 +hi CursorIM guifg=#101520 guibg=#c0c0c0 + +" Directory +hi Directory guifg=#f0f0f0 guibg=#101520 gui=bold + +" Diff +hi DiffAdd guifg=#8090f0 guibg=#101520 gui=none +hi DiffChange guifg=#8090f0 guibg=#101520 gui=none +hi DiffDelete guifg=#8090f0 guibg=#101520 gui=none +hi DiffText guifg=#8090f0 guibg=#101520 gui=bold + +" Message +hi ModeMsg guifg=#c0c0c0 guibg=#101520 +hi MoreMsg guifg=#c0c0c0 guibg=#101520 +hi ErrorMsg guifg=#ee1111 guibg=#101520 +hi WarningMsg guifg=#ee1111 guibg=#101520 + +hi VertSplit guifg=#808080 guibg=#808080 + +" Folds +hi Folded guifg=#c0c0c0 guibg=#101520 +hi FoldColumn guifg=#c0c0c0 guibg=#102010 + +" Search +hi Search guifg=#101520 guibg=#c0c0c0 gui=none +hi IncSearch guifg=#101520 guibg=#c0c0c0 gui=none + +hi LineNr guifg=#606570 guibg=#000000 gui=none +hi Question guifg=#c0c0c0 guibg=#101520 + +"\n, \0, %d, %s, etc... +hi Special guifg=#f0f0f0 guibg=#101520 gui=none + +" status line +hi StatusLine guifg=#000000 guibg=#808080 gui=none +hi StatusLineNC guifg=#404040 guibg=#707070 gui=none +hi WildMenu guifg=#000000 guibg=#c0c0c0 + +hi Title guifg=#9090f0 guibg=#101520 gui=bold +hi Visual guibg=#000000 guifg=#cae682 gui=underline +hi VisualNOS guifg=#b0b0b0 guibg=#101520 + +hi Number guifg=#9090f0 guibg=#101520 +hi Char guifg=#9090f0 guibg=#101520 +hi String guifg=#9090f0 guibg=#101520 +hi Boolean guifg=#9090f0 guibg=#101520 +hi Comment guifg=#70c010 +hi Constant guifg=#f0b040 guibg=#101520 gui=none + +" hi Identifier guifg=#9090f0 +hi Identifier guifg=#f0a0b0 +hi Statement guifg=#f0a0b0 gui=none + +"Procedure name +hi Function guifg=#f0f0f0 + +"Define, def +hi PreProc guifg=#f0f0f0 gui=none + +hi Type guifg=#f0a0b0 gui=none +hi Underlined guifg=#c0c0c0 gui=underline +hi Error guifg=#ee1111 guibg=#101520 +hi Todo guifg=#9090f0 guibg=#101520 gui=none +hi SignColumn guibg=#101520 + +" Matches +hi MatchParen guifg=#000000 guibg=#90e030 gui=none + +if version >= 700 + " Pmenu + hi Pmenu guibg=#202530 guifg=#c0c0c0 + hi PmenuSel guibg=#f0f0f0 guifg=#101520 + hi PmenuSbar guibg=#505050 + hi PmenuThumb guifg=#f0f0f0 + + " Tab + hi TabLine guifg=#b0b0b0 guibg=black gui=underline + hi TabLineFill guifg=#b0b0b0 guibg=black gui=none + hi TabLineSel guifg=#9090f0 guibg=black gui=underline +endif + +" vim:set ts=8 sts=2 sw=2 tw=0: diff --git a/.vim/colors/darker-robin.vim b/.vim/colors/darker-robin.vim new file mode 100644 index 0000000..23feec6 --- /dev/null +++ b/.vim/colors/darker-robin.vim @@ -0,0 +1,87 @@ +" Vim color file +" Maintainer: Alexander Chaika +" Last Change: October, 6,2006 +" Version: 0.1 + +" This is a modification of robinhood color scheme, +" _ created by Alex Schroede. + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + + +""" Colors + +" GUI colors +hi Cursor guifg=fg guibg=gray gui=none +hi CursorIM guifg=NONE guibg=gray gui=none +" hi Directory guifg=#ff0000 guibg=#00ffff gui=none +" hi DiffAdd +" hi DiffChange +" hi DiffDelete +" hi DiffText +hi ErrorMsg guifg=White guibg=Red gui=none +" hi Folded +" hi FoldColumn +" hi IncSearch +" hi ModeMsg +" hi MoreMsg +hi NonText guifg=#000000 guibg=#101010 gui=none + +hi LineNr guifg=#909000 guibg=#101010 gui=none + +hi Normal guifg=#807057 guibg=#101010 gui=none +" hi Question +hi Search guifg=#000000 guibg=gray gui=none +" hi SpecialKey +hi StatusLine guifg=#000000 guibg=#606050 gui=none +hi StatusLineNC guifg=#000001 guibg=#606050 gui=none +" hi Title +" hi Visual guifg=#ffff00 gui=none +" hi VisualNOS guifg=Black gui=none +hi WarningMsg guifg=White gui=none +" hi WildMenu + +hi Comment guifg=#606099 gui=none + +hi Constant guifg=#8da0a0 gui=none +hi String guifg=#a0644d gui=none +hi Character guifg=#a0644d gui=none +hi Number guifg=#8da0a0 gui=none +hi Boolean guifg=#8da0a0 gui=none +hi Float guifg=#8da0a0 gui=none + +hi Identifier guifg=#70b970 gui=none +hi Function guifg=yellowgreen gui=none + +hi Statement guifg=#b05a50 gui=none +hi Conditional guifg=#b05a50 gui=none +hi Repeat guifg=#b05a50 gui=none +hi Label guifg=#b05a50 gui=none +hi Operator guifg=#c0ba98 gui=none +hi Keyword guifg=#b05a50 gui=none +hi Exception guifg=#b05a50 gui=none + +hi PreProc guifg=#70b970 gui=none +hi Include guifg=#70b970 gui=none +hi Define guifg=#70b970 gui=none +hi Macro guifg=#70b970 gui=none +hi PreCondit guifg=#70b970 gui=none + + +hi Type guifg=#70b970 gui=none +hi StorageClass guifg=#50a085 gui=none +hi Structure guifg=#50a085 gui=none +hi Typedef guifg=#50a085 gui=none + +hi Underlined gui=underline + +hi Ignore guifg=bg + +hi Error guifg=White guibg=Red gui=none + +hi Todo guifg=#900000 guibg=#909000 gui=none + diff --git a/.vim/colors/darkerdesert.vim b/.vim/colors/darkerdesert.vim new file mode 100644 index 0000000..a77534c --- /dev/null +++ b/.vim/colors/darkerdesert.vim @@ -0,0 +1,45 @@ +" Vim color file +" Maintainer: Zhang Jing +" Last Change: %[% 20051215 15ʱ4034 %]% + +set background=dark +if version > 580 + hi clear + if exists("syntax_on") + syntax reset + endif +endif +let g:colors_name="softblack" + +hi Normal guibg=#121212 guifg=#9090a0 + +hi Cursor guibg=#b3b3df guifg=grey30 gui=bold +hi VertSplit guibg=#505050 guifg=grey50 gui=none +hi Folded guibg=#252525 guifg=gold3 +hi FoldColumn guibg=#252525 guifg=gold3 +hi IncSearch guifg=slategrey guibg=khaki +hi LineNr guifg=grey30 +hi ModeMsg guifg=goldenrod3 +hi MoreMsg guifg=SeaGreen +hi NonText guifg=LightBlue guibg=#252525 +hi Question guifg=#28a45c +hi Search guibg=#b17733 guifg=wheat +hi SpecialKey guifg=yellowgreen +hi StatusLine guibg=#606050 guifg=black gui=none +hi StatusLineNC guibg=#606050 guifg=grey20 gui=none +hi Title guifg=#38d9ff +hi Visual guifg=#d0d0d0 guibg=#6d8824 gui=none +hi WarningMsg guifg=salmon +hi ErrorMsg guifg=white guibg=#b03030 + +hi Comment guifg=#5080a0 +hi Constant guifg=#a16261 +hi Identifier guifg=#308040 +hi Statement guifg=#a4a338 +hi PreProc guifg=#a54140 +hi Type guifg=#655723 +hi Special guifg=#c9b37e +hi Ignore guifg=grey40 +hi Error guifg=white guibg=#b03030 +hi Todo guifg=#802c13 guibg=#c3bc44 gui=bold +"vim:ts=4:tw=4 diff --git a/.vim/colors/darkocean.vim b/.vim/colors/darkocean.vim new file mode 100644 index 0000000..99d2ed3 --- /dev/null +++ b/.vim/colors/darkocean.vim @@ -0,0 +1,52 @@ +" Name Of File: darkocean.vim +" Description: Gvim colorscheme, works best with version 6.0. +" Maintainer: Naveen Chandra R +" Last Change: Thursday, August 15, 2002 +" Installation: Drop this file in your $VIMRUNTIME/colors/ directory +" or manually source this file using ':so darkocean.vim'. + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="darkocean" + +hi Cursor gui=None guibg=#add8e6 guifg=#000000 +hi CursorIM gui=None guibg=#add8e6 guifg=#000000 +hi Directory gui=None guibg=bg guifg=#20b2aa +hi DiffAdd gui=Bold guibg=#7e354d guifg=fg +hi DiffChange gui=Bold guibg=#103040 guifg=#cc3300 +hi DiffDelete gui=Bold,Reverse guibg=#7e354d guifg=fg +hi DiffText gui=Bold guibg=#d74141 guifg=fg +hi ErrorMsg gui=None guibg=#b22222 guifg=#ffffe0 +hi VertSplit gui=None guibg=#999999 guifg=#000000 +hi Folded gui=Bold guibg=#003366 guifg=#999999 +hi FoldColumn gui=Bold guibg=#305070 guifg=#b0d0e0 +hi IncSearch gui=Bold guibg=#8db6cd guifg=fg +hi LineNr gui=Bold guibg=#0f0f0f guifg=#8db6cd +hi MoreMsg gui=Bold guibg=bg guifg=#bf9261 +hi ModeMsg gui=Bold guibg=bg guifg=#4682b4 +hi NonText gui=None guibg=#0f0f0f guifg=#87cefa +hi Normal gui=None guibg=#000000 guifg=#e0ffff +hi Question gui=Bold guibg=bg guifg=#f4bb7e +hi Search gui=Bold guibg=#607b8b guifg=#000000 +hi SpecialKey gui=None guibg=bg guifg=#63b8ff +hi StatusLine gui=Bold guibg=#8db6cd guifg=#000000 +hi StatusLineNC gui=None guibg=#607b8b guifg=#1a1a1a +hi Title gui=Bold guibg=bg guifg=#5cacee +hi Visual gui=Reverse guibg=#ffffff guifg=#36648b +hi VisualNOS gui=Bold,Underline guibg=#4682b4 guifg=fg +hi WarningMsg gui=Bold guibg=bg guifg=#b22222 +hi WildMenu gui=Bold guibg=#607b8b guifg=#000000 +hi Comment gui=None guibg=#102520 guifg=#8db6cd +hi Constant gui=None guibg=bg guifg=#c34a2c +hi Identifier gui=None guibg=bg guifg=#009acd +hi Statement gui=None guibg=bg guifg=#72a5ee +hi PreProc gui=None guibg=bg guifg=#c12869 +hi Include gui=None guibg=bg guifg=#ccccff +hi Type gui=None guibg=bg guifg=#3b9c9c +hi Error gui=None guibg=#b22222 guifg=#ffffe0 +hi Todo gui=None guibg=#507080 guifg=#3bcccc +hi Ignore gui=None guibg=bg guifg=#777777 +hi TagName gui=None guibg=#660000 guifg=#a7a7a7 diff --git a/.vim/colors/darkrobot.vim b/.vim/colors/darkrobot.vim new file mode 100644 index 0000000..dd29444 --- /dev/null +++ b/.vim/colors/darkrobot.vim @@ -0,0 +1,67 @@ +" Vim color file +" pacific v1.0 +" Maintainer: Rob Valentine + +" Dark Robot +" +" +" useful help screens & commands +" :syntax +" :he group-name +" :he highlight-groups +" :he cterm-colors +" +" useful online resource +" http://www.colorpicker.com + +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="darkrobot" + +hi Normal guibg=#1D1D1D guifg=#FFFFFF + +" syntax highlighting +hi Comment guifg=#B8B8B8 +hi Title guifg=#FFFFFF gui=none +hi Underlined guifg=#20b0eF gui=none +hi Statement guifg=#FF6262 gui=none +hi Type guifg=#FEFFBA gui=none +hi PreProc guifg=#FFA41B +hi Constant guifg=#DAC5FF guibg=#141414 +hi Identifier guifg=#7EFAFF + +"highlight groups +hi Ignore guifg=grey40 +hi Todo guifg=#000000 guibg=#60FF5C +hi Cursor guibg=#2424FF guifg=#60FF5C +hi MatchParen guibg=#60FF5C guifg=#2424FF +hi Special guifg=#466EFF +hi Directory guifg=#FEFFBA gui=underline +hi DiffAdd guifg=#07AF07 guibg=#1D1D1D +hi DiffChange guifg=#FFFFFF guibg=#1D1D1D gui=underline +hi DiffDelete guifg=#FF0000 guibg=#1D1D1D +hi DiffText guifg=#60FF5C guibg=#1D1D1D gui=underline +hi ErrorMsg guifg=#FFFFFF guibg=#FF0000 +hi VertSplit guifg=#B8B8B8 guibg=#373737 gui=none +hi Folded guibg=#373737 guifg=#FFFFFF "#A6D5F6 +hi FoldColumn guibg=#000000 guifg=#FFFFFF gui=bold +hi LineNr guifg=#B8B8B8 guibg=#373737 +hi ModeMsg guifg=#60FF5C gui=none +hi MoreMsg guifg=#60FF5C gui=none +hi Question guifg=#60FF5C gui=none +hi NonText guifg=#A6A6A6 guibg=#222222 +hi Search guibg=slategrey guifg=#FFDABB +hi IncSearch guifg=slategrey guibg=#FFDFB0 +hi StatusLine guibg=#000000 guifg=#B8B8B8 gui=none +hi StatusLineNC guibg=#000000 guifg=#666666 gui=none +hi Visual guifg=#FFFFFF guibg=#07077B +hi Pmenu guifg=#5A5A5A guibg=#A8FF97 +hi PmenuSel guifg=#2E2E2E guibg=#62FB44 +"vim: sw=4 diff --git a/.vim/colors/darkroom.vim b/.vim/colors/darkroom.vim new file mode 100644 index 0000000..8fb2c79 --- /dev/null +++ b/.vim/colors/darkroom.vim @@ -0,0 +1,89 @@ +" Vim color file +" Maintainer: Connor Berry +" Last Change: 2008.05.23 +" URL: www.narwhale.org + +set background=dark "or light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="darkroom" + + hi LineNr term=bold gui=bold guifg=green guibg=black + hi LineNr term=bold cterm=bold ctermfg=green ctermbg=black + hi Normal ctermfg=Green ctermbg=Black + hi Normal guifg=Green guibg=Black + hi NonText ctermfg=black ctermbg=Black + hi NonText guifg=black guibg=Black + + hi Statement ctermfg=DarkCyan ctermbg=Black + hi Statement guifg=DarkCyan guibg=Black + hi Comment ctermfg=darkgreen ctermbg=Black cterm=bold term=bold + hi Comment guifg=darkgreen guibg=Black gui=bold term=bold + hi Constant ctermfg=DarkCyan ctermbg=Black + hi Constant guifg=DarkCyan guibg=Black + hi Identifier ctermfg=Green ctermbg=Black + hi Identifier guifg=Green guibg=Black + hi Type ctermfg=DarkCyan ctermbg=Black + hi Type guifg=DarkCyan guibg=Black + hi String ctermfg=Cyan ctermbg=black + hi String guifg=Cyan guibg=Black + hi Boolean ctermfg=DarkCyan ctermbg=Black + hi Boolean guifg=DarkCyan guibg=Black + hi Number ctermfg=DarkCyan ctermbg=Black + hi Number guifg=DarkCyan guibg=Black + hi Folded ctermfg=DarkCyan ctermbg=Black cterm=underline term=none + hi Folded guifg=DarkCyan guibg=Black gui=underline term=none + hi Special ctermfg=darkgreen ctermbg=Black + hi Special guifg=darkgreen guibg=Black + hi PreProc ctermfg=DarkGreen ctermbg=Black cterm=bold term=bold + hi PreProc guifg=DarkGreen guibg=Black gui=bold term=bold + hi Scrollbar ctermfg=DarkCyan ctermbg=Black + hi Scrollbar guifg=DarkCyan guibg=Black + hi Cursor ctermfg=Black ctermbg=green + hi Cursor guifg=Black guibg=green + hi ErrorMsg ctermfg=Red ctermbg=Black cterm=bold term=bold + hi ErrorMsg guifg=Red guibg=Black gui=bold term=bold + hi WarningMsg ctermfg=Yellow ctermbg=Black + hi WarningMsg guifg=Yellow guibg=Black + hi VertSplit ctermfg=black ctermbg=Black + hi VertSplit guifg=black guibg=Black + hi Directory ctermfg=Green ctermbg=DarkBlue + hi Directory guifg=Green guibg=DarkBlue + hi Visual ctermfg=White ctermbg=DarkGray cterm=underline term=none + hi Visual guifg=White guibg=DarkGray gui=underline term=none + hi Title ctermfg=White ctermbg=DarkBlue + hi Title guifg=White guibg=DarkBlue + + hi StatusLine term=bold cterm=bold,underline ctermfg=White ctermbg=Black + hi StatusLine term=bold gui=bold,underline guifg=White guibg=Black + hi StatusLineNC term=bold cterm=bold,underline ctermfg=Gray ctermbg=Black + hi StatusLineNC term=bold gui=bold,underline guifg=Gray guibg=Black + + hi cursorline ctermbg=darkgreen ctermfg=black + hi cursorline guibg=darkgreen guifg=black + +let s:currentfile=bufname(0) +only +set wiw=90 +e -- +setlocal buftype=nofile +setlocal bufhidden=hide +setlocal noswapfile +setlocal nobuflisted +vsplit +vsplit +execute "normal \l" +execute "normal \=" +if strlen(s:currentfile) +e # +else +e scratch + setlocal buftype=nofile + setlocal bufhidden=hide + setlocal noswapfile +endif +execute "normal G" +"startinsert! +unlet s:currentfile diff --git a/.vim/colors/darkslategray.vim b/.vim/colors/darkslategray.vim new file mode 100644 index 0000000..b36aef0 --- /dev/null +++ b/.vim/colors/darkslategray.vim @@ -0,0 +1,117 @@ +" vim: set tw=0 sw=4 sts=4 et: + +" Vim color file +" Maintainer: Tuomas Susi +" Last Change: 2004 October 05 +" Version: 1.7 + +" Emacs in RedHat Linux used to have (still does?) a kind of 'Wheat on +" DarkSlateGray' color scheme by default. This color scheme is created in the +" same spirit. +" +" Darkslategray is intended to be nice to your eyes (low contrast) and to take +" advantage of syntax hilighting as much as possible. +" +" This color scheme is for the GUI only, I'm happy with default console colors. +" Needs at least vim 6.0. + + +" Init stuff + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "darkslategray" + + +" GUI colors + +hi Cursor guifg=fg guibg=#da70d6 +hi CursorIM guifg=NONE guibg=#ff83fa +hi Directory guifg=#e0ffff +hi DiffAdd guibg=#528b8b +hi DiffChange guibg=#8b636c +hi DiffDelete gui=bold guifg=fg guibg=#000000 +hi DiffText gui=bold guibg=#6959cd +hi ErrorMsg gui=bold guifg=#ffffff guibg=#ff0000 +hi VertSplit gui=bold guifg=#bdb76b guibg=#000000 +hi Folded guifg=#000000 guibg=#bdb76b +hi FoldColumn guifg=#000000 guibg=#bdb76b +hi SignColumn gui=bold guifg=#bdb76b guibg=#20b2aa +hi IncSearch gui=bold guifg=#000000 guibg=#ffffff +hi LineNr gui=bold guifg=#bdb76b guibg=#528b8b +hi ModeMsg gui=bold +hi MoreMsg gui=bold guifg=#20b2aa +hi NonText gui=bold guifg=#ffffff +hi Normal guibg=#2f4f4f guifg=#f5deb3 +hi Question gui=bold guifg=#ff6347 +hi Search gui=bold guifg=#000000 guibg=#ffd700 +hi SpecialKey guifg=#00ffff +hi StatusLine gui=bold guifg=#f0e68c guibg=#000000 +hi StatusLineNC guibg=#bdb76b guifg=#404040 +hi Title gui=bold guifg=#ff6347 +hi Visual guifg=#000000 guibg=fg +hi VisualNOS gui=bold guifg=#000000 guibg=fg +hi WarningMsg guifg=#ffffff guibg=#ff6347 +hi WildMenu gui=bold guifg=#000000 guibg=#ffff00 + + +" I use GTK and don't wanna change these +"hi Menu foobar +"hi Scrollbar foobar +"hi Tooltip foobar + + +" Colors for syntax highlighting +hi Comment guifg=#da70d6 + +hi Constant guifg=#cdcd00 + hi String guifg=#7fffd4 + hi Character guifg=#7fffd4 + hi Number guifg=#ff6347 + hi Boolean guifg=#cdcd00 + hi Float guifg=#ff6347 + +hi Identifier guifg=#afeeee + hi Function guifg=#ffffff + +hi Statement gui=bold guifg=#4682b4 + hi Conditional gui=bold guifg=#4682b4 + hi Repeat gui=bold guifg=#4682b4 + hi Label gui=bold guifg=#4682b4 + hi Operator gui=bold guifg=#4682b4 + hi Keyword gui=bold guifg=#4682b4 + hi Exception gui=bold guifg=#4682b4 + +hi PreProc guifg=#cdcd00 + hi Include guifg=#ffff00 + hi Define guifg=#cdcd00 + hi Macro guifg=#cdcd00 + hi PreCondit guifg=#cdcd00 + +hi Type gui=bold guifg=#98fb98 + hi StorageClass guifg=#00ff00 + hi Structure guifg=#20b2aa + hi Typedef guifg=#00ff7f + +hi Special guifg=#ff6347 + "Underline Character + hi SpecialChar gui=underline guifg=#7fffd4 + hi Tag guifg=#ff6347 + "Statement + hi Delimiter gui=bold guifg=#b0c4de + "Bold comment (in Java at least) + hi SpecialComment gui=bold guifg=#da70d6 + hi Debug gui=bold guifg=#ff0000 + +hi Underlined gui=underline + +hi Ignore guifg=bg + +hi Error gui=bold guifg=#ffffff guibg=#ff0000 + +hi Todo gui=bold guifg=#000000 guibg=#ff83fa + diff --git a/.vim/colors/darkspectrum.vim b/.vim/colors/darkspectrum.vim new file mode 100644 index 0000000..26ed7f3 --- /dev/null +++ b/.vim/colors/darkspectrum.vim @@ -0,0 +1,130 @@ +" Vim color file +" +" Author: Brian Mock +" +" Note: Based on Oblivion color scheme for gedit (gtk-source-view) +" +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +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="darkspectrum" + +hi Normal guifg=#efefef guibg=#2A2A2A + +" highlight groups +hi Cursor guibg=#ffffff guifg=#000000 +hi CursorLine guibg=#000000 +"hi CursorLine guibg=#3e4446 +hi CursorColumn guibg=#464646 + +"hi DiffText guibg=#4e9a06 guifg=#FFFFFF gui=bold +"hi DiffChange guibg=#4e9a06 guifg=#FFFFFF gui=bold +"hi DiffAdd guibg=#204a87 guifg=#FFFFFF gui=bold +"hi DiffDelete guibg=#5c3566 guifg=#FFFFFF gui=bold + +hi DiffAdd guifg=#ffcc7f guibg=#a67429 gui=none +hi DiffChange guifg=#7fbdff guibg=#425c78 gui=none +hi DiffText guifg=#8ae234 guibg=#4e9a06 gui=none +"hi DiffDelete guifg=#252723 guibg=#000000 gui=none +hi DiffDelete guifg=#000000 guibg=#000000 gui=none +"hi ErrorMsg + +hi Number guifg=#fce94f + +hi Folded guibg=#000000 guifg=#FFFFFF gui=bold +hi vimFold guibg=#000000 guifg=#FFFFFF gui=bold +hi FoldColumn guibg=#000000 guifg=#FFFFFF gui=bold + +hi LineNr guifg=#535353 guibg=#202020 +hi NonText guifg=#535353 guibg=#202020 +hi Folded guifg=#535353 guibg=#202020 gui=bold +hi FoldeColumn guifg=#535353 guibg=#202020 gui=bold +"hi VertSplit guibg=#ffffff guifg=#ffffff gui=none + +hi VertSplit guibg=#3C3C3C guifg=#3C3C3C gui=none +hi StatusLine guifg=#FFFFFF guibg=#3C3C3C gui=none +hi StatusLineNC guifg=#808080 guibg=#3C3C3C gui=none + +hi ModeMsg guifg=#fce94f +hi MoreMsg guifg=#fce94f +hi Visual guifg=#FFFFFF guibg=#3465a4 gui=none +hi VisualNOS guifg=#FFFFFF guibg=#204a87 gui=none +hi IncSearch guibg=#FFFFFF guifg=#ef5939 +hi Search guibg=#ad7fa8 guifg=#FFFFFF +hi SpecialKey guifg=#8ae234 + +hi Title guifg=#ef5939 +hi WarningMsg guifg=#ef5939 +hi Number guifg=#fcaf3e + +hi MatchParen guibg=#ad7fa8 guifg=#FFFFFF +hi Comment guifg=#8a8a8a +hi Constant guifg=#ef5939 gui=none +hi String guifg=#fce94f +hi Identifier guifg=#729fcf +hi Statement guifg=#ffffff gui=bold +hi PreProc guifg=#ffffff gui=bold +hi Type guifg=#8ae234 gui=bold +hi Special guifg=#e9b96e +hi Underlined guifg=#ad7fa8 gui=underline +hi Directory guifg=#729fcf +hi Ignore guifg=#555753 +hi Todo guifg=#FFFFFF guibg=#ef5939 gui=bold +hi Function guifg=#ad7fa8 + +"hi WildMenu guibg=#2e3436 guifg=#ffffff gui=bold +"hi WildMenu guifg=#7fbdff guibg=#425c78 gui=none +hi WildMenu guifg=#ffffff guibg=#3465a4 gui=none + +hi Pmenu guibg=#000000 guifg=#c0c0c0 +hi PmenuSel guibg=#3465a4 guifg=#ffffff +hi PmenuSbar guibg=#444444 guifg=#444444 +hi PmenuThumb guibg=#888888 guifg=#888888 + +hi cppSTLType guifg=#729fcf gui=bold + +hi spellBad guisp=#fcaf3e +hi spellCap guisp=#73d216 +hi spellRare guisp=#ad7fa8 +hi spellLocal guisp=#729fcf + +hi link cppSTL Function +hi link Error Todo +hi link Character Number +hi link rubySymbol Number +hi link htmlTag htmlEndTag +"hi link htmlTagName htmlTag +hi link htmlLink Underlined +hi link pythonFunction Identifier +hi link Question Type +hi link CursorIM Cursor +hi link VisualNOS Visual +hi link xmlTag Identifier +hi link xmlTagName Identifier +hi link shDeref Identifier +hi link shVariable Function +hi link rubySharpBang Special +hi link perlSharpBang Special +hi link schemeFunc Statement +"hi link shSpecialVariables Constant +"hi link bashSpecialVariables Constant + +" tabs (non gui) +hi TabLine guifg=#A3A3A3 guibg=#202020 gui=none +hi TabLineFill guifg=#535353 guibg=#202020 gui=none +hi TabLineSel guifg=#FFFFFF gui=bold +"hi TabLineSel guifg=#FFFFFF guibg=#000000 gui=bold +" vim: sw=4 ts=4 diff --git a/.vim/colors/darktango.vim b/.vim/colors/darktango.vim new file mode 100644 index 0000000..4ceeca9 --- /dev/null +++ b/.vim/colors/darktango.vim @@ -0,0 +1,75 @@ +" Vim color file +" Name: DarkTango +" Maintainer: Panos Laganakos +" Version: 0.3 + + +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="darktango" + +hi Normal guibg=#2e3436 guifg=#d3d7cf + +" {{{ syntax +hi Comment guifg=#555753 +hi Title guifg=#eeeeec +hi Underlined guifg=#20b0eF gui=none +hi Statement guifg=#888a85 +hi Type guifg=#ce5c00 +hi PreProc guifg=#eeeeec +hi Constant guifg=#babdb6 +hi Identifier guifg=#ce5c00 +hi Special guifg=#eeeeec +hi Ignore guifg=#f57900 +hi Todo guibg=#ce5c00 guifg=#eeeeec +"hi Error +"}}} + +" {{{ groups +hi Cursor guibg=#babdb6 guifg=#2e3436 +"hi CursorIM +hi Directory guifg=#bbd0df +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +"hi ErrorMsg +hi VertSplit guibg=#555753 guifg=#2e3436 gui=none +hi Folded guibg=#555753 guifg=#eeeeec +hi FoldColumn guibg=#2e3436 guifg=#555753 +hi LineNr guibg=#2e3436 guifg=#555753 +hi MatchParen guibg=#babdb6 guifg=#2e3436 +hi ModeMsg guifg=#ce5c00 +hi MoreMsg guifg=#ce5c00 +hi NonText guibg=#2e3436 guifg=#555753 +hi Question guifg=#aabbcc +hi Search guibg=#fce94f guifg=#c4a000 +hi IncSearch guibg=#c4a000 guifg=#fce94f +hi SpecialKey guifg=#ce5c00 +hi StatusLine guibg=#555753 guifg=#eeeeec gui=none +hi StatusLineNC guibg=#555753 guifg=#272334 gui=none +hi Visual guibg=#fcaf3e guifg=#ce5c00 +"hi VisualNOS +hi WarningMsg guifg=salmon +"hi WildMenu +"hi Menu +"hi Scrollbar guibg=grey30 guifg=tan +"hi Tooltip +hi Pmenu guibg=#babdb6 guifg=#555753 +hi PmenuSel guibg=#eeeeec guifg=#2e3436 +hi CursorLine guibg=#212628 +" }}} + +" {{{ terminal +" TODO +" }}} + +"vim: sw=4 diff --git a/.vim/colors/darkzen.vim b/.vim/colors/darkzen.vim new file mode 100644 index 0000000..0c93498 --- /dev/null +++ b/.vim/colors/darkzen.vim @@ -0,0 +1,23 @@ +" Vim color file +" Maintainer: Rudá Moura +" Last Change: Mon Oct 18 23:09:26 BRST 2010 + +set background=dark +highlight clear +if exists("syntax on") + syntax reset +endif + +let g:colors_name = "darkzen" + +highlight Normal term=none ctermfg=gray cterm=none guifg=gray gui=none guibg=black +highlight Comment term=none ctermfg=cyan cterm=none guifg=cyan gui=none +highlight Constant term=none ctermfg=red cterm=none guifg=red gui=none +highlight Special term=none ctermfg=red cterm=bold guifg=red gui=bold +highlight Identifier term=none ctermfg=gray cterm=none guifg=gray gui=none +highlight Statement term=bold ctermfg=gray cterm=bold guifg=gray gui=bold +highlight Operator term=bold ctermfg=gray cterm=bold guifg=gray gui=bold +highlight PreProc term=bold ctermfg=lightgreen cterm=none guifg=green gui=none +highlight Type term=bold ctermfg=magenta cterm=none guifg=magenta gui=none +highlight String term=none ctermfg=red cterm=none guifg=red gui=none +highlight Number term=none ctermfg=red cterm=none guifg=red gui=none diff --git a/.vim/colors/dawn.vim b/.vim/colors/dawn.vim new file mode 100644 index 0000000..a97c5ad --- /dev/null +++ b/.vim/colors/dawn.vim @@ -0,0 +1,78 @@ +" Vim color file +" Maintainer: Ajit J. Thakkar (ajit AT unb DOT ca) +" Last Change: 2005 Nov. 24 +" Version: 1.5 +" URL: http://www.unb.ca/chem/ajit/vim.htm + +" This GUI-only color scheme has a light grey background, and is a softer +" variant of the default and morning color schemes. + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "dawn" + +hi Normal guifg=Black guibg=grey90 +"hi Normal guifg=Black guibg=grey80 + +" Groups used in the 'highlight' and 'guicursor' options default value. +hi ErrorMsg gui=NONE guifg=Red guibg=Linen +hi IncSearch gui=NONE guifg=fg guibg=LightGreen +hi ModeMsg gui=NONE guifg=fg guibg=bg +hi StatusLine gui=NONE guifg=DarkBlue guibg=grey70 +hi StatusLineNC gui=NONE guifg=grey90 guibg=grey70 +hi VertSplit gui=NONE guifg=grey70 guibg=grey70 +hi Visual gui=reverse guifg=Grey guibg=fg +hi VisualNOS gui=underline,bold guifg=fg guibg=bg +hi DiffText gui=NONE guifg=Blue guibg=LightYellow +"hi DiffText gui=NONE guifg=Blue guibg=MistyRose2 +hi Cursor guifg=NONE guibg=Green +hi lCursor guifg=NONE guibg=Cyan +hi Directory guifg=Blue guibg=bg +hi LineNr guifg=Brown guibg=grey80 +hi MoreMsg gui=NONE guifg=SeaGreen guibg=bg +hi NonText gui=NONE guifg=Blue guibg=grey80 +hi Question gui=NONE guifg=SeaGreen guibg=bg +hi Search guifg=fg guibg=PeachPuff +hi SpecialKey guifg=Blue guibg=bg +hi Title gui=NONE guifg=Magenta guibg=bg +hi WarningMsg guifg=Red guibg=bg +hi WildMenu guifg=fg guibg=PeachPuff +hi Folded guifg=Grey40 guibg=bg " guifg=DarkBlue guibg=LightGrey +hi FoldColumn guifg=DarkBlue guibg=Grey +hi DiffAdd gui=NONE guifg=Blue guibg=LightCyan +hi DiffChange gui=NONE guifg=fg guibg=MistyRose2 +hi DiffDelete gui=NONE guifg=LightBlue guibg=LightCyan + +" Colors for syntax highlighting +hi Constant gui=NONE guifg=azure4 guibg=bg +"hi Constant gui=NONE guifg=DeepSkyBlue4 guibg=bg +hi String gui=NONE guifg=DarkOliveGreen4 guibg=bg +hi Special gui=NONE guifg=Cyan4 guibg=bg +hi Statement gui=NONE guifg=SlateBlue4 guibg=bg +hi Operator gui=NONE guifg=Purple guibg=bg +hi Ignore gui=NONE guifg=bg guibg=bg +if v:version >= 700 + hi SpellBad gui=undercurl guisp=DeepPink1 guifg=fg guibg=bg + hi SpellCap gui=undercurl guisp=Blue guifg=fg guibg=bg + hi SpellRare gui=undercurl guisp=Black guifg=fg guibg=bg + hi SpellLocal gui=undercurl guisp=SeaGreen guifg=fg guibg=bg +endif +hi ToDo gui=NONE guifg=DeepPink1 guibg=bg +hi Error gui=NONE guifg=Red guibg=Linen +hi Comment gui=NONE guifg=RoyalBlue guibg=NONE +hi Identifier gui=NONE guifg=DodgerBlue3 guibg=NONE +"hi Identifier gui=NONE guifg=SteelBlue4 guibg=NONE +hi PreProc gui=NONE guifg=Magenta4 guibg=NONE +hi Type gui=NONE guifg=Brown guibg=NONE +hi Underlined gui=underline guifg=SlateBlue guibg=bg +"if exists("g:minimal_colors") +" hi Statement gui=NONE guifg=fg guibg=bg +" hi Identifier gui=NONE guifg=fg guibg=bg +" hi Type gui=NONE guifg=fg guibg=bg +"endif + +" vim: sw=2 diff --git a/.vim/colors/delek.vim b/.vim/colors/delek.vim new file mode 100644 index 0000000..32e4536 --- /dev/null +++ b/.vim/colors/delek.vim @@ -0,0 +1,57 @@ +" Vim color file +" Maintainer: David Schweikert +" Last Change: 2001 Mai 14 + +" First remove all existing highlighting. +hi clear + +let colors_name = "delek" + +hi Normal guifg=Black guibg=white + +" Groups used in the 'highlight' and 'guicursor' options default value. +hi ErrorMsg term=standout ctermbg=DarkRed ctermfg=White guibg=Red guifg=White +hi IncSearch term=reverse cterm=reverse gui=reverse +hi ModeMsg term=bold cterm=bold gui=bold +hi VertSplit term=reverse cterm=reverse gui=reverse +hi Visual term=reverse cterm=reverse gui=reverse guifg=Grey guibg=fg +hi VisualNOS term=underline,bold cterm=underline,bold gui=underline,bold +hi DiffText term=reverse cterm=bold ctermbg=Red gui=bold guibg=Red +hi Cursor guibg=Green guifg=NONE +hi lCursor guibg=Cyan guifg=NONE +hi Directory term=bold ctermfg=DarkBlue guifg=Blue +hi LineNr term=underline ctermfg=Brown guifg=Brown +hi MoreMsg term=bold ctermfg=DarkGreen gui=bold guifg=SeaGreen +hi Question term=standout ctermfg=DarkGreen gui=bold guifg=SeaGreen +hi Search term=reverse ctermbg=Yellow ctermfg=NONE guibg=Yellow guifg=NONE +hi SpecialKey term=bold ctermfg=DarkBlue guifg=Blue +hi Title term=bold ctermfg=DarkMagenta gui=bold guifg=Magenta +hi WarningMsg term=standout ctermfg=DarkRed guifg=Red +hi WildMenu term=standout ctermbg=Yellow ctermfg=Black guibg=Yellow guifg=Black +hi Folded term=standout ctermbg=Grey ctermfg=DarkBlue guibg=LightGrey guifg=DarkBlue +hi FoldColumn term=standout ctermbg=Grey ctermfg=DarkBlue guibg=Grey guifg=DarkBlue +hi DiffAdd term=bold ctermbg=LightBlue guibg=LightBlue +hi DiffChange term=bold ctermbg=LightMagenta guibg=LightMagenta +hi DiffDelete term=bold ctermfg=Blue ctermbg=LightCyan gui=bold guifg=Blue guibg=LightCyan + +hi StatusLine cterm=bold ctermbg=blue ctermfg=yellow guibg=gold guifg=blue +hi StatusLineNC cterm=bold ctermbg=blue ctermfg=black guibg=gold guifg=blue +hi NonText term=bold ctermfg=Blue gui=bold guifg=gray guibg=white +hi Cursor guibg=fg guifg=bg + +" syntax highlighting +hi PreProc term=underline cterm=NONE ctermfg=darkmagenta gui=NONE guifg=magenta3 +hi Identifier term=underline cterm=NONE ctermfg=darkcyan gui=NONE guifg=cyan4 +hi Comment term=NONE cterm=NONE ctermfg=darkred gui=NONE guifg=red2 +hi Constant term=underline cterm=NONE ctermfg=darkgreen gui=NONE guifg=green3 +hi Special term=bold cterm=NONE ctermfg=lightred gui=NONE guifg=deeppink +hi Statement term=bold cterm=bold ctermfg=blue gui=bold guifg=blue +hi Type term=underline cterm=NONE ctermfg=blue gui=bold guifg=blue + +if exists("syntax_on") + let syntax_cmd = "enable" + runtime syntax/syncolor.vim + unlet syntax_cmd +endif + +" vim: sw=2 diff --git a/.vim/colors/delphi.vim b/.vim/colors/delphi.vim new file mode 100644 index 0000000..7e37c6b --- /dev/null +++ b/.vim/colors/delphi.vim @@ -0,0 +1,23 @@ +" Vim color file +" Maintainer : Sebastian-Torsten Tillmann +" Last Change: 2006-02-21 +" Version : 1.0.1 + +set background=light +hi clear + +if exists("syntax_on") + syntax reset +endif + +let g:colors_name="delphi" + +hi Comment gui=Italic guifg=DarkBlue guibg=NONE +hi Constant gui=NONE guifg=DarkBlue guibg=NONE +hi Identifier gui=NONE guifg=Black guibg=NONE +hi Statement gui=Bold guifg=Black guibg=NONE +hi PreProc gui=NONE guifg=DarkGreen guibg=NONE +hi Type gui=NONE guifg=Black guibg=NONE +hi Special gui=NONE guifg=DarkBlue guibg=NONE +hi Todo gui=Italic guifg=DarkBlue guibg=NONE +hi Error gui=NONE guifg=DarkRed guibg=NONE diff --git a/.vim/colors/denim.vim b/.vim/colors/denim.vim new file mode 100644 index 0000000..c41af9f --- /dev/null +++ b/.vim/colors/denim.vim @@ -0,0 +1,141 @@ +" Maintainer: Tim Aldrich +" Last Change: 19 November 2001 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="denim" +" GUI colors {{{ +hi Normal guifg=#FFFFFF guibg=#000038 +hi Cursor guifg=#000038 guibg=#FFFFFF +hi CursorIM guifg=#6699CC guibg=#99CCCC +hi Directory guifg=#33CCFF guibg=#6699CC +hi DiffAdd guifg=#FFFFCC guibg=#000038 +hi DiffChange guifg=#FF9900 guibg=#000038 +hi DiffDelete guifg=#999999 guibg=#000038 +hi DiffText guifg=#FFFFFF guibg=#000038 +hi ErrorMsg guifg=#FFFFFF guibg=#FF0000 +hi VertSplit guifg=#FFFFFF guibg=#000038 +hi Folded guifg=#999999 guibg=#003366 +hi FoldColumn guifg=#0000EE guibg=#6699CC +hi IncSearch guifg=#FFFF00 guibg=#000038 +hi LineNr guifg=#FFFFEE guibg=#000038 +hi ModeMsg guifg=#FFFFFF guibg=#000038 +hi MoreMsg guifg=#FFFFFF guibg=#000038 +hi NonText guifg=#FFFFFF guibg=#00003D +hi Question guifg=#FFFFFF guibg=#0000EE +hi Search guifg=#993300 guibg=#6699CC +hi SpecialKey guifg=#FFFF00 guibg=#000038 +hi StatusLine guifg=#FFFFFF guibg=#000038 +hi StatusLineNC guifg=#CCCCCC guibg=#000038 +hi Title guifg=#FFFFFF guibg=#FF9900 +hi Visual guifg=#003366 guibg=#6699FF +hi WarningMsg guifg=#FF0000 guibg=#FFFFFF +hi WildMenu guifg=#000038 guibg=#999999 +" }}} + +" cterm colors {{{ +hi Normal ctermfg=white ctermbg=darkblue +hi Cursor ctermfg=darkblue ctermbg=white +hi CursorIM ctermfg=lightcyan ctermbg=lightcyan +hi Directory ctermfg=lightblue ctermbg=lightcyan +hi DiffAdd ctermfg=LightYellow ctermbg=darkblue +hi DiffChange ctermfg=darkred ctermbg=darkblue +hi DiffDelete ctermfg=grey ctermbg=darkblue +hi DiffText ctermfg=white ctermbg=darkblue +hi ErrorMsg ctermfg=red ctermbg=lightcyan +hi VertSplit ctermfg=white ctermbg=darkblue +hi Folded ctermfg=grey ctermbg=darkblue +hi FoldColumn ctermfg=darkred ctermbg=lightcyan +hi IncSearch ctermfg=yellow ctermbg=darkblue +hi LineNr ctermfg=lightyellow ctermbg=darkblue +hi ModeMsg ctermfg=white ctermbg=darkblue +hi MoreMsg ctermfg=white ctermbg=darkblue +hi NonText ctermfg=white ctermbg=lightblue +hi Question ctermfg=white ctermbg=darkblue +hi Search ctermfg=darkred ctermbg=lightcyan +hi SpecialKey ctermfg=yellow ctermbg=darkblue +hi StatusLine ctermfg=white ctermbg=darkblue +hi StatusLineNC ctermfg=lightgrey ctermbg=darkblue +hi Title ctermfg=white ctermbg=yellow +hi Visual ctermfg=lightblue ctermbg=cyan +hi WarningMsg ctermfg=red ctermbg=white +hi WildMenu ctermfg=darkblue ctermbg=grey +" }}} + +" GUI hilight groups {{{ + +hi Comment guifg=#999999 +hi Constant guifg=#33FF33 +hi String guifg=#CCCC99 +hi Character guifg=#33FF33 +hi Number guifg=#33FF33 +hi Boolean guifg=#33FF33 +hi Float guifg=#33FF33 +hi Identifier guifg=#33FFFF +hi Function guifg=#33FFFF +hi Statement guifg=#FFFFCC +hi Conditional guifg=#FFFFCC +hi Repeat guifg=#FFFFCC +hi Label guifg=#33FF99 +hi Operator guifg=#FFFF00 +hi Keyword guifg=#FFFF00 +hi Exception guifg=#FFFFAA +hi PreProc guifg=#66CCFF +hi Include guifg=#66CCFF +hi Define guifg=#66CCFF +hi Macro guifg=#66CCFF +hi PreCondit guifg=#66CCFF +hi Type guifg=#33FF99 +hi StorageClass guifg=#33FF99 +hi Structure guifg=#33FF99 +hi Typedef guifg=#33FF99 +hi Special guifg=#00FF00 +hi SpecialChar guifg=#00FF00 +hi Tag guifg=#CCCCFF +hi Delimiter guifg=#CCCCFF +hi SpecialComment guifg=#FFFFCC +hi Debug guifg=#CC3300 +hi Ignore guifg=#0066AA +hi Error guifg=#FF0000 guibg=#FFFFFF +hi Todo guifg=#999999 guibg=#FFFFFF +" }}} + +" cterm hilight groups {{{ +hi Comment ctermfg=grey +hi Constant ctermfg=lightgreen +hi String ctermfg=brown +hi Character ctermfg=lightgreen +hi Number ctermfg=lightgreen +hi Boolean ctermfg=lightgreen +hi Float ctermfg=lightgreen +hi Identifier ctermfg=lightcyan +hi Function ctermfg=lightcyan +hi Statement ctermfg=lightyellow +hi Conditional ctermfg=lightyellow +hi Repeat ctermfg=lightyellow +hi Label ctermfg=lightcyan +hi Operator ctermfg=yellow +hi Keyword ctermfg=yellow +hi Exception ctermfg=yellow +hi PreProc ctermfg=darkcyan +hi Include ctermfg=darkcyan +hi Define ctermfg=darkcyan +hi Macro ctermfg=darkcyan +hi PreCondit ctermfg=darkcyan +hi Type ctermfg=lightcyan +hi StorageClass ctermfg=lightcyan +hi Structure ctermfg=lightcyan +hi Typedef ctermfg=lightcyan +hi Special ctermfg=green +hi SpecialChar ctermfg=green +hi Tag ctermfg=brown +hi Delimiter ctermfg=brown +hi SpecialComment ctermfg=lightyellow +hi Debug ctermfg=magenta +hi Ignore ctermfg=lightblue +hi Error ctermfg=red ctermbg=white +hi Todo ctermfg=grey ctermbg=white +" }}} diff --git a/.vim/colors/derefined.vim b/.vim/colors/derefined.vim new file mode 100644 index 0000000..80c7431 --- /dev/null +++ b/.vim/colors/derefined.vim @@ -0,0 +1,101 @@ +" Vim color file +" derefined v1.1b +" http://www.vim.org/scripts/script.php?script_id=1454 +" +" Maintainer: Shawn Axsom +" +" * Place :colo derefined in your VimRC/GVimRC file +" * Also add :set background=dark or :setbackground=light +" depending on your preference. + +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="derefined" + +hi Normal guifg=green guibg=darkcyan ctermfg=green ctermbg=darkcyan +hi NonText guifg=red guibg=black ctermfg=red ctermbg=black + +hi Folded guibg=black guifg=green gui=bold ctermbg=black ctermfg=green +hi FoldColumn guibg=black guifg=yellow ctermbg=black ctermfg=yellow +hi LineNr guibg=black guifg=cyan gui=none ctermbg=black ctermfg=cyan +hi StatusLine guibg=grey guifg=blue gui=bold ctermbg=white ctermfg=blue +hi StatusLineNC guibg=grey guifg=black gui=bold ctermbg=grey ctermfg=black +hi VertSplit guibg=darkgreen guifg=darkblue gui=none ctermbg=darkgrey ctermfg=darkblue + +hi tablinesel guibg=#515a71 guifg=#50aae5 gui=none +hi tabline guibg=#4d4d5f guifg=#5b7098 gui=none +hi tablinefill guibg=#2d2d3f guifg=#aaaaaa gui=none + +"hi SpellBad +"hi SpellCap +"hi SpellLocal +"hi SpellRare + +hi MatchParen guibg=#7b5a55 guifg=#001122 + +" syntax highlighting """""""""""""""""""""""""""""""""""""""" + + +hi Comment guifg=black guibg=bg ctermfg=black ctermbg=bg gui=bold +hi Title guifg=green guibg=darkblue gui=none ctermfg=green ctermbg=darkblue cterm=none +hi Underlined guifg=cyan guibg=darkblue gui=none ctermfg=cyan ctermbg=darkblue cterm=none + +hi Statement guifg=yellow gui=none ctermfg=yellow cterm=none +hi Type guifg=cyan gui=none ctermfg=cyan cterm=none +hi Constant guifg=white ctermfg=white +hi Number guifg=white ctermfg=white +hi PreProc guifg=grey ctermfg=grey +hi Special guifg=grey ctermfg=grey +hi Ignore guifg=grey40 ctermfg=grey +hi Todo guifg=orangered guibg=yellow2 ctermfg=red ctermbg=yellow +hi Error guifg=yellow guibg=red ctermfg=yellow ctermbg=red +hi Function guifg=yellow guibg=bg gui=None ctermfg=yellow ctermbg=bg cterm=none +hi Identifier guifg=cyan ctermfg=cyan guibg=bg ctermbg=bg gui=none cterm=none +"""""this section borrowed from OceanDeep/Midnight""""" +highlight Conditional gui=None guifg=yellow guibg=bg cterm=None ctermfg=yellow ctermbg=bg +highlight Repeat gui=None guifg=yellow guibg=bg cterm=None ctermfg=yellow ctermbg=bg +"hi Label gui=None guifg=LightGreen guibg=bg +highlight Operator gui=None guifg=yellow guibg=bg cterm=None ctermfg=yellow ctermbg=bg +highlight Keyword gui=bold guifg=grey guibg=bg cterm=bold ctermfg=grey ctermbg=bg +highlight Exception gui=bold guifg=yellow guibg=bg cterm=bold ctermfg=yellow ctermbg=bg +""""""""""""""""""""""""""""""""""""""""""""""""""""""" +"end syntax highlighting """"""""""""""""""""""""""""""""""""" + +" highlight groups +"hi CursorIM +hi Directory guifg=#bbd0df +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +hi ErrorMsg guibg=#ff4545 + +hi Cursor guibg=yellow guifg=black + + +hi Search guibg=darkgreen guifg=darkyellow ctermbg=darkgreen ctermfg=darkyellow +hi IncSearch guifg=darkyellow guibg=darkgreen ctermfg=darkyellow ctermbg=darkgreen + +hi ModeMsg guifg=#00AACC +hi MoreMsg guifg=SeaGreen +hi Question guifg=#AABBCC +hi SpecialKey guifg=#90dcb0 +hi Visual guifg=cyan guibg=black ctermfg=cyan ctermbg=black +hi VisualNOS guifg=cyan guibg=black ctermfg=cyan ctermbg=black +hi WarningMsg guifg=salmon +hi WildMenu guifg=grey guibg=blue +"hi Menu +"hi Scrollbar guibg=grey30 guifg=tan +"hi Tooltip + + +" new Vim 7.0 items +hi Pmenu guibg=#3a6595 guifg=#9aadd5 +hi PmenuSel guibg=#4a85ba guifg=#b0d0f0 diff --git a/.vim/colors/desert.vim b/.vim/colors/desert.vim new file mode 100644 index 0000000..e43c61b --- /dev/null +++ b/.vim/colors/desert.vim @@ -0,0 +1,105 @@ +" Vim color file +" Maintainer: Hans Fugal +" Last Change: $Date: 2003/06/02 19:28:15 $ +" URL: http://hans.fugal.net/vim/colors/desert.vim + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +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="desert" + +hi Normal guifg=White guibg=grey20 + +" highlight groups +hi Cursor guibg=khaki guifg=slategrey +"hi CursorIM +"hi Directory +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +"hi ErrorMsg +hi VertSplit guibg=#c2bfa5 guifg=grey50 gui=none +hi Folded guibg=grey30 guifg=gold +hi FoldColumn guibg=grey30 guifg=tan +hi IncSearch guifg=slategrey guibg=khaki +"hi LineNr +hi ModeMsg guifg=goldenrod +hi MoreMsg guifg=SeaGreen +hi NonText guifg=LightBlue guibg=grey30 +hi Question guifg=springgreen +hi Search guibg=peru guifg=wheat +hi SpecialKey guifg=yellowgreen +hi StatusLine guibg=#c2bfa5 guifg=black gui=none +hi StatusLineNC guibg=#c2bfa5 guifg=grey50 gui=none +hi Title guifg=indianred +hi Visual gui=none guifg=khaki guibg=olivedrab +"hi VisualNOS +hi WarningMsg guifg=salmon +"hi WildMenu +"hi Menu +"hi Scrollbar +"hi Tooltip + +" syntax highlighting groups +hi Comment guifg=SkyBlue +hi Constant guifg=#ffa0a0 +hi Identifier guifg=palegreen +hi Statement guifg=khaki +hi PreProc guifg=indianred +hi Type guifg=darkkhaki +hi Special guifg=navajowhite +"hi Underlined +hi Ignore guifg=grey40 +"hi Error +hi Todo guifg=orangered guibg=yellow2 + +" color terminal definitions +hi SpecialKey ctermfg=darkgreen +hi NonText cterm=bold ctermfg=darkblue +hi Directory ctermfg=darkcyan +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green +hi Search cterm=NONE ctermfg=grey ctermbg=blue +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr ctermfg=3 +hi Question ctermfg=green +hi StatusLine cterm=bold,reverse +hi StatusLineNC cterm=reverse +hi VertSplit cterm=reverse +hi Title ctermfg=5 +hi Visual cterm=reverse +hi VisualNOS cterm=bold,underline +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=darkgrey ctermbg=NONE +hi FoldColumn ctermfg=darkgrey ctermbg=NONE +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 +hi Comment ctermfg=darkcyan +hi Constant ctermfg=brown +hi Special ctermfg=5 +hi Identifier ctermfg=6 +hi Statement ctermfg=3 +hi PreProc ctermfg=5 +hi Type ctermfg=2 +hi Underlined cterm=underline ctermfg=5 +hi Ignore ctermfg=darkgrey +hi Error cterm=bold ctermfg=7 ctermbg=1 + + +"vim: sw=4 diff --git a/.vim/colors/desert256.vim b/.vim/colors/desert256.vim new file mode 100644 index 0000000..7a97742 --- /dev/null +++ b/.vim/colors/desert256.vim @@ -0,0 +1,338 @@ +" Vim color file +" Maintainer: Henry So, Jr. + +" These are the colors of the "desert" theme by Hans Fugal with a few small +" modifications (namely that I lowered the intensity of the normal white and +" made the normal and nontext backgrounds black), modified to work with 88- +" and 256-color xterms. +" +" The original "desert" theme is available as part of the vim distribution or +" at http://hans.fugal.net/vim/colors/. +" +" The real feature of this color scheme, with a wink to the "inkpot" theme, is +" the programmatic approximation of the gui colors to the palettes of 88- and +" 256- color xterms. The functions that do this (folded away, for +" readability) are calibrated to the colors used for Thomas E. Dickey's xterm +" (version 200), which is available at http://dickey.his.com/xterm/xterm.html. +" +" I struggled with trying to parse the rgb.txt file to avoid the necessity of +" converting color names to #rrggbb form, but decided it was just not worth +" the effort. Maybe someone seeing this may decide otherwise... + +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="desert256" + +if has("gui_running") || &t_Co == 88 || &t_Co == 256 + " functions {{{ + " returns an approximate grey index for the given grey level + fun 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 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 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 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 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 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 color(r, g, b) + " get the closest grey + let l:gx = grey_number(a:r) + let l:gy = grey_number(a:g) + let l:gz = grey_number(a:b) + + " get the closest color + let l:x = rgb_number(a:r) + let l:y = rgb_number(a:g) + let l:z = rgb_number(a:b) + + if l:gx == l:gy && l:gy == l:gz + " there are two possibilities + let l:dgr = grey_level(l:gx) - a:r + let l:dgg = grey_level(l:gy) - a:g + let l:dgb = grey_level(l:gz) - a:b + let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb) + let l:dr = rgb_level(l:gx) - a:r + let l:dg = rgb_level(l:gy) - a:g + let l:db = 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 grey_color(l:gx) + else + " use the color + return rgb_color(l:x, l:y, l:z) + endif + else + " only one possibility + return rgb_color(l:x, l:y, l:z) + endif + endfun + + " returns the palette index to approximate the 'rrggbb' hex string + fun 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 color(l:r, l:g, l:b) + endfun + + " sets the highlighting for the given group + fun X(group, fg, bg, attr) + if a:fg != "" + exec "hi " . a:group . " guifg=#" . a:fg . " ctermfg=" . rgb(a:fg) + endif + if a:bg != "" + exec "hi " . a:group . " guibg=#" . a:bg . " ctermbg=" . rgb(a:bg) + endif + if a:attr != "" + exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr + endif + endfun + " }}} + + call X("Normal", "cccccc", "000000", "") + + " highlight groups + call X("Cursor", "708090", "f0e68c", "") + "CursorIM + "Directory + "DiffAdd + "DiffChange + "DiffDelete + "DiffText + "ErrorMsg + call X("VertSplit", "c2bfa5", "7f7f7f", "reverse") + call X("Folded", "ffd700", "4d4d4d", "") + call X("FoldColumn", "d2b48c", "4d4d4d", "") + call X("IncSearch", "708090", "f0e68c", "") + "LineNr + call X("ModeMsg", "daa520", "", "") + call X("MoreMsg", "2e8b57", "", "") + call X("NonText", "addbe7", "000000", "bold") + call X("Question", "00ff7f", "", "") + call X("Search", "f5deb3", "cd853f", "") + call X("SpecialKey", "9acd32", "", "") + call X("StatusLine", "c2bfa5", "000000", "reverse") + call X("StatusLineNC", "c2bfa5", "7f7f7f", "reverse") + call X("Title", "cd5c5c", "", "") + call X("Visual", "6b8e23", "f0e68c", "reverse") + "VisualNOS + call X("WarningMsg", "fa8072", "", "") + "WildMenu + "Menu + "Scrollbar + "Tooltip + + " syntax highlighting groups + call X("Comment", "87ceeb", "", "") + call X("Constant", "ffa0a0", "", "") + call X("Identifier", "98fb98", "", "none") + call X("Statement", "f0e68c", "", "bold") + call X("PreProc", "cd5c5c", "", "") + call X("Type", "bdb76b", "", "bold") + call X("Special", "ffdead", "", "") + "Underlined + call X("Ignore", "666666", "", "") + "Error + call X("Todo", "ff4500", "eeee00", "") + + " delete functions {{{ + delf X + delf rgb + delf color + delf rgb_color + delf rgb_level + delf rgb_number + delf grey_color + delf grey_level + delf grey_number + " }}} +else + " color terminal definitions + hi SpecialKey ctermfg=darkgreen + hi NonText cterm=bold ctermfg=darkblue + hi Directory ctermfg=darkcyan + hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 + hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green + hi Search cterm=NONE ctermfg=grey ctermbg=blue + hi MoreMsg ctermfg=darkgreen + hi ModeMsg cterm=NONE ctermfg=brown + hi LineNr ctermfg=3 + hi Question ctermfg=green + hi StatusLine cterm=bold,reverse + hi StatusLineNC cterm=reverse + hi VertSplit cterm=reverse + hi Title ctermfg=5 + hi Visual cterm=reverse + hi VisualNOS cterm=bold,underline + hi WarningMsg ctermfg=1 + hi WildMenu ctermfg=0 ctermbg=3 + hi Folded ctermfg=darkgrey ctermbg=NONE + hi FoldColumn ctermfg=darkgrey ctermbg=NONE + hi DiffAdd ctermbg=4 + hi DiffChange ctermbg=5 + hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 + hi DiffText cterm=bold ctermbg=1 + hi Comment ctermfg=darkcyan + hi Constant ctermfg=brown + hi Special ctermfg=5 + hi Identifier ctermfg=6 + hi Statement ctermfg=3 + hi PreProc ctermfg=5 + hi Type ctermfg=2 + hi Underlined cterm=underline ctermfg=5 + hi Ignore ctermfg=darkgrey + hi Error cterm=bold ctermfg=7 ctermbg=1 +endif + +" vim: set fdl=0 fdm=marker: diff --git a/.vim/colors/desertEx.vim b/.vim/colors/desertEx.vim new file mode 100644 index 0000000..08ef878 --- /dev/null +++ b/.vim/colors/desertEx.vim @@ -0,0 +1,98 @@ +" Vim color file +" Maintainer: Mingbai +" Last Change: 2006-12-24 20:09:09 + +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="desertEx" + +hi Normal guifg=gray guibg=grey17 gui=none + +" AlignCtrl default +" AlignCtrl =P0 guifg guibg gui +" Align + +" highlight groups +hi Cursor guifg=black guibg=yellow gui=none +hi ErrorMsg guifg=white guibg=red gui=none +hi VertSplit guifg=gray40 guibg=gray40 gui=none +hi Folded guifg=DarkSlateGray3 guibg=grey30 gui=none +hi FoldColumn guifg=tan guibg=grey30 gui=none +hi IncSearch guifg=#b0ffff guibg=#2050d0 +hi LineNr guifg=burlywood3 gui=none +hi ModeMsg guifg=SkyBlue gui=none +hi MoreMsg guifg=SeaGreen gui=none +hi NonText guifg=cyan gui=none +hi Question guifg=springgreen gui=none +hi Search guifg=gray80 guibg=#445599 gui=none +hi SpecialKey guifg=cyan gui=none +hi StatusLine guifg=black guibg=#c2bfa5 gui=bold +hi StatusLineNC guifg=grey guibg=gray40 gui=none +hi Title guifg=indianred gui=none +hi Visual guifg=gray17 guibg=tan1 gui=none +hi WarningMsg guifg=salmon gui=none +hi Pmenu guifg=white guibg=#445599 gui=none +hi PmenuSel guifg=#445599 guibg=gray +hi WildMenu guifg=gray guibg=gray17 gui=none +hi MatchParen guifg=cyan guibg=NONE gui=bold +hi DiffAdd guifg=black guibg=wheat1 +hi DiffChange guifg=black guibg=skyblue1 +hi DiffText guifg=black guibg=hotpink1 gui=none +hi DiffDelete guibg=gray45 guifg=black gui=none + + + +" syntax highlighting groups +hi Comment guifg=PaleGreen3 gui=italic +hi Constant guifg=salmon gui=none +hi Identifier guifg=Skyblue gui=none +hi Function guifg=Skyblue gui=none +hi Statement guifg=lightgoldenrod2 gui=none +hi PreProc guifg=PaleVioletRed2 gui=none +hi Type guifg=tan1 gui=none +hi Special guifg=aquamarine2 gui=none +hi Ignore guifg=grey40 gui=none +hi Todo guifg=orangered guibg=yellow2 gui=none + +" color terminal definitions +hi SpecialKey ctermfg=darkgreen +hi NonText cterm=bold ctermfg=darkblue +hi Directory ctermfg=darkcyan +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green +hi Search cterm=NONE ctermfg=grey ctermbg=blue +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr ctermfg=3 +hi Question ctermfg=green +hi StatusLine cterm=bold,reverse +hi StatusLineNC cterm=reverse +hi VertSplit cterm=reverse +hi Title ctermfg=5 +hi Visual cterm=reverse +hi VisualNOS cterm=bold,underline +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=darkgrey ctermbg=NONE +hi FoldColumn ctermfg=darkgrey ctermbg=NONE +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 +hi Comment ctermfg=darkcyan +hi Constant ctermfg=brown +hi Special ctermfg=5 +hi Identifier ctermfg=6 +hi Statement ctermfg=3 +hi PreProc ctermfg=5 +hi Type ctermfg=2 +hi Underlined cterm=underline ctermfg=5 +hi Ignore ctermfg=darkgrey +hi Error cterm=bold ctermfg=7 ctermbg=1 diff --git a/.vim/colors/desertedocean.vim b/.vim/colors/desertedocean.vim new file mode 100644 index 0000000..5643a44 --- /dev/null +++ b/.vim/colors/desertedocean.vim @@ -0,0 +1,110 @@ +" Vim color file +" desertedocean v0.2b +" Maintainer: Shawn Axsom +" [axm285.xena-free.com] + +" desertedocean, a colorscheme using the desert colorscheme as a template, based loosely off of desert, oceandeep, and zenburn. + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +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="desertedocean" + +hi Normal guifg=#FFE9E0 guibg=#102D33 + +" highlight groups +"hi Cursor guibg=#660000 guifg=#AA5522 +hi Cursor guibg=#007799 guifg=#00D6CC +"hi CursorIM +"hi Directory +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +"hi ErrorMsg +hi VertSplit guibg=#c2bfa5 guifg=grey50 gui=none +hi Folded guibg=#337799 guifg=#BBDDCC +hi FoldColumn guibg=#337799 guifg=#00CCFF +hi LineNr guifg=#CCF0FF guibg=#006688 +hi ModeMsg guifg=#00AACC +hi MoreMsg guifg=SeaGreen +hi NonText guifg=#283940 guibg=#253F49 "same as background """""""""""""""" """"""""""""""" """"""""""""""" """"""""""""""" """"""""""""""" """"""""""""""" """""""""""""""""""""" +hi Question guifg=springgreen +hi Search guibg=slategrey guifg=#FFDABB +hi IncSearch guifg=slategrey guibg=#FFDFB0 +hi SpecialKey guifg=#00CCBB " blue green +hi StatusLine guibg=#00A0D0 guifg=#050709 gui=none +hi StatusLineNC guibg=#0595c0 guifg=#272324 gui=none +hi Title guifg=#33AAFF +hi Visual guifg=#008FBF guibg=#33DFEF +"hi VisualNOS +hi WarningMsg guifg=salmon +"hi WildMenu +"hi Menu +"hi Scrollbar guibg=grey30 guifg=tan +"hi Tooltip + +" syntax highlighting groups +hi Comment guifg=#69B9DA +hi Underlined guifg=#33BBFF +hi Statement guifg=#FF836E +hi PreProc guifg=#FF8076 gui=NONE +hi Constant guifg=#FF6B5B " or #FF707A +hi Identifier guifg=#FFDDEE +hi Type guifg=#FFB592 +hi Special guifg=navajowhite +hi Ignore guifg=grey40 +"hi Error +hi Todo guifg=orangered guibg=yellow2 + +" color terminal definitions +hi SpecialKey ctermfg=darkgreen +hi NonText cterm=bold ctermfg=darkblue +hi Directory ctermfg=darkcyan +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green +hi Search cterm=NONE ctermfg=grey ctermbg=blue +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr ctermfg=3 +hi Question ctermfg=green +hi StatusLine cterm=bold,reverse +hi StatusLineNC cterm=reverse +hi VertSplit cterm=reverse +hi Title ctermfg=5 +hi Visual cterm=reverse +hi VisualNOS cterm=bold,underline +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=darkgrey ctermbg=NONE +hi FoldColumn ctermfg=darkgrey ctermbg=NONE +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 +hi Comment ctermfg=darkcyan +hi Constant ctermfg=brown +hi Special ctermfg=5 +hi Identifier ctermfg=6 +hi Statement ctermfg=3 +hi PreProc ctermfg=5 +hi Type ctermfg=2 +hi Underlined cterm=underline ctermfg=5 +hi Ignore cterm=bold ctermfg=7 +hi Ignore ctermfg=darkgrey +hi Error cterm=bold ctermfg=7 ctermbg=1 + + +"vim: sw=4 diff --git a/.vim/colors/desertedoceanburnt.vim b/.vim/colors/desertedoceanburnt.vim new file mode 100644 index 0000000..d718cfd --- /dev/null +++ b/.vim/colors/desertedoceanburnt.vim @@ -0,0 +1,113 @@ +" Vim color file +" desertedoceanburnt v0.1 +" Maintainer: Shawn Axsom +" [axs221.1l.com] + +" desertedoceanburnt, a dull, low contrast version of the desertedocean +" colorscheme, which used the desert colorscheme as template, based +" loosely off of desert, oceandeep, and zenburn. + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +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="desertedoceanburnt" + +hi Normal guifg=#FFFAFD guibg=#13232d +hi Cursor guibg=#204769 guifg=#A0BaBa +"hi CursorIM + +" syntax highlighting +hi Comment guifg=#8AC0DA +hi Title guifg=#509BDF +hi Underlined guifg=#20C0FF +hi Statement guifg=#da938a +hi Type guifg=#e0c6b9 +hi PreProc guifg=#d590aa gui=NONE +hi Constant guifg=#ddaab7 " or #FF707A +hi Identifier guifg=#caeDfE +hi Special guifg=navajowhite +hi Ignore guifg=grey40 +hi Todo guifg=orangered guibg=yellow2 +"hi Error +"end syntax highlighting + +" highlight groups +hi Directory guifg=#bbd0df +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +"hi ErrorMsg +hi VertSplit guibg=#c2bfa5 guifg=grey50 gui=none +hi Folded guibg=#337799 guifg=#BBDDCC +hi FoldColumn guibg=#004f70 guifg=#50ACCF +hi LineNr guifg=#CCF0FF guibg=#004968 +hi ModeMsg guifg=#00AACC +hi MoreMsg guifg=SeaGreen +hi NonText guifg=#285960 guibg=#152C39 +hi Question guifg=#AABBCC +hi Search guibg=slategrey guifg=#FFDABB +hi IncSearch guifg=slategrey guibg=#FFDFB0 +hi SpecialKey guifg=#00CCBB " blue green +hi StatusLine guibg=#0085CA guifg=#050709 gui=none +hi StatusLineNC guibg=#1069A0 guifg=#272334 gui=none +hi Visual guifg=#008FBF guibg=#33DFEF +"hi VisualNOS +hi WarningMsg guifg=salmon +"hi WildMenu +"hi Menu +"hi Scrollbar guibg=grey30 guifg=tan +"hi Tooltip + + +" color terminal definitions +hi SpecialKey ctermfg=darkgreen +hi NonText cterm=bold ctermfg=darkblue +hi Directory ctermfg=darkcyan +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green +hi Search cterm=NONE ctermfg=grey ctermbg=blue +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr ctermfg=3 +hi Question ctermfg=green +hi StatusLine cterm=bold,reverse +hi StatusLineNC cterm=reverse +hi VertSplit cterm=reverse +hi Title ctermfg=5 +hi Visual cterm=reverse +hi VisualNOS cterm=bold,underline +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=darkgrey ctermbg=NONE +hi FoldColumn ctermfg=darkgrey ctermbg=NONE +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 +hi Comment ctermfg=darkcyan +hi Constant ctermfg=brown +hi Special ctermfg=5 +hi Identifier ctermfg=6 +hi Statement ctermfg=3 +hi PreProc ctermfg=5 +hi Type ctermfg=2 +hi Underlined cterm=underline ctermfg=5 +hi Ignore cterm=bold ctermfg=7 +hi Ignore ctermfg=darkgrey +hi Error cterm=bold ctermfg=7 ctermbg=1 + + +"vim: sw=4 diff --git a/.vim/colors/devbox-dark-256.vim b/.vim/colors/devbox-dark-256.vim new file mode 100644 index 0000000..349f56f --- /dev/null +++ b/.vim/colors/devbox-dark-256.vim @@ -0,0 +1,143 @@ +" Vim color file +" Name: devbox-dark-256 +" Author: Dee Sub Wun + +set background=dark +set t_Co=256 +let g:colors_name="devbox-dark-256" + +let python_highlight_all = 1 +let c_gnu = 1 + + +"""""" +" SYNTAX HIGHLIGHTING +"""""""""""""""""""""""" +hi Constant cterm=NONE ctermfg=149 ctermbg=NONE +hi String cterm=NONE ctermfg=208 ctermbg=NONE +hi Character cterm=NONE ctermfg=149 ctermbg=NONE +hi Number cterm=NONE ctermfg=208 ctermbg=NONE +hi Boolean cterm=NONE ctermfg=208 ctermbg=NONE +hi Float cterm=NONE ctermfg=208 ctermbg=NONE +hi Comment cterm=NONE ctermfg=66 ctermbg=NONE + +hi Identifier cterm=NONE ctermfg=15 ctermbg=NONE +hi Function cterm=NONE ctermfg=15 ctermbg=NONE + +hi Statement cterm=bold ctermfg=149 ctermbg=NONE +hi Conditional cterm=bold ctermfg=149 ctermbg=NONE +hi Repeat cterm=bold ctermfg=149 ctermbg=NONE +hi Label cterm=bold ctermfg=149 ctermbg=NONE +hi Operator cterm=NONE ctermfg=149 ctermbg=NONE +hi Keyword cterm=bold ctermfg=149 ctermbg=NONE +hi Exception cterm=NONE ctermfg=170 ctermbg=NONE + +hi PreProc cterm=NONE ctermfg=170 ctermbg=NONE +hi Include cterm=NONE ctermfg=170 ctermbg=NONE +hi Define cterm=NONE ctermfg=170 ctermbg=NONE +hi Macro cterm=NONE ctermfg=170 ctermbg=NONE +hi PreCondit cterm=NONE ctermfg=170 ctermbg=NONE + +hi Type cterm=NONE ctermfg=149 ctermbg=NONE +hi StorageClass cterm=NONE ctermfg=149 ctermbg=NONE +hi Structure cterm=NONE ctermfg=110 ctermbg=NONE +hi Typedef cterm=NONE ctermfg=149 ctermbg=NONE + +hi Special cterm=NONE ctermfg=15 ctermbg=NONE +hi SpecialChar cterm=NONE ctermfg=15 ctermbg=NONE +hi Tag cterm=NONE ctermfg=149 ctermbg=NONE +hi Delimiter cterm=NONE ctermfg=15 ctermbg=NONE +hi SpecialComment cterm=NONE ctermfg=15 ctermbg=NONE +hi Debug cterm=NONE ctermfg=15 ctermbg=NONE + +hi xmlTagName cterm=NONE ctermfg=149 ctermbg=NONE +hi xmlCdata cterm=NONE ctermfg=246 ctermbg=NONE +hi xmlAttrib cterm=NONE ctermfg=110 ctermbg=NONE +hi htmlTagName cterm=NONE ctermfg=149 ctermbg=NONE +hi htmlArg cterm=NONE ctermfg=110 ctermbg=NONE +hi htmlItalic cterm=NONE ctermfg=253 ctermbg=235 + +hi Underlined cterm=underline ctermfg=110 ctermbg=NONE + +hi Ignore cterm=NONE ctermfg=15 ctermbg=NONE + +hi Error cterm=bold ctermfg=15 ctermbg=9 + +hi Todo cterm=NONE ctermfg=15 ctermbg=149 + + +"""""" +" INTERFACE +"""""""""""""""""""""""" +hi Cursor cterm=NONE ctermfg=white ctermbg=red +hi CursorLine cterm=NONE ctermfg=NONE ctermbg=236 +hi CursorColumn cterm=NONE ctermfg=NONE ctermbg=236 +hi Directory cterm=NONE ctermfg=149 ctermbg=NONE +hi ErrorMsg cterm=bold ctermfg=15 ctermbg=9 +hi LineNr cterm=NONE ctermfg=245 ctermbg=238 +hi MatchParen cterm=bold ctermfg=0 ctermbg=149 +hi ModeMsg cterm=NONE ctermfg=15 ctermbg=NONE +hi MoreMsg cterm=NONE ctermfg=149 ctermbg=NONE +hi NonText cterm=bold ctermfg=239 ctermbg=NONE +hi Normal cterm=NONE ctermfg=253 ctermbg=235 +hi Question cterm=NONE ctermfg=149 ctermbg=NONE +hi SpecialKey cterm=NONE ctermfg=149 ctermbg=NONE +hi Title cterm=NONE ctermfg=170 ctermbg=NONE +hi VertSplit cterm=reverse ctermfg=0 ctermbg=240 +hi WarningMsg cterm=NONE ctermfg=9 ctermbg=NONE +hi WildMenu cterm=NONE ctermfg=15 ctermbg=236 + + +"""""" +" TABS +"""""""""""""""""""""""" +hi TabLine cterm=bold,reverse ctermfg=0 ctermbg=240 +hi TabLineFill cterm=bold,reverse ctermfg=0 ctermbg=240 +hi TabLineSel cterm=bold,reverse ctermfg=0 ctermbg=240 + + +"""""" +" COMPLETION +"""""""""""""""""""""""" +hi Pmenu cterm=NONE ctermfg=252 ctermbg=75 +hi PmenuSel cterm=NONE ctermfg=NONE ctermbg=75 + + +"""""" +" STATUS +"""""""""""""""""""""""" +hi StatusLine cterm=reverse ctermfg=111 ctermbg=0 +hi StatusLineNC cterm=reverse ctermfg=238 ctermbg=245 + + +"""""" +" DIFF +"""""""""""""""""""""""" +hi DiffAdd cterm=NONE ctermfg=NONE ctermbg=239 +hi DiffChange cterm=NONE ctermfg=NONE ctermbg=170 +hi DiffDelete cterm=bold ctermfg=239 ctermbg=66 +hi DiffText cterm=bold ctermfg=15 ctermbg=NONE + + +"""""" +" VISUAL +"""""""""""""""""""""""" +hi Visual cterm=NONE ctermfg=15 ctermbg=239 +hi VisualNOS cterm=NONE ctermfg=15 ctermbg=239 + + +"""""" +" FOLDING +"""""""""""""""""""""""" +hi Folded cterm=NONE ctermfg=244 ctermbg=235 +hi FoldColumn cterm=NONE ctermfg=15 ctermbg=237 + + +"""""" +" SEARCH +"""""""""""""""""""""""" +hi IncSearch cterm=NONE ctermfg=15 ctermbg=149 +hi Search cterm=NONE ctermfg=15 ctermbg=149 + + +"vim: sw=4 diff --git a/.vim/colors/deveiate.vim b/.vim/colors/deveiate.vim new file mode 100644 index 0000000..354265f --- /dev/null +++ b/.vim/colors/deveiate.vim @@ -0,0 +1,90 @@ +" +" Vim color theme: DevEiate +" +" Gvim color definition file, based loosely on Michael Granger's +" eye-pleasing theme for Textmate of the same name. +" Mahlon E. Smith +" Michael Granger +" +" Drop this into your ~/.vim/colors directory, then load it via +" :colorscheme deveiate +" +" $Id: deveiate.vim 66 2008-06-30 02:28:56Z mahlon $ + + +" ---------------------------------------- +" Color definition reference +" ---------------------------------------- +" :help group-name +" :help highlight-groups +" :help cterm-colors + +set background=dark +highlight clear +let g:colors_name="deveiate" + +" ---------------------------------------- +" highlight groups +" ---------------------------------------- +highlight Normal guifg=#f6dfb2 guibg=#00000f +highlight LineNr guifg=#333333 +highlight Cursor guibg=yellow guifg=NONE +highlight CursorLine guibg=#171520 +highlight Search guibg=#001632 guifg=NONE +highlight Visual guibg=#001632 guifg=NONE +highlight VisualNOS guibg=#001632 guifg=NONE +highlight Question guifg=yellow +highlight StatusLine guibg=#d4d2cb guifg=#292087 +highlight StatusLineNC guibg=#8372be guifg=#22115c +highlight TabLine guibg=black guifg=#333333 +highlight TabLineSel guibg=#333333 guifg=#f8f8f8 +highlight TabLineFill guifg=black +highlight WildMenu guifg=yellow guibg=#22115c +highlight Pmenu guibg=black guifg=#da8d53 +highlight PmenuSel guibg=black guifg=#76a3d7 +highlight PmenuSbar guibg=black +highlight PmenuThumb guibg=black guifg=#333333 +highlight Folded guifg=#8b98ab guibg=black +highlight FoldColumn guifg=#8b98ab guibg=black +highlight VertSplit guifg=black guibg=#333333 +highlight DiffAdd guifg=#f8f8f8 guibg=#253b22 +highlight DiffChange guifg=#f8f8f8 guibg=#4a410d +highlight DiffDelete guifg=#f8f8f8 guibg=#420e09 +highlight DiffText guifg=white guibg=#7d6f20 +highlight NonText guifg=#222222 + +" ---------------------------------------- +" syntax highlighting groups +" ---------------------------------------- +highlight Comment guifg=#a82419 +highlight Constant guifg=#76a3d7 +highlight Function guifg=#9b859d +highlight String guifg=#da8d53 +highlight Special guifg=#da8d53 +highlight PreProc gui=bold guifg=#00cbcd +highlight Identifier guifg=#9bda8b +highlight Number guifg=#9bda8b +highlight Float guifg=#9bda8b +highlight Statement guifg=#00cbcd +highlight todo guibg=NONE guifg=yellow +highlight MatchParen guifg=yellow guibg=NONE + + +" ---------------------------------------- +" ruby specific syntax highlighting +" ---------------------------------------- +highlight rubyConstant guifg=#76a3d7 +highlight rubyInstanceVariable guifg=#c2eaf4 +highlight rubyClassVariable guifg=#c2eaf4 +highlight rubySymbol guifg=#9bda8b +highlight rubyEscape guifg=#ddf2a4 +highlight rubyInterpolation guifg=#ddf2a4 +highlight rubyClass guifg=#c3adc5 +highlight rubyPseudoVariable guifg=#9bda8b +highlight rubyOperator guifg=#00cbcd + +" ---------------------------------------- +" other misc colors +" ---------------------------------------- +highlight MyTagListFileName guifg=yellow guibg=NONE + diff --git a/.vim/colors/developer.vim b/.vim/colors/developer.vim new file mode 100644 index 0000000..18a1380 --- /dev/null +++ b/.vim/colors/developer.vim @@ -0,0 +1,67 @@ +" Vim color file +" Maintainer: Jens Frederich + +" First remove all old syntax autocommands. +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "developer" + +" Console colors +" 0 = rgb: 0/0/0 hex: #000000 black (text) +" 1 = rgb: 0/128/0 hex: #008000 green (comments) +" 2 = rgb: 0/0/255 hex: #0000ff blue (keywords) +" 3 = rgb: 51/94/168 hex: #335EA8 darkblue (selection) +" 4 = rgb: 163/21/21 hex: #A31515 red (string, chars, todo, errors) +" 5 = rgb: 255/255/255 hex: #ffffff white (todo, selection and errors) + +hi Cursor guibg=Orange gui=NONE + +hi Visual ctermfg=5 ctermbg=3 guifg=#ffffff guibg=#335EA8 gui=NONE +hi Comment ctermfg=1 guifg=#008000 gui=NONE +hi String ctermfg=4 guifg=#A31515 gui=NONE +hi Constant ctermfg=2 guifg=#0000ff gui=NONE +hi Error ctermfg=5 ctermbg=4 guifg=#ffffff guibg=#A31515 gui=NONE +hi ErrorMsg ctermfg=5 ctermbg=4 guifg=#ffffff guibg=#A31515 gui=NONE +hi Search ctermfg=5 ctermbg=3 guifg=#ffffff guibg=#335EA8 gui=NONE +hi Directory ctermfg=2 guifg=#0000ff gui=NONE +hi Todo ctermfg=5 ctermbg=4 guifg=#ffffff guibg=#A31515 gui=NONE +hi Folded ctermbg=0 guifg=#000000 gui=NONE +hi FoldColumn ctermbg=0 guifg=#000000 gui=NONE +hi Method ctermfg=2 guifg=#0000ff gui=NONE +hi Special ctermfg=2 guifg=#0000ff gui=NONE +hi SpecialChar ctermfg=2 guifg=#0000ff gui=NONE +hi Identifier ctermfg=2 guifg=#0000ff gui=NONE +hi Statement ctermfg=2 guifg=#0000ff gui=NONE +hi Include ctermfg=2 guifg=#0000ff gui=NONE +hi PreProc ctermfg=4 guifg=#A31515 gui=NONE +hi Character ctermfg=4 guifg=#A31515 gui=NONE +hi Number ctermfg=2 guifg=#0000ff gui=NONE +hi Boolean ctermfg=2 guifg=#0000ff gui=NONE +hi Float ctermfg=2 guifg=#0000ff gui=NONE +hi Function ctermfg=2 guifg=#0000ff gui=NONE +hi Type ctermfg=2 guifg=#0000ff gui=NONE +hi Conditional ctermfg=2 guifg=#0000ff gui=NONE +hi Repeat ctermfg=2 guifg=#0000ff gui=NONE +hi Label ctermfg=2 guifg=#0000ff gui=NONE +hi Operator ctermfg=2 guifg=#0000ff gui=NONE +hi Keyword ctermfg=2 guifg=#0000ff gui=NONE +hi Exception ctermfg=2 guifg=#0000ff gui=NONE +hi Include ctermfg=2 guifg=#0000ff gui=NONE +hi Define ctermfg=2 guifg=#0000ff gui=NONE +hi Macro ctermfg=2 guifg=#0000ff gui=NONE +hi PreCondit ctermfg=2 guifg=#0000ff gui=NONE +hi StorageClass ctermfg=2 guifg=#0000ff gui=NONE +hi Structure ctermfg=2 guifg=#0000ff gui=NONE +hi Typedef ctermfg=2 guifg=#0000ff gui=NONE +hi Tag ctermfg=2 guifg=#0000ff gui=NONE +hi Delimiter ctermfg=2 guifg=#0000ff gui=NONE +hi SpecialComment ctermfg=2 guifg=#0000ff gui=NONE +hi Debug ctermfg=2 guifg=#0000ff gui=NONE +hi NonText ctermfg=2 gui=NONE +hi VertSplit gui=NONE cterm=NONE term=NONE +hi MatchParen ctermfg=0 ctermbg=3 guibg=#335EA8 +hi User1 gui=bold cterm=bold + diff --git a/.vim/colors/django.vim b/.vim/colors/django.vim new file mode 100644 index 0000000..230bce5 --- /dev/null +++ b/.vim/colors/django.vim @@ -0,0 +1,59 @@ +" +" Django Color Scheme +" =================== +" +" conversion of the textmate django colorscheme from the django +" trac. +" +" Author: Armin Ronacher +" Version: 0.1 +" +set background=dark + +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "django" + +" Default Colors +hi Normal guifg=#f8f8f8 guibg=#0b2f20 +hi NonText guifg=#0b2f20 guibg=#1a3c2f +hi Cursor guibg=#336242 +hi lCursor guibg=#336242 + +" Search +hi Search guibg=peru guifg=wheat +hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green +hi Search cterm=NONE ctermfg=grey ctermbg=blue + +" Window Elements +hi StatusLine guifg=white guibg=#8fbb9e gui=bold +hi StatusLineNC guifg=#1a3c2f guibg=#8dbc6a +hi VertSplit guifg=#244a2a guibg=#244a2a +hi Folded guifg=#8cbb9e guibg=#244a2a +hi IncSearch guifg=slategrey guibg=khaki + +" Specials +hi Todo guifg=#c6210b guibg=#61150b gui=bold +hi Title guifg=#ffffff gui=bold + +" Strings +hi String guifg=#87bb9e +hi Constant guifg=#87bb9e + +" Syntax +hi Number guifg=#387258 gui=bold +hi Statement guifg=#f2e862 gui=bold +hi Function guifg=#fec756 +hi PreProc guifg=#aa5507 gui=bold +hi Comment guifg=#245032 gui=italic +hi Type guifg=#96dd3b gui=bold + +" Diff +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 + diff --git a/.vim/colors/donbass.vim b/.vim/colors/donbass.vim new file mode 100644 index 0000000..5307702 --- /dev/null +++ b/.vim/colors/donbass.vim @@ -0,0 +1,89 @@ +" Vim color file +" Name: donbass.vim +" Description: Light color scheme for 256-color terminals and GUI +" Version: 0.4 +" Last Change: 11 Aug 2009 +" Maintainer: Dmitry Maluka +" License: Public Domain +" +" Inspired by xoria256.vim by Dmitriy Y. Zotikov (xio) . +" +" Color numbers (0-255): +" http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html +" +" Suggestions and patches are welcome. + + +if &t_Co != 256 && !has("gui_running") + echomsg "" + echomsg "err: please use 256-color terminal or GUI (so that t_Co=256 could be set)" + echomsg "" + finish +endif + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "donbass" + +" General +hi Normal ctermfg=232 guifg=#080808 ctermbg=252 guibg=#d0d0d0 cterm=none gui=none +hi Visual ctermfg=16 guifg=#000000 ctermbg=74 guibg=#5fafdf cterm=none gui=none +hi VisualNOS ctermfg=52 guifg=#5f0000 ctermbg=137 guibg=#af875f cterm=none gui=none +hi Search ctermfg=253 guifg=#dadada ctermbg=25 guibg=#005faf cterm=none gui=none +hi IncSearch ctermfg=253 guifg=#dadada ctermbg=130 guibg=#af5f00 cterm=none gui=none +hi MatchParen ctermfg=fg guifg=fg ctermbg=249 guibg=#b2b2b2 cterm=none gui=none +hi ErrorMsg ctermfg=254 guifg=#e4e4e4 ctermbg=160 guibg=#df0000 cterm=none gui=none +hi WarningMsg ctermfg=196 guifg=#ff0000 ctermbg=bg guibg=bg cterm=bold gui=bold +hi ModeMsg ctermfg=254 guifg=#e4e4e4 ctermbg=28 guibg=#008700 cterm=bold gui=bold +hi MoreMsg ctermfg=254 guifg=#e4e4e4 ctermbg=28 guibg=#008700 cterm=bold gui=bold +hi Question ctermfg=52 guifg=#5f0000 ctermbg=bg guibg=bg cterm=bold gui=bold +hi StatusLine ctermfg=16 guifg=#000000 ctermbg=248 guibg=#a8a8a8 cterm=bold gui=bold +hi StatusLineNC ctermfg=16 guifg=#000000 ctermbg=248 guibg=#a8a8a8 cterm=none gui=none +hi VertSplit ctermfg=16 guifg=#000000 ctermbg=248 guibg=#a8a8a8 cterm=none gui=none +hi TabLine ctermfg=16 guifg=#000000 ctermbg=248 guibg=#a8a8a8 cterm=none gui=none +hi TabLineFill ctermfg=16 guifg=#000000 ctermbg=248 guibg=#a8a8a8 cterm=none gui=none +hi TabLineSel ctermfg=16 guifg=#000000 ctermbg=248 guibg=#a8a8a8 cterm=bold gui=bold +hi WildMenu ctermfg=250 guifg=#bcbcbc ctermbg=236 guibg=#303030 cterm=none gui=none +hi Folded ctermfg=fg guifg=fg ctermbg=250 guibg=#bcbcbc cterm=none gui=none +hi FoldColumn ctermfg=124 guifg=#af0000 ctermbg=250 guibg=#bcbcbc cterm=bold gui=bold +hi Pmenu ctermfg=16 guifg=#000000 ctermbg=248 guibg=#a8a8a8 cterm=none gui=none +hi PmenuSel ctermfg=16 guifg=#000000 ctermbg=244 guibg=#808080 cterm=none gui=none +hi PmenuSbar ctermfg=fg guifg=fg ctermbg=244 guibg=#808080 cterm=none gui=none +hi PmenuThumb ctermfg=251 guifg=#c6c6c6 ctermbg=bg guibg=bg cterm=none gui=none +hi LineNr ctermfg=238 guifg=#444444 ctermbg=bg guibg=bg cterm=none gui=none +hi NonText ctermfg=238 guifg=#444444 ctermbg=bg guibg=bg cterm=bold gui=bold +hi SpecialKey ctermfg=239 guifg=#4e4e4e ctermbg=250 guibg=#bcbcbc cterm=bold gui=bold +hi Title ctermfg=254 guifg=#e4e4e4 ctermbg=167 guibg=#df5f5f cterm=none gui=none +hi Directory ctermfg=24 guifg=#005f87 ctermbg=bg guibg=bg cterm=bold gui=bold +hi DiffAdd ctermfg=fg guifg=fg ctermbg=71 guibg=#5faf5f cterm=none gui=none +hi DiffDelete ctermfg=fg guifg=fg ctermbg=102 guibg=#878787 cterm=none gui=none +hi DiffChange ctermfg=fg guifg=fg ctermbg=167 guibg=#df5f5f cterm=none gui=none +hi DiffText ctermfg=fg guifg=fg ctermbg=180 guibg=#dfaf87 cterm=none gui=none +hi SpellBad ctermfg=124 guifg=#af0000 ctermbg=bg guibg=bg cterm=underline gui=underline +hi SpellCap ctermfg=22 guifg=#005f00 ctermbg=bg guibg=bg cterm=underline gui=underline +hi SpellLocal ctermfg=21 guifg=#0000ff ctermbg=bg guibg=bg cterm=underline gui=underline +hi SpellRare ctermfg=92 guifg=#8700df ctermbg=bg guibg=bg cterm=underline gui=underline + +" Syntax +hi Identifier ctermfg=52 guifg=#5f0000 ctermbg=bg guibg=bg cterm=none gui=none +hi Statement ctermfg=28 guifg=#008700 ctermbg=bg guibg=bg cterm=bold gui=bold +hi Type ctermfg=25 guifg=#005faf ctermbg=bg guibg=bg cterm=bold gui=bold +hi Constant ctermfg=160 guifg=#df0000 ctermbg=bg guibg=bg cterm=none gui=none +hi String ctermfg=23 guifg=#005f5f ctermbg=bg guibg=bg cterm=none gui=none +hi Special ctermfg=131 guifg=#af5f5f ctermbg=bg guibg=bg cterm=bold gui=bold +hi PreProc ctermfg=29 guifg=#00875f ctermbg=bg guibg=bg cterm=bold gui=bold +hi Comment ctermfg=241 guifg=#606060 ctermbg=bg guibg=bg cterm=none gui=none +hi Todo ctermfg=254 guifg=#e4e4e4 ctermbg=166 guibg=#df5f00 cterm=none gui=none +hi Underlined ctermfg=fg guifg=fg ctermbg=bg guibg=bg cterm=underline gui=underline +hi Error ctermfg=196 guifg=#ff0000 ctermbg=bg guibg=bg cterm=bold gui=bold +hi cPreCondit ctermfg=131 guifg=#af5f5f ctermbg=bg guibg=bg cterm=bold gui=bold +hi diffRemoved ctermfg=131 guifg=#af5f5f ctermbg=bg guibg=bg cterm=bold gui=bold +hi diffAdded ctermfg=28 guifg=#008700 ctermbg=bg guibg=bg cterm=bold gui=bold +hi diffChanged ctermfg=130 guifg=#af5f00 ctermbg=bg guibg=bg cterm=bold gui=bold +hi diffFile ctermfg=25 guifg=#005faf ctermbg=bg guibg=bg cterm=bold gui=bold +hi diffLine ctermfg=25 guifg=#005faf ctermbg=bg guibg=bg cterm=bold gui=bold +hi diffSubname ctermfg=29 guifg=#00875f ctermbg=bg guibg=bg cterm=bold gui=bold diff --git a/.vim/colors/doorhinge.vim b/.vim/colors/doorhinge.vim new file mode 100644 index 0000000..16ecdcc --- /dev/null +++ b/.vim/colors/doorhinge.vim @@ -0,0 +1,99 @@ +" doorhinge.vim - Vim color file +" Maintainer: Scott McRae +" Last Change: Oct 30, 2007 +" Version: 0.6 +" +" +-----+ +" [| | Rhymes with? +" | | +" | *| +" | | +" [| | +" +-----+ +" +" http://www.vim.org/scripts/script.php?script_id=1671 - doorhinge.vim +" http://members.shaw.ca/dimset/vim/_vimrc - my vimrc! +" http://members.shaw.ca/dimset/vim/doorhinge.vim - mirror +" http://members.shaw.ca/dimset/vim/guishot.png - GUI screenshot +" http://members.shaw.ca/dimset/vim/xtermshot.png - xterm w/transparency +" +" Updated: cleaned up a bit, added cursorline, diff, pmenu, tabline, +" minibuf, modified statusline, visual modes, folds, color tweaks +" +" +set background=dark +" Remove all existing highlighting +hi clear +if exists("syntax_on") + syntax reset +endif +" Theme Name +let g:colors_name = "doorhinge" + +hi Normal guibg=#405871 guifg=#BFCFFF ctermfg=LightGray ctermbg=none + +hi ErrorMsg guibg=#A50000 guifg=White ctermfg=Red ctermbg=none term=bold cterm=bold +hi WarningMsg guibg=#FFCC00 guifg=White ctermfg=Yellow ctermbg=none term=bold cterm=bold + +hi IncSearch guibg=#804000 guifg=#FF9911 ctermfg=DarkRed ctermbg=Brown term=bold +hi Search guibg=#804000 guifg=#FF9911 ctermfg=DarkRed ctermbg=Brown term=bold gui=reverse + +hi StatusLine guibg=#25345F guifg=#647C95 ctermfg=White ctermbg=DarkBlue term=underline cterm=underline gui=underline +hi StatusLineNC guibg=#25345F guifg=#526A83 ctermfg=Gray ctermbg=DarkBlue term=none cterm=none gui=none +hi VertSplit guibg=#25345F guifg=#526A83 ctermfg=White ctermbg=DarkBlue term=none cterm=none gui=none +hi LineNr guifg=#25345F ctermfg=White ctermbg=DarkBlue term=none + +hi Directory guibg=#405871 guifg=#CCCCFF ctermfg=White ctermbg=none term=bold +hi WildMenu guibg=Black guifg=#FF9911 ctermfg=Brown ctermbg=Black term=standout +hi Folded guibg=#25345F guifg=#CCCCCC ctermfg=White ctermbg=DarkBlue term=standout cterm=underline +hi FoldColumn guibg=#25345F guifg=#FFFFFF ctermfg=White ctermbg=DarkBlue term=standout + +hi Cursor guibg=#25345F guifg=#CCCCCC ctermfg=White ctermbg=Blue +hi lCursor guibg=#25345F guifg=#CCCCCC +hi CursorColumn guibg=#49617A +hi CursorLine guibg=#5B738C + +hi Visual guibg=#25345F guifg=#647C95 ctermfg=White ctermbg=none term=bold cterm=bold gui=none +hi VisualNOS guibg=#25345F guifg=#526A83 ctermfg=White ctermbg=none term=bold cterm=bold gui=underline + +hi DiffText guibg=#FF9911 guifg=White gui=none +hi DiffAdd guibg=#FFB720 guifg=White gui=bold +hi DiffChange guibg=#D26C00 gui=underline +hi DiffDelete guibg=#AA4400 guifg=#DDDDDD gui=bold + +" vim 7+ +if v:version >= 700 +hi Pmenu guibg=#25345F guifg=#647C95 +hi PmenuSel guibg=#2E3D68 guifg=#CCCCCC gui=underline +hi PmenuSbar guibg=Black guifg=#CCCCCC +hi PmenuThumb guibg=Black guifg=#FF9911 +endif + +" minibufexplorer +hi MBENormal guibg=#405871 guifg=#5EA7DD ctermfg=White ctermbg=DarkBlue term=none gui=none +hi MBEChanged guibg=#405871 guifg=#80C9FF ctermfg=White ctermbg=DarkBlue term=Bold gui=none +hi MBEVisibleNormal guibg=#25345F guifg=#5EA7DD ctermfg=White ctermbg=DarkBlue term=none gui=none +hi MBEVisibleChanged guibg=#25345F guifg=#80C9FF ctermfg=White ctermbg=DarkBlue term=Bold gui=none + +hi perlSpecialMatch guifg=#FF9911 guibg=Black ctermfg=Brown ctermbg=Black +hi perlSpecialString guifg=#FF9911 guibg=Black ctermfg=Brown ctermbg=Black + +hi Comment guifg=#5EA7DD ctermfg=DarkCyan ctermbg=none term=bold cterm=bold +hi PreProc guifg=#999999 ctermfg=LightGray ctermbg=none term=bold cterm=bold +hi Constant guifg=#FF9911 ctermfg=Brown ctermbg=none term=underline +hi Special guibg=Black guifg=#FF9911 ctermfg=Brown ctermbg=Black term=bold +hi Identifier guifg=#BBBBBB ctermfg=LightGray ctermbg=none +hi Tag guibg=Black guifg=#B0E0E6 +hi Statement guifg=#FFFFFF ctermfg=White ctermbg=none term=bold cterm=bold gui=bold +hi Type guifg=#80C9FF ctermfg=LightCyan ctermbg=none term=underline gui=NONE +hi Title guifg=#C8E2FF ctermfg=Cyan ctermbg=DarkBlue term=bold gui=bold +hi Question guifg=#80C9FF ctermfg=Blue ctermbg=none cterm=bold term=bold gui=bold +hi SpecialKey guifg=#677F98 term=bold +hi SignColumn guibg=Black guifg=#FF9911 +hi Todo guibg=yellow2 guifg=orangered ctermfg=Brown ctermbg=Yellow +hi Ignore guifg=grey20 ctermfg=DarkGrey ctermbg=none +hi ModeMsg guifg=#80C9FF ctermfg=Blue ctermbg=none cterm=bold term=bold gui=bold +hi MoreMsg guifg=#80C9FF ctermfg=Blue ctermbg=none cterm=bold term=bold gui=bold +hi NonText guibg=#2D3D4F guifg=#405871 ctermfg=DarkGray ctermbg=none cterm=bold term=bold gui=bold +hi MatchParen guibg=Black guifg=#FF9911 ctermfg=Brown ctermbg=none cterm=bold term=bold gui=bold +" EOF diff --git a/.vim/colors/doriath.vim b/.vim/colors/doriath.vim new file mode 100644 index 0000000..2182206 --- /dev/null +++ b/.vim/colors/doriath.vim @@ -0,0 +1,56 @@ +" Vim color file +" Maintainer: Alex Esplin (alex.esplin@gmail.com) +" Last Change: +" URL: + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="doriath" + +hi Normal guifg=#d2ffc6 guibg=#0e2a1a +hi Cursor guibg=#54ff9f guifg=#0e2a1a +"hi CursorIM +"hi Directory +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +"hi ErrorMsg +hi VertSplit guibg=#c2bfa5 guifg=grey50 gui=none +hi Folded guibg=#4e9271 guifg=#0e2a1a +hi FoldColumn guibg=grey30 guifg=tan +hi IncSearch guibg=khaki guifg=slategrey +hi LineNr guifg=khaki +hi ModeMsg guifg=goldenrod +hi MoreMsg guifg=SeaGreen +hi NonText guibg=LightBlue guibg=SeaGreen +hi Question guifg=springgreen +hi Search guibg=DarkRed guifg=DarkSeaGreen4 +hi SpecialKey guifg=yellowgreen +hi StatusLine guibg=#c2dfa5 guifg=black gui=none +hi StatusLineNC guibg=#c2dfa5 guifg=grey50 gui=none +hi Title guifg=IndianRed +hi Visual guibg=olivedrab guifg=khaki gui=none +"hi VisualNOS +hi WarningMsg guifg=salmon +"hi WildMenu +"hi Menu +hi Scrollbar guibg=#0e2a1a +"hi Tooltip + +" syntax highlighting groups +hi Comment guifg=#1d96e7 +hi Constant guifg=#00ff62 +hi Identifier guifg=#28dbd2 +hi Statement guifg=#ffff5b +hi PreProc guifg=IndianRed +hi Type guifg=#ff3636 +hi Special guifg=navajowhite +"hi Underlined +hi Ignore guifg=grey40 +"hi Error +hi Todo guifg=orangered guibg=yellow2 + diff --git a/.vim/colors/dual.vim b/.vim/colors/dual.vim new file mode 100644 index 0000000..44cfd88 --- /dev/null +++ b/.vim/colors/dual.vim @@ -0,0 +1,231 @@ +"==============================================================================. +" File: dual.vim | +" License: Public Domain, FREE as LOVE. | +" Description: The Dual colorscheme you've been longing for. On VIM, it uses | +" dark colors. On GVIM, it uses bright colors without bold, | +" italic nor underline font styles (except for spell checking | +" and some GUI elements). | +" Note: - Only standard (for all languages) highlight-groups are set. | +" - This colorscheme _should_ look nice everywhere. | +"==============================================================================| +" Author: drachenkiraa, {_drachen_kiraa_}@{_gmail_}.{com_} (remove: _{}) | +" Last Change: 2009 Jul 1 | +" Version: 1.1 | +"==========================================================================={{{1 +" Changes: | +" 1.0: Public release. | +" 1.1: A LOT of changes, if you are interested to know what really changed: | +" Changed 'CursorLine', 'CursorColumn' to use 'gui=underline' instead of | +" using 'guibg' color. | +" Made 'PMenuSel' guibg color more darker. | +" Changed 'SpellRare' guisp color to DarkMagenta. | +" Tab pages, Status and Split bars now use gray-blue and blue-white | +" as colors (for both terminal and gui). | +" Changed 'MoreMsg' guifg color from Gray30 to DarkGreen. | +" Changed 'Question' gui option to italic. | +" Changed 'Directory' ctermfg from Yellow to Blue. | +" Changed all Diff colors to use their darker versions. | +" Made 'LineNr' transparent and brighter. | +" Made 'SignColumn' transparent. | +" Made 'Folded' and 'FoldColumn' darkblue over transparent for cterm, | +" and made their GUI colors more brighter. | +" Changed 'IncSearch' ctermbg and guibg colors from | +" LighMagenta to Green. | +" Added 'ctermfg'and 'guifg' options to 'Search'. | +" Made 'Comment' guifg and ctermfg colors more brighter. | +" Linked 'Number', 'Float' and 'Boolean' to 'Constant'. | +" Changed 'Constant' ctermfg color from Magenta to Yellow, | +" and made guifg colors more darker. | +" Changed 'Character' ctermfg color from Magenta to DarkRed, | +" and made guifg colors more darker. | +" Made 'String' ctermfg color more darker. | +" Linked 'Function' to 'Identifier', and changed their ctermfg and guifg | +" to Magenta and a dark violet respectively. | +" Linked 'Conditional', 'Repeat', 'Operator', 'Keyword', 'Label' and | +" 'Exception' to 'Statement. | +" Changed 'Statement' ctermfg color from Green to Blue. | +" Linked 'StorageClass', 'Structure' and 'Typedef' to 'Type'. | +" Changed 'Type' ctermfg color from Cyan to Blue. | +" Linked 'Include', 'Define' and 'Macro' to 'PreProc'. | +" Changed 'PreProc' ctermfg color to a darker version. | +" Changed 'PreCondit' ctermfg color from Blue to Yellow and guifg color | +" from Red to Gold like. | +" Changed 'Special', 'SpecialChar', 'Tag' and 'Delimiter' ctermfg color | +" from Red to Cyan and changed their guifg color to sky blue. | +" Changed 'MatchParen' guibg color from light magenta to DarkBlue. | +" Changed 'Todo' ctermbg and guibg colors to Green and DarkGreen. | +" Made 'Underlined'ctermbg transparent. | +" Set 'NonText' guibg color to the same as the 'FoldColumn' guibg color. | +"==============================================================================| +" Color Test: :he group-name | +" :so $VIMRUNTIME/syntax/hitest.vim | +" Tested On: - Linux (gvim v6.3, v6.4); | +" - Standard Linux Terminal (vim v6.3, v6.4); | +" - Xterm, Rxvt, Konsole, gnome-terminal (vim v6.3, v6.4). | +" - Windows (gvim v7.1, v7.2); | +" - DOS (vim v7.1, v7.2). | +" TODO: * Test this colorscheme on newer versions of vim/gvim for Linux | +" and other systems (*BSD, Mac, Amiga?). | +" * Are all the has("feature") checks really worth? | +" Please enlighten me if I'm wrong. | +"==============================================================================| +" Random Tips: | +" * If your terminal supports more than 8 colors (which is the case of most | +" modern xterms, rxvts, and others), then it is worth adding the following | +" lines somewhere into your .vimrc: | +" if &term =~ "xterm" | +" set t_Co=16 | +" endif | +" That'll make this colorscheme look a lot better on such terminals. | +" For further help checkout: | +" :he term-dependent-settings | +" :he term | +"===========================================================================}}}1 +" Initial setup stuff {{{1 +" Remove existing highlighting +if has("gui_running") + set background=light +else + set background=dark +endif +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "dual" +hi Normal ctermbg=Black ctermfg=Gray guibg=White guifg=Black gui=none + +" Vim >= 7.0 specific colors {{{1 +if v:version >= 700 + " Cursor colors {{{2 + hi Cursor ctermbg=fg ctermfg=bg cterm=NONE guibg=DarkBlue guifg=bg gui=none + hi CursorLine ctermbg=DarkGray cterm=NONE guibg=bg gui=underline + hi CursorColumn ctermbg=DarkGray cterm=NONE guibg=bg gui=underline + " only for Win32, IME status + if has('multi_byte_ime') + hi CursorIM guibg=#660066 guifg=NONE gui=none + endif + + " Auto-completion Popup Menu colors {{{2 + hi Pmenu ctermbg=Gray ctermfg=bg cterm=NONE guibg=#ccff99 guifg=fg gui=none + hi PmenuSel ctermbg=DarkRed ctermfg=White cterm=NONE guibg=#336600 guifg=bg gui=bold + hi PmenuSbar ctermbg=DarkRed ctermfg=fg cterm=NONE guibg=#99cc66 guifg=fg gui=none + hi PmenuThumb ctermbg=DarkGray ctermfg=DarkGray cterm=NONE guibg=#669933 guifg=bg gui=none + + " Tab colors {{{2 + if has("windows") + hi TabLine ctermbg=Gray ctermfg=DarkBlue guibg=Gray75 guifg=#003399 gui=none + hi TabLineFill ctermbg=Gray ctermfg=DarkBlue guibg=Gray75 guifg=#003399 gui=none + hi TabLineSel ctermbg=DarkBlue ctermfg=fg guibg=#003399 guifg=bg gui=bold + endif + + " Spell checking colors {{{2 + if has("spell") + hi SpellBad ctermbg=White ctermfg=Red cterm=NONE guisp=Red gui=undercurl + hi SpellCap ctermbg=White ctermfg=Blue cterm=NONE guisp=Blue gui=undercurl + hi SpellLocal ctermbg=White ctermfg=DarkCyan cterm=NONE guisp=DarkCyan gui=undercurl + hi SpellRare ctermbg=White ctermfg=Magenta cterm=NONE guisp=DarkMagenta gui=undercurl + endif + +endif "}}}1 +" Messages and other texts' colors {{{1 +hi WarningMsg ctermbg=bg ctermfg=Red cterm=NONE guibg=bg guifg=Red3 gui=none +hi ErrorMsg ctermbg=Red ctermfg=White cterm=NONE guibg=Red3 guifg=bg gui=none +hi ModeMsg ctermbg=bg ctermfg=fg cterm=NONE guibg=bg guifg=fg gui=none +hi MoreMsg ctermbg=bg ctermfg=Green cterm=NONE guibg=bg guifg=DarkGreen gui=none +hi Question ctermbg=bg ctermfg=White cterm=NONE guibg=bg guifg=Gray30 gui=italic +hi Directory ctermbg=bg ctermfg=Blue cterm=NONE guibg=bg guifg=Blue2 gui=none +hi Title ctermbg=bg ctermfg=Magenta cterm=NONE guibg=bg guifg=Blue gui=bold + +" Diff colors {{{1 +if has("diff") + hi DiffAdd ctermbg=Green ctermfg=bg cterm=NONE guibg=#ccffcc gui=none + hi DiffChange ctermbg=Blue ctermfg=fg cterm=NONE guibg=#ccccff gui=none + hi DiffDelete ctermbg=Red ctermfg=bg cterm=NONE guibg=#ffcccc gui=none + hi DiffText ctermbg=Cyan ctermfg=bg cterm=NONE guibg=#ccffff gui=none +endif + +" Outline, Fold & Sign columns colors {{{1 +hi LineNr ctermbg=bg ctermfg=DarkGray guibg=bg guifg=Gray60 gui=none +if has("folding") + hi Folded ctermbg=bg ctermfg=DarkBlue cterm=NONE guibg=Gray95 guifg=Gray40 gui=none + hi FoldColumn ctermbg=bg ctermfg=DarkBlue cterm=NONE guibg=Gray95 guifg=Gray40 gui=none +endif +if has("signs") + hi SignColumn ctermbg=bg ctermfg=Yellow cterm=NONE guibg=Gray95 guifg=#0033ff gui=none +endif + +" Search & Special characters' colors {{{1 +if has("extra_search") + hi Search ctermbg=Yellow ctermfg=bg cterm=NONE guibg=Yellow guifg=fg gui=none + hi IncSearch ctermbg=Green ctermfg=bg cterm=NONE guibg=Green guifg=fg gui=none +endif +hi NonText ctermbg=bg ctermfg=DarkGray guibg=Gray95 guifg=DarkGray gui=none +hi SpecialKey ctermbg=bg ctermfg=Brown guibg=bg guifg=#993333 gui=none + +" Window Bars, Status line & Visual mode colors {{{1 +hi StatusLine ctermbg=DarkBlue ctermfg=fg cterm=NONE guibg=#003399 guifg=bg gui=none +if has("windows") + hi StatusLineNC ctermbg=Gray ctermfg=DarkBlue cterm=NONE guibg=Gray75 guifg=#003399 gui=italic +endif +if has("vertsplit") + hi VertSplit ctermbg=Gray ctermfg=DarkBlue cterm=NONE guibg=Gray75 guifg=#003399 gui=bold +endif + +if has("wildmenu") + hi WildMenu ctermbg=bg ctermfg=Blue guibg=bg guifg=#003399 gui=bold +endif + +if has("visual") + hi Visual ctermbg=DarkBlue ctermfg=fg cterm=NONE guibg=DarkBlue guifg=bg gui=none + hi VisualNOS ctermbg=fg ctermfg=DarkBlue cterm=NONE guibg=DarkBlue guifg=bg gui=none +endif + +" Syntax highlighting colors {{{1 +hi Comment ctermbg=bg ctermfg=Green guibg=bg guifg=#008800 gui=none +hi link SpecialComment Comment + +hi Character ctermbg=bg ctermfg=Red guibg=bg guifg=#cc0000 gui=none +hi String ctermbg=bg ctermfg=Red guibg=bg guifg=#cc0000 gui=none +hi Constant ctermbg=bg ctermfg=Yellow guibg=bg guifg=#ff6600 gui=none +hi link Number Constant +hi link Float Constant +hi link Boolean Constant + +hi Identifier ctermbg=bg ctermfg=Magenta guibg=bg guifg=#990099 gui=none +hi link Function Identifier + +hi Statement ctermbg=bg ctermfg=Blue guibg=bg guifg=#0000cc gui=none +hi link Conditional Statement +hi link Repeat Statement +hi link Operator Statement +hi link Keyword Statement +hi link Label Statement +hi link Exception Statement + +hi Type ctermbg=bg ctermfg=Blue guibg=bg guifg=#0000cc gui=none +hi link StorageClass Type +hi link Structure Type +hi link Typedef Type + +hi PreProc ctermbg=bg ctermfg=DarkYellow guibg=bg guifg=#666600 gui=none +hi PreCondit ctermbg=bg ctermfg=Yellow guibg=bg guifg=#999900 gui=none +hi link Include PreProc +hi link Define PreProc +hi link Macro PreProc + +hi Special ctermbg=bg ctermfg=Cyan guibg=bg guifg=#3366cc gui=none +hi SpecialChar ctermbg=bg ctermfg=Cyan guibg=bg guifg=Blue gui=none +hi Tag ctermbg=bg ctermfg=Cyan guibg=bg guifg=#3366cc gui=none +hi Delimiter ctermbg=bg ctermfg=Cyan guibg=bg guifg=#3366cc gui=none +hi Debug ctermbg=bg ctermfg=DarkGray guibg=bg guifg=DarkGray gui=none + +hi MatchParen ctermbg=White ctermfg=Black cterm=NONE guibg=DarkBlue guifg=bg gui=none +hi Error ctermbg=Red ctermfg=White cterm=NONE guibg=bg guifg=Red gui=none +hi Ignore ctermbg=bg ctermfg=bg cterm=NONE guibg=bg guifg=bg gui=none +hi Todo ctermbg=Green ctermfg=bg cterm=NONE guibg=DarkGreen guifg=bg gui=none +hi Underlined ctermbg=bg ctermfg=Cyan cterm=underline guibg=bg guifg=Blue2 gui=underline +"}}}1 +"==========================================================================={{{1 +" vim: set et sw=2 sts=2 ts=8 nowrap: +" vim600: set fdc=2 fdm=marker: diff --git a/.vim/colors/dull.vim b/.vim/colors/dull.vim new file mode 100644 index 0000000..bff07d7 --- /dev/null +++ b/.vim/colors/dull.vim @@ -0,0 +1,91 @@ +" dull : a very low saturation colour scheme + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "dull" + +if &background == "light" + hi Normal guifg=Black guibg=White + hi SpecialKey term=bold ctermfg=DarkBlue guifg=DarkBlue + hi NonText term=bold cterm=bold ctermfg=DarkBlue gui=bold guifg=DarkBlue + hi Directory term=bold ctermfg=DarkBlue guifg=DarkBlue + hi ErrorMsg term=standout cterm=bold ctermfg=White ctermbg=Red guifg=White guibg=Red + hi IncSearch term=reverse cterm=reverse gui=reverse + hi Search term=reverse ctermbg=Yellow guibg=Yellow + hi MoreMsg term=bold ctermfg=DarkGreen gui=bold guifg=DarkGreen + hi ModeMsg term=bold cterm=bold gui=bold + hi LineNr term=underline ctermfg=Brown guifg=Brown + hi Question term=standout ctermfg=DarkGreen gui=bold guifg=DarkGreen + hi StatusLine term=bold,reverse cterm=bold,reverse gui=bold,reverse + hi StatusLineNC term=reverse cterm=reverse gui=reverse + hi VertSplit term=reverse cterm=reverse gui=reverse + hi Title term=bold ctermfg=DarkMagenta gui=bold guifg=DarkMagenta + hi Visual term=reverse cterm=reverse gui=reverse guifg=Grey guibg=fg + hi VisualNOS term=bold,underline cterm=bold,underline gui=bold,underline + hi WarningMsg term=standout ctermfg=DarkRed guifg=DarkRed + hi WildMenu term=standout ctermfg=Black ctermbg=Yellow guifg=Black guibg=Yellow + hi Folded term=standout ctermfg=DarkBlue ctermbg=LightGrey guifg=DarkBlue guibg=LightGrey + hi FoldColumn term=standout ctermfg=DarkBlue ctermbg=Grey guifg=DarkBlue guibg=Grey + hi DiffAdd term=bold ctermbg=DarkBlue guibg=DarkBlue + hi DiffChange term=bold ctermbg=DarkMagenta guibg=DarkMagenta + hi DiffDelete term=bold cterm=bold ctermfg=Blue ctermbg=LightCyan gui=bold guifg=Blue guibg=LightCyan + hi DiffText term=reverse cterm=bold ctermbg=Red gui=bold guibg=Red + hi SignColumn term=standout ctermfg=DarkBlue ctermbg=Grey guifg=DarkBlue guibg=Grey + hi Cursor guifg=bg guibg=fg + hi lCursor guifg=bg guibg=fg + hi Comment term=bold ctermfg=DarkBlue guifg=#606060 + hi Constant term=underline ctermfg=DarkMagenta guifg=#400080 + hi Special term=bold ctermfg=DarkBlue guifg=#000080 + hi Identifier term=underline ctermfg=DarkCyan guifg=#006060 + hi Statement term=bold ctermfg=Brown gui=none guifg=#603000 + hi PreProc term=underline ctermfg=DarkMagenta guifg=#800040 + hi Type term=underline ctermfg=DarkGreen gui=none guifg=#006000 + hi Underlined term=underline cterm=underline ctermfg=DarkMagenta gui=underline guifg=#600030 + hi Ignore cterm=bold ctermfg=LightGray guifg=LightGray + hi Error term=reverse cterm=bold ctermfg=LightGrey ctermbg=Red guifg=White guibg=Red + hi Todo term=standout ctermfg=Black ctermbg=Yellow guifg=Blue guibg=Yellow +else + hi Normal guifg=LightGrey guibg=Black + hi SpecialKey term=bold cterm=bold ctermfg=Cyan guifg=Cyan + hi NonText term=bold cterm=bold ctermfg=Blue gui=bold guifg=Blue + hi Directory term=bold cterm=bold ctermfg=Cyan guifg=Cyan + hi ErrorMsg term=standout cterm=bold ctermfg=White ctermbg=Red guifg=White guibg=Red + hi IncSearch term=reverse cterm=reverse gui=reverse + hi Search term=reverse ctermfg=Black ctermbg=Yellow guifg=Black guibg=Yellow + hi MoreMsg term=bold cterm=bold ctermfg=Green gui=bold guifg=SeaGreen + hi ModeMsg term=bold cterm=bold gui=bold + hi LineNr term=underline cterm=bold ctermfg=Yellow guifg=Yellow + hi Question term=standout cterm=bold ctermfg=Green gui=bold guifg=Green + hi StatusLine term=bold,reverse cterm=bold,reverse gui=bold,reverse + hi StatusLineNC term=reverse cterm=reverse gui=reverse + hi VertSplit term=reverse cterm=reverse gui=reverse + hi Title term=bold cterm=bold ctermfg=Magenta gui=bold guifg=Magenta + hi Visual term=reverse cterm=reverse gui=reverse guifg=Grey guibg=Black + hi VisualNOS term=bold,underline cterm=bold,underline gui=bold,underline + hi WarningMsg term=standout cterm=bold ctermfg=Red guifg=Red + hi WildMenu term=standout ctermfg=Black ctermbg=Yellow guifg=Black guibg=Yellow + hi Folded term=standout cterm=bold ctermfg=Cyan ctermbg=DarkGrey guifg=Cyan guibg=DarkGrey + hi FoldColumn term=standout cterm=bold ctermfg=Cyan ctermbg=Grey guifg=Cyan guibg=Grey + hi DiffAdd term=bold ctermbg=DarkBlue guibg=DarkBlue + hi DiffChange term=bold ctermbg=DarkMagenta guibg=DarkMagenta + hi DiffDelete term=bold cterm=bold ctermfg=Blue ctermbg=DarkCyan gui=bold guifg=Blue guibg=DarkCyan + hi DiffText term=reverse cterm=bold ctermbg=Red gui=bold guibg=Red + hi SignColumn term=standout cterm=bold ctermfg=Cyan ctermbg=Grey guifg=Cyan guibg=Grey + hi Cursor guifg=bg guibg=fg + hi lCursor guifg=bg guibg=fg + hi Comment term=bold cterm=bold ctermfg=Cyan guifg=#b0b0b0 + hi Constant term=underline cterm=bold ctermfg=Magenta guifg=#f0d0d0 + hi Special term=bold cterm=bold ctermfg=Red guifg=#f0d0f0 + hi Identifier term=underline cterm=bold ctermfg=Cyan guifg=#d0e8e8 + hi Statement term=bold cterm=bold ctermfg=Yellow gui=none guifg=#e8e8c0 + hi PreProc term=underline cterm=bold ctermfg=Blue guifg=#f0d8f0 + hi Type term=underline cterm=bold ctermfg=Green gui=none guifg=#d0e8d0 + hi Underlined term=underline cterm=bold,underline ctermfg=Blue gui=underline guifg=#d8e0e8 + hi Ignore ctermfg=0 guifg=bg + hi Error term=reverse cterm=bold ctermfg=White ctermbg=Red guifg=White guibg=Red + hi Todo term=standout ctermfg=Blue ctermbg=Yellow guifg=Blue guibg=Yellow +endif diff --git a/.vim/colors/dusk.vim b/.vim/colors/dusk.vim new file mode 100644 index 0000000..8feddd7 --- /dev/null +++ b/.vim/colors/dusk.vim @@ -0,0 +1,71 @@ +" Vim color file +" Maintainer: Ajit J. Thakkar (ajit AT unb DOT ca) +" Last Change: 2005 Nov. 21 +" Version: 1.1 +" URL: http://www.unb.ca/chem/ajit/vim.htm + +" This GUI-only color scheme has a blue-black background + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "dusk" + +hi Normal guifg=ivory guibg=#1f3048 + +" Groups used in the 'highlight' and 'guicursor' options default value. +hi ErrorMsg gui=NONE guifg=Red guibg=Linen +hi IncSearch gui=NONE guibg=LightGreen guifg=Black +hi ModeMsg gui=NONE guifg=fg guibg=bg +hi StatusLine gui=NONE guifg=DarkBlue guibg=Grey +hi StatusLineNC gui=NONE guifg=Grey50 guibg=Grey +hi VertSplit gui=NONE guifg=Grey guibg=Grey +hi Visual gui=reverse guifg=fg guibg=LightSkyBlue4 +hi VisualNOS gui=underline guifg=fg guibg=bg +hi DiffText gui=NONE guifg=Yellow guibg=LightSkyBlue4 +hi Cursor guibg=Green guifg=Black +hi lCursor guibg=Cyan guifg=Black +hi Directory guifg=LightGreen guibg=bg +hi LineNr guifg=MistyRose3 guibg=bg +hi MoreMsg gui=NONE guifg=SeaGreen guibg=bg +hi NonText gui=NONE guifg=Cyan4 guibg=#102848 +hi Question gui=NONE guifg=LimeGreen guibg=bg +hi Search gui=NONE guifg=SkyBlue4 guibg=Bisque +hi SpecialKey guifg=Cyan guibg=bg +hi Title gui=NONE guifg=Yellow2 guibg=bg +hi WarningMsg guifg=Tomato3 guibg=Linen +hi WildMenu gui=NONE guifg=SkyBlue4 guibg=Bisque +"hi Folded guifg=MistyRose2 guibg=bg +hi Folded guifg=MistyRose2 guibg=#102848 +hi FoldColumn guifg=DarkBlue guibg=Grey +hi DiffAdd gui=NONE guifg=Blue guibg=LightCyan +hi DiffChange gui=NONE guifg=white guibg=LightCyan4 +hi DiffDelete gui=NONE guifg=LightBlue guibg=LightCyan + +" Colors for syntax highlighting +hi Constant gui=NONE guifg=MistyRose3 guibg=bg +hi String gui=NONE guifg=LightBlue3 guibg=bg +hi Special gui=NONE guifg=GoldenRod guibg=bg +hi Statement gui=NONE guifg=khaki guibg=bg +"hi Statement gui=NONE guifg=#d7cd7b guibg=bg +hi Operator gui=NONE guifg=Chartreuse guibg=bg +hi Ignore gui=NONE guifg=bg guibg=bg +if v:version >= 700 + hi SpellBad gui=undercurl guisp=Red guifg=fg guibg=bg + hi SpellCap gui=undercurl guisp=GoldenRod guifg=fg guibg=bg + hi SpellRare gui=undercurl guisp=Ivory guifg=fg guibg=bg + hi SpellLocal gui=undercurl guisp=SeaGreen guifg=fg guibg=bg +endif +hi ToDo gui=NONE guifg=DodgerBlue guibg=bg +hi Error gui=NONE guifg=Red guibg=Linen +hi Comment gui=NONE guifg=SlateGrey guibg=bg +"hi Comment gui=NONE guifg=Lavender guibg=bg +hi Identifier gui=NONE guifg=BlanchedAlmond guibg=bg +hi PreProc gui=NONE guifg=#ffa0a0 guibg=bg +hi Type gui=NONE guifg=NavajoWhite guibg=bg +hi Underlined gui=underline guifg=fg guibg=bg + +" vim: sw=2 diff --git a/.vim/colors/earendel.vim b/.vim/colors/earendel.vim new file mode 100644 index 0000000..06a9d0a --- /dev/null +++ b/.vim/colors/earendel.vim @@ -0,0 +1,161 @@ +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "earendel" + +execute "command! -nargs=1 Colo set background=" + +if &background == "light" + hi Normal ctermbg=15 ctermfg=0 guibg=#f7f7f7 guifg=#000000 gui=none + + hi ColorColumn ctermbg=7 ctermfg=fg guibg=#d5d5d5 gui=none + hi Cursor guibg=#000000 guifg=#ffffff gui=none + hi CursorColumn ctermbg=7 ctermfg=fg guibg=#e0e0e0 gui=none + hi CursorLine ctermbg=7 ctermfg=fg guibg=#e0e0e0 gui=none + hi DiffAdd guibg=#bae981 guifg=fg gui=none + hi DiffChange guibg=#8495e6 guifg=fg gui=none + hi DiffDelete guibg=#ff95a5 guifg=fg gui=none + hi DiffText guibg=#b9c2f0 guifg=fg gui=bold + hi Directory guibg=bg guifg=#272fc2 gui=none + hi ErrorMsg guibg=#ca001f guifg=#ffffff gui=bold + hi FoldColumn ctermbg=bg guibg=bg guifg=#656565 gui=none + hi Folded guibg=#cacaca guifg=#324263 gui=bold + hi IncSearch guibg=#f7b69d gui=none + hi LineNr guibg=bg guifg=#656565 gui=none + hi ModeMsg ctermbg=bg ctermfg=fg guibg=bg guifg=fg gui=bold + hi MoreMsg guibg=bg guifg=#4a4a4a gui=bold + hi NonText ctermfg=8 guibg=bg guifg=#656565 gui=bold + hi Pmenu guibg=#aab8d5 guifg=fg gui=none + hi PmenuSbar guibg=#6a83b5 guifg=fg gui=none + hi PmenuSel guibg=#fee06b guifg=fg gui=none + hi PmenuThumb guibg=#c7cfe2 guifg=fg gui=none + hi Question guibg=bg guifg=#4a4a4a gui=bold + hi Search guibg=#fee481 gui=none + hi SignColumn ctermbg=bg guibg=bg guifg=#656565 gui=none + hi SpecialKey guibg=bg guifg=#844631 gui=none + hi StatusLine ctermbg=0 ctermfg=15 guibg=#96aad3 guifg=fg gui=bold + hi StatusLineNC ctermbg=7 ctermfg=fg guibg=#bcc7de guifg=#384547 gui=none + if has("spell") + hi SpellBad guisp=#ca001f gui=undercurl + hi SpellCap guisp=#272fc2 gui=undercurl + hi SpellLocal guisp=#0f8674 gui=undercurl + hi SpellRare guisp=#d16c7a gui=undercurl + endif + hi TabLine guibg=#d4d4d4 guifg=fg gui=underline + hi TabLineFill guibg=#d4d4d4 guifg=fg gui=underline + hi TabLineSel guibg=bg guifg=fg gui=bold + hi Title guifg=fg gui=bold + hi VertSplit ctermbg=7 ctermfg=fg guibg=#bcc7de guifg=#384547 gui=none + if version >= 700 + hi Visual ctermbg=7 ctermfg=fg guibg=#bfbfbf gui=none + else + hi Visual ctermbg=7 ctermfg=fg guibg=#bfbfbf guifg=fg gui=none + endif + hi VisualNOS ctermbg=8 ctermfg=fg guibg=bg guifg=#324263 gui=bold,underline + hi WarningMsg guibg=bg guifg=#ca001f gui=bold + hi WildMenu guibg=#fedc56 guifg=fg gui=bold + + hi Comment guibg=bg guifg=#558817 gui=none + hi Constant guibg=bg guifg=#a8660d gui=none + hi Error guibg=bg guifg=#bf001d gui=none + hi Identifier guibg=bg guifg=#0e7c6b gui=none + hi Ignore guibg=bg guifg=bg gui=none + hi lCursor guibg=#79bf21 guifg=#ffffff gui=none + hi MatchParen guibg=#0f8674 guifg=#ffffff gui=none + hi PreProc guibg=bg guifg=#a33243 gui=none + hi Special guibg=bg guifg=#844631 gui=none + hi Statement guibg=bg guifg=#2239a8 gui=bold + hi Todo guibg=#fedc56 guifg=#512b1e gui=bold + hi Type guibg=bg guifg=#1d318d gui=bold + hi Underlined ctermbg=bg ctermfg=fg guibg=bg guifg=#272fc2 gui=underline + + hi htmlBold ctermbg=bg ctermfg=fg guibg=bg guifg=fg gui=bold + hi htmlBoldItalic ctermbg=bg ctermfg=fg guibg=bg guifg=fg gui=bold,italic + hi htmlBoldUnderline ctermbg=bg ctermfg=fg guibg=bg guifg=fg gui=bold,underline + hi htmlBoldUnderlineItalic ctermbg=bg ctermfg=fg guibg=bg guifg=fg gui=bold,underline,italic + hi htmlItalic ctermbg=bg ctermfg=fg guibg=bg guifg=fg gui=italic + hi htmlUnderline ctermbg=bg ctermfg=fg guibg=bg guifg=fg gui=underline + hi htmlUnderlineItalic ctermbg=bg ctermfg=fg guibg=bg guifg=fg gui=underline,italic +else + hi Normal ctermbg=0 ctermfg=7 guibg=#181818 guifg=#cacaca gui=none + + hi ColorColumn ctermbg=8 ctermfg=15 guibg=#4a4a4a gui=none + hi Cursor guibg=#e5e5e5 guifg=#000000 gui=none + hi CursorColumn ctermbg=8 ctermfg=15 guibg=#404040 gui=none + hi CursorLine ctermbg=8 ctermfg=15 guibg=#404040 gui=none + hi DiffAdd guibg=#558817 guifg=#dadada gui=none + hi DiffChange guibg=#1b2e85 guifg=#dadada gui=none + hi DiffDelete guibg=#9f0018 guifg=#dadada gui=none + hi DiffText guibg=#2540ba guifg=#dadada gui=bold + hi Directory guibg=bg guifg=#8c91e8 gui=none + hi ErrorMsg guibg=#ca001f guifg=#e5e5e5 gui=bold + hi FoldColumn ctermbg=bg guibg=bg guifg=#9a9a9a gui=none + hi Folded guibg=#555555 guifg=#bfcadf gui=bold + hi IncSearch guibg=#a7380e guifg=#dadada gui=none + hi LineNr guibg=bg guifg=#9a9a9a gui=none + hi ModeMsg ctermbg=bg ctermfg=fg guibg=bg guifg=fg gui=bold + hi MoreMsg guibg=bg guifg=#b5b5b5 gui=bold + hi NonText ctermfg=8 guibg=bg guifg=#9a9a9a gui=bold + hi Pmenu guibg=#3d5078 guifg=#dadada gui=none + hi PmenuSbar guibg=#324263 guifg=#dadada gui=none + hi PmenuSel guibg=#f3c201 guifg=#000000 gui=none + hi PmenuThumb guibg=#5c77ad guifg=#dadada gui=none + hi Question guibg=bg guifg=#b5b5b5 gui=bold + hi Search guibg=#947601 guifg=#dadada gui=none + hi SignColumn ctermbg=bg guibg=bg guifg=#9a9a9a gui=none + hi SpecialKey guibg=bg guifg=#d3a901 gui=none + hi StatusLine ctermbg=7 ctermfg=0 guibg=#41609e guifg=#e5e5e5 gui=bold + hi StatusLineNC ctermbg=7 ctermfg=0 guibg=#35466a guifg=#afbacf gui=none + if has("spell") + hi SpellBad guisp=#ea0023 gui=undercurl + hi SpellCap guisp=#8c91e8 gui=undercurl + hi SpellLocal guisp=#16c9ae gui=undercurl + hi SpellRare guisp=#e09ea8 gui=undercurl + endif + hi TabLine guibg=#4a4a4a guifg=#e5e5e5 gui=underline + hi TabLineFill guibg=#4a4a4a guifg=#e5e5e5 gui=underline + hi TabLineSel guibg=bg guifg=#e5e5e5 gui=bold + hi Title ctermbg=bg ctermfg=15 guifg=#e5e5e5 gui=bold + hi VertSplit ctermbg=7 ctermfg=0 guibg=#35466a guifg=#afbacf gui=none + if version >= 700 + hi Visual ctermbg=7 ctermfg=0 guibg=#606060 gui=none + else + hi Visual ctermbg=7 ctermfg=0 guibg=#606060 guifg=fg gui=none + endif + hi VisualNOS ctermbg=8 ctermfg=0 guibg=bg guifg=#bfcadf gui=bold,underline + hi WarningMsg guibg=bg guifg=#ea0023 gui=bold + hi WildMenu guibg=#fbca01 guifg=#000000 gui=bold + + hi Comment guibg=bg guifg=#77be21 gui=none + hi Constant guibg=bg guifg=#dc8511 gui=none + hi Error guibg=bg guifg=#ea0023 gui=none + hi Identifier guibg=bg guifg=#16c9ae gui=none + hi Ignore guibg=bg guifg=bg gui=none + hi lCursor guibg=#c4ec93 guifg=#000000 gui=none + hi MatchParen guibg=#17d2b7 guifg=#000000 gui=none + hi PreProc guibg=bg guifg=#e09ea8 gui=none + hi Special guibg=bg guifg=#d3a901 gui=none + hi Statement guibg=bg guifg=#a7b4ed gui=bold + hi Todo guibg=#fedc56 guifg=#512b1e gui=bold + hi Type guibg=bg guifg=#95a4ea gui=bold + hi Underlined ctermbg=bg ctermfg=15 guibg=bg guifg=#8c91e8 gui=underline + + hi htmlBold ctermbg=bg ctermfg=15 guibg=bg guifg=fg gui=bold + hi htmlBoldItalic ctermbg=bg ctermfg=15 guibg=bg guifg=fg gui=bold,italic + hi htmlBoldUnderline ctermbg=bg ctermfg=15 guibg=bg guifg=fg gui=bold,underline + hi htmlBoldUnderlineItalic ctermbg=bg ctermfg=15 guibg=bg guifg=fg gui=bold,underline,italic + hi htmlItalic ctermbg=bg ctermfg=15 guibg=bg guifg=fg gui=italic + hi htmlUnderline ctermbg=bg ctermfg=15 guibg=bg guifg=fg gui=underline + hi htmlUnderlineItalic ctermbg=bg ctermfg=15 guibg=bg guifg=fg gui=underline,italic +endif + +hi! default link bbcodeBold htmlBold +hi! default link bbcodeBoldItalic htmlBoldItalic +hi! default link bbcodeBoldItalicUnderline htmlBoldUnderlineItalic +hi! default link bbcodeBoldUnderline htmlBoldUnderline +hi! default link bbcodeItalic htmlItalic +hi! default link bbcodeItalicUnderline htmlUnderlineItalic +hi! default link bbcodeUnderline htmlUnderline diff --git a/.vim/colors/earth.vim b/.vim/colors/earth.vim new file mode 100644 index 0000000..306529b --- /dev/null +++ b/.vim/colors/earth.vim @@ -0,0 +1,69 @@ +" Vim color file +" Maintainer: Shrinath +" Last Change: 2004/09/13 Mon 12:50. +" version: 0.2 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "earth" + +hi Normal guifg=#000000 guibg=#99CC99 + +" Search +hi IncSearch gui=UNDERLINE guifg=#60ffff guibg=#6060ff +hi Search gui=NONE guifg=#ffffff guibg=#6060ff + +" Messages +hi ErrorMsg gui=BOLD guifg=#ffffff guibg=#ff40a0 +hi WarningMsg gui=BOLD guifg=#ffffff guibg=#ff40a0 +hi ModeMsg gui=NONE guifg=#60ffff guibg=NONE +hi MoreMsg gui=NONE guifg=#ffc0ff guibg=NONE +hi Question gui=NONE guifg=#ffff60 guibg=NONE + +" Split area +hi StatusLine gui=NONE guifg=#000000 guibg=#d0d0e0 +hi StatusLineNC gui=NONE guifg=#606080 guibg=#d0d0e0 +hi VertSplit gui=NONE guifg=#606080 guibg=#d0d0e0 +hi WildMenu gui=NONE guifg=#000000 guibg=#00c8f0 + +" Diff +hi DiffText gui=UNDERLINE guifg=#ffff00 guibg=#000000 +hi DiffChange gui=NONE guifg=#ffffff guibg=#000000 +hi DiffDelete gui=NONE guifg=#60ff60 guibg=#000000 +hi DiffAdd gui=NONE guifg=#60ff60 guibg=#000000 + +" Cursor +hi Cursor gui=NONE guifg=#ffffff guibg=#d86020 +hi lCursor gui=NONE guifg=#ffffff guibg=#e000b0 +hi CursorIM gui=NONE guifg=#ffffff guibg=#e000b0 + +" Fold +hi Folded gui=NONE guifg=#ffffff guibg=#0088c0 +" hi Folded gui=NONE guifg=#ffffff guibg=#2080d0 +hi FoldColumn gui=NONE guifg=#60e0e0 guibg=#006c7f + +" Other +hi Directory gui=NONE guifg=#00e0ff guibg=NONE +hi LineNr gui=BOLD guifg=#669966 guibg=NONE +hi NonText gui=BOLD guifg=#00c0c0 guibg=#9999CC +hi SpecialKey gui=NONE guifg=#e0a0ff guibg=NONE +hi Title gui=BOLD guifg=#003300 guibg=NONE +hi Visual gui=NONE guifg=#000000 guibg=#6060d0 + +" Syntax group +hi Comment gui=NONE guifg=#996666 guibg=NONE +hi Constant gui=NONE guifg=#990066 guibg=NONE +hi Error gui=BOLD guifg=#ffffff guibg=#ff40a0 +hi Identifier gui=NONE guifg=#669966 guibg=NONE +hi Ignore gui=NONE guifg=#993300 guibg=NONE +hi PreProc gui=NONE guifg=#009900 guibg=NONE +hi Special gui=NONE guifg=#FF0000 guibg=NONE +hi Statement gui=NONE guifg=#CC9900 guibg=NONE +hi Todo gui=BOLD,UNDERLINE guifg=#993300 guibg=NONE +hi Type gui=NONE guifg=#993300 guibg=NONE +hi Underlined gui=UNDERLINE guifg=#663300 guibg=NONE + diff --git a/.vim/colors/earthburn.vim b/.vim/colors/earthburn.vim new file mode 100644 index 0000000..e788c44 --- /dev/null +++ b/.vim/colors/earthburn.vim @@ -0,0 +1,201 @@ +set background=light + +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "earthburn" + +if version >= 700 + " NERDTree current + hi CursorLine guibg=#BFB7AD gui=none + "hi CursorColumn guibg=#e4e2e0 + hi MatchParen guibg=black guifg=white gui=none + + hi TabLineFill guifg=#BFB39C guibg=#BFB39C + hi TabLine guifg=gray40 guibg=#BFB39C gui=none + hi TabLineSel guifg=gray90 guibg=#AB9876 gui=none + + "P-Menu (auto-completion) + hi Pmenu guifg=white guibg=#a4a2a0 + "PmenuSel + "PmenuSbar + "PmenuThumb +endif + +"hi Normal guifg=gray30 guibg=#e0dcd9 +"hi Normal guifg=gray30 guibg=#d0ccc9 +hi Normal guifg=gray30 guibg=#d8d4d4 + +hi ModeMsg guifg=gray10 guibg=#B3C71E gui=none +hi MoreMsg guifg=gray10 guibg=#B3C71E gui=none +hi Question guifg=gray10 guibg=#B3C71E gui=none +hi WarningMsg guifg=#600000 gui=none guibg=#d8d4d4 + +" Html-Titles +hi Title guifg=gray30 gui=none + +hi Underlined guifg=gray30 gui=underline +hi Cursor guifg=white guibg=#888480 +hi lCursor guifg=black guibg=white +hi LineNr guifg=#B0B1A1 +hi StatusLine guifg=gray90 guibg=#888480 gui=none + +" not current status line +hi StatusLineNC guifg=gray40 guibg=#ABA7A4 gui=none + +hi VertSplit guifg=#ABA7A4 guibg=#ABA7A4 gui=NONE + +" unused areas marked with ~ +hi NonText gui=none guifg=#d8d4d4 + +hi Comment guifg=#8A9184 gui=italic +hi Comment guifg=#8A919c gui=italic + +" ruby: symbols +hi Constant guifg=#75722F +hi String guifg=#8D9902 +hi link Character String +hi link Number Constant +hi link Float Number + +" ruby: debug, mixin, scope, throw, python: def +hi Statement guifg=#605118 gui=none +hi Keyword guifg=#605118 gui=none + +" ruby: interpolation +hi Operator gui=none + +" HTML: arguments +" Ruby: classname +hi Type gui=none guifg=#907800 + +" Python: Standard exceptions, True&False +""hi Structure guifg=Sienna gui=bold,underline + +" Ruby: method definitions and calls +hi Identifier guifg=#685616 gui=none +""hi Function guifg=#685616 + +hi Directory guifg=#907800 + +hi Repeat guifg=#480000 gui=none + +" Ruby: if..else..end +hi Conditional guifg=#730000 + +" Ruby: require +hi PreProc guifg=#64634B gui=none + +hi Folded guifg=#64634B guibg=#c8c4c0 gui=none + +" Ruby: def..end, class..end +""hi Define guifg=#685616 + +" used by help tags * | +hi Ignore guifg=#A8A890 + +hi Error guifg=#a02000 guibg=white gui=underline + +hi Todo guifg=#6A7164 guibg=NONE gui=underline + +hi Search guibg=#F0D890 ""C0D878""FFE9A8 + +" Python: %(...)s - constructs, encoding, D: \n etc +" Ruby: "" +hi Special guifg=#808000 gui=none + +" color of s etc... , NERDTRee +hi SpecialKey guifg=gray60 gui=italic + + +" visual selection higlight +hi Visual guibg=#A8E4FF +hi Visual guibg=#F0F0C0 + +" string interpolation +hi Delimiter guifg=#6B6A17 + +" Diff +hi DiffChange guifg=NONE guibg=#e4e2e0 gui=italic +hi DiffText guifg=NONE guibg=#f0e0a0 gui=none +hi DiffAdd guifg=NONE guibg=#c0e0d0 gui=bold +hi DiffDelete guifg=NONE guibg=#f0a0a0 gui=italic,bold + +hi link rubyBoolean Boolean +hi link rubyComment Comment +hi link rubyString String +hi link rubyStringDelimiter String + +hi htmlTag guifg=#755C3B gui=none +hi link htmlEndTag htmlTag +hi link htmlTagName htmlTag + +hi link hamlHtmlTag htmlTagName +hi link hamlPreDef hamlHtmlTag +hi link hmlHtmlTagEndl hamlHtmlTag + +" hi rubyASCIICode +hi rubyAccess guifg=#939264 +"hi rubyAttribute guifg=red gui=underline +"hi rubyBlock gui=underline +"hi rubyBlockArgument gui=underline +"hi rubyBlockParameter guifg=gray20 +hi link rubyClass Type + +""hi rubyClassVariable gui=none guifg=#556B2F guibg=white +""hi rubyConstant gui=none guifg=#DC143C guibg=white + +" do..end begin rescue end +hi link rubyControl Repeat + +"for somre reason begin end in erb is tied to this color instead of Conditional and Control +hi link rubyBeginEnd Repeat + +"hi rubyCurlyBlock guifg=#9C420C +"hi rubyData gui= guifg= guibg= +"hi rubyDataDirective gui= guifg= guibg= +hi link rubyDefine Function +"hi rubyDelimEscape +"hi rubyDoBlock guifg=SlateBlue guibg=red +"hi rubyDocumentation gui= guifg= guibg= +"hi rubyError +"hi rubyEscape +"hi rubyEval +hi rubyException guifg=#8C4D38 +"hi rubyExprSubst gui=underline guifg=#FF4500 +"hi rubyFloat +""hi rubyFunction gui=none guifg=#685616 +"hi rubyGlobalVariable gui=none guifg=cyan +hi link rubyHeredocStart Comment +hi link rubyHeredocEnd Comment +"hi rubyIdentifier gui=underline +"hi rubyInclude gui= guifg= guibg= +"hi rubyInstanceVariable gui=none guifg=gray20 +"hi rubyInteger +"hi rubyInterpolation guifg=Orange +"hi rubyIterator gui=underline guifg=black +hi link rubyKeyword Normal +" hi rubyKeywordAsMethod +""hi rubyLocalVariableOrMethod gui=underline guifg=cyan +hi link rubyModule Type +"hi rubyNestedAngleBrackets +"hi rubyNestedCurlyBraces gui=underline +"hi rubyNestedParentheses +"hi rubyNestedSquareBrackets +"hi rubyNoDoBlock +"hi rubyNoInterpolation +"hi rubyNumber gui= guifg= guibg= +hi link rubyOperator Normal +"hi rubyOptDoBlock gui=underline +"hi rubyOptDoLine +hi rubyPredefinedConstant guifg=gray40 +hi rubyPredefinedIdentifier guifg=gray40 +hi rubyPredefinedVariable guifg=gray40 +"hi rubyPseudoVariable +"hi rubySharpBang gui= guifg= guibg= +"hi rubySpaceError +""hi rubySymbol gui=none guifg=#9E9C096A6C19 + +"hi rubyTodo gui= guifg= guibg= diff --git a/.vim/colors/eclipse.vim b/.vim/colors/eclipse.vim new file mode 100644 index 0000000..0d7d36a --- /dev/null +++ b/.vim/colors/eclipse.vim @@ -0,0 +1,92 @@ +" Vim color file +" Maintainer: Juan frias +" Last Change: 2007 Feb 25 +" Version: 1.0.1 +" URL: http://www.axisym3.net/jdany/vim-the-editor/#eclipse +set background=light +highlight clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "eclipse" + +highlight Normal gui=none guifg=#000000 guibg=#ffffff ctermfg=Gray + +" Search +highlight IncSearch gui=underline guifg=#404040 guibg=#e0e040 +highlight Search gui=none guifg=#544060 guibg=#f0c0ff ctermbg=1 + +" Messages +highlight ErrorMsg gui=none guifg=#f8f8f8 guibg=#4040ff +highlight WarningMsg gui=none guifg=#f8f8f8 guibg=#4040ff +highlight ModeMsg gui=none guifg=#d06000 guibg=bg +highlight MoreMsg gui=none guifg=#0090a0 guibg=bg +highlight Question gui=none guifg=#8000ff guibg=bg + +" Split area +highlight StatusLine gui=none guifg=#ffffff guibg=#4570aa cterm=bold ctermbg=blue ctermfg=white +highlight StatusLineNC gui=none guifg=#ffffff guibg=#75a0da cterm=none ctermfg=darkgrey ctermbg=blue +highlight VertSplit gui=none guifg=#f8f8f8 guibg=#904838 ctermfg=darkgrey cterm=none ctermbg=blue +highlight WildMenu gui=none guifg=#f8f8f8 guibg=#ff3030 + +" Diff +highlight DiffText gui=none guifg=red guibg=#ffd0d0 cterm=bold ctermbg=5 ctermfg=3 +highlight DiffChange gui=none guifg=black guibg=#ffe7e7 cterm=none ctermbg=5 ctermfg=7 +highlight DiffDelete gui=none guifg=bg guibg=#e7e7ff ctermbg=black +highlight DiffAdd gui=none guifg=blue guibg=#e7e7ff ctermbg=green cterm=bold + +" Cursor +highlight Cursor gui=none guifg=#ffffff guibg=#0080f0 +highlight lCursor gui=none guifg=#ffffff guibg=#8040ff +highlight CursorIM gui=none guifg=#ffffff guibg=#8040ff + +" Fold +highlight Folded gui=none guifg=#804030 guibg=#fff0d0 ctermbg=black ctermfg=black cterm=bold +highlight FoldColumn gui=none guifg=#6b6b6b guibg=#e7e7e7 ctermfg=black ctermbg=white + +" Popup Menu +highlight PMenu ctermbg=green ctermfg=white +highlight PMenuSel ctermbg=white ctermfg=black +highlight PMenuSBar ctermbg=red ctermfg=white +highlight PMenuThumb ctermbg=white ctermfg=red + +" Other +highlight Directory gui=none guifg=#7050ff guibg=bg +highlight LineNr gui=none guifg=#6b6b6b guibg=#eeeeee +highlight NonText gui=none guifg=#707070 guibg=#e7e7e7 +highlight SpecialKey gui=none guifg=#c0c0c0 guibg=bg cterm=none ctermfg=4 +highlight Title gui=bold guifg=#0033cc guibg=bg +highlight Visual gui=none guifg=#804020 guibg=#ffc0a0 ctermfg=DarkCyan + +" Syntax group +highlight Comment gui=none guifg=#236e25 guibg=bg ctermfg=2 +highlight Constant gui=none guifg=#00884c guibg=bg ctermfg=White +highlight Error gui=none guifg=#f8f8f8 guibg=#4040ff term=reverse ctermbg=Red ctermfg=White +highlight Identifier gui=none guifg=#b07800 guibg=bg ctermfg=Green +highlight Ignore gui=none guifg=bg guibg=bg ctermfg=black +highlight PreProc gui=none guifg=#683821 guibg=bg ctermfg=Green +highlight Special gui=none guifg=#8040f0 guibg=bg ctermfg=DarkMagenta +highlight Statement gui=none guifg=#b64f90 guibg=bg ctermfg=White +highlight Todo gui=none guifg=#ff5050 guibg=white term=standout ctermbg=Yellow ctermfg=Black +highlight Type gui=bold guifg=#7f0055 guibg=bg ctermfg=LightGreen +highlight Underlined gui=none guifg=blue guibg=bg +highlight String gui=none guifg=#8010a0 guibg=bg ctermfg=Yellow +highlight Number gui=none guifg=#0000ff guibg=bg ctermfg=White + +if !has("gui_running") + hi link Float Number + hi link Conditional Repeat + hi link Include 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 Delimiter Normal + hi link SpecialComment Special + hi link Debug Special +endif + +" vim:ff=unix: diff --git a/.vim/colors/eclm_wombat.vim b/.vim/colors/eclm_wombat.vim new file mode 100644 index 0000000..d84225d --- /dev/null +++ b/.vim/colors/eclm_wombat.vim @@ -0,0 +1,56 @@ +" Maintainer: Alex Duller alexduller@gmail.com +" Last Change: December 16 2008 + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "eclm_wombat" + +" Vim >= 7.0 specific colors +if version >= 700 + hi CursorLine guibg=#2d2d2d + hi CursorColumn guibg=#2d2d2d + hi MatchParen guifg=#f6f3e8 guibg=NONE gui=bold + hi Pmenu guifg=#f6f3e8 guibg=#444444 + hi PmenuSel guifg=#000000 guibg=#cae682 +endif + +" General colors +hi Cursor guifg=#000000 gui=none +hi Normal guifg=#e6e1de guibg=#2b2b2b gui=none +hi NonText guifg=#808080 guibg=#303030 gui=none +hi LineNr guifg=#857b6f guibg=#000000 gui=none +hi StatusLine guifg=#f6f3e8 guibg=#444444 gui=italic +hi StatusLineNC guifg=#857b6f guibg=#444444 gui=none +hi VertSplit guifg=#444444 guibg=#444444 gui=none +hi Folded guibg=#384048 guifg=#a0a8b0 gui=none +hi Title guifg=#f6f3e8 guibg=NONE gui=bold +hi Visual guifg=#f6f3e8 guibg=#1d1d1d gui=none +hi SpecialKey guifg=#808080 guibg=#343434 gui=none +hi Error guifg=#c41df5 guibg=#232323 gui=none + +" Syntax highlighting +hi Comment guifg=#99968b gui=italic +hi Todo guifg=#8f8f8f gui=italic +hi Constant guifg=#6e9cbe gui=none +hi String guifg=#cae682 gui=italic +hi Identifier guifg=#c9ceff gui=none +hi Function guifg=#ff00ac guibg=#1d1d1d gui=none +hi Type guifg=#ffffff gui=bold +hi Statement guifg=#92a1ea gui=none +hi Keyword guifg=#69a1ff gui=none +hi PreProc guifg=#8ac6f2 gui=none +hi Number guifg=#99968b gui=none +hi Special guifg=#e7f6da gui=none + +" Rail specific +hi link RubyStringDemiliter String + +hi link htmlTag Identifier +hi link htmlTagName htmlTag +hi link htmlEndTag htmlTag diff --git a/.vim/colors/edo_sea.vim b/.vim/colors/edo_sea.vim new file mode 100644 index 0000000..f03300a --- /dev/null +++ b/.vim/colors/edo_sea.vim @@ -0,0 +1,69 @@ +" Vim color file +" Maintainer: Tiza +" Last Change: 2002/10/30 Wed 00:01. +" version: 1.0 +" This color scheme uses a dark background. + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "Edo_sea" + +hi Normal guifg=#f0f0f8 guibg=#303060 + +" Search +hi IncSearch gui=UNDERLINE,BOLD guifg=#f0f0f0 guibg=#c030f0 +hi Search gui=BOLD guifg=#f0e0f0 guibg=#b020f0 + +" Messages +hi ErrorMsg gui=BOLD guifg=#f0f0f0 guibg=#f000a0 +hi WarningMsg gui=BOLD guifg=#f0f0f0 guibg=#f000a0 +hi ModeMsg gui=BOLD guifg=#00e0f0 guibg=NONE +hi MoreMsg gui=BOLD guifg=#00f0f0 guibg=#6060f0 +hi Question gui=BOLD guifg=#00f0d0 guibg=NONE + +" Split area +hi StatusLine gui=NONE guifg=#000000 guibg=#d0d0e0 +hi StatusLineNC gui=NONE guifg=#606080 guibg=#d0d0e0 +hi VertSplit gui=NONE guifg=#606080 guibg=#d0d0e0 +hi WildMenu gui=NONE guifg=#000000 guibg=#f090f0 + +" Diff +hi DiffText gui=UNDERLINE guifg=#f0f000 guibg=#000000 +hi DiffChange gui=NONE guifg=#f0f0f0 guibg=#000000 +hi DiffDelete gui=NONE guifg=#60f060 guibg=#000000 +hi DiffAdd gui=NONE guifg=#60f060 guibg=#000000 + +" Cursor +hi Cursor gui=NONE guifg=#f0f0f0 guibg=#d86020 +hi lCursor gui=NONE guifg=#f0f0f0 guibg=#e000b0 +hi CursorIM gui=NONE guifg=#f0f0f0 guibg=#e000b0 + +" Fold +hi Folded gui=NONE guifg=#f0f0f0 guibg=#0080a0 +hi FoldColumn gui=NONE guifg=#9090f0 guibg=#3c3c88 + +" Other +hi Directory gui=NONE guifg=#00f0f0 guibg=NONE +hi LineNr gui=NONE guifg=#7070e8 guibg=NONE +hi NonText gui=BOLD guifg=#8080f0 guibg=NONE +hi SpecialKey gui=BOLD guifg=#60c0f0 guibg=NONE +hi Title gui=BOLD guifg=#f0f0f8 guibg=NONE +hi Visual gui=NONE guifg=#f0f0f0 guibg=#6060f0 +" hi VisualNOS gui=NONE guifg=#f0f0f0 guibg=#6060f0 + +" Syntax group +hi Comment gui=NONE guifg=#b0b0b8 guibg=#343478 +hi Constant gui=NONE guifg=#50f0d0 guibg=NONE +hi Error gui=NONE guifg=#f0f0f0 guibg=#c03030 +hi Identifier gui=NONE guifg=#d0c0f0 guibg=NONE +hi Ignore gui=NONE guifg=#303070 guibg=NONE +hi PreProc gui=NONE guifg=#f0b0f0 guibg=NONE +hi Special gui=NONE guifg=#d0f050 guibg=NONE +hi Statement gui=NONE guifg=#f0d050 guibg=NONE +hi Todo gui=BOLD,UNDERLINE guifg=#f070e0 guibg=NONE +hi Type gui=NONE guifg=#40f080 guibg=NONE +hi Underlined gui=UNDERLINE,BOLD guifg=#f0f0f8 guibg=NONE diff --git a/.vim/colors/ego.vim b/.vim/colors/ego.vim new file mode 100644 index 0000000..df0c3d7 --- /dev/null +++ b/.vim/colors/ego.vim @@ -0,0 +1,153 @@ +" Vim color file +" Maintainer: Robby Colvin +" Last Change: 2010-04-30 +" Version: 0.1 +" based on 'ego' theme for Xcode: +" http://developers.enormego.com/view/xcode_ego_theme + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "ego" + +" GUI Colors +hi Cursor gui=NONE guibg=#8DA1A1 guifg=#ffffff +hi CursorIM gui=bold guifg=#ffffff guibg=#8DA1A1 +hi CursorLine gui=NONE guibg=#3D4646 +hi CursorColumn gui=NONE guibg=#3D4646 +hi Directory gui=NONE guifg=red guibg=bg +hi DiffAdd gui=NONE guifg=fg guibg=DarkCyan +hi DiffChange gui=NONE guifg=fg guibg=Green4 +hi DiffDelete gui=NONE guifg=fg guibg=black +hi DiffText gui=bold guifg=fg guibg=bg +hi ErrorMsg guifg=LightYellow guibg=FireBrick +hi VertSplit gui=NONE guifg=black guibg=grey60 +hi Folded gui=bold guibg=#305060 guifg=#b0d0e0 +hi FoldColumn gui=NONE guibg=#305060 guifg=#b0d0e0 +hi IncSearch gui=reverse guifg=fg guibg=bg +hi LineNr guibg=grey6 guifg=#777777 +hi ModeMsg guibg=DarkGreen guifg=LightGreen +hi MoreMsg gui=bold guifg=SeaGreen4 guibg=bg +hi NonText gui=NONE guibg=#000000 guifg=LightSkyBlue +hi Normal gui=NONE guibg=#18191F guifg=#F6F6F6 +hi Question gui=bold guifg=SeaGreen2 guibg=bg +hi Search gui=NONE guibg=LightSkyBlue4 guifg=NONE +hi SpecialKey guibg=#103040 guifg=#324262 +hi StatusLine gui=bold guibg=grey88 guifg=black +hi StatusLineNC gui=NONE guibg=grey60 guifg=grey10 +hi Title gui=bold guifg=MediumOrchid1 guibg=bg +hi Visual gui=reverse guibg=#ffffff guifg=SeaGreen +hi VisualNOS gui=bold,underline guifg=fg guibg=bg +hi WarningMsg gui=bold guifg=FireBrick1 guibg=bg +hi WildMenu gui=bold guibg=Chartreuse guifg=Black + +" General Syntax Colors + +" Light green +hi Comment gui=NONE guifg=#C8F482 guibg=bg +hi Todo gui=bold guifg=#C8F482 guibg=bg + +" Green #82c057 +hi Identifier gui=NONE guifg=#82c057 guibg=bg +hi Type gui=NONE guifg=#82c057 guibg=bg + +" Yellow +hi Statement gui=NONE guifg=#F6DA7B guibg=bg +hi Conditional gui=NONE guifg=#F6DA7B guibg=bg +hi Operator gui=NONE guifg=#F6DA7B guibg=bg +hi Label gui=NONE guifg=#F6DA7B guibg=bg +hi Define gui=NONE guifg=#F6DA7B guibg=bg +hi Macro gui=NONE guifg=#F6DA7B guibg=bg + +" Rose +hi String gui=NONE guifg=#E38081 guibg=bg + +" Pink #e29aeb + +" Light Purple +hi Character gui=NONE guifg=#9d7ff2 guibg=bg + +" Dark Purple +hi Number gui=NONE guifg=#776CC4 guibg=bg +hi Float gui=NONE guifg=#776CC4 guibg=bg +hi Boolean gui=bold guifg=#776CC4 guibg=bg + +" Light Cyan +hi Function gui=NONE guifg=#95D5F1 guibg=bg +hi StorageClass gui=NONE guifg=#95D5F1 guibg=bg +hi Structure gui=NONE guifg=#95D5F1 guibg=bg +hi Typedef gui=NONE guifg=#95D5F1 guibg=bg +hi Constant gui=NONE guifg=#95D5F1 guibg=bg + +" Dark Blue #9bb2ee + +" Dunno color: #55747c +hi Special gui=NONE guifg=#55747c guibg=bg +hi Delimiter gui=NONE guifg=#55747c guibg=bg +hi SpecialChar gui=NONE guifg=#55747c guibg=bg +hi SpecialComment gui=NONE guifg=#55747c guibg=bg +hi Tag gui=NONE guifg=#55747c guibg=bg +hi Debug gui=NONE guifg=#55747c guibg=bg + +" Brown +hi Repeat gui=NONE guifg=#C67C48 guibg=bg +hi PreProc gui=NONE guifg=#C67C48 guibg=bg +hi Include gui=NONE guifg=#C67C48 guibg=bg +hi PreCondit gui=NONE guifg=#C67C48 guibg=bg +hi Keyword gui=NONE guifg=#C67C48 guibg=bg +hi Exception gui=NONE guifg=#C67C48 guibg=bg + +" Other +hi Underlined gui=underline guifg=honeydew4 guibg=bg +hi Ignore guifg=#204050 +hi Error guifg=LightYellow guibg=FireBrick + +" Ruby-specific +hi rubySharpBang gui=bold guifg=#e29aeb +hi rubyRegexp guifg=#9BB2EE +" hi link rubyRegexpDelimiter Special +" hi link rubyEscape Special " Backslashes +" hi link rubyInterpolationDelimiter Special +" hi link rubyStringDelimiter Special +" hi rubyRepeatModifier guifg=#e29aeb " while/until +" hi link rubyArrayDelimiter Special " [ , , ] +" " hi rubyCurlyBlock guifg=#e29aeb +" hi link rubyControl Statement +" hi link rubyAccess Keyword " public, private, protected +" hi rubyPredefinedVariable guifg=#55747C " $!, etc. +" hi rubyClassVariable guifg=#E29AEB +" hi rubyBeginEnd guifg=#e29aeb +" hi rubyAttribute guifg=#e29aeb " attr_accessor, attr_reader, attr_writer +" hi link rubyClass Keyword +" hi link rubyModule Keyword +" hi link rubyKeyword Keyword +" hi link rubyOperator Operator " defined? keyword +" hi link rubyIdentifier Identifier +" hi link rubyInstanceVariable Identifier +" hi rubyGlobalVariable guifg=#e29aeb +" hi link rubyClassVariable Identifier +" hi link rubyConstant Type +" hi link rubyConditionalModifier Conditional " if/unless +" hi rubyBlockArgument guifg=#e29aeb +" hi rubySymbol + +" Objective-C-specific +" hi objcConstant gui=NONE guifg=#F6DA7B guibg=bg +" hi objcInstMethod gui=NONE guifg=#C67C48 guibg=bg +" hi objcMethod gui=NONE guifg=#C67C48 guibg=bg +" hi objcFactMethod gui=NONE guifg=#ffffff guibg=bg +" hi objcMethodArg gui=NONE guifg=#ffffff guibg=bg +" hi objcMessageName gui=NONE guifg=#ffffff guibg=bg +" hi objcMessageColon gui=NONE guifg=#ffffff guibg=bg +" hi objcClass gui=NONE guifg=#95D5F1 guibg=bg +" hi link cocoaClass objcClass " NSMutableDictionary, etc. +" hi link objcSubclass objcClass +" hi objcSuperclass gui=NONE guifg=#e29aeb guibg=bg " @end +" hi objcDirective gui=NONE guifg=#F6DA7B guibg=bg " @end +" hi link cocoaFunction Function +" hi objcMethodName gui=NONE guifg=#ffffff guibg=bg +" hi link objcMethodArg Normal +" hi objcMessageName gui=NONE guifg=#95D5F1 guibg=bg " alloc, array, release, etc. diff --git a/.vim/colors/ekinivim.vim b/.vim/colors/ekinivim.vim new file mode 100644 index 0000000..2445c38 --- /dev/null +++ b/.vim/colors/ekinivim.vim @@ -0,0 +1,53 @@ +" Maintainer: John del Rosario (john2x@gmail.com) +" Last Change: November 24, 2009 +" +" Vim port of Ekini Edit gEdit colorscheme found on www.ekini.net +" Used wombat.vim as base file + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "ekinivim" +" Vim >= 7.0 specific colors +if version >= 700 + hi CursorLine guibg=#000709 + hi CursorColumn guibg=#000709 + hi MatchParen guifg=#dee5e7 guibg=#c4a000 gui=bold + hi Pmenu guifg=#C9C9BB guibg=#444444 + hi PmenuSel guifg=#000000 guibg=#e1a230 +endif + +" General colors +hi Cursor guifg=NONE guibg=#425461 gui=none +hi Normal guifg=#C9C9BB guibg=#2E3330 gui=none +hi NonText guifg=#808080 guibg=#303030 gui=none +hi LineNr guifg=#dee5e7 guibg=#000000 gui=none +hi StatusLine guifg=#6a9875 guibg=#000709 gui=none +hi StatusLineNC guifg=#857b6f guibg=#444444 gui=none +hi VertSplit guifg=#444444 guibg=#444444 gui=none +hi Folded guibg=#384048 guifg=#a0a8b0 gui=none +hi Title guifg=#f6f3e8 guibg=NONE gui=bold +hi Visual guifg=#fefeec guibg=#6c8b9f gui=none +hi SpecialKey guifg=#808080 guibg=#343434 gui=none + +" Syntax highlighting +hi Comment guifg=#6a9875 gui=none +hi Todo guifg=#faf6e4 guibg=#4e5d62 gui=italic +hi Constant guifg=#F696DB gui=bold +hi String guifg=#e1a230 gui=none +hi Identifier guifg=#A8E1FE gui=none +hi Function guifg=#cae682 gui=none +hi Type guifg=#B2FD6D gui=none +hi Statement guifg=#F6DD62 gui=bold +hi Operator guifg=#F6DD62 gui=none +hi Keyword guifg=#8ac6f2 gui=none +hi PreProc guifg=#B2FD6D gui=bold +hi Number guifg=#4DF4FF gui=none +hi Special guifg=#4DF4FF gui=bold + + diff --git a/.vim/colors/ekvoli.vim b/.vim/colors/ekvoli.vim new file mode 100644 index 0000000..3362968 --- /dev/null +++ b/.vim/colors/ekvoli.vim @@ -0,0 +1,105 @@ +" Vim color file +" Maintainer: Preben Randhol +" Last Change: 2008 Feb 24 +" License: GNU Public License (GPL) v2 +" +" Version 1.6: Added colours for TVO and changed folding colour + + +highlight clear Normal +set background& + +" Remove all existing highlighting and set the defaults. +highlight clear + +" Load the syntax highlighting defaults, if it's enabled. +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "ekvoli" + +hi Cursor guifg=white gui=reverse,bold +hi iCursor guifg=white gui=reverse,bold +hi rCursor guifg=white gui=reverse,bold +hi vCursor guifg=white gui=reverse,bold +hi lCursor guifg=white gui=reverse,bold +hi nCursor guifg=white gui=reverse,bold +hi CursorLine guibg=#05456f gui=none +hi CursorColumn guibg=#05456f gui=none + + +hi Normal guifg=white guibg=#001535 +hi Error guibg=#6000a0 gui=bold,italic,undercurl guisp=white +hi ErrorMsg guifg=white guibg=#287eff gui=bold,italic +hi Visual guibg=#2080c0 guifg=white gui=bold +hi VisualNOS guibg=#6080a0 guifg=white gui=bold +hi Todo guibg=#00a0d0 guifg=white gui=underline + +hi NonText guifg=#6590f0 + +hi Search guibg=#667799 guifg=white gui=bold +hi IncSearch guibg=#667799 guifg=white gui=bold + +hi SpecialKey guifg=#00c0e0 +hi Directory guifg=#00c0e0 +hi Title guifg=#00a0f0 gui=none +hi WarningMsg guifg=lightblue +hi WildMenu guifg=white guibg=#0080c0 +hi Pmenu guifg=white guibg=#005090 +hi PmenuSel guifg=white guibg=#3070c0 +hi ModeMsg guifg=#22cce2 +hi MoreMsg guifg=#22cce2 gui=bold +hi Question guifg=#22cce2 gui=none + +hi MatchParen guifg=white guibg=#3070c0 gui=bold + +hi StatusLine guifg=white guibg=#104075 gui=bold +hi StatusLineNC guifg=#65a0f0 guibg=#104075 gui=none +hi VertSplit guifg=#305885 guibg=#305885 gui=none +hi Folded guifg=#65b0f6 guibg=#122555 gui=italic +hi FoldColumn guifg=white guibg=#103366 gui=none +hi LineNr guifg=#5080b0 gui=bold + +hi DiffAdd guibg=#2080a0 guifg=white gui=bold +hi DiffChange guibg=#2080a0 guifg=white gui=bold +hi DiffDelete guibg=#306080 guifg=white gui=none +hi DiffText guibg=#8070a0 guifg=white gui=bold + +hi SpellBad gui=undercurl,italic guisp=#76daff +hi SpellCap gui=undercurl guisp=#7ba2ba +hi SpellRare gui=undercurl guisp=#8080f0 +hi SpellLocal gui=undercurl guisp=#c0c0e0 + +hi Comment guifg=#9590d5 gui=italic + + +hi Constant guifg=#87c6f0 gui=italic +hi Special guifg=#50a0e0 gui=bold +hi Identifier guifg=#7fe9ff +hi Statement guifg=white gui=bold +hi PreProc guifg=#3f8fff gui=none + +hi type guifg=#90bfd0 gui=none +hi Ignore guifg=bg +hi Underlined gui=underline cterm=underline term=underline + + +" TVO - The Vim Outliner +hi otlTab0 gui=bold,underline guifg=#eeeeff +hi otlTab1 gui=bold,underline guifg=#3377ee +hi otlTab2 gui=bold,underline guifg=#22cae2 +hi otlTab3 gui=bold,underline guifg=#9966ff +hi otlTab5 gui=bold,underline guifg=#22aae2 +hi otlTab4 gui=bold,underline guifg=#92caf2 +hi otlTab7 gui=bold,underline guifg=#22bae2 +hi otlTab6 gui=bold,underline guifg=#8866ee +hi otlTab8 gui=bold,underline guifg=#1166ee +hi otlTab9 gui=bold,underline guifg=#99ddee +hi otlTodo gui=bold,underline guifg=white guibg=#00a0d0 +hi otlTagRef guifg=white guibg=#8070a0 +hi otlTagDef guifg=white guibg=#005090 + + + + diff --git a/.vim/colors/elise.vim b/.vim/colors/elise.vim new file mode 100644 index 0000000..8036f62 --- /dev/null +++ b/.vim/colors/elise.vim @@ -0,0 +1,182 @@ +"==============================================================================. +" File: elise.vim | +" License: Public Domain, FREE as LOVE. | +" Description: The colorscheme "Fr Elise". | +" A pinky-yellowy-greeny colorscheme inspired on a popular | +" classical composition of "Ludwig van Beethoven", called | +" "Fr Elise" (For Elise). | +" Note: - Only standard (for all languages) highlight-groups are set. | +" - This colorscheme _should_ look nice everywhere. | +"==============================================================================| +" Author: drachenkiraa, {_drachen_kiraa_}@{_gmail_}.{com_} (remove: _{}) | +" Last Change: 2009 Jul 1 | +" Version: 1.0 | +"==========================================================================={{{1 +" Color Test: :he group-name | +" :so $VIMRUNTIME/syntax/hitest.vim | +" Tested On: - Linux (gvim v6.3, v6.4); | +" - Standard Linux Terminal (vim v6.3, v6.4); | +" - Xterm, Rxvt, Konsole, gnome-terminal (vim v6.3, v6.4). | +" - Windows (gvim v7.1, v7.2); | +" - DOS (vim v7.1, v7.2). | +" TODO: * Test this colorscheme on newer versions of vim/gvim for Linux | +" and other systems (*BSD, Mac, Amiga?). | +" * Are all the has("feature") checks really worth? | +" Please enlighten me if I'm wrong. | +"==============================================================================| +" Random Tips: | +" * If your terminal supports more than 8 colors (which is the case of most | +" modern xterms, rxvts, and others), then it is worth adding the following | +" lines somewhere into your .vimrc: | +" if &term =~ "xterm" | +" set t_Co=16 | +" endif | +" That'll make this colorscheme look a lot better on such terminals. | +" For further help checkout: | +" :he term-dependent-settings | +" :he term | +"===========================================================================}}}1 +" Initial setup stuff {{{1 +" Remove existing highlighting +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "elise" +hi Normal ctermbg=Black ctermfg=Gray cterm=NONE guibg=Black guifg=Gray75 gui=none + +" Vim >= 7.0 specific colors {{{1 +if v:version >= 700 + " Cursor colors {{{2 + hi Cursor ctermbg=DarkYellow ctermfg=fg guibg=LightYellow guifg=bg gui=none + hi CursorLine ctermbg=DarkGray guibg=Gray15 gui=none + hi CursorColumn ctermbg=DarkGray guibg=Gray15 gui=none + " only for Win32, IME status + if has('multi_byte_ime') + hi CursorIM guibg=LightGreen guifg=NONE gui=none + endif + + " Auto-completion Popup Menu colors {{{2 + hi Pmenu ctermbg=DarkMagenta ctermfg=bg cterm=NONE guibg=#330066 guifg=fg gui=none + hi PmenuSel ctermbg=bg ctermfg=Magenta cterm=NONE guibg=#cc99ff guifg=bg gui=none + hi PmenuSbar ctermbg=DarkBlue ctermfg=DarkBlue cterm=NONE guibg=#663399 guifg=fg gui=none + hi PmenuThumb ctermbg=DarkCyan ctermfg=DarkCyan cterm=NONE guibg=#9966cc guifg=fg gui=none + + " Tab colors {{{2 + if has("windows") + hi TabLine ctermbg=DarkYellow ctermfg=bg cterm=NONE guibg=Gray20 guifg=#ffcc66 gui=none + hi TabLineFill ctermbg=DarkYellow ctermfg=bg cterm=NONE guibg=Gray20 guifg=#ffcc66 gui=none + hi TabLineSel ctermbg=DarkBlue ctermfg=fg cterm=NONE guibg=#ffcc66 guifg=Gray20 gui=bold + endif + + " Spell checking colors {{{2 + if has("spell") + hi SpellBad ctermbg=White ctermfg=Red cterm=NONE guisp=Red gui=undercurl + hi SpellCap ctermbg=White ctermfg=Blue cterm=NONE guisp=Blue gui=undercurl + hi SpellLocal ctermbg=White ctermfg=DarkCyan cterm=NONE guisp=DarkCyan gui=undercurl + hi SpellRare ctermbg=White ctermfg=DarkMagenta cterm=NONE guisp=Magenta gui=undercurl + endif + +endif "}}}1 +" Messages and other texts' colors {{{1 +hi WarningMsg ctermbg=bg ctermfg=Red cterm=NONE guibg=bg guifg=#ff3333 gui=none +hi ErrorMsg ctermbg=Red ctermfg=White cterm=NONE guibg=Red2 guifg=White gui=none +hi ModeMsg ctermbg=bg ctermfg=fg cterm=NONE guibg=bg guifg=fg gui=none +hi MoreMsg ctermbg=bg ctermfg=Cyan cterm=NONE guibg=bg guifg=Cyan gui=none +hi Question ctermbg=bg ctermfg=White cterm=NONE guibg=bg guifg=White gui=none +hi Directory ctermbg=bg ctermfg=Yellow cterm=NONE guibg=bg guifg=Yellow gui=none +hi Title ctermbg=bg ctermfg=Yellow cterm=NONE guibg=bg guifg=Yellow gui=none + +" Diff colors {{{1 +if has("diff") + hi DiffAdd ctermbg=Green ctermfg=bg cterm=NONE guibg=LightGreen guifg=bg gui=none + hi DiffChange ctermbg=Blue ctermfg=fg cterm=NONE guibg=LightBlue guifg=bg gui=none + hi DiffDelete ctermbg=Red ctermfg=fg cterm=NONE guibg=LightRed guifg=bg gui=none + hi DiffText ctermbg=Cyan ctermfg=bg cterm=NONE guibg=LightCyan guifg=bg gui=none +endif + +" Outline, Fold & Sign columns colors {{{1 +hi LineNr ctermbg=bg ctermfg=DarkGray guibg=bg guifg=Gray40 gui=none +if has("folding") + hi Folded ctermbg=bg ctermfg=DarkCyan cterm=NONE guibg=Gray10 guifg=#66ccff gui=none + hi FoldColumn ctermbg=bg ctermfg=Cyan cterm=NONE guibg=Gray10 guifg=#66ccff gui=none +endif +if has("signs") + hi SignColumn ctermbg=bg ctermfg=Magenta guibg=Gray10 guifg=Magenta gui=none +endif + +" Search & Special characters' colors {{{1 +if has("extra_search") + hi Search ctermbg=Yellow ctermfg=bg cterm=NONE guibg=Yellow guifg=bg gui=none + hi IncSearch ctermbg=Green ctermfg=bg cterm=NONE guibg=Green guifg=bg gui=none +endif +hi NonText ctermbg=bg ctermfg=DarkGray guibg=bg guifg=DarkGray gui=none +hi SpecialKey ctermbg=bg ctermfg=DarkCyan guibg=bg guifg=DarkCyan gui=none + +" Window Bars, Status line & Visual mode colors {{{1 +hi StatusLine ctermbg=DarkBlue ctermfg=fg cterm=NONE guibg=#ffcc66 guifg=bg gui=none +if has("windows") + hi StatusLineNC ctermbg=DarkYellow ctermfg=bg cterm=NONE guibg=Gray20 guifg=#ffcc66 gui=none +endif + +if has("vertsplit") + hi VertSplit ctermbg=DarkYellow ctermfg=bg cterm=NONE guibg=Gray20 guifg=#ffcc66 gui=none +endif + +if has("wildmenu") + hi WildMenu ctermbg=bg ctermfg=Magenta guibg=bg guifg=#ffcc66 gui=bold +endif + +if has("visual") + hi Visual ctermbg=Yellow ctermfg=bg cterm=NONE guibg=#ffffcc guifg=bg gui=none + hi VisualNOS ctermbg=DarkBlue ctermfg=Yellow cterm=NONE guibg=#ffffcc guifg=DarkRed gui=none +endif + +" Syntax highlighting colors {{{1 +hi Comment ctermbg=bg ctermfg=Magenta guibg=bg guifg=#ff99cc gui=none +hi link SpecialComment Comment + +hi Character ctermbg=bg ctermfg=Cyan guibg=bg guifg=Cyan gui=none +hi String ctermbg=bg ctermfg=Cyan guibg=bg guifg=Cyan gui=none +hi Constant ctermbg=bg ctermfg=Blue guibg=bg guifg=LightBlue gui=none +hi link Number Constant +hi link Float Constant +hi link Boolean Constant + +hi Identifier ctermbg=bg ctermfg=Cyan guibg=bg guifg=Cyan gui=none +hi Function ctermbg=bg ctermfg=Green guibg=bg guifg=Green gui=none + +hi Statement ctermbg=bg ctermfg=Yellow guibg=bg guifg=#eecc00 gui=none +hi link Conditional Statement +hi link Repeat Statement +hi link Operator Statement +hi link Keyword Statement +hi link Label Statement +hi link Exception Statement + +hi Type ctermbg=bg ctermfg=Green guibg=bg guifg=#99ee00 gui=none +hi link StorageClass Type +hi link Structure Type +hi link Typedef Type + +hi PreProc ctermbg=bg ctermfg=Blue guibg=bg guifg=#cc99ff gui=none +hi PreCondit ctermbg=bg ctermfg=Blue guibg=bg guifg=#cc66dd gui=none +hi link Include PreProc +hi link Define PreProc + +hi Special ctermbg=bg ctermfg=Blue guibg=bg guifg=#ff8888 gui=none +hi SpecialChar ctermbg=bg ctermfg=Magenta guibg=bg guifg=#ff33ff gui=none +hi Tag ctermbg=bg ctermfg=DarkCyan guibg=bg guifg=DarkCyan gui=none +hi Delimiter ctermbg=bg ctermfg=DarkCyan guibg=bg guifg=DarkCyan gui=none +hi Debug ctermbg=bg ctermfg=DarkGray guibg=bg guifg=DarkGray gui=none + +hi MatchParen ctermbg=Green ctermfg=bg cterm=NONE guibg=Green guifg=bg gui=none +hi Error ctermbg=Red ctermfg=White cterm=NONE guibg=bg guifg=#ff3333 gui=none +hi Ignore ctermbg=bg ctermfg=bg cterm=NONE guibg=bg guifg=bg gui=none +hi Todo ctermbg=Magenta ctermfg=bg cterm=NONE guibg=#ff66cc guifg=bg gui=none +hi Underlined ctermbg=bg ctermfg=Cyan cterm=underline guibg=bg guifg=Cyan gui=underline +"}}}1 +"==========================================================================={{{1 +" vim: set et sw=2 sts=2 ts=8 nowrap: +" vim600: set fdc=2 fdm=marker: diff --git a/.vim/colors/elisex.vim b/.vim/colors/elisex.vim new file mode 100644 index 0000000..61bdf67 --- /dev/null +++ b/.vim/colors/elisex.vim @@ -0,0 +1,183 @@ +"==============================================================================. +" File: elisex.vim | +" License: Public Domain, FREE as LOVE. | +" Description: The colorscheme "Fr die Sexy Elise". | +" A pinky-yellowy-greeny colorscheme inspired on a popular | +" classical composition of "Ludwig van Beethoven", called | +" "Fr Elise" (For Elise). This one uses bold and italic font | +" styles to please your eyes. | +" Note: - Only standard (for all languages) highlight-groups are set. | +" - This colorscheme _should_ look nice everywhere. | +"==============================================================================| +" Author: drachenkiraa, {_drachen_kiraa_}@{_gmail_}.{com_} (remove: _{}) | +" Last Change: 2009 Jul 1 | +" Version: 1.0 | +"==========================================================================={{{1 +" Color Test: :he group-name | +" :so $VIMRUNTIME/syntax/hitest.vim | +" Tested On: - Linux (gvim v6.3, v6.4); | +" - Standard Linux Terminal (vim v6.3, v6.4); | +" - Xterm, Rxvt, Konsole, gnome-terminal (vim v6.3, v6.4). | +" - Windows (gvim v7.1, v7.2); | +" - DOS (vim v7.1, v7.2). | +" TODO: * Test this colorscheme on newer versions of vim/gvim for Linux | +" and other systems (*BSD, Mac, Amiga?). | +" * Are all the has("feature") checks really worth? | +" Please enlighten me if I'm wrong. | +"==============================================================================| +" Random Tips: | +" * If your terminal supports more than 8 colors (which is the case of most | +" modern xterms, rxvts, and others), then it is worth adding the following | +" lines somewhere into your .vimrc: | +" if &term =~ "xterm" | +" set t_Co=16 | +" endif | +" That'll make this colorscheme look a lot better on such terminals. | +" For further help checkout: | +" :he term-dependent-settings | +" :he term | +"===========================================================================}}}1 +" Initial setup stuff {{{1 +" Remove existing highlighting +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "elisex" +hi Normal ctermbg=Black ctermfg=Gray cterm=NONE guibg=Black guifg=Gray75 gui=none + +" Vim >= 7.0 specific colors {{{1 +if v:version >= 700 + " Cursor colors {{{2 + hi Cursor ctermbg=DarkYellow ctermfg=fg guibg=LightYellow guifg=bg gui=none + hi CursorLine ctermbg=DarkGray guibg=Gray15 gui=none + hi CursorColumn ctermbg=DarkGray guibg=Gray15 gui=none + " only for Win32, IME status + if has('multi_byte_ime') + hi CursorIM guibg=LightGreen guifg=NONE gui=none + endif + + " Auto-completion Popup Menu colors {{{2 + hi Pmenu ctermbg=DarkMagenta ctermfg=bg cterm=NONE guibg=#330066 guifg=fg gui=none + hi PmenuSel ctermbg=bg ctermfg=Magenta cterm=NONE guibg=#cc99ff guifg=bg gui=bold + hi PmenuSbar ctermbg=DarkBlue ctermfg=DarkBlue cterm=NONE guibg=#663399 guifg=fg gui=none + hi PmenuThumb ctermbg=DarkCyan ctermfg=DarkCyan cterm=NONE guibg=#9966cc guifg=fg gui=none + + " Tab colors {{{2 + if has("windows") + hi TabLine ctermbg=DarkYellow ctermfg=bg cterm=NONE guibg=Gray20 guifg=#ffcc66 gui=italic + hi TabLineFill ctermbg=DarkYellow ctermfg=bg cterm=NONE guibg=Gray20 guifg=#ffcc66 gui=italic + hi TabLineSel ctermbg=DarkBlue ctermfg=fg cterm=NONE guibg=#ffcc66 guifg=Gray20 gui=bold + endif + + " Spell checking colors {{{2 + if has("spell") + hi SpellBad ctermbg=White ctermfg=Red cterm=NONE guisp=Red gui=undercurl + hi SpellCap ctermbg=White ctermfg=Blue cterm=NONE guisp=Blue gui=undercurl + hi SpellLocal ctermbg=White ctermfg=DarkCyan cterm=NONE guisp=DarkCyan gui=undercurl + hi SpellRare ctermbg=White ctermfg=DarkMagenta cterm=NONE guisp=Magenta gui=undercurl + endif + +endif "}}}1 +" Messages and other texts' colors {{{1 +hi WarningMsg ctermbg=bg ctermfg=Red cterm=NONE guibg=bg guifg=#ff3333 gui=italic +hi ErrorMsg ctermbg=Red ctermfg=White cterm=NONE guibg=Red2 guifg=White gui=none +hi ModeMsg ctermbg=bg ctermfg=fg cterm=NONE guibg=bg guifg=fg gui=none +hi MoreMsg ctermbg=bg ctermfg=Cyan cterm=NONE guibg=bg guifg=Cyan gui=none +hi Question ctermbg=bg ctermfg=White cterm=NONE guibg=bg guifg=White gui=italic +hi Directory ctermbg=bg ctermfg=Yellow cterm=NONE guibg=bg guifg=Yellow gui=none +hi Title ctermbg=bg ctermfg=Yellow cterm=NONE guibg=bg guifg=Yellow gui=underline + +" Diff colors {{{1 +if has("diff") + hi DiffAdd ctermbg=Green ctermfg=bg cterm=NONE guibg=LightGreen guifg=bg gui=none + hi DiffChange ctermbg=Blue ctermfg=fg cterm=NONE guibg=LightBlue guifg=bg gui=none + hi DiffDelete ctermbg=Red ctermfg=fg cterm=NONE guibg=LightRed guifg=bg gui=none + hi DiffText ctermbg=Cyan ctermfg=bg cterm=NONE guibg=LightCyan guifg=bg gui=none +endif + +" Outline, Fold & Sign columns colors {{{1 +hi LineNr ctermbg=bg ctermfg=DarkGray guibg=bg guifg=Gray40 gui=none +if has("folding") + hi Folded ctermbg=bg ctermfg=DarkCyan cterm=NONE guibg=Gray10 guifg=#66ccff gui=none + hi FoldColumn ctermbg=bg ctermfg=Cyan cterm=NONE guibg=Gray10 guifg=#66ccff gui=none +endif +if has("signs") + hi SignColumn ctermbg=bg ctermfg=Magenta guibg=Gray10 guifg=Magenta gui=none +endif + +" Search & Special characters' colors {{{1 +if has("extra_search") + hi Search ctermbg=Yellow ctermfg=bg cterm=NONE guibg=Yellow guifg=bg gui=none + hi IncSearch ctermbg=Green ctermfg=bg cterm=NONE guibg=Green guifg=bg gui=none +endif +hi NonText ctermbg=bg ctermfg=DarkGray guibg=bg guifg=DarkGray gui=none +hi SpecialKey ctermbg=bg ctermfg=DarkCyan guibg=bg guifg=DarkCyan gui=none + +" Window Bars, Status line & Visual mode colors {{{1 +hi StatusLine ctermbg=DarkBlue ctermfg=fg cterm=NONE guibg=#ffcc66 guifg=bg gui=none +if has("windows") + hi StatusLineNC ctermbg=DarkYellow ctermfg=bg cterm=NONE guibg=Gray20 guifg=#ffcc66 gui=italic +endif + +if has("vertsplit") + hi VertSplit ctermbg=DarkYellow ctermfg=bg cterm=NONE guibg=Gray20 guifg=#ffcc66 gui=none +endif + +if has("wildmenu") + hi WildMenu ctermbg=bg ctermfg=Magenta guibg=bg guifg=#ffcc66 gui=bold +endif + +if has("visual") + hi Visual ctermbg=Yellow ctermfg=bg cterm=NONE guibg=#ffffcc guifg=bg gui=none + hi VisualNOS ctermbg=DarkBlue ctermfg=Yellow cterm=NONE guibg=#ffffcc guifg=DarkRed gui=none +endif + +" Syntax highlighting colors {{{1 +hi Comment ctermbg=bg ctermfg=Magenta guibg=bg guifg=#ff99cc gui=none +hi link SpecialComment Comment + +hi Character ctermbg=bg ctermfg=Cyan guibg=bg guifg=Cyan gui=none +hi String ctermbg=bg ctermfg=Cyan guibg=bg guifg=Cyan gui=none +hi Constant ctermbg=bg ctermfg=Blue guibg=bg guifg=LightBlue gui=bold +hi link Number Constant +hi link Float Constant +hi link Boolean Constant + +hi Identifier ctermbg=bg ctermfg=Cyan guibg=bg guifg=Cyan gui=none +hi Function ctermbg=bg ctermfg=Green guibg=bg guifg=Green gui=bold,italic + +hi Statement ctermbg=bg ctermfg=Yellow guibg=bg guifg=#eecc00 gui=bold +hi link Conditional Statement +hi link Repeat Statement +hi link Operator Statement +hi link Keyword Statement +hi link Label Statement +hi link Exception Statement + +hi Type ctermbg=bg ctermfg=Green guibg=bg guifg=#99ee00 gui=bold +hi link StorageClass Type +hi link Structure Type +hi link Typedef Type + +hi PreProc ctermbg=bg ctermfg=Blue guibg=bg guifg=#cc99ff gui=none +hi PreCondit ctermbg=bg ctermfg=Blue guibg=bg guifg=#cc66dd gui=bold,italic +hi link Include PreProc +hi link Define PreProc + +hi Special ctermbg=bg ctermfg=Blue guibg=bg guifg=#ff8888 gui=none +hi SpecialChar ctermbg=bg ctermfg=Magenta guibg=bg guifg=#ff33ff gui=none +hi Tag ctermbg=bg ctermfg=DarkCyan guibg=bg guifg=DarkCyan gui=none +hi Delimiter ctermbg=bg ctermfg=DarkCyan guibg=bg guifg=DarkCyan gui=none +hi Debug ctermbg=bg ctermfg=DarkGray guibg=bg guifg=DarkGray gui=none + +hi MatchParen ctermbg=Green ctermfg=bg cterm=NONE guibg=Green guifg=bg gui=bold +hi Error ctermbg=Red ctermfg=White cterm=NONE guibg=bg guifg=#ff3333 gui=none +hi Ignore ctermbg=bg ctermfg=bg cterm=NONE guibg=bg guifg=bg gui=none +hi Todo ctermbg=Magenta ctermfg=bg cterm=NONE guibg=#ff66cc guifg=bg gui=bold +hi Underlined ctermbg=bg ctermfg=Cyan cterm=underline guibg=bg guifg=Cyan gui=underline +"}}}1 +"==========================================================================={{{1 +" vim: set et sw=2 sts=2 ts=8 nowrap: +" vim600: set fdc=2 fdm=marker: diff --git a/.vim/colors/emacs.vim b/.vim/colors/emacs.vim new file mode 100644 index 0000000..21f22f7 --- /dev/null +++ b/.vim/colors/emacs.vim @@ -0,0 +1,63 @@ +" Vim color file +" Maintainer: Michael Piefel +" Last Change: 2001 Aug 16 +" Licence: Public Domain + +" This color scheme uses a White background. It's based on Bram's +" morning theme, but doesn't try to work for non-GUI editing. +" +" It's supposed to look like the Emacs standard colors, at least +" for C. But Emacs has different categories, so it's not very good. + +" First remove all existing highlighting. +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "emacs" + +hi Normal guifg=Black guibg=White + +" Groups used in the 'highlight' and 'guicursor' options default value. +hi ErrorMsg guibg=Red guifg=White +hi IncSearch gui=reverse +hi ModeMsg gui=bold +hi StatusLine gui=reverse,bold +hi StatusLineNC gui=reverse +hi VertSplit gui=reverse +hi Visual gui=reverse guifg=Grey guibg=fg +hi VisualNOS gui=underline,bold +hi DiffText gui=bold guibg=Red +hi Cursor guibg=Black guifg=NONE +hi lCursor guibg=Cyan guifg=NONE +hi Directory guifg=Blue +hi LineNr guifg=Brown +hi MoreMsg gui=bold guifg=SeaGreen +hi NonText gui=bold guifg=Blue guibg=grey90 +hi Question gui=bold guifg=SeaGreen +hi Search guibg=Yellow guifg=NONE +hi SpecialKey guifg=Blue +hi Title gui=bold guifg=Magenta +hi WarningMsg guifg=Red +hi WildMenu guibg=Yellow guifg=Black +hi Folded guibg=White guifg=DarkBlue +hi FoldColumn guibg=Grey guifg=DarkBlue +hi DiffAdd guibg=LightBlue +hi DiffChange guibg=LightMagenta +hi DiffDelete gui=bold guifg=Blue guibg=LightCyan + +" Colors for syntax highlighting +hi Comment guifg=#AC2020 guibg=White +hi Constant guifg=#C28F8F guibg=White +hi PreProc guifg=#D569D5 guibg=White +hi Statement gui=NONE guifg=#9C20EE guibg=White +hi Type guifg=#9C20EE guibg=White +hi Special guifg=SlateBlue guibg=White +hi Ignore guifg=White + +" Some specials (override hilinks) + + +" vim: sw=2 diff --git a/.vim/colors/enzyme.vim b/.vim/colors/enzyme.vim new file mode 100644 index 0000000..a3b7e39 --- /dev/null +++ b/.vim/colors/enzyme.vim @@ -0,0 +1,69 @@ +" vim: tw=0 ts=4 sw=4 +" Vim color file +" Maintainer: Kamil Kisiel + +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "enzyme" +set bg=dark +hi Normal ctermfg=grey +hi Scrollbar guifg=darkcyan guibg=cyan +hi Menu guifg=black guibg=cyan +hi SpecialKey term=bold cterm=bold ctermfg=darkred +hi NonText term=bold cterm=bold ctermfg=darkred +hi Directory term=bold cterm=bold ctermfg=brown +hi ErrorMsg term=standout cterm=bold ctermfg=grey ctermbg=red +hi Search term=reverse ctermfg=white ctermbg=magenta +hi MoreMsg term=bold cterm=bold ctermfg=darkgreen +hi ModeMsg term=bold cterm=bold +hi LineNr term=underline cterm=bold ctermfg=darkcyan +hi Question term=standout cterm=bold ctermfg=darkgreen +hi StatusLineNC term=bold,reverse cterm=bold ctermfg=darkblue ctermbg=white +hi StatusLine term=reverse ctermfg=darkblue ctermbg=white +hi Folded ctermfg=white ctermbg=darkred +hi Title term=bold cterm=bold ctermfg=darkmagenta +hi Visual term=reverse cterm=reverse +hi WarningMsg term=standout cterm=bold ctermfg=darkred +hi Cursor guifg=bg guibg=Green +hi Comment term=bold cterm=bold ctermfg=cyan +hi Constant term=underline cterm=bold ctermfg=LightBlue +hi Special term=bold cterm=bold ctermfg=red +hi Identifier term=underline ctermfg=brown +hi Statement term=bold cterm=bold ctermfg=yellow +hi PreProc term=underline ctermfg=darkmagenta +hi Type term=underline cterm=bold ctermfg=lightgreen +hi Error term=reverse ctermfg=darkcyan ctermbg=black +hi Todo term=standout ctermfg=black ctermbg=darkcyan +hi CursorLine term=underline guibg=#555555 cterm=underline +hi CursorColumn term=underline guibg=#555555 cterm=underline +hi MatchParen term=reverse ctermfg=blue +hi TabLine term=bold,reverse cterm=bold ctermfg=lightblue ctermbg=white +hi TabLineFill term=bold,reverse cterm=bold ctermfg=lightblue ctermbg=white +hi TabLineSel term=reverse ctermfg=white ctermbg=lightblue +hi link IncSearch Visual +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 Conditional Statement +hi link Repeat Statement +hi link Label Statement +hi link Operator Statement +hi link Keyword Statement +hi link Exception 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 diff --git a/.vim/colors/evening_2.vim b/.vim/colors/evening_2.vim new file mode 100644 index 0000000..27d9f19 --- /dev/null +++ b/.vim/colors/evening_2.vim @@ -0,0 +1,57 @@ +" Vim color file +" Maintainer: Bram Moolenaar +" Last Change: 2006 Apr 14 + +" This color scheme uses a dark grey background. + +" First remove all existing highlighting. +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "evening_2" + +hi Normal ctermbg=DarkGrey ctermfg=White guifg=gray90 guibg=grey25 + +" Groups used in the 'highlight' and 'guicursor' options default value. +hi ErrorMsg term=standout ctermbg=DarkRed ctermfg=White guibg=Red guifg=White +hi IncSearch term=reverse cterm=reverse gui=reverse +hi ModeMsg term=bold cterm=bold gui=bold +hi StatusLine term=reverse,bold cterm=reverse,bold gui=reverse,bold +hi StatusLineNC term=reverse cterm=reverse gui=reverse +hi VertSplit term=reverse cterm=reverse gui=reverse +hi Visual term=reverse ctermbg=black guibg=grey40 +hi VisualNOS term=underline,bold cterm=underline,bold gui=underline,bold +hi DiffText term=reverse cterm=bold ctermbg=Red gui=bold guibg=Red +hi Cursor guibg=Green guifg=Black +hi lCursor guibg=Cyan guifg=Black +hi Directory term=bold ctermfg=LightCyan guifg=Cyan +""hi LineNr term=underline ctermfg=Yellow guifg=Yellow +hi LineNr term=underline ctermfg=Yellow guifg=#8db6cd +hi MoreMsg term=bold ctermfg=LightGreen gui=bold guifg=SeaGreen +hi NonText term=bold ctermfg=LightBlue gui=bold guifg=LightBlue guibg=grey30 +hi Question term=standout ctermfg=LightGreen gui=bold guifg=Green +hi Search term=reverse ctermbg=Yellow ctermfg=Black guibg=Yellow guifg=Black +hi SpecialKey term=bold ctermfg=LightBlue guifg=Cyan +hi Title term=bold ctermfg=LightMagenta gui=bold guifg=Magenta +hi WarningMsg term=standout ctermfg=LightRed guifg=Red +hi WildMenu term=standout ctermbg=Yellow ctermfg=Black guibg=Yellow guifg=Black +hi Folded term=standout ctermbg=LightGrey ctermfg=DarkBlue guibg=LightGrey guifg=DarkBlue +hi FoldColumn term=standout ctermbg=LightGrey ctermfg=DarkBlue guibg=Grey guifg=DarkBlue +hi DiffAdd term=bold ctermbg=DarkBlue guibg=DarkBlue +hi DiffChange term=bold ctermbg=DarkMagenta guibg=DarkMagenta +hi DiffDelete term=bold ctermfg=Blue ctermbg=DarkCyan gui=bold guifg=Blue guibg=DarkCyan +hi CursorColumn term=reverse ctermbg=Black guibg=grey40 +hi CursorLine term=underline cterm=underline guibg=grey40 + +" Groups for syntax highlighting +hi Constant term=underline ctermfg=Magenta guifg=#ffa0a0 guibg=grey25 +hi Special term=bold ctermfg=LightRed guifg=Orange guibg=grey25 +if &t_Co > 8 + hi Statement term=bold cterm=bold ctermfg=Yellow guifg=#ffff60 gui=bold +endif +hi Ignore ctermfg=DarkGrey guifg=grey20 + +" vim: sw=2 diff --git a/.vim/colors/far.vim b/.vim/colors/far.vim new file mode 100644 index 0000000..21e7ca0 --- /dev/null +++ b/.vim/colors/far.vim @@ -0,0 +1,68 @@ +" Vim color file +" Maintainer: Dmitri Shevchenko +" Last Change: 2006 Feb 15 + +" This is a VIM's version of the FAR(http://www.rarsoft.com) internal editor +" color scheme + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="far" + +hi Type term=NONE cterm=NONE ctermfg=Yellow ctermbg=DarkBlue +hi Type gui=NONE guifg=Yellow guibg=DarkBlue + +hi NonText term=NONE cterm=NONE ctermfg=White ctermbg=DarkBlue +hi NonText gui=NONE guifg=White guibg=DarkBlue + +hi Statement term=NONE cterm=NONE ctermfg=Yellow ctermbg=DarkBlue +hi Statement gui=NONE guifg=Yellow guibg=DarkBlue + +hi Special term=NONE cterm=NONE ctermfg=Green ctermbg=DarkBlue +hi Special gui=NONE guifg=Green guibg=DarkBlue + +hi Constant term=NONE cterm=NONE ctermfg=DarkGreen ctermbg=DarkBlue +hi Constant gui=NONE guifg=DarkGreen guibg=DarkBlue + +hi Normal term=NONE cterm=NONE ctermfg=Gray ctermbg=DarkBlue +hi Normal gui=NONE guifg=Gray guibg=DarkBlue + +hi Preproc term=NONE cterm=NONE ctermfg=Red ctermbg=DarkBlue +hi Preproc gui=NONE guifg=Red guibg=DarkBlue + +hi Comment term=NONE cterm=NONE ctermfg=Brown ctermbg=DarkBlue +hi Comment gui=NONE guifg=DarkYellow guibg=DarkBlue + +hi Identifier term=NONE cterm=NONE ctermfg=Cyan ctermbg=DarkBlue +hi Identifier gui=NONE guifg=Cyan guibg=DarkBlue + +hi StatusLine term=bold cterm=bold ctermfg=DarkGray ctermbg=Gray +hi StatusLine gui=bold guifg=DarkGray guibg=Gray + +hi StatusLineNC term=NONE cterm=NONE ctermfg=DarkGray ctermbg=Gray +hi StatusLineNC gui=NONE guifg=DarkGray guibg=Gray + +hi Visual term=NONE cterm=NONE ctermfg=Black ctermbg=DarkCyan +hi Visual gui=NONE guifg=Black guibg=DarkCyan + +hi Search term=NONE cterm=NONE ctermbg=DarkYellow +hi Search gui=NONE guibg=DarkYellow + +hi VertSplit term=NONE cterm=NONE ctermfg=Black ctermbg=White +hi VertSplit gui=NONE guifg=Black guibg=White + +hi Directory term=NONE cterm=NONE ctermfg=Cyan ctermbg=DarkBlue +hi Directory gui=NONE guifg=Cyan guibg=DarkBlue + +hi WarningMsg term=standout cterm=NONE ctermfg=Red ctermbg=DarkBlue +hi WarningMsg gui=standout guifg=Red guibg=DarkBlue + +hi Error term=NONE cterm=NONE ctermfg=White ctermbg=Red +hi Error gui=NONE guifg=White guibg=Red + +hi Cursor ctermfg=Black ctermbg=Green +hi Cursor guifg=Black guibg=Green + diff --git a/.vim/colors/fine_blue.vim b/.vim/colors/fine_blue.vim new file mode 100644 index 0000000..89c280c --- /dev/null +++ b/.vim/colors/fine_blue.vim @@ -0,0 +1,71 @@ +" Vim color file +" Maintainer: Tiza +" Last Change: 2002/10/30 Wed 00:12. +" version: 1.7 +" This color scheme uses a light background. + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "fine_blue" + +hi Normal guifg=#404048 guibg=#f8f8f8 + +" Search +hi IncSearch gui=UNDERLINE guifg=#404054 guibg=#40ffff +hi Search gui=NONE guifg=#404054 guibg=#ffffa0 + +" Messages +hi ErrorMsg gui=NONE guifg=#ff0070 guibg=#ffe0f4 +hi WarningMsg gui=NONE guifg=#ff0070 guibg=#ffe0f4 +hi ModeMsg gui=NONE guifg=#0070ff guibg=NONE +hi MoreMsg gui=NONE guifg=#a800ff guibg=NONE +hi Question gui=NONE guifg=#008050 guibg=NONE + +" Split area +hi StatusLine gui=BOLD guifg=#f8f8f8 guibg=#404054 +hi StatusLineNC gui=NONE guifg=#b8b8c0 guibg=#404054 +hi VertSplit gui=NONE guifg=#f8f8f8 guibg=#404054 +hi WildMenu gui=BOLD guifg=#f8f8f8 guibg=#00aacc + +" Diff +hi DiffText gui=NONE guifg=#4040ff guibg=#c0c0ff +hi DiffChange gui=NONE guifg=#5050ff guibg=#e0e0ff +hi DiffDelete gui=NONE guifg=#4040ff guibg=#c8f2ea +hi DiffAdd gui=NONE guifg=#4040ff guibg=#c8f2ea + +" Cursor +hi Cursor gui=NONE guifg=#0000ff guibg=#00e0ff +hi lCursor gui=NONE guifg=#f8f8f8 guibg=#8000ff +hi CursorIM gui=NONE guifg=#f8f8f8 guibg=#8000ff + +" Fold +hi Folded gui=NONE guifg=#7820ff guibg=#e0d8ff +hi FoldColumn gui=NONE guifg=#aa60ff guibg=#f0f0f4 +" hi Folded gui=NONE guifg=#58587c guibg=#e0e0e8 +" hi FoldColumn gui=NONE guifg=#9090b0 guibg=#f0f0f4 + +" Other +hi Directory gui=NONE guifg=#0070b8 guibg=NONE +hi LineNr gui=NONE guifg=#a0a0b0 guibg=NONE +hi NonText gui=BOLD guifg=#4000ff guibg=#ececf0 +hi SpecialKey gui=NONE guifg=#d87000 guibg=NONE +hi Title gui=NONE guifg=#004060 guibg=#c8f0f8 +hi Visual gui=NONE guifg=#404060 guibg=#dddde8 +" hi VisualNOS gui=NONE guifg=#404060 guibg=#dddde8 + +" Syntax group +hi Comment gui=NONE guifg=#ff00c0 guibg=NONE +hi Constant gui=NONE guifg=#2020ff guibg=#e8e8ff +hi Error gui=BOLD guifg=#ffffff guibg=#ff4080 +hi Identifier gui=NONE guifg=#c800ff guibg=NONE +hi Ignore gui=NONE guifg=#f8f8f8 guibg=NONE +hi PreProc gui=NONE guifg=#0070e6 guibg=NONE +hi Special gui=NONE guifg=#005858 guibg=#ccf7ee +hi Statement gui=NONE guifg=#008858 guibg=NONE +hi Todo gui=NONE guifg=#ff0070 guibg=#ffe0f4 +hi Type gui=NONE guifg=#7040ff guibg=NONE +hi Underlined gui=UNDERLINE guifg=#0000ff guibg=NONE diff --git a/.vim/colors/fnaqevan.vim b/.vim/colors/fnaqevan.vim new file mode 100644 index 0000000..d936cee --- /dev/null +++ b/.vim/colors/fnaqevan.vim @@ -0,0 +1,67 @@ +" Vim color file +" Maintainer: Rafal Sulejman +" Last Change: 2002.06.18 +" +" This color scheme uses a black (dark) background. + +" First remove all existing highlighting. +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "fnaqevan" + +hi Normal guibg=#000000 guifg=#C0C0C0 gui=NONE + +" Main colors +hi Constant guibg=#000000 guifg=#00B8E0 gui=NONE +hi Identifier guibg=#000000 guifg=#FFA850 gui=NONE +hi Special guibg=#000000 guifg=#B899C8 gui=NONE +hi Statement guibg=#000000 guifg=#EEE840 gui=NONE +hi Preproc guibg=#000000 guifg=#00B098 gui=NONE +hi Type guibg=#000000 guifg=#40D040 gui=NONE + +" Secondary colors +hi Comment guibg=#000000 guifg=#006699 gui=NONE +hi Visual guibg=#005900 guifg=#40C940 gui=NONE +hi VisualNOS guibg=#005900 guifg=#40C940 gui=NONE +hi Search guibg=#707000 guifg=#FFFF00 gui=NONE +hi IncSearch guibg=#D05000 guifg=#FFE000 gui=NONE + +" Special colors +hi WarningMsg guibg=#707000 guifg=#FFFF00 gui=NONE +hi MoreMsg guibg=#000070 guifg=#00B8E0 gui=NONE +hi ErrorMsg guibg=#CC0000 guifg=#FFEE00 gui=NONE +hi ModeMsg guibg=#000000 guifg=#E8E8E8 gui=NONE +hi WildMenu guibg=#5f5f5f guifg=#FFEE60 gui=NONE +hi StatusLine guibg=#1f1f1f guifg=#F0F0F0 gui=NONE +hi StatusLineNC guibg=#0f0f0f guifg=#eaea3a gui=NONE +hi VertSplit guibg=#1f1f1f guifg=#F0F0F0 gui=NONE +hi Error guibg=#EE0000 guifg=#FFDD60 gui=NONE +hi Todo guibg=#EEE000 guifg=#000000 gui=NONE +hi Title guibg=#000000 guifg=#ffffff gui=NONE +hi Question guibg=#005900 guifg=#40E840 gui=NONE +hi LineNr guibg=#000000 guifg=#F0B0E0 gui=NONE +hi Directory guibg=#000000 guifg=#D0D0D0 gui=NONE +hi NonText guibg=#000000 guifg=#FFDDAA gui=NONE +hi SpecialKey guibg=#000000 guifg=#FFFFFF gui=NONE + +" Diff colors +hi DiffAdd guibg=#505050 guifg=#D0D0D0 gui=NONE +hi DiffChange guibg=#505050 guifg=#D0D0D0 gui=NONE +hi DiffDelete guibg=#505050 guifg=#D0D0D0 gui=NONE +hi DiffText guibg=#707070 guifg=#F0F0F0 gui=NONE + +" Folding colors +hi Folded guibg=#703070 guifg=#DDB8DD gui=NONE +hi FoldColumn guibg=#C4153B guifg=#F0F0F0 gui=NONE + +" Cursor colors +hi Cursor guibg=#FFFFFF guifg=#000000 gui=NONE +hi icursor guibg=#FFEE00 guifg=#000000 gui=NONE +hi ncursor guibg=#FFFFFF guifg=#000000 gui=NONE +hi rcursor guibg=#00CCFF guifg=#000000 gui=NONE +hi lcursor guibg=#40D040 guifg=#000000 gui=NONE + diff --git a/.vim/colors/fog.vim b/.vim/colors/fog.vim new file mode 100644 index 0000000..ab263ab --- /dev/null +++ b/.vim/colors/fog.vim @@ -0,0 +1,170 @@ +" Vim color file +" vim: tw=0 ts=4 sw=4 +" Maintainer: Thomas R. Kimpton +" Last Change: 2001 Nov 8 +" This color scheme is meant for the person that spends hours +" and hours and hours and... in vim and wants some contrast to +" help pick things out in the files they edit, but doesn't want +" **C**O**N**T**R**A**S**T**! + +set background=light + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "fog" + +hi Normal ctermbg=White ctermfg=Black +" 660066 = darkish purple +hi Normal guifg=#660066 guibg=grey80 + +hi NonText term=bold +hi NonText ctermfg=LightBlue +hi NonText gui=bold guifg=LightBlue guibg=grey80 + +hi Comment ctermfg=DarkGrey ctermbg=White +" 444499 = darkish blue grey +hi Comment guifg=#444499 + +hi Constant term=underline +hi Constant ctermfg=Magenta +hi Constant guifg=#7070a0 + +hi Statement term=bold +hi Statement cterm=bold ctermfg=DarkGreen ctermbg=White +hi Statement guifg=DarkGreen gui=bold + +hi identifier ctermfg=DarkGreen +hi identifier guifg=DarkGreen + +hi preproc ctermfg=DarkGreen +hi preproc guifg=#408040 + +hi type ctermfg=DarkBlue +hi type guifg=DarkBlue + +hi label ctermfg=yellow +hi label guifg=#c06000 + +hi operator ctermfg=darkYellow +hi operator guifg=DarkGreen gui=bold + +hi StorageClass ctermfg=DarkRed ctermbg=White +hi StorageClass guifg=#a02060 gui=bold + +hi Number ctermfg=Blue ctermbg=White +hi Number guifg=Blue + +hi Special term=bold +hi Special ctermfg=LightRed +hi Special guifg=#aa8822 + +hi Cursor ctermbg=DarkMagenta +hi Cursor guibg=#880088 guifg=LightGrey + +hi lCursor guibg=Cyan guifg=Black + +hi ErrorMsg term=standout +hi ErrorMsg ctermbg=DarkRed ctermfg=White +hi ErrorMsg guibg=DarkRed guifg=White + +hi DiffText term=reverse +hi DiffText cterm=bold ctermbg=DarkRed +hi DiffText gui=bold guibg=DarkRed + +hi Directory term=bold +hi Directory ctermfg=LightRed +hi Directory guifg=Red gui=underline + +hi LineNr term=underline +hi LineNr ctermfg=Yellow +hi LineNr guifg=#ccaa22 + +hi MoreMsg term=bold +hi MoreMsg ctermfg=LightGreen +hi MoreMsg gui=bold guifg=SeaGreen + +hi Question term=standout +hi Question ctermfg=LightGreen +hi Question gui=bold guifg=DarkGreen + +hi Search term=reverse +hi Search ctermbg=DarkYellow ctermfg=Black +hi Search guibg=#887722 guifg=Black + +hi SpecialKey term=bold +hi SpecialKey ctermfg=LightBlue +hi SpecialKey guifg=Blue + +hi SpecialChar ctermfg=DarkGrey ctermbg=White +hi SpecialChar guifg=DarkGrey gui=bold + +hi Title term=bold +hi Title ctermfg=LightMagenta +hi Title gui=underline guifg=DarkMagenta + +hi WarningMsg term=standout +hi WarningMsg ctermfg=LightRed +hi WarningMsg guifg=DarkBlue guibg=#9999cc + +hi WildMenu term=standout +hi WildMenu ctermbg=Yellow ctermfg=Black +hi WildMenu guibg=Yellow guifg=Black gui=underline + +hi Folded term=standout +hi Folded ctermbg=LightGrey ctermfg=DarkBlue +hi Folded guibg=LightGrey guifg=DarkBlue + +hi FoldColumn term=standout +hi FoldColumn ctermbg=LightGrey ctermfg=DarkBlue +hi FoldColumn guibg=Grey guifg=DarkBlue + +hi DiffAdd term=bold +hi DiffAdd ctermbg=DarkBlue +hi DiffAdd guibg=DarkBlue + +hi DiffChange term=bold +hi DiffChange ctermbg=DarkMagenta +hi DiffChange guibg=DarkMagenta + +hi DiffDelete term=bold +hi DiffDelete ctermfg=Blue ctermbg=DarkCyan +hi DiffDelete gui=bold guifg=Blue guibg=DarkCyan + +hi Ignore ctermfg=LightGrey +hi Ignore guifg=grey90 + +hi IncSearch term=reverse +hi IncSearch cterm=reverse +hi IncSearch gui=reverse + +hi ModeMsg term=bold +hi ModeMsg cterm=bold +hi ModeMsg gui=bold + +hi StatusLine term=reverse,bold +hi StatusLine cterm=reverse,bold +hi StatusLine gui=reverse,bold + +hi StatusLineNC term=reverse +hi StatusLineNC cterm=reverse +hi StatusLineNC gui=reverse + +hi VertSplit term=reverse +hi VertSplit cterm=reverse +hi VertSplit gui=reverse + +hi Visual term=reverse +hi Visual cterm=reverse +hi Visual gui=reverse guifg=DarkGrey guibg=fg + +hi VisualNOS term=underline,bold +hi VisualNOS cterm=underline,bold +hi VisualNOS gui=underline,bold + +hi Todo gui=reverse + +" vim: sw=2 diff --git a/.vim/colors/fokus.vim b/.vim/colors/fokus.vim new file mode 100644 index 0000000..8f99b08 --- /dev/null +++ b/.vim/colors/fokus.vim @@ -0,0 +1,168 @@ +" Vim color file +" +" Name: fokus +" Maintainer: Mohammad Satrio +" Version: 0.3 +" Last Change: February 7th, 2011 +" +" Edited from fruit color scheme by Tiza, version 1.3 +" This color scheme uses a light background. + +hi clear + +set background=light +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="fokus" + +hi Normal guifg=#404040 guibg=#F5F3E7 + +" Search +hi IncSearch gui=UNDERLINE guifg=#404040 guibg=#FF99FF +hi Search gui=NONE guifg=#404040 guibg=#ffdd99 + +" Messages +hi ErrorMsg gui=NONE guifg=#ff0000 guibg=#ffe4e4 +hi WarningMsg gui=NONE guifg=#ff0000 guibg=#ffe4e4 +hi ModeMsg gui=NONE guifg=#ff4080 guibg=NONE +hi MoreMsg gui=NONE guifg=#009070 guibg=NONE +hi Question gui=NONE guifg=#f030d0 guibg=NONE + +" Split area +hi StatusLine gui=BOLD guifg=#f8f8f8 guibg=#404040 +hi StatusLineNC gui=NONE guibg=#C2C0B7 guifg=#404040 +hi VertSplit gui=NONE guifg=#c2c0b7 guibg=#c2c0b7 +hi WildMenu gui=BOLD guifg=#f8f8f8 guibg=#ff4080 + +" Diff +hi DiffText gui=NONE guifg=#e04040 guibg=#ffd8d8 +hi DiffChange gui=NONE guifg=#408040 guibg=#d0f0d0 +hi DiffDelete gui=NONE guifg=#4848ff guibg=#ffd0ff +hi DiffAdd gui=NONE guifg=#4848ff guibg=#ffd0ff + +" Cursor +hi Cursor gui=NONE guifg=#ffffff guibg=#404040 +hi CursorLine guibg=#EBE8DC +hi lCursor gui=NONE guifg=#f8f8f8 guibg=#8000ff +hi CursorIM gui=NONE guifg=#f8f8f8 guibg=#8000ff + +" Fold +hi Folded gui=NONE guifg=#20605c guibg=#b8e8dc +hi FoldColumn gui=NONE guifg=#40a098 guibg=#f0f0f0 + +" Other +hi Directory gui=NONE guifg=#0070b8 guibg=NONE +hi LineNr gui=NONE guifg=#acacac guibg=NONE +hi NonText gui=BOLD guifg=#aaaaaa +hi Pmenu guifg=#404040 guibg=#FFddF5 +hi PmenuSel guifg=#ff00aa guibg=#ffffff +hi SpecialKey gui=NONE guifg=#4040ff guibg=NONE +hi Title gui=NONE guifg=#0050a0 guibg=NONE +hi Visual gui=NONE guifg=NONE guibg=#FFddF5 +" hi VisualNOS gui=NONE guifg=#484848 guibg=#e0e0e0 + +" Syntax group +hi Boolean guifg=#F59300 +hi Comment gui=NONE guifg=#D998C2 guibg=NONE +hi Constant gui=NONE guifg=#ff4080 guibg=NONE +hi Delimiter gui=NONE guifg=#99cc66 +hi Error gui=BOLD guifg=#ffffff guibg=#ff4080 +hi Function guifg=#dd2222 +hi Identifier gui=NONE guifg=#0070e6 guibg=NONE +hi Ignore gui=NONE guifg=#f8f8f8 guibg=NONE +hi MatchParen gui=BOLD guifg=#ffffff guibg=#ff4080 +hi PreProc gui=NONE guifg=#7AA1CC guibg=NONE +hi Special gui=NONE guifg=#ff9900 guibg=NONE +hi Statement gui=NONE guifg=NONE guibg=NONE +"#f030d0 +hi String guifg=#889D52 +hi Todo gui=UNDERLINE guifg=#ff0070 guibg=#ffe0f4 +hi Type gui=NONE guifg=#8955A3 guibg=NONE +hi Underlined gui=UNDERLINE guifg=fg guibg=NONE + +hi Conditional guifg=#3399ff +hi Repeat guifg=#0000ff +"hi link Operator Normal +hi Operator guifg=#CC7A7A + +" tree +hi link treePart Comment +hi link treePartFile treePart +hi link treeOpenable treePart +hi link treeClosable treeOpenable +hi link treeExecFile rubyRegexp + +" html +hi link htmlTag xmlTag +hi link htmlTagName xmlTagName +hi link htmlEndTag xmlEndTag +hi link htmlArg xmlAttrib +hi link htmlString xmlString +hi link htmlTagN htmlTagName +hi link htmlSpecialTagName htmlTagName + +hi xmlTag guifg=#bbbbbb +hi xmlTagName guifg=#CC7A7A +hi link xmlEndTag xmlTag +hi link xmlAttrib PreProc +hi xmlString guifg=#888888 + +" javascript +hi javaScriptParens guifg=#bbbbbb +hi link javaScriptBraces javaScriptFunction + +" ruuubyyyy +hi link rubyDefine PreProc +hi link rubyIdentifier Identifier +hi railsClass guifg=#ff4080 +hi link rubyConditional Conditional +hi link rubyInstanceVariable Type +hi link rubyClassVariable rubyInstanceVariable +hi link rubyBeginEnd rubyIdentifier +hi link rubyBlockParameterList rubyBlockParameter +hi link rubyConstant Constant +hi link rubyControl rubyBeginEnd +hi link rubyInterpolationDelimiter Comment +hi link rubyOptionalDo rubyBeginEnd +hi link rubyOperator Operator +hi link rubyPseudoVariable rubyBoolean +hi link rubyStringEscape Normal +hi rubySymbol guifg=#27A3A3 +hi link railsMethod xmlTagName +hi rubyAccess guifg=#855A76 guibg=#F5D7EB +hi rubyRegexp guifg=#D63267 +hi link rubyRegexpDelimiter rubyRegexp +hi rubyRegexpSpecial guifg=#D63267 +hi link cucumberWhenTable String +hi link cucumberThenTable cucumberWhenTable +hi link cucumberThen railsClass +hi link cucumberWhen Conditional +hi link cucumberGiven Type +hi link cucumberScenario Function +hi link cucumberFeature Function + +" php +hi link phpQuoteSingle Delimiter +hi link phpQuotedouble Delimiter +hi link phpIdentifier Normal +hi link phpVarSelector Comment +hi link phpEcho phpFunctions +hi link phpFunctions xmlTagName +hi link phpDefineFuncName Function +hi link phpDefineMethodName Function +hi phpDefineClassName guifg=#ff4080 +hi phpStructureHere guifg=#ff4080 +hi link phpRelation phpOperator +hi link phpBoolean Boolean +hi link phpSuperGlobal Type +hi link phpArray phpFunctions +hi phpStringDouble guifg=#009900 +hi phpParent guifg=#B8CDE6 +hi link phpBrace phpParent +hi link phpSemicolon phpParent diff --git a/.vim/colors/forneus.vim b/.vim/colors/forneus.vim new file mode 100644 index 0000000..4e98142 --- /dev/null +++ b/.vim/colors/forneus.vim @@ -0,0 +1,119 @@ +" local syntax file - set colors on a per-machine basis: +" vim: tw=0 ts=4 sw=4 +" Vim color file +" + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "forneus" + +hi Normal ctermfg=15 ctermbg=0 guifg=#EEEEEE guibg=#111111 + +hi SpecialKey cterm=bold ctermfg=4 gui=bold guifg=#0000BB +hi NonText cterm=bold ctermfg=4 gui=bold guifg=#000099 +hi Directory ctermfg=33 guifg=#0087ff +hi ErrorMsg cterm=bold ctermfg=1 ctermbg=0 gui=bold guifg=#000000 guibg=#CC0000 +hi IncSearch cterm=bold ctermfg=0 ctermbg=40 guifg=#00d700 guibg=#000000 +hi Search ctermfg=0 ctermbg=40 guibg=#00d700 +hi MoreMsg cterm=bold ctermfg=2 +hi ModeMsg cterm=bold ctermfg=38 guifg=#00afd7 +hi LineNr ctermfg=105 ctermbg=235 guifg=#8787ff guibg=#262626 +hi Question cterm=bold ctermfg=1 ctermbg=0 +hi StatusLine ctermfg=239 ctermbg=232 guifg=#4e4e4e guibg=#080808 +hi StatusLineNC ctermfg=239 ctermbg=235 guifg=#4e4e4e guibg=#262626 +hi VertSplit ctermfg=239 ctermbg=4 guifg=#4e4e4e +hi Title cterm=bold ctermfg=2 gui=bold guifg=#00CC00 +hi Visual ctermfg=NONE ctermbg=237 guibg=#3a3a3a +hi VisualNOS cterm=bold,underline +hi WarningMsg cterm=bold ctermfg=1 ctermbg=0 +hi WildMenu ctermfg=0 ctermbg=2 guibg=#00CC00 +hi Folded ctermfg=105 ctermbg=235 guifg=#8787ff guibg=#262626 +hi FoldColumn ctermfg=39 ctermbg=235 guifg=#00afff guibg=#262626 +hi DiffAdd ctermfg=79 ctermbg=20 guifg=#5fd7af guibg=#0000d7 +hi DiffChange ctermfg=252 ctermbg=54 guifg=#dadada guibg=#5f0087 +hi DiffDelete ctermfg=7 ctermbg=1 guifg=#999999 guibg=#CC0000 +hi DiffText ctermfg=7 ctermbg=1 guifg=#ffffff guibg=#DD0000 +hi SignColumn ctermfg=105 ctermbg=235 guifg=#8787ff guibg=#262626 +hi SpellBad cterm=NONE +hi SpellCap cterm=NONE +hi SpellRare cterm=NONE +hi SpellLocal cterm=NONE +hi Pmenu cterm=NONE +hi PmenuSel cterm=bold +hi PmenuSbar cterm=bold +hi PmenuThumb cterm=bold +hi TabLine cterm=NONE ctermfg=15 ctermbg=242 guifg=#000000 guibg=#6c6c6c +hi TabLineSel cterm=bold +hi TabLineFill cterm=NONE ctermbg=242 guibg=#6c6c6c +hi CursorColumn cterm=NONE ctermbg=234 guibg=#1c1c1c +hi CursorLine cterm=NONE ctermbg=234 guibg=#1c1c1c +hi Cursor cterm=NONE +hi lCursor cterm=NONE +hi MatchParen term=NONE cterm=NONE ctermfg=0 ctermbg=2 guibg=#00DD00 +hi Comment cterm=bold ctermfg=6 gui=bold guifg=#00ffff +hi Constant cterm=bold ctermfg=40 gui=bold guifg=#00d700 guibg=#000000 +hi Special ctermfg=63 guifg=#5f5fff +hi Identifier ctermfg=131 guifg=#af5f5f +hi Statement cterm=bold ctermfg=33 gui=bold guifg=#0087ff +hi PreProc cterm=bold ctermfg=40 gui=bold guifg=#00d700 +hi Type ctermfg=208 guifg=#ff8700 +hi Underlined cterm=bold ctermfg=1 gui=bold +hi Ignore ctermfg=1 guifg=#FF0000 +hi Error ctermfg=0 ctermbg=1 gui=bold guifg=#000000 guibg=#FF0000 +hi Todo cterm=bold ctermfg=1 ctermbg=232 gui=bold guifg=#000000 guibg=#FF0000 +hi String ctermfg=92 gui=bold guifg=#e55b3c +hi Number cterm=bold ctermfg=11 gui=bold guifg=#ffff00 +hi SpecialChar cterm=underline ctermfg=9 ctermbg=0 gui=underline guifg=#CC0000 +hi SpecialComment cterm=bold ctermfg=63 gui=bold guifg=#5f5fff +hi Character cterm=bold ctermfg=11 gui=bold guifg=#ffff00 +hi Delimiter guifg=#A55B3C + +hi link Boolean Constant +hi link Conditional Statement +hi link Debug Special +hi link Define PreProc +hi link Exception Statement +hi link Float Number +hi link Function Identifier +hi link Include PreProc +hi link Keyword Statement +hi link Label Statement +hi link Macro PreProc +hi link Operator Statement +hi link PreCondit PreProc +hi link Repeat Statement +hi link StorageClass Type +hi link Structure Type +hi link Tag Special +hi link Typedef Type + +"C specific colors +hi cLabel cterm=bold,underline ctermfg=23 gui=bold,underline guifg=#005f5f +hi TaglistTagName cterm=bold ctermfg=39 gui=bold guifg=#00afff + +"html specific colors +hi htmlLinke cterm=underline +hi htmlSpecialChar ctermfg=1 +hi htmlString ctermfg=92 +hi htmlValue ctermfg=35 + +"ruby specific colors +hi rubyClassVariable cterm=bold ctermfg=208 guifg=#ff8700 +hi rubyConstant cterm=bold ctermfg=13 +hi rubyDefine cterm=bold ctermfg=33 gui=bold guifg=#0087ff +hi rubyFunction cterm=bold ctermfg=255 gui=bold guifg=#FFFFFF +hi rubyGlobalVariable ctermfg=124 guifg=#af0000 +hi rubyInstanceVariable ctermfg=208 guifg=#ff8700 +hi rubyInterpolation cterm=underline ctermfg=9 guifg=#BB0000 +hi rubyInterpolationDelimiter cterm=bold ctermfg=9 guifg=#BB0000 +hi rubyPredefinedConstant cterm=bold ctermfg=1 +hi rubyPredefinedVariable cterm=bold ctermfg=1 +hi rubyPseudoVariable cterm=bold ctermfg=4 +hi rubySymbol ctermfg=89 gui=bold guifg=#6ac825 + +"eruby specific colors +hi erubyDelimiter cterm=bold ctermfg=1 guifg=#ee0000 +hi erubyRailsHelperMethod guibg=#333333 diff --git a/.vim/colors/freya.vim b/.vim/colors/freya.vim new file mode 100644 index 0000000..a8adbd4 --- /dev/null +++ b/.vim/colors/freya.vim @@ -0,0 +1,79 @@ +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "freya" + +hi Normal ctermbg=0 ctermfg=7 cterm=none guibg=#2a2a2a guifg=#dcdccc gui=none + +hi Cursor guibg=fg guifg=bg gui=none +hi CursorColumn guibg=#3f3f3f gui=none +hi CursorLine guibg=#3f3f3f gui=none +hi DiffAdd guibg=#008b00 guifg=fg gui=none +hi DiffChange guibg=#00008b guifg=fg gui=none +hi DiffDelete guibg=#8b0000 guifg=fg gui=none +hi DiffText guibg=#0000cd guifg=fg gui=bold +hi Directory guibg=bg guifg=#d4b064 gui=none +hi ErrorMsg guibg=bg guifg=#f07070 gui=bold +hi FoldColumn ctermbg=bg guibg=bg guifg=#c2b680 gui=none +hi Folded guibg=#101010 guifg=#c2b680 gui=none +hi IncSearch guibg=#866a4f guifg=fg gui=none +hi LineNr guibg=bg guifg=#9f8f80 gui=none +hi ModeMsg guibg=bg guifg=fg gui=bold +hi MoreMsg guibg=bg guifg=#dabfa5 gui=bold +hi NonText ctermfg=8 guibg=bg guifg=#9f8f80 gui=bold +hi Pmenu guibg=#a78869 guifg=#000000 gui=none +hi PmenuSbar guibg=#B99F86 guifg=fg gui=none +hi PmenuSel guibg=#c0aa94 guifg=bg gui=none +hi PmenuThumb guibg=#f7f7f1 guifg=bg gui=none +hi Question guibg=bg guifg=#dabfa5 gui=bold +hi Search guibg=#c0aa94 guifg=bg gui=none +hi SignColumn ctermbg=bg guibg=bg guifg=#c2b680 gui=none +hi SpecialKey guibg=bg guifg=#d4b064 gui=none +if has("spell") + hi SpellBad guisp=#f07070 gui=undercurl + hi SpellCap guisp=#7070f0 gui=undercurl + hi SpellLocal guisp=#70f0f0 gui=undercurl + hi SpellRare guisp=#f070f0 gui=undercurl +endif +hi StatusLine ctermbg=7 ctermfg=0 guibg=#736559 guifg=#f7f7f1 gui=bold +hi StatusLineNC ctermbg=8 ctermfg=0 guibg=#564d43 guifg=#f7f7f1 gui=none +hi TabLine guibg=#564d43 guifg=#f7f7f1 gui=underline +hi TabLineFill guibg=#564d43 guifg=#f7f7f1 gui=underline +hi TabLineSel guibg=bg guifg=#f7f7f1 gui=bold +hi Title ctermbg=0 ctermfg=15 guifg=#f7f7f1 gui=bold +hi VertSplit ctermbg=7 ctermfg=0 guibg=#564d43 guifg=#f7f7f1 gui=none +if version >= 700 + hi Visual ctermbg=7 ctermfg=0 guibg=#5f5f5f gui=none +else + hi Visual ctermbg=7 ctermfg=0 guibg=#5f5f5f guifg=fg gui=none +endif +hi VisualNOS guibg=bg guifg=#c0aa94 gui=bold,underline +hi WarningMsg guibg=bg guifg=#f07070 gui=none +hi WildMenu guibg=#c0aa94 guifg=bg gui=bold + +hi Comment guibg=bg guifg=#c2b680 gui=none +hi Constant guibg=bg guifg=#afe091 gui=none +hi Error guibg=bg guifg=#f07070 gui=none +hi Identifier guibg=bg guifg=#dabfa5 gui=none +hi Ignore guibg=bg guifg=bg gui=none +hi lCursor guibg=#c0aa94 guifg=bg gui=none +hi MatchParen guibg=#008b8b gui=none +hi PreProc guibg=bg guifg=#c2aed0 gui=none +hi Special guibg=bg guifg=#d4b064 gui=none +hi Statement guibg=bg guifg=#e0af91 gui=bold +hi Todo guibg=#aed0ae guifg=bg gui=none +hi Type guibg=bg guifg=#dabfa5 gui=bold +hi Underlined guibg=bg guifg=#d4b064 gui=underline + +hi htmlBold ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=bold +hi htmlItalic ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=italic +hi htmlUnderline ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=underline +hi htmlBoldItalic ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=bold,italic +hi htmlBoldUnderline ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=bold,underline +hi htmlBoldUnderlineItalic ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=bold,underline,italic +hi htmlUnderlineItalic ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=underline,italic diff --git a/.vim/colors/fruidle.vim b/.vim/colors/fruidle.vim new file mode 100644 index 0000000..8066147 --- /dev/null +++ b/.vim/colors/fruidle.vim @@ -0,0 +1,74 @@ +" Vim color file +" Maintainer: Andrs Surez +" Last Change: 2009/02/10 Tue 16:55 +" version: 1.2 +" This color scheme uses a light background. + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "fruidle" + +" Normal +hi Normal guifg=#404040 guibg=#ffffff + +" Search +hi IncSearch gui=UNDERLINE guifg=#404040 guibg=#40ffff +hi Search gui=NONE guifg=#404040 guibg=#ffff60 + +" Messages +hi ErrorMsg gui=NONE guifg=#ff0000 guibg=#ffe4e4 +hi WarningMsg gui=NONE guifg=#ff0000 guibg=#ffe4e4 +hi ModeMsg gui=NONE guifg=#dd0000 guibg=NONE +hi MoreMsg gui=NONE guifg=#009070 guibg=NONE +hi Question gui=NONE guifg=#ff7700 guibg=NONE + +" Split area +hi StatusLine gui=BOLD guifg=#f8f8f8 guibg=#404040 +hi StatusLineNC gui=NONE guifg=#a4a4a4 guibg=#404040 +hi VertSplit gui=NONE guifg=#f8f8f8 guibg=#404040 +hi WildMenu gui=BOLD guifg=#f8f8f8 guibg=#dd0000 + +" Diff +hi DiffText gui=NONE guifg=#e04040 guibg=#ffd8d8 +hi DiffChange gui=NONE guifg=#408040 guibg=#d0f0d0 +hi DiffDelete gui=NONE guifg=#4848ff guibg=#ffd0ff +hi DiffAdd gui=NONE guifg=#4848ff guibg=#ffd0ff + +" Cursor +hi Cursor gui=NONE guifg=#0000ff guibg=#00e0ff +hi lCursor gui=NONE guifg=#f8f8f8 guibg=#8000ff +hi CursorIM gui=NONE guifg=#f8f8f8 guibg=#8000ff + +" Fold +hi Folded gui=NONE guifg=#20605c guibg=#b8e8dc +hi FoldColumn gui=NONE guifg=#40a098 guibg=#f0f0f0 + +" Other +hi Directory gui=NONE guifg=#0070b8 guibg=NONE +hi LineNr gui=NONE guifg=#acacac guibg=NONE +hi NonText gui=BOLD guifg=#00a0c0 guibg=#ececec +hi SpecialKey gui=NONE guifg=#4040ff guibg=NONE +hi Title gui=NONE guifg=#0050a0 guibg=#c0e8ff +hi Visual gui=NONE guifg=#484848 guibg=#e0e0e0 +" hi VisualNOS gui=NONE guifg=#484848 guibg=#e0e0e0 + +" Syntax group +hi Comment gui=NONE guifg=#dd0000 guibg=NONE +hi Constant gui=NONE guifg=#0070e6 guibg=NONE +hi Number gui=NONE guifg=#aa0094 guibg=NONE +hi Identifier gui=NONE guifg=#0070e6 guibg=NONE +hi Error gui=BOLD guifg=#ffffff guibg=#dd0000 +hi Ignore gui=NONE guifg=#f8f8f8 guibg=NONE +hi PreProc gui=BOLD guifg=#e06800 guibg=NONE +hi Special gui=NONE guifg=#4a9400 guibg=NONE +hi Statement gui=NONE guifg=#ff7700 guibg=NONE +hi Todo gui=UNDERLINE guifg=#ff0070 guibg=#ffe0f4 +hi Type gui=BOLD guifg=#0070e6 guibg=NONE +hi Underlined gui=UNDERLINE guifg=fg guibg=NONE +hi Include gui=BOLD guifg=#dd0000 guibg=NONE +hi Function gui=BOLD guifg=#00aa00 guibg=NONE +hi String gui=NONE guifg=#00aa00 ctermfg=1 diff --git a/.vim/colors/fruit.vim b/.vim/colors/fruit.vim new file mode 100644 index 0000000..624b90f --- /dev/null +++ b/.vim/colors/fruit.vim @@ -0,0 +1,69 @@ +" Vim color file +" Maintainer: Tiza +" Last Change: 2002/08/28 Wed 00:28. +" version: 1.3 +" This color scheme uses a light background. + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "fruit" + +hi Normal guifg=#404040 guibg=#f8f8f8 + +" Search +hi IncSearch gui=UNDERLINE guifg=#404040 guibg=#40ffff +hi Search gui=NONE guifg=#404040 guibg=#ffff60 + +" Messages +hi ErrorMsg gui=NONE guifg=#ff0000 guibg=#ffe4e4 +hi WarningMsg gui=NONE guifg=#ff0000 guibg=#ffe4e4 +hi ModeMsg gui=NONE guifg=#ff4080 guibg=NONE +hi MoreMsg gui=NONE guifg=#009070 guibg=NONE +hi Question gui=NONE guifg=#f030d0 guibg=NONE + +" Split area +hi StatusLine gui=BOLD guifg=#f8f8f8 guibg=#404040 +hi StatusLineNC gui=NONE guifg=#a4a4a4 guibg=#404040 +hi VertSplit gui=NONE guifg=#f8f8f8 guibg=#404040 +hi WildMenu gui=BOLD guifg=#f8f8f8 guibg=#ff4080 + +" Diff +hi DiffText gui=NONE guifg=#e04040 guibg=#ffd8d8 +hi DiffChange gui=NONE guifg=#408040 guibg=#d0f0d0 +hi DiffDelete gui=NONE guifg=#4848ff guibg=#ffd0ff +hi DiffAdd gui=NONE guifg=#4848ff guibg=#ffd0ff + +" Cursor +hi Cursor gui=NONE guifg=#0000ff guibg=#00e0ff +hi lCursor gui=NONE guifg=#f8f8f8 guibg=#8000ff +hi CursorIM gui=NONE guifg=#f8f8f8 guibg=#8000ff + +" Fold +hi Folded gui=NONE guifg=#20605c guibg=#b8e8dc +hi FoldColumn gui=NONE guifg=#40a098 guibg=#f0f0f0 + +" Other +hi Directory gui=NONE guifg=#0070b8 guibg=NONE +hi LineNr gui=NONE guifg=#acacac guibg=NONE +hi NonText gui=BOLD guifg=#00a0c0 guibg=#ececec +hi SpecialKey gui=NONE guifg=#4040ff guibg=NONE +hi Title gui=NONE guifg=#0050a0 guibg=#c0e8ff +hi Visual gui=NONE guifg=#484848 guibg=#e0e0e0 +" hi VisualNOS gui=NONE guifg=#484848 guibg=#e0e0e0 + +" Syntax group +hi Comment gui=NONE guifg=#ff4080 guibg=NONE +hi Constant gui=NONE guifg=#8016ff guibg=NONE +hi Error gui=BOLD guifg=#ffffff guibg=#ff4080 +hi Identifier gui=NONE guifg=#008888 guibg=NONE +hi Ignore gui=NONE guifg=#f8f8f8 guibg=NONE +hi PreProc gui=NONE guifg=#e06800 guibg=NONE +hi Special gui=NONE guifg=#4a9400 guibg=NONE +hi Statement gui=NONE guifg=#f030d0 guibg=NONE +hi Todo gui=UNDERLINE guifg=#ff0070 guibg=#ffe0f4 +hi Type gui=NONE guifg=#0070e6 guibg=NONE +hi Underlined gui=UNDERLINE guifg=fg guibg=NONE diff --git a/.vim/colors/fruity.vim b/.vim/colors/fruity.vim new file mode 100644 index 0000000..261500c --- /dev/null +++ b/.vim/colors/fruity.vim @@ -0,0 +1,147 @@ +" +" Fruity Color Scheme +" =================== +" +" Author: Armin Ronacher +" Version: 0.2 +" +set background=dark + +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "fruity" + +" Default Colors +hi Normal guifg=#ffffff guibg=#111111 +hi NonText guifg=#444444 guibg=#000000 +hi Cursor guibg=#aaaaaa +hi lCursor guibg=#aaaaaa + +" Search +hi Search guifg=#800000 guibg=#ffae00 +hi IncSearch guifg=#800000 guibg=#ffae00 + +" Window Elements +hi StatusLine guifg=#ffffff guibg=#8090a0 gui=bold +hi StatusLineNC guifg=#506070 guibg=#a0b0c0 +hi VertSplit guifg=#a0b0c0 guibg=#a0b0c0 +hi Folded guifg=#111111 guibg=#8090a0 +hi IncSearch guifg=#708090 guibg=#f0e68c +hi Pmenu guifg=#ffffff guibg=#cb2f27 +hi SignColumn guibg=#111111 +hi CursorLine guibg=#181818 +hi LineNr guifg=#aaaaaa guibg=#222222 + +" Specials +hi Todo guifg=#e50808 guibg=#520000 gui=bold +hi Title guifg=#ffffff gui=bold +hi Special guifg=#fd8900 + +" Syntax Elements +hi String guifg=#0086d2 +hi Constant guifg=#0086d2 +hi Number guifg=#0086f7 gui=bold +hi Statement guifg=#fb660a gui=bold +hi Function guifg=#ff0086 gui=bold +hi PreProc guifg=#ff0007 gui=bold +hi Comment guifg=#00d2ff guibg=#0f140f gui=italic +hi Type guifg=#cdcaa9 gui=bold +hi Error guifg=#ffffff guibg=#ab0000 +hi Identifier guifg=#ff0086 gui=bold +hi Label guifg=#ff0086 + +" Python Highlighting for python.vim +hi pythonCoding guifg=#ff0086 +hi pythonRun guifg=#ff0086 +hi pythonBuiltinObj guifg=#2b6ba2 gui=bold +hi pythonBuiltinFunc guifg=#2b6ba2 gui=bold +hi pythonException guifg=#ee0000 gui=bold +hi pythonExClass guifg=#66cd66 gui=bold +hi pythonSpaceError guibg=#270000 +hi pythonDocTest guifg=#2f5f49 +hi pythonDocTest2 guifg=#3b916a +hi pythonFunction guifg=#ee0000 gui=bold +hi pythonClass guifg=#ff0086 gui=bold + +" JavaScript Highlighting +hi javaScript guifg=#ffffff +hi javaScriptRegexpString guifg=#aa6600 +hi javaScriptDocComment guifg=#aaaaaa +hi javaScriptCssStyles guifg=#dd7700 +hi javaScriptDomElemFuncs guifg=#66cd66 +hi javaScriptHtmlElemFuncs guifg=#dd7700 +hi javaScriptLabel guifg=#00bdec gui=italic +hi javaScriptPrototype guifg=#00bdec +hi javaScriptConditional guifg=#ff0007 gui=bold +hi javaScriptRepeat guifg=#ff0007 gui=bold +hi javaScriptFunction guifg=#ff0086 gui=bold + +" CSS Highlighting +hi cssIdentifier guifg=#66cd66 gui=bold +hi cssBraces guifg=#00bdec gui=bold + +" Ruby Highlighting +hi rubyFunction guifg=#0066bb gui=bold +hi rubyClass guifg=#ff0086 gui=bold +hi rubyModule guifg=#ff0086 gui=bold,underline +hi rubyKeyword guifg=#008800 gui=bold +hi rubySymbol guifg=#aa6600 +hi rubyIndentifier guifg=#008aff +hi rubyGlobalVariable guifg=#dd7700 +hi rubyConstant guifg=#5894d2 gui=bold +hi rubyBlockParameter guifg=#66cd66 +hi rubyPredefinedIdentifier guifg=#555555 gui=bold +hi rubyString guifg=#0086d2 +hi rubyStringDelimiter guifg=#dd7700 +hi rubySpaceError guibg=#270000 +hi rubyDocumentation guifg=#aaaaaa +hi rubyData guifg=#555555 + +" XML Highlighting +hi xmlTag guifg=#00bdec +hi xmlTagName guifg=#00bdec +hi xmlEndTag guifg=#00bdec +hi xmlNamespace guifg=#00bdec gui=underline +hi xmlAttribPunct guifg=#cccaa9 gui=bold +hi xmlEqual guifg=#cccaa9 gui=bold +hi xmlCdata guifg=#bf0945 gui=bold +hi xmlCdataCdata guifg=#ac1446 guibg=#23010c gui=none +hi xmlCdataStart guifg=#bf0945 gui=bold +hi xmlCdataEnd guifg=#bf0945 gui=bold + +" HTML Highlighting +hi htmlTag guifg=#00bdec gui=bold +hi htmlEndTag guifg=#00bdec gui=bold +hi htmlSpecialTagName guifg=#66cd66 +hi htmlTagName guifg=#66cd66 +hi htmlTagN guifg=#66cd66 +hi htmlEvent guifg=#ffffff + +" Django Highlighting +hi djangoTagBlock guifg=#ff0007 guibg=#200000 gui=bold +hi djangoVarBlock guifg=#ff0007 guibg=#200000 +hi djangoArgument guifg=#0086d2 guibg=#200000 +hi djangoStatement guifg=#fb660a guibg=#200000 gui=bold +hi djangoComment guifg=#008800 guibg=#002300 gui=italic +hi djangoFilter guifg=#ff0086 guibg=#200000 gui=italic + +" Jinja Highlighting +hi jinjaTagBlock guifg=#ff0007 guibg=#200000 gui=bold +hi jinjaVarBlock guifg=#ff0007 guibg=#200000 +hi jinjaString guifg=#0086d2 guibg=#200000 +hi jinjaNumber guifg=#bf0945 guibg=#200000 gui=bold +hi jinjaStatement guifg=#fb660a guibg=#200000 gui=bold +hi jinjaComment guifg=#008800 guibg=#002300 gui=italic +hi jinjaFilter guifg=#ff0086 guibg=#200000 +hi jinjaRaw guifg=#aaaaaa guibg=#200000 +hi jinjaOperator guifg=#ffffff guibg=#200000 +hi jinjaVariable guifg=#92cd35 guibg=#200000 +hi jinjaAttribute guifg=#dd7700 guibg=#200000 +hi jinjaSpecial guifg=#008ffd guibg=#200000 + +" ERuby Highlighting (for my eruby.vim) +hi erubyRubyDelim guifg=#2c8a16 gui=bold +hi erubyComment guifg=#4d9b3a gui=italic diff --git a/.vim/colors/fu.vim b/.vim/colors/fu.vim new file mode 100644 index 0000000..2a96dc4 --- /dev/null +++ b/.vim/colors/fu.vim @@ -0,0 +1,121 @@ +" Vim color file +" +" Name: fu.vim +" Version: 1.1 +" Maintainer: Aaron Mueller +" Contributors: Florian Eitel +" Tinou +" +" This is a compositon from railscast, mustang and xoria256 with a lot of +" improvemts in the colors. Want to change toe colors to your needs? Go to +" this page to see what number is set wo what color: +" http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html +" +" History: +" 2010-06-09 - Merge changes from Florian Eitel in this file. There was many +" whitespace issues and some unused highlight settings which are removed +" now. Also merged Tinous GUI version of the whole colorscheme. Thanks a +" lot dudes! +" +" 2010-06-09 - Initial setup and creation of this file. Additional colors for +" Ruby and the diff view are added. +" + +if &t_Co != 256 && ! has("gui_running") + echomsg "err: please use GUI or a 256-color terminal (so that t_Co=256 could be set)" + finish +endif + +set background=dark +hi clear + +if exists("syntax_on") + syntax reset +endif +let colors_name = "fu" + + +" General colors +hi Normal ctermfg=252 ctermbg=234 guifg=#d0d0d0 guibg=#1c1c1c +hi CursorColumn ctermbg=238 guibg=#444444 +hi Cursor ctermbg=214 guibg=#ffaf00 +hi CursorLine ctermbg=238 guibg=#444444 +hi FoldColumn ctermfg=248 ctermbg=bg guifg=#a8a8a8 guibg=#000000 +hi Folded ctermfg=255 ctermbg=60 guifg=#eeeeee guibg=#5f5f87 +hi IncSearch ctermfg=0 ctermbg=223 guifg=#000000 guibg=#ffd7af +hi NonText ctermfg=248 ctermbg=233 cterm=bold guifg=#a8a8a8 guibg=#121212 +hi Search ctermfg=0 ctermbg=149 guifg=#000000 guibg=#afd75f +hi SignColumn ctermfg=248 guifg=#a8a8a8 +hi SpecialKey ctermfg=77 guifg=#5fd75f +hi StatusLine ctermfg=232 ctermbg=255 guifg=#080808 guibg=#eeeeee +hi StatusLineNC ctermfg=237 ctermbg=253 guifg=#3a3a3a guibg=#dadada +hi TabLine ctermfg=253 ctermbg=237 guifg=#dadada guibg=#3a3a3a +hi TabLineFill ctermfg=0 ctermbg=0 guifg=#000000 guibg=#000000 +hi TabLineSel ctermfg=255 ctermbg=33 guifg=#eeeeee guibg=#0087ff +hi VertSplit ctermfg=237 ctermbg=237 guifg=#3a3a3a guibg=#3a3a3a +hi Visual ctermfg=24 ctermbg=153 guifg=#005f87 guibg=#afd7ff +hi VIsualNOS ctermfg=24 ctermbg=153 guifg=#005f87 guibg=#afd7ff +hi LineNr ctermfg=248 ctermbg=232 guifg=#a8a8a8 guibg=#080808 +hi ModeMsg ctermfg=220 guifg=#ffd700 + +hi ErrorMsg ctermfg=196 ctermbg=52 guifg=#ff0000 guibg=#5f0000 +hi SpellBad ctermfg=196 ctermbg=52 + +if version >= 700 + hi CursorLine ctermbg=236 guibg=#303030 + hi CursorColumn ctermbg=236 guibg=#303030 + hi MatchParen ctermfg=157 ctermbg=237 cterm=bold guifg=#afffaf guibg=#3a3a3a + hi Pmenu ctermfg=255 ctermbg=236 guifg=#eeeeee guibg=#303030 + hi PmenuSel ctermfg=0 ctermbg=74 guifg=#000000 guibg=#5fafd7 + hi PmenuSbar ctermbg=243 guibg=#767676 + hi PmenuThumb ctermbg=252 guibg=#d0d0d0 + hi WildMenu ctermfg=255 ctermbg=33 guifg=#eeeeee guibg=#0087ff +endif + +" Syntax highlighting +hi Comment ctermfg=244 guifg=#808080 + +hi Constant ctermfg=220 cterm=bold guifg=#ffd700 +hi String ctermfg=107 ctermbg=233 guifg=#87af5f guibg=#121212 +hi Character ctermfg=228 ctermbg=16 guifg=#ffff87 guibg=#000000 +hi Number ctermfg=214 guifg=#ffaf00 +hi Boolean ctermfg=148 guifg=#afd700 + +hi Identifier ctermfg=149 guifg=#afd75f +hi Function ctermfg=231 guifg=#ffffff + +hi Statement ctermfg=103 guifg=#8787af +hi Conditional ctermfg=105 guifg=#8787ff +hi Repeat ctermfg=105 guifg=#8787ff +hi Label ctermfg=105 guifg=#8787ff +hi Operator ctermfg=243 guifg=#767676 +hi Keyword ctermfg=190 guifg=#d7ff00 +hi Exception ctermfg=166 ctermbg=0 guifg=#d75f00 guibg=#000000 + +hi PreProc ctermfg=229 guifg=#ffffaf + +hi Type ctermfg=111 guifg=#87afff +hi Structure ctermfg=111 ctermbg=233 guifg=#87afff guibg=#121212 + +hi Special ctermfg=220 guifg=#ffd700 +hi SpecialComment ctermfg=228 ctermbg=16 guifg=#ffff87 guibg=#000000 + +hi Error ctermfg=196 ctermbg=52 guifg=#ff0000 guibg=#5f0000 +hi Todo ctermfg=46 ctermbg=22 guifg=#00ff00 guibg=#005f00 + +" Diff +hi diffAdd ctermfg=bg ctermbg=151 guifg=#afd787 +hi diffDelete ctermfg=bg ctermbg=246 guifg=#d78787 +hi diffChange ctermfg=bg ctermbg=181 guifg=#000000 guibg=#afd7af +hi diffText ctermfg=bg ctermbg=174 cterm=bold guifg=#000000 guibg=#949494 + +" Ruby +hi rubyBlockParameter ctermfg=27 guifg=#005fff +hi rubyClass ctermfg=75 guifg=#5fafff +hi rubyConstant ctermfg=167 guifg=#d75f5f +hi rubyInterpolation ctermfg=107 guifg=#87af5f +hi rubyLocalVariableOrMethod ctermfg=189 guifg=#d7d7ff +hi rubyPredefinedConstant ctermfg=167 guifg=#d75f5f +hi rubyPseudoVariable ctermfg=221 guifg=#ffd75f +hi rubyStringDelimiter ctermfg=143 guifg=#afaf5f + diff --git a/.vim/colors/gardener.vim b/.vim/colors/gardener.vim new file mode 100644 index 0000000..4c70e4f --- /dev/null +++ b/.vim/colors/gardener.vim @@ -0,0 +1,271 @@ +" Vim color file +" Original Maintainer: Anders Korte + +" Modified: by entheon +" Last Change: 13 Sept 2005 + +" Gardener v1.1 +" A modification of the Guardian colorscheme v1.2 + +" 'For code surgeons and web gardeners everywhere' + +" A nice earthy color scheme which is easy on the eyes. It +" has as it's base a dark background monocrhomatic khaki +" scheme with dabs of color thrown in here and there on the +" keywords. Plus lots of extra config options so you can +" tweak it to your liking and or make it more like the +" original Guardian scheme. All the defaults are what I like +" but if you want to change stuff just set the right var and +" it will change pretty much immediately, you might have to +" move out of and back into your buffer for it to refresh. + + +" Features: +" 256 Color XTerm Compatibility +" Richer Syntax +" Black Background +" Functions +" No Italics +" Purple Booleans +" Swapped Status Line Colors +" Other minor tweaks + +" Change Log: +" changed the ghastly puke salmon red to green like it +" should have been in the first place esp considering the +" name Gardener, now all vimsters can truly frolic in +" their Vim Gardens + +" Options: +" g:gardener_light_comments +" if this var exists then comments are white on a +" gray-blue background if it is not set then the +" comments default to medium grey with no background +" color, I can't stand bg colors but some people might +" like it, so I left it as an option. +" +" g:gardener_soil +" This is a GUI only option because there are no +" colors that work even in the 256 color XTerm. This +" option gives you a brownish background instead of a +" black background. I think the black background gives +" better contrast and thus is easier to read from. if +" you disagree then you've got this option +" +" g:gardener_setnum +" turns the background of the line numbers black + +" Using The Options: +" To enable a feature add the line +" let g:gardenter_some_feature=1 +" to your ~/.vimrc +" To disable the feature temporarily run the command +" :unlet g:gardener_some_feature +" To disable the feature permanently, simply remove +" the line from your .vimrc file. + +set background=dark +hi clear +syntax reset + +if has("gui_running") + +" Colors for the User Interface. + if exists("g:gardener_setnum") + hi linenr guibg=black guifg=#808080 gui=bold + else + hi linenr guibg=#262626 guifg=#808080 gui=bold + endif + + hi Cursor guibg=#cc4455 guifg=white gui=bold + hi link CursorIM Cursor + if exists("g:gardener_soil") + hi Normal guibg=#332211 guifg=white gui=none + else + hi Normal guibg=black guifg=white gui=none + endif + hi NonText guibg=#445566 guifg=#ffeecc gui=bold + hi Visual guibg=#557799 guifg=white gui=none + + hi Directory guibg=bg guifg=#337700 gui=none + + hi IncSearch guibg=#0066cc guifg=white gui=none + hi link Seach IncSearch + + hi SpecialKey guibg=bg guifg=fg gui=none + hi Titled guibg=bg guifg=fg gui=none + + hi ErrorMsg guibg=bg guifg=#ff0000 gui=bold + hi ModeMsg guibg=bg guifg=#ffeecc gui=none + hi link MoreMsg ModeMsg + hi Question guibg=bg guifg=#ccffcc gui=bold + hi link WarningMsg ErrorMsg + + hi StatusLineNC guibg=#ffeecc guifg=black gui=none + hi StatusLine guibg=#cc4455 guifg=white gui=bold + hi VertSplit guibg=#ffeecc guifg=black gui=none + + hi DiffAdd guibg=#446688 guifg=fg gui=none + hi DiffChange guibg=#558855 guifg=fg gui=none + hi DiffDelete guibg=#884444 guifg=fg gui=none + hi DiffText guibg=#884444 guifg=fg gui=bold + + " Colors for Syntax Highlighting. + if exists("g:gardener_light_comments") + hi Comment guibg=#334455 guifg=#dddddd gui=none + else + hi Comment guibg=bg guifg=#888888 gui=none + endif + + + hi Define guibg=bg guifg=#66ccdd gui=bold + hi Conditional guibg=bg guifg=#aadd55 gui=bold + + hi Constant guibg=bg guifg=white gui=bold + hi Identifier guibg=bg guifg=#ffddaa gui=none + hi String guibg=bg guifg=#ffffcc gui=none + hi Character guibg=bg guifg=#ffffcc gui=bold + hi Number guibg=bg guifg=#bbddff gui=bold + hi Boolean guibg=bg guifg=#ff55ff gui=bold + hi Float guibg=bg guifg=#bbddff gui=bold + + hi Function guibg=bg guifg=#ffffaa gui=bold + hi Statement guibg=bg guifg=#ffffcc gui=bold + + hi Repeat guibg=bg guifg=#ff9900 gui=bold + hi Label guibg=bg guifg=#ffccff gui=bold + hi Operator guibg=bg guifg=#cc9966 gui=bold + hi Keyword guibg=bg guifg=#66ffcc gui=bold + hi Exception guibg=bg guifg=#66ffcc gui=bold + + hi PreProc guibg=bg guifg=#ffcc99 gui=bold + hi Include guibg=bg guifg=#99cc99 gui=bold + hi link Macro Include + hi link PreCondit Include + + hi Type guibg=bg guifg=#ccffaa gui=bold + hi Structure guibg=bg guifg=#99ff99 gui=bold + hi Typedef guibg=bg guifg=#99cc99 gui=italic + + hi StorageClass guibg=bg guifg=#99cc99 gui=bold + hi Special guibg=bg guifg=#bbddff gui=bold + hi SpecialChar guibg=bg guifg=#bbddff gui=bold + hi Tag guibg=bg guifg=#bbddff gui=bold + hi Delimiter guibg=bg guifg=fg gui=bold + hi SpecialComment guibg=#334455 guifg=#dddddd gui=italic + hi Debug guibg=bg guifg=#ff9999 gui=none + + hi Underlined guibg=bg guifg=#99ccff gui=underline + + hi Title guibg=#445566 guifg=white gui=bold + hi Ignore guibg=bg guifg=#cccccc gui=italic + hi Error guibg=#ff0000 guifg=white gui=bold + hi Todo guibg=#556677 guifg=#ff0000 gui=bold + + hi htmlH1 guibg=bg guifg=#ffffff gui=bold + hi htmlH2 guibg=bg guifg=#dadada gui=bold + hi htmlH3 guibg=bg guifg=#c6c6c6 gui=bold + hi htmlH4 guibg=bg guifg=#b2b2b2 gui=bold + hi htmlH5 guibg=bg guifg=#9e9e9e gui=bold + hi htmlH6 guibg=bg guifg=#8a8a8a gui=bold + +else +" Colors for the User Interface. + + if exists("g:gardener_setnum") + exec "hi linenr cterm=BOLD ctermfg=235 ctermbg=244" + else + exec "hi linenr cterm=BOLD ctermfg=244 ctermbg=235" + endif + + + exec "hi Cursor cterm=BOLD ctermfg=255 ctermbg=167" + exec "hi CursorIM cterm=BOLD ctermfg=255 ctermbg=167" + + exec "hi Normal cterm=NONE ctermfg=255 ctermbg=233" + exec "hi NonText cterm=NONE ctermfg=230 ctermbg=60" + exec "hi Visual cterm=NONE ctermfg=255 ctermbg=68" + + exec "hi Linear cterm=NONE ctermfg=248 ctermbg=NONE" + + exec "hi Directory cterm=NONE ctermfg=64 ctermbg=NONE" + + exec "hi IncSearch cterm=NONE ctermfg=255 ctermbg=25" + + exec "hi ErrorMsg cterm=BOLD ctermfg=196 ctermbg=NONE" + exec "hi WarningMsg cterm=BOLD ctermfg=196 ctermbg=NONE" + exec "hi ModeMsg cterm=NONE ctermfg=230 ctermbg=NONE" + exec "hi MoreMsg cterm=NONE ctermfg=230 ctermbg=NONE" + exec "hi Question cterm=NONE ctermfg=194 ctermbg=NONE" + + exec "hi StatusLineNC cterm=NONE ctermfg=16 ctermbg=229" + exec "hi StatusLine cterm=BOLD ctermfg=255 ctermbg=167" + exec "hi VertSplit cterm=NONE ctermfg=16 ctermbg=229" + + exec "hi DiffAdd cterm=NONE ctermfg=255 ctermbg=60" + exec "hi DiffAdd cterm=NONE ctermfg=255 ctermbg=65" + exec "hi DiffAdd cterm=NONE ctermfg=255 ctermbg=95" + exec "hi DiffAdd cterm=BOLD ctermfg=255 ctermbg=95" + + " Colors for Syntax Highlighting. + if exists("g:gardener_light_comments") + exec "hi Comment cterm=NONE ctermfg=253 ctermbg=60" + else + exec "hi Comment cterm=NONE ctermfg=244 ctermbg=NONE" + endif + + exec "hi Constant cterm=BOLD ctermfg=255 ctermbg=NONE" + exec "hi String cterm=NONE ctermfg=230 ctermbg=NONE" + exec "hi Character cterm=BOLD ctermfg=230 ctermbg=NONE" + exec "hi Number cterm=BOLD ctermfg=153 ctermbg=NONE" + exec "hi Boolean cterm=NONE ctermfg=207 ctermbg=NONE" + exec "hi Float cterm=BOLD ctermfg=153 ctermbg=NONE" + + exec "hi Identifier cterm=NONE ctermfg=223 ctermbg=NONE" + exec "hi Function cterm=BOLD ctermfg=229 ctermbg=NONE" + exec "hi Statement cterm=BOLD ctermfg=230 ctermbg=NONE" + + exec "hi Define cterm=BOLD ctermfg=68 ctermbg=NONE" + exec "hi Conditional cterm=BOLD ctermfg=149 ctermbg=NONE" + + exec "hi Repeat cterm=BOLD ctermfg=208 ctermbg=NONE" + exec "hi Label cterm=BOLD ctermfg=225 ctermbg=NONE" + exec "hi Operator cterm=BOLD ctermfg=173 ctermbg=NONE" + exec "hi Keyword cterm=BOLD ctermfg=86 ctermbg=NONE" + exec "hi Exception cterm=BOLD ctermfg=86 ctermbg=NONE" + + exec "hi PreProc cterm=BOLD ctermfg=222 ctermbg=NONE" + exec "hi Include cterm=BOLD ctermfg=114 ctermbg=NONE" + exec "hi Macro cterm=BOLD ctermfg=114 ctermbg=NONE" + exec "hi PreCondit cterm=BOLD ctermfg=114 ctermbg=NONE" + + exec "hi Type cterm=BOLD ctermfg=193 ctermbg=NONE" + exec "hi StorageClass cterm=BOLD ctermfg=78 ctermbg=NONE" + exec "hi Structure cterm=BOLD ctermfg=114 ctermbg=NONE" + exec "hi Typedef cterm=BOLD ctermfg=114 ctermbg=NONE" + + exec "hi Special cterm=BOLD ctermfg=153 ctermbg=NONE" + exec "hi SpecialChar cterm=BOLD ctermfg=153 ctermbg=NONE" + exec "hi Tag cterm=BOLD ctermfg=153 ctermbg=NONE" + exec "hi Delimiter cterm=BOLD ctermfg=255 ctermbg=NONE" + exec "hi SpecialComment cterm=BOLD ctermfg=253 ctermbg=24" + exec "hi Debug cterm=NONE ctermfg=210 ctermbg=NONE" + + exec "hi Title cterm=BOLD ctermfg=255 ctermbg=60" + exec "hi Ignore cterm=NONE ctermfg=251 ctermbg=NONE" + exec "hi Error cterm=NONE ctermfg=255 ctermbg=196" + exec "hi Ignore cterm=NONE ctermfg=196 ctermbg=60" + + exec "hi htmlH1 cterm=BOLD ctermfg=255 ctermbg=NONE" + exec "hi htmlH2 cterm=BOLD ctermfg=253 ctermbg=NONE" + exec "hi htmlH3 cterm=BOLD ctermfg=251 ctermbg=NONE" + exec "hi htmlH4 cterm=BOLD ctermfg=249 ctermbg=NONE" + exec "hi htmlH5 cterm=BOLD ctermfg=247 ctermbg=NONE" + exec "hi htmlH6 cterm=BOLD ctermfg=245 ctermbg=NONE" + +endif +" And finally. + +let g:colors_name = "gardener" +let colors_name = "gardener" + diff --git a/.vim/colors/gemcolors.vim b/.vim/colors/gemcolors.vim new file mode 100644 index 0000000..22eec67 --- /dev/null +++ b/.vim/colors/gemcolors.vim @@ -0,0 +1,87 @@ +" Vim color file +" Maintainer: Jason Lee +" Website: http://huacnlee.com +" Last Change: 2009/11/20 +" version: 1.0 +" This color scheme uses a light background. + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "gemcolors" + +" Normal +hi Normal guifg=#F8F8F8 guibg=#141414 +" Search +hi IncSearch gui=UNDERLINE guifg=#F8F8F8 guibg=#4A9400 +hi Search gui=NONE guifg=#F8F8F8 guibg=#4A9400 + +" Messages +hi ErrorMsg gui=NONE guifg=#ff0000 guibg=#ffe4e4 +hi WarningMsg gui=NONE guifg=#ff0000 guibg=#ffe4e4 +hi ModeMsg gui=NONE guifg=#dd0000 guibg=NONE +hi MoreMsg gui=NONE guifg=#009070 guibg=NONE +hi Question gui=NONE guifg=#ff7700 guibg=NONE + +" Split area +hi StatusLine gui=NONE guifg=#F8F8F8 guibg=#2F2F2F +hi StatusLineNC gui=NONE guifg=#a4a4a4 guibg=#2F2F2F +hi VertSplit gui=NONE guifg=#F8F8F8 guibg=#2F2F2F +hi WildMenu gui=NONE guifg=#F8F8F8 guibg=#dd0000 + +" Diff +hi DiffText gui=NONE guifg=#e04040 guibg=#ffd8d8 +hi DiffChange gui=NONE guifg=#408040 guibg=#d0f0d0 +hi DiffDelete gui=NONE guifg=#4848ff guibg=#ffd0ff +hi DiffAdd gui=NONE guifg=#4848ff guibg=#ffd0ff + +" Cursor +hi Cursor gui=NONE guifg=#F8F8F8 guibg=#C03030 +hi CursorLine guifg=#F9F9F9 guibg=#C03030 +hi lCursor gui=NONE guifg=#F8F8F8 guibg=#C03030 +hi CursorIM gui=NONE guifg=#F8F8F8 guibg=#C03030 + +" Fold +hi Folded gui=NONE guifg=#F9F9F9 guibg=#6C1B1B +hi FoldColumn gui=NONE guifg=#40a098 guibg=#f0f0f0 + +" Other +hi Directory gui=NONE guifg=#9B703F guibg=NONE +hi LineNr gui=NONE guifg=#acacac guibg=NONE +hi NonText gui=NONE guifg=#00a0c0 guibg=NONE +hi SpecialKey gui=NONE guifg=#4040ff guibg=NONE +hi Title gui=NONE guifg=#F8F8F8 guibg=NONE +hi Visual gui=NONE guifg=#FFFFFF guibg=#C03030 +" hi VisualNOS gui=NONE guifg=#484848 guibg=#e0e0e0 + +" Syntax group +hi Comment gui=NONE guifg=#494949 guibg=NONE +hi Constant gui=NONE guifg=#8f9d6a guibg=NONE +hi Number gui=NONE guifg=#C03030 guibg=NONE +hi Identifier gui=NONE guifg=#8f9d6a guibg=NONE +hi Error gui=NONE guifg=#ffffff guibg=#dd0000 +hi Ignore gui=NONE guifg=#F8F8F8 guibg=NONE +hi PreProc gui=NONE guifg=#CDA869 guibg=NONE +hi Special gui=NONE guifg=#4a9400 guibg=NONE +hi Statement gui=NONE guifg=#ff7700 guibg=NONE +hi Todo gui=UNDERLINE guifg=#FFFFFF guibg=#9b703f +hi Type gui=NONE guifg=#F9EE98 guibg=NONE +hi Underlined gui=UNDERLINE guifg=fg guibg=NONE +hi Include gui=NONE guifg=#dd0000 guibg=NONE +hi Function gui=NONE guifg=#9B703F guibg=NONE +hi String gui=NONE guifg=#C03030 + +hi Pmenu guifg=#E3CEA9 guibg=#494949 +hi PmenuSel guifg=#000000 guibg=#9B703F + +hi xmlTag guifg=#E8BF6A ctermfg=179 +hi xmlTagName guifg=#E8BF6A ctermfg=179 +hi xmlEndTag guifg=#E8BF6A ctermfg=179 +hi link htmlTag xmlTag +hi link htmlTagName xmlTagName +hi link htmlEndTag xmlEndTag + + diff --git a/.vim/colors/gentooish.vim b/.vim/colors/gentooish.vim new file mode 100644 index 0000000..5e27572 --- /dev/null +++ b/.vim/colors/gentooish.vim @@ -0,0 +1,144 @@ +" Vim color file +" Name: gentooish.vim +" Author: Brian Carper +" Version: 0.4 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + + +hi Normal gui=NONE guifg=#cccccc guibg=#191919 ctermfg=252 ctermbg=234 +hi IncSearch gui=NONE guifg=#000000 guibg=#8bff95 term=reverse ctermfg=16 ctermbg=120 +hi Search gui=NONE guifg=#cccccc guibg=#863132 term=reverse ctermfg=252 ctermbg=95 +hi ErrorMsg gui=NONE guifg=#cccccc guibg=#863132 term=standout ctermfg=252 ctermbg=95 +hi WarningMsg gui=NONE guifg=#cccccc guibg=#863132 term=standout ctermfg=252 ctermbg=95 +hi ModeMsg gui=NONE guifg=#cccccc guibg=NONE term=bold ctermfg=252 +hi MoreMsg gui=NONE guifg=#cccccc guibg=NONE term=bold ctermfg=252 +hi Question gui=NONE guifg=#cccccc guibg=NONE term=standout ctermfg=252 +hi StatusLine gui=BOLD guifg=#cccccc guibg=#333333 term=bold,reverse cterm=bold ctermfg=252 ctermbg=236 +hi User1 gui=BOLD guifg=#999999 guibg=#333333 cterm=bold ctermfg=246 ctermbg=236 +hi User2 gui=BOLD guifg=#8bff95 guibg=#333333 cterm=bold ctermfg=120 ctermbg=236 +hi StatusLineNC gui=NONE guifg=#999999 guibg=#333333 term=reverse cterm=bold ctermfg=240 ctermbg=236 +hi VertSplit gui=NONE guifg=#cccccc guibg=#333333 term=reverse ctermfg=252 ctermbg=236 +hi WildMenu gui=BOLD guifg=#cf7dff guibg=#1F0F29 term=standout cterm=bold ctermfg=177 ctermbg=16 +hi DiffText gui=NONE guifg=#000000 guibg=#4cd169 term=reverse ctermfg=16 ctermbg=77 +hi DiffChange gui=NONE guifg=NONE guibg=#541691 term=bold ctermbg=54 +hi DiffDelete gui=NONE guifg=#cccccc guibg=#863132 term=bold ctermfg=252 ctermbg=95 +hi DiffAdd gui=NONE guifg=#cccccc guibg=#306d30 term=bold ctermfg=252 ctermbg=59 +hi Cursor gui=NONE guifg=#000000 guibg=#8bff95 ctermfg=16 ctermbg=120 +hi Folded gui=NONE guifg=#aaa400 guibg=#000000 term=standout ctermfg=142 ctermbg=16 +hi FoldColumn gui=NONE guifg=#cccccc guibg=#000000 term=standout ctermfg=252 ctermbg=16 +hi Directory gui=NONE guifg=#8bff95 guibg=NONE term=bold ctermfg=120 +hi LineNr gui=NONE guifg=#bbbbbb guibg=#222222 term=underline ctermfg=250 ctermbg=235 +hi NonText gui=NONE guifg=#555555 guibg=NONE term=bold ctermfg=240 +hi SpecialKey gui=NONE guifg=#6f6f2f guibg=NONE term=bold ctermfg=58 +hi Title gui=NONE guifg=#9a383a guibg=NONE term=bold ctermfg=95 +hi Comment gui=NONE guifg=#666666 guibg=NONE term=bold ctermfg=241 +hi Constant gui=NONE guifg=#b8bb00 guibg=NONE term=underline ctermfg=142 +hi Boolean gui=NONE guifg=#00ff00 guibg=NONE ctermfg=46 ctermfg=46 +hi String gui=NONE guifg=#5dff9e guibg=#0f291a ctermfg=85 ctermbg=16 ctermfg=85 ctermbg=16 +hi Error gui=NONE guifg=#990000 guibg=#000000 term=reverse ctermfg=88 ctermbg=16 term=reverse ctermfg=88 ctermbg=16 +hi Identifier gui=NONE guifg=#4cbbd1 guibg=NONE term=underline ctermfg=74 term=underline ctermfg=74 +hi Ignore gui=NONE guifg=#555555 ctermfg=240 ctermfg=240 +hi Number gui=NONE guifg=#ddaa66 guibg=NONE ctermfg=179 ctermfg=179 +hi PreProc gui=NONE guifg=#9a383a guibg=NONE term=underline ctermfg=95 term=underline ctermfg=95 +hi Special gui=NONE guifg=#ffcd8b guibg=NONE term=bold ctermfg=222 term=bold ctermfg=222 +hi Statement gui=NONE guifg=#4cd169 guibg=NONE term=bold ctermfg=77 term=bold ctermfg=77 +hi Todo gui=NONE guifg=#cccccc guibg=#863132 term=standout ctermfg=252 ctermbg=95 term=standout ctermfg=252 ctermbg=95 +hi Type gui=NONE guifg=#c476f1 guibg=NONE term=underline ctermfg=177 term=underline ctermfg=177 +hi Underlined gui=UNDERLINE guifg=#cccccc guibg=NONE term=underline cterm=underline ctermfg=252 term=underline cterm=underline ctermfg=252 +hi Visual gui=reverse guifg=#6e4287 guibg=#ffffff term=reverse ctermfg=231 ctermbg=60 +hi VisualNOS gui=NONE guifg=#cccccc guibg=#000000 term=bold,underline ctermfg=252 ctermbg=16 +hi CursorLine gui=NONE guifg=NONE guibg=#222222 term=underline ctermbg=235 +hi CursorColumn gui=NONE guifg=NONE guibg=#222222 term=reverse ctermbg=235 +hi lispList gui=NONE guifg=#555555 +hi Pmenu gui=NONE guifg=#cccccc guibg=#222222 ctermfg=252 ctermbg=235 +hi PMenuSel gui=BOLD guifg=#c476f1 guibg=#000000 +hi PmenuSbar gui=NONE guifg=#cccccc guibg=#000000 ctermfg=252 ctermbg=16 +hi PmenuThumb gui=NONE guifg=#cccccc guibg=#333333 ctermfg=252 ctermbg=236 +hi SpellBad gui=undercurl guisp=#cc6666 term=reverse cterm=undercurl ctermfg=167 +hi SpellRare gui=undercurl guisp=#cc66cc term=reverse cterm=undercurl ctermfg=170 +hi SpellLocal gui=undercurl guisp=#cccc66 term=underline cterm=undercurl ctermfg=185 +hi SpellCap gui=undercurl guisp=#66cccc term=reverse cterm=undercurl ctermfg=80 +hi MatchParen gui=NONE guifg=#ffffff guibg=#005500 term=reverse ctermfg=231 ctermbg=22 +hi SpecialKey gui=NONE guifg=#6f6f2f guibg=NONE term=bold ctermfg=58 +hi NonText gui=NONE guifg=#555555 guibg=NONE term=bold ctermfg=240 +hi Directory gui=NONE guifg=#8bff95 guibg=NONE term=bold ctermfg=120 +hi ErrorMsg gui=NONE guifg=#cccccc guibg=#863132 term=standout ctermfg=252 ctermbg=95 +hi IncSearch gui=NONE guifg=#000000 guibg=#8bff95 term=reverse ctermfg=16 ctermbg=120 +hi Search gui=NONE guifg=#cccccc guibg=#863132 term=reverse ctermfg=252 ctermbg=95 +hi MoreMsg gui=NONE guifg=#cccccc guibg=NONE term=bold ctermfg=252 +hi ModeMsg gui=NONE guifg=#cccccc guibg=NONE term=bold ctermfg=252 +hi LineNr gui=NONE guifg=#bbbbbb guibg=#222222 term=underline ctermfg=250 ctermbg=235 +hi Question gui=NONE guifg=#cccccc guibg=NONE term=standout ctermfg=252 +hi StatusLine gui=BOLD guifg=#cccccc guibg=#333333 term=bold,reverse cterm=bold ctermfg=252 ctermbg=236 +hi StatusLineNC gui=NONE guifg=#999999 guibg=#333333 term=reverse cterm=bold ctermfg=240 ctermbg=236 +hi VertSplit gui=NONE guifg=#cccccc guibg=#333333 term=reverse ctermfg=252 ctermbg=236 +hi Title gui=NONE guifg=#9a383a guibg=NONE term=bold ctermfg=95 +hi Visual gui=reverse guifg=#6e4287 guibg=#ffffff term=reverse ctermfg=231 ctermbg=60 +hi VisualNOS gui=NONE guifg=#cccccc guibg=#000000 term=bold,underline ctermfg=252 ctermbg=16 +hi WarningMsg gui=NONE guifg=#cccccc guibg=#863132 term=standout ctermfg=252 ctermbg=95 +hi WildMenu gui=BOLD guifg=#cf7dff guibg=#1F0F29 term=standout cterm=bold ctermfg=177 ctermbg=16 +hi Folded gui=NONE guifg=#aaa400 guibg=#000000 term=standout ctermfg=142 ctermbg=16 +hi FoldColumn gui=NONE guifg=#cccccc guibg=#000000 term=standout ctermfg=252 ctermbg=16 +hi DiffAdd gui=NONE guifg=#cccccc guibg=#306d30 term=bold ctermfg=252 ctermbg=59 +hi DiffChange gui=NONE guifg=NONE guibg=#541691 term=bold ctermbg=54 +hi DiffDelete gui=NONE guifg=#cccccc guibg=#863132 term=bold ctermfg=252 ctermbg=95 +hi DiffText gui=NONE guifg=#000000 guibg=#4cd169 term=reverse ctermfg=16 ctermbg=77 +hi SignColumn term=standout ctermfg=51 ctermbg=250 +hi SignColumn term=standout ctermfg=51 ctermbg=250 +hi TabLine term=underline cterm=underline ctermbg=248 +hi TabLine term=underline cterm=underline ctermbg=248 +hi TabLineSel term=bold cterm=bold +hi TabLineSel term=bold cterm=bold +hi TabLineFill term=reverse ctermfg=234 ctermbg=252 +hi TabLineFill term=reverse ctermfg=234 ctermbg=252 +hi CursorColumn gui=NONE guifg=NONE guibg=#222222 term=reverse ctermbg=235 +hi CursorLine gui=NONE guifg=NONE guibg=#222222 term=underline ctermbg=235 +hi Cursor gui=NONE guifg=#000000 guibg=#8bff95 ctermfg=16 ctermbg=120 +hi lCursor ctermfg=234 ctermbg=252 +hi lCursor ctermfg=234 ctermbg=252 +hi Normal gui=NONE guifg=#cccccc guibg=#191919 ctermfg=252 ctermbg=234 +hi Comment gui=NONE guifg=#666666 guibg=NONE term=bold ctermfg=241 +hi Constant gui=NONE guifg=#b8bb00 guibg=NONE term=underline ctermfg=142 +hi Special gui=NONE guifg=#ffcd8b guibg=NONE term=bold ctermfg=222 term=bold ctermfg=222 +hi Identifier gui=NONE guifg=#4cbbd1 guibg=NONE term=underline ctermfg=74 term=underline ctermfg=74 +hi Statement gui=NONE guifg=#4cd169 guibg=NONE term=bold ctermfg=77 term=bold ctermfg=77 +hi PreProc gui=NONE guifg=#9a383a guibg=NONE term=underline ctermfg=95 term=underline ctermfg=95 +hi Type gui=NONE guifg=#c476f1 guibg=NONE term=underline ctermfg=177 term=underline ctermfg=177 +hi Underlined gui=UNDERLINE guifg=#cccccc guibg=NONE term=underline cterm=underline ctermfg=252 term=underline cterm=underline ctermfg=252 +hi Ignore gui=NONE guifg=#555555 ctermfg=240 ctermfg=240 +hi Error gui=NONE guifg=#990000 guibg=#000000 term=reverse ctermfg=88 ctermbg=16 term=reverse ctermfg=88 ctermbg=16 +hi Todo gui=NONE guifg=#cccccc guibg=#863132 term=standout ctermfg=252 ctermbg=95 term=standout ctermfg=252 ctermbg=95 +hi String gui=NONE guifg=#5dff9e guibg=#0f291a ctermfg=85 ctermbg=16 ctermfg=85 ctermbg=16 +hi Number gui=NONE guifg=#ddaa66 guibg=NONE ctermfg=179 ctermfg=179 +hi Boolean gui=NONE guifg=#00ff00 guibg=NONE ctermfg=46 ctermfg=46 +hi Special gui=NONE guifg=#ffcd8b guibg=NONE term=bold ctermfg=222 term=bold ctermfg=222 +hi Identifier gui=NONE guifg=#4cbbd1 guibg=NONE term=underline ctermfg=74 term=underline ctermfg=74 +hi Statement gui=NONE guifg=#4cd169 guibg=NONE term=bold ctermfg=77 term=bold ctermfg=77 +hi PreProc gui=NONE guifg=#9a383a guibg=NONE term=underline ctermfg=95 term=underline ctermfg=95 +hi Type gui=NONE guifg=#c476f1 guibg=NONE term=underline ctermfg=177 term=underline ctermfg=177 +hi Underlined gui=UNDERLINE guifg=#cccccc guibg=NONE term=underline cterm=underline ctermfg=252 +hi Ignore gui=NONE guifg=#555555 ctermfg=240 ctermfg=240 +hi Error gui=NONE guifg=#990000 guibg=#000000 term=reverse ctermfg=88 ctermbg=16 term=reverse ctermfg=88 ctermbg=16 +hi Todo gui=NONE guifg=#cccccc guibg=#863132 term=standout ctermfg=252 ctermbg=95 term=standout ctermfg=252 ctermbg=95 +hi String gui=NONE guifg=#5dff9e guibg=#0f291a ctermfg=85 ctermbg=16 ctermfg=85 ctermbg=16 +hi Number gui=NONE guifg=#ddaa66 guibg=NONE ctermfg=179 ctermfg=179 +hi Boolean gui=NONE guifg=#00ff00 guibg=NONE ctermfg=46 ctermfg=46 +hi User1 gui=BOLD guifg=#999999 guibg=#333333 cterm=bold ctermfg=246 ctermbg=236 +hi User2 gui=BOLD guifg=#8bff95 guibg=#333333 cterm=bold ctermfg=120 ctermbg=236 +if v:version >= 700 + hi SpellBad gui=undercurl guisp=#cc6666 term=reverse cterm=undercurl ctermfg=167 + hi SpellCap gui=undercurl guisp=#66cccc term=reverse cterm=undercurl ctermfg=80 + hi SpellRare gui=undercurl guisp=#cc66cc term=reverse cterm=undercurl ctermfg=170 + hi SpellLocal gui=undercurl guisp=#cccc66 term=underline cterm=undercurl ctermfg=185 + hi Pmenu gui=NONE guifg=#cccccc guibg=#222222 ctermfg=252 ctermbg=235 + hi PmenuSel cterm=bold ctermfg=177 ctermbg=16 + hi PmenuSel cterm=bold ctermfg=177 ctermbg=16 + hi PmenuSbar gui=NONE guifg=#cccccc guibg=#000000 ctermfg=252 ctermbg=16 + hi PmenuThumb gui=NONE guifg=#cccccc guibg=#333333 ctermfg=252 ctermbg=236 + hi MatchParen gui=NONE guifg=#ffffff guibg=#005500 term=reverse ctermfg=231 ctermbg=22 +endif diff --git a/.vim/colors/getafe.vim b/.vim/colors/getafe.vim new file mode 100644 index 0000000..57754d2 --- /dev/null +++ b/.vim/colors/getafe.vim @@ -0,0 +1,189 @@ +" Maintainer: Lars Smit +" Version: 0.1 +" Last Change: 7 februari 2011 +" Credits: Vim color scheme "getafe" +" +" Color Scheme Overview: +" :ru syntax/hitest.vim +" +" Relevant Help: +" :h highlight-groups +" +" Colors +" HEX R G B +" blue #01B0F0 1 176 240 +" pink #FF358B 255 53 139 +" black #000000 0 0 0 +" brown #1B1D1E 27 29 30 +" green #AEEE00 174 238 0 +" grey #5A7085 90 112 133 +" orange #FF500E 255 80 14 +" yellow #FFDC00 255 220 0 +" white #F8FFF9 248 255 249 +" cyan #C6C5FE 198 197 254 + + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "getafe" + +"————————————————+———————————————————————————————————————————————+———+———————————————————————————————————————————————" +" | GUI | | TERMINAL " +" TYPE +———————————————+———————————————+———————————————+———+———————————————+———————————————+———————————————" +" | foreground | background | | | foreground | background | " +"————————————————+———————————————+———————————————+———————————————+———+———————————————+———————————————+———————————————" + +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" +" Full colors reset +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" + +" Base colors + +hi ColorColumn guibg=#1B1D1E gui=none ctermbg=234 +hi Conceal guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Cursor guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi CursorIM guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi CursorColumn guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi CursorLine guibg=#1B1D1E gui=none ctermbg=234 +hi Directory guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi DiffAdd guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi DiffChange guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi DiffDelete guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi DiffText guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi ErrorMsg guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi VertSplit guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Folded guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi FoldColumn guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi SignColumn guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi IncSearch guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi LineNr guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi MatchParen guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi ModeMsg guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi MoreMsg guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi NonText guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Normal guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Pmenu guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi PmenuSel guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi PmenuSbar guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi PmenuThumb guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Question guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Search guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi SpecialKey guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi SpellBad guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi SpellCap guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi SpellLocal guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi SpellRare guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi StatusLine guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi StatusLineNC guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi TabLine guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi TabLineFill guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi TabLineSel guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Title guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi VisualNOS guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi WarningMsg guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi WildMenu guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 + +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" +" Syntax related colors +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" + +hi Comment guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Constant guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi String guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Character guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Number guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Boolean guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Float guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Identifier guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Function guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Statement guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Conditional guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Repeat guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Label guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Operator guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Keyword guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Exception guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi PreProc guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Include guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Define guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Macro guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi PreCondit guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Type guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi StorageClass guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Structure guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Typedef guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Special guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi SpecialChar guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Tag guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Delimiter guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi SpecialComment guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Debug guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Underlined guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Ignore guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Error guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 +hi Todo guifg=#F8FFF9 guibg=#1B1D1E gui=none ctermfg=15 ctermbg=234 + +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" +" Interface " +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" + +hi ColorColumn guibg=#f7f7f7 ctermbg=15 +hi Cursor guifg=#1B1D1E guibg=#FF500E ctermfg=234 ctermbg=202 +hi CursorLine guibg=#f7f7f7 ctermbg=15 +hi Directory guifg=#01B0F0 ctermfg=39 +hi VertSplit guifg=#F8FFF9 guibg=#5A7085 ctermfg=15 ctermbg=60 +hi Folded guifg=#5A7085 guibg=#FFDC00 ctermfg=60 ctermbg=220 +hi IncSearch guifg=#1B1D1E guibg=#a7a7a7 ctermfg=234 ctermbg=248 +hi LineNr guifg=#5A7085 guibg=#000000 ctermfg=60 ctermbg=0 +hi NonText guifg=#eeeeee guibg=#1B1D1E ctermfg=7 ctermbg=234 +hi Search guifg=#F8FFF9 guibg=#FF358B ctermfg=15 ctermbg=204 +hi StatusLine guifg=#F8FFF9 guibg=#01B0F0 gui=bold ctermfg=15 ctermbg=39 +hi StatusLineNC guifg=#F8FFF9 guibg=#5A7085 ctermfg=15 ctermbg=60 +hi Todo guifg=#000000 guibg=#FFDC00 gui=bold ctermfg=0 ctermbg=220 +hi Visual guibg=#5A7085 ctermbg=60 +hi CursorLine guibg=#5A7085 ctermbg=60 +hi ColorColumn guibg=#5A7085 ctermbg=60 +hi ModeMsg guifg=#000000 guibg=#FFDC00 ctermfg=0 ctermbg=220 +hi SpecialKey guifg=#5A7085 ctermfg=60 +hi ErrorMsg guifg=#000000 guibg=#FF500E ctermfg=0 ctermbg=202 +hi Title guifg=#F8FFF9 ctermfg=15 +hi DiffAdd guifg=#000000 guibg=#AEEE00 ctermfg=0 ctermbg=154 +hi DiffChange guifg=#000000 guibg=#FFDC00 ctermfg=0 ctermbg=220 +hi DiffDelete guifg=#000000 guibg=#FF358B ctermfg=0 ctermbg=204 +hi DiffText guifg=#F8FFF9 ctermfg=15 +hi MatchParen guifg=#F8FFF9 guibg=#FF500E ctermfg=15 ctermbg=202 +hi Identifier guifg=#FF500E ctermfg=202 +hi Type guifg=#AEEE00 ctermfg=154 +hi Label guifg=#AEEE00 ctermfg=154 +hi Special guifg=#01B0F0 ctermfg=39 +hi WildMenu guifg=#01B0F0 guibg=#000000 ctermfg=39 ctermbg=0 +hi Pmenu guifg=#01B0F0 guibg=#000000 ctermfg=39 ctermbg=0 +hi PmenuSel guibg=#5A7085 ctermbg=60 +hi PmenuSbar guibg=#5A7085 ctermbg=60 +hi PmenuThumb guifg=#01B0F0 ctermfg=39 + +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" +" Syntax related colors +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" + +hi Comment guifg=#5A7085 ctermfg=60 +hi Constant guifg=#FF358B ctermfg=204 +hi String guifg=#FF358B ctermfg=204 +hi Number guifg=#FF500E ctermfg=202 +hi Boolean guifg=#AEEE00 ctermfg=154 +hi Float guifg=#B37A7A ctermfg=138 +hi Function guifg=#01B0F0 ctermfg=39 +hi Statement guifg=#01B0F0 ctermfg=39 +hi Conditional guifg=#AEEE00 ctermfg=154 +hi Operator guifg=#FF500E ctermfg=202 +hi Keyword guifg=#AEEE00 ctermfg=154 +hi Define guifg=#AEEE00 ctermfg=154 +hi Delimiter guifg=#AEEE00 ctermfg=154 + + diff --git a/.vim/colors/github.vim b/.vim/colors/github.vim new file mode 100644 index 0000000..bd48784 --- /dev/null +++ b/.vim/colors/github.vim @@ -0,0 +1,139 @@ +" Vim color file +" +" Author: Anthony Carapetis +" +" Note: Based on github's syntax highlighting theme +" Used Brian Mock's darkspectrum as a starting point/template +" Thanks to Ryan Heath for an easy list of some of the colours: +" http://rpheath.com/posts/356-github-theme-for-syntax-gem + +hi clear + +set background=light +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="github" + +hi Normal guifg=#000000 guibg=#F8F8FF + +" {{{ Cursor +hi Cursor guibg=#444454 guifg=#F8F8FF +hi CursorLine guibg=#D8D8DD +hi CursorColumn guibg=#E8E8EE +" }}} + +" {{{ Diff +hi DiffAdd guifg=#003300 guibg=#DDFFDD gui=none +hi DiffChange guibg=#ececec gui=none +hi DiffText guifg=#000033 guibg=#DDDDFF gui=none +hi DiffDelete guifg=#DDCCCC guibg=#FFDDDD gui=none +" }}} + +" {{{ Folding / Line Numbering / Status Lines +hi Folded guibg=#ECECEC guifg=#808080 gui=bold +hi vimFold guibg=#ECECEC guifg=#808080 gui=bold +hi FoldColumn guibg=#ECECEC guifg=#808080 gui=bold + +hi LineNr guifg=#959595 guibg=#ECECEC gui=bold +hi NonText guifg=#808080 guibg=#ECECEC +hi Folded guifg=#808080 guibg=#ECECEC gui=bold +hi FoldeColumn guifg=#808080 guibg=#ECECEC gui=bold + +hi VertSplit guibg=#bbbbbb guifg=#bbbbbb gui=none +hi StatusLine guibg=#bbbbbb guifg=#404040 gui=bold +hi StatusLineNC guibg=#d4d4d4 guifg=#404040 gui=italic +" }}} + +" {{{ Misc +hi ModeMsg guifg=#990000 +hi MoreMsg guifg=#990000 + +hi Title guifg=#ef5939 +hi WarningMsg guifg=#ef5939 +hi SpecialKey guifg=#177F80 gui=italic + +hi MatchParen guibg=#cdcdfd guifg=#000000 +hi Underlined guifg=#000000 gui=underline +hi Directory guifg=#990000 +" }}} + +" {{{ Search, Visual, etc +hi Visual guifg=#FFFFFF guibg=#3465a4 gui=none +hi VisualNOS guifg=#FFFFFF guibg=#204a87 gui=none +hi IncSearch guibg=#cdcdfd guifg=#000000 gui=italic +hi Search guibg=#cdcdfd guifg=#000000 gui=italic +" }}} + +" {{{ Syntax groups +hi Ignore guifg=#808080 +hi Identifier guifg=#0086B3 +hi PreProc guifg=#A0A0A0 gui=bold +hi Comment guifg=#999988 +hi Constant guifg=#177F80 gui=none +hi String guifg=#D81745 +hi Function guifg=#990000 gui=bold +hi Statement guifg=#000000 gui=bold +hi Type guifg=#445588 gui=bold +hi Number guifg=#1C9898 +hi Todo guifg=#FFFFFF guibg=#990000 gui=bold +hi Special guifg=#159828 gui=bold +hi rubySymbol guifg=#960B73 +hi Error guibg=#f8f8ff guifg=#ff1100 gui=undercurl +hi Todo guibg=#f8f8ff guifg=#ff1100 gui=underline +hi Label guifg=#000000 gui=bold +hi StorageClass guifg=#000000 gui=bold +hi Structure guifg=#000000 gui=bold +hi TypeDef guifg=#000000 gui=bold +" }}} + +" {{{ Completion menus +hi WildMenu guifg=#7fbdff guibg=#425c78 gui=none + +hi Pmenu guibg=#808080 guifg=#ffffff gui=bold +hi PmenuSel guibg=#cdcdfd guifg=#000000 gui=italic +hi PmenuSbar guibg=#000000 guifg=#444444 +hi PmenuThumb guibg=#aaaaaa guifg=#aaaaaa +" }}} + +" {{{ Spelling +hi spellBad guisp=#fcaf3e +hi spellCap guisp=#73d216 +hi spellRare guisp=#fcaf3e +hi spellLocal guisp=#729fcf +" }}} + +" {{{ Aliases +hi link cppSTL Function +hi link cppSTLType Type +hi link Character Number +hi link htmlTag htmlEndTag +"hi link htmlTagName htmlTag +hi link htmlLink Underlined +hi link pythonFunction Identifier +hi link Question Type +hi link CursorIM Cursor +hi link VisualNOS Visual +hi link xmlTag Identifier +hi link xmlTagName Identifier +hi link shDeref Identifier +hi link shVariable Function +hi link rubySharpBang Special +hi link perlSharpBang Special +hi link schemeFunc Statement +"hi link shSpecialVariables Constant +"hi link bashSpecialVariables Constant +" }}} + +" {{{ Tabs (non-gui0 +hi TabLine guifg=#404040 guibg=#dddddd gui=none +hi TabLineFill guifg=#404040 guibg=#dddddd gui=none +hi TabLineSel guifg=#404040 gui=bold +" }}} +" +" vim: sw=4 ts=4 foldmethod=marker diff --git a/.vim/colors/gobo.vim b/.vim/colors/gobo.vim new file mode 100644 index 0000000..13a8cf5 --- /dev/null +++ b/.vim/colors/gobo.vim @@ -0,0 +1,27 @@ +" local syntax file - set colors on a per-machine basis: +" vim: tw=0 ts=4 sw=4 +" Vim color file +" +" Created using ColorSchemeCreator +" by Otvio Corra Cordeiro (cordeiro@exatas.unisinos.br) (2004 July) +" +" Maintainer: Otvio Corra Cordeiro +" Last Change: 2004 July + + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "ColorSchemeCreator" +hi Normal guifg=#111111 guibg=#FFFFFF +hi comment guifg=#33CC99 gui=italic +hi constant guifg=#CC0099 gui=bold +hi statement guifg=#3399FF gui=bold +hi preproc guifg=#0066FF +hi type guifg=#6600CC gui=bold +hi special guifg=#6600CC +hi operator guifg=#CC0099 +hi clear Visual +hi Visual term=reverse cterm=reverse gui=reverse diff --git a/.vim/colors/golded.vim b/.vim/colors/golded.vim new file mode 100644 index 0000000..5034d26 --- /dev/null +++ b/.vim/colors/golded.vim @@ -0,0 +1,113 @@ +" GVim color file +" Author: Martin Mauchauffee +" Note: Based on GoldED from Amiga. Using low contrast colors to avoid +" flicking effects when switching beetween windows, like browser and +" terminal which uses black or white background. + +hi clear +if version > 600 + hi clear + if exists("syntax_on") + syntax reset + endif +endif +let g:colors_name="golded" + +hi Boolean gui=NONE guifg=#99ffff guibg=#919191 +hi Character gui=UNDERLINE guifg=#990000 guibg=#aaaaaa +hi Comment gui=BOLD guifg=#ffbbff guibg=NONE +hi Conditional gui=BOLD guifg=#aaff00 guibg=NONE +hi Constant gui=NONE guifg=#990000 guibg=NONE +hi Cursor gui=NONE guifg=#000000 guibg=#ffffff +hi CursorColumn gui=NONE guifg=NONE guibg=#bbbbbb +hi CursorIM gui=NONE guifg=#000000 guibg=#ffffff +hi CursorLine gui=NONE guifg=NONE guibg=#bbbbbb +hi Debug gui=NONE guifg=#ffffff guibg=#916e6e +hi Define gui=NONE guifg=#ccccff guibg=#919191 +hi Delimiter gui=NONE guifg=#555577 guibg=NONE +hi DiffAdd gui=NONE guifg=NONE guibg=#99bb99 +hi DiffChange gui=NONE guifg=NONE guibg=#9999bb +hi DiffDelete gui=NONE guifg=NONE guibg=#bb9999 +hi DiffText gui=NONE guifg=NONE guibg=BG +hi Directory gui=NONE guifg=#00ff8b guibg=#919191 +hi Error gui=NONE guifg=#ffffff guibg=#dd3333 +hi ErrorMsg gui=BOLD guifg=#ffffff guibg=#cc3300 +hi Exception gui=BOLD guifg=#ffff99 guibg=NONE +hi FoldColumn gui=NONE guifg=#cccccc guibg=#6688bb +hi Folded gui=NONE guifg=#cccccc guibg=#888888 +hi Function gui=NONE guifg=#990099 guibg=NONE +hi Identifier gui=NONE guifg=#6633aa guibg=NONE +hi Ignore gui=NONE guifg=#cccccc guibg=NONE +hi IncSearch gui=BOLD guifg=FG guibg=#777777 +hi Include gui=NONE guifg=#336e6e guibg=#b3b3b3 +hi Label gui=BOLD guifg=#99ffdd guibg=NONE +hi LineNr gui=NONE guifg=#666666 guibg=#b3b3b3 +hi Macro gui=NONE guifg=#913333 guibg=#b3b3b3 +hi MatchParen gui=NONE guifg=#000000 guibg=#cc88dd +hi ModeMsg gui=BOLD guifg=#ffffff guibg=#dd4400 +hi MoreMsg gui=BOLD guifg=#ffffff guibg=#ee7700 +hi NonText gui=NONE guifg=#aadd77 guibg=#919191 +hi Normal gui=NONE guifg=#000000 guibg=#a2a2a2 +hi Number gui=NONE guifg=#bb3333 guibg=NONE +hi Operator gui=NONE guifg=#555577 guibg=NONE +hi Pmenu gui=NONE guifg=#000000 guibg=#6688bb +hi PmenuSel gui=BOLD guifg=#ffffff guibg=#6688bb +hi PreCondit gui=NONE guifg=#a2ddee guibg=#919191 +hi PreProc gui=NONE guifg=#dddd77 guibg=#919191 +hi Question gui=UNDERLINE guifg=#00ff8b guibg=#919191 +hi Repeat gui=BOLD guifg=#ffbb44 guibg=NONE +hi Search gui=INVERSE guifg=FG guibg=BG +hi SignColumn gui=NONE guifg=#000000 guibg=#777777 +hi Special gui=NONE guifg=#ffdd77 guibg=#999999 +hi SpecialChar gui=NONE guifg=#ffffff guibg=#886e91 +hi SpecialComment gui=NONE guifg=#ffbbff guibg=#919191 +hi SpecialKey gui=BOLD guifg=#99cc66 guibg=#919191 +hi Statement gui=BOLD guifg=#99ffff guibg=NONE +hi StatusLine gui=NONE guifg=#ffffff guibg=#6688bb +hi StatusLineNC gui=NONE guifg=#bbbbbb guibg=#6688bb +hi StorageClass gui=NONE guifg=#660099 guibg=NONE +hi String gui=NONE guifg=#eeee33 guibg=NONE +hi Structure gui=NONE guifg=#2244cc guibg=NONE +hi Tag gui=NONE guifg=#ffffff guibg=#6e9188 +hi TaglistTagName gui=BOLD guifg=#808bed guibg=#b3b3b3 +hi Title gui=BOLD guifg=#ffffff guibg=NONE +hi Todo gui=NONE guifg=#ffffff guibg=#bb77cc +hi Type gui=BOLD guifg=#996644 guibg=NONE +hi Typedef gui=NONE guifg=#990099 guibg=NONE +hi Underlined gui=UNDERLINE guifg=#ffffcc guibg=NONE +hi Visual gui=NONE guifg=#000000 guibg=#6688bb +hi WarningMsg gui=BOLD guifg=#ffffff guibg=#ff6600 +hi WildMenu gui=NONE guifg=#000000 guibg=#ffffff + +"hi link VertSplit StatusLineNC +"hi link cssSelectorOp Operator +"hi link htmlEndTag htmlTag +"hi link htmlTagName htmlTag + +hi htmlTag gui=NONE guifg=#99ffff guibg=NONE + +hi link phpClasses NONE +hi link phpCoreConstant NONE +hi link phpInterfaces NONE +hi link phpSpecialFunction NONE +hi phpClasses gui=UNDERLINE guifg=#990099 guibg=NONE +hi phpCoreConstant gui=NONE guifg=#990000 guibg=#b3b3b3 +hi phpHereDoc guibg=#bbbb99 +hi phpInterfaces gui=UNDERLINE guifg=#990000 guibg=NONE +hi phpMethodsVar guibg=#aaaaaa +hi phpVarSelector gui=NONE guifg=#6633aa guibg=NONE +hi phpSpecialFunction gui=UNDERLINE guifg=#990099 guibg=NONE + +hi col_darkgray gui=NONE guifg=#666666 guibg=NONE +hi col_grey gui=NONE guifg=#cccccc guibg=NONE + +hi sqlStatement gui=BOLD guifg=#2244cc guibg=#bbbb99 +hi sqlKeyword gui=NONE guifg=#2244cc guibg=#bbbb99 +hi sqlString gui=NONE guifg=#bb3333 guibg=#bbbb99 +hi sqlNumber gui=NONE guifg=#bb3333 guibg=#bbbb99 +hi sqlDashComment gui=BOLD guifg=#990099 guibg=#bbbb99 +hi sqlSlashComment gui=BOLD guifg=#990099 guibg=#bbbb99 +hi sqlMultiComment gui=BOLD guifg=#990099 guibg=#bbbb99 +hi sqlType gui=BOLD guifg=#996644 guibg=#bbbb99 +hi sqlFunction gui=NONE guifg=#990099 guibg=#bbbb99 +hi sqlOperator gui=NONE guifg=#555577 guibg=#bbbb99 diff --git a/.vim/colors/golden.vim b/.vim/colors/golden.vim new file mode 100644 index 0000000..8cceaf7 --- /dev/null +++ b/.vim/colors/golden.vim @@ -0,0 +1,70 @@ +" vim: tw=0 ts=4 sw=4 +" Vim color file +" +" Creator: Ryan Phillips +" Credits: This color scheme originated from the idea of +" Jeffrey Bakker, the creator of webcpp (http://webcpp.sourceforge.net/). +" URL: http://www.trolocsis.com/vim/golden.vim +" + +hi clear +set background=dark +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "golden" +hi Normal ctermfg=yellow guifg=#ddbb00 guibg=black +hi Scrollbar ctermfg=Yellow guifg=#ddbb00 guibg=black +hi Menu ctermfg=darkyellow guifg=#ffddaa guibg=black +hi SpecialKey ctermfg=yellow term=bold cterm=bold guifg=#ffddaa +hi NonText ctermfg=LightBlue term=bold cterm=bold gui=bold guifg=#DBCA98 +hi Directory ctermfg=DarkYellow term=bold cterm=bold guifg=#ffddaa +hi ErrorMsg term=standout cterm=bold ctermfg=White ctermbg=Red guifg=White guibg=Red +hi Search term=reverse ctermfg=white ctermbg=red guifg=white guibg=Red +hi MoreMsg term=bold cterm=bold ctermfg=Yellow gui=bold guifg=#ddbb00 +hi ModeMsg term=bold ctermfg=DarkYellow cterm=bold gui=bold guifg=Black guibg=#ddbb00 +hi LineNr term=underline ctermfg=Brown cterm=bold guifg=#978345 +hi Question term=standout cterm=bold ctermfg=Brown gui=bold guifg=#ffddaa +hi StatusLine term=bold,reverse cterm=bold ctermfg=Black ctermbg=DarkGrey gui=bold guifg=#978345 guibg=#2E2E2E +hi StatusLineNC term=reverse ctermfg=white ctermbg=black guifg=grey guibg=#3E3E3E +hi Title term=bold cterm=bold ctermfg=brown gui=bold guifg=#DBCA98 +hi Visual term=reverse cterm=reverse gui=reverse +hi WarningMsg term=standout cterm=bold ctermfg=darkblue guifg=Red +hi Cursor guifg=bg guibg=#FF5E06 ctermbg=Brown +hi Comment term=bold cterm=bold ctermfg=brown guifg=#978345 +hi Constant term=underline cterm=bold ctermfg=red guifg=Red +hi Special term=bold cterm=bold ctermfg=red guifg=Orange +hi Identifier term=underline ctermfg=lightgray guifg=#DBCA98 +hi Statement term=bold cterm=bold ctermfg=lightgreen gui=bold guifg=#ffff60 +hi PreProc term=underline ctermfg=brown guifg=#ffddaa +hi Type term=underline cterm=bold ctermfg=lightgreen gui=bold guifg=#FFE13F +hi Error term=reverse ctermfg=darkcyan ctermbg=black guifg=Red guibg=Black +hi Todo term=standout ctermfg=black ctermbg=yellow guifg=#FFE13F guibg=#2E2E2E +hi VertSplit guifg=#2E2E2E guibg=#978345 ctermfg=black ctermbg=darkgrey +hi Folded guifg=orange guibg=#2E2E2E ctermfg=yellow + +hi link IncSearch Visual +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 Conditional Statement +hi link Repeat Statement +hi link Label Statement +hi link Operator Statement +hi link Keyword Statement +hi link Exception 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 diff --git a/.vim/colors/google.vim b/.vim/colors/google.vim new file mode 100644 index 0000000..365e7b6 --- /dev/null +++ b/.vim/colors/google.vim @@ -0,0 +1,105 @@ +" description: color scheme based on google's +" author: kamil.stachowski@gmail.com +" license: gpl 3+ +" version: 0.2 (2008.11.27) + +" changelog: +" 0.2: 2008.11.27 +" changed MatchParen to link to Type (thanks to Jarosław Mężyk) +" added Diff* +" 0.1: 2008.11.20 +" initial version + + +set background=dark + +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "google" + + +" black 000000 +" blue dark 6694e3 +" blue dark2 2a5db0 +" blue light e0ecff +" green dark 006633 +" green light 46aa64 +" grey aaaaaa +" red d96666 +" white ffffff +" yellow ffffb5 + +" pmenu + +hi Comment guifg=#aaaaaa guibg=#ffffff gui=none +hi Constant guifg=#6694e3 guibg=#ffffff gui=none +hi Cursor guifg=#ffffff guibg=#000000 gui=none +hi CursorLine guibg=#efefef gui=none +hi DiffAdd guifg=#ffffff guibg=#006633 gui=none +hi DiffChange guifg=#000000 guibg=#ffffb5 gui=none +hi DiffDelete guifg=#000000 guibg=#d96666 gui=none +hi DiffText guifg=#d96666 guibg=#ffffb5 gui=none +hi Folded guibg=#efefef guifg=#000000 gui=italic +hi Identifier guifg=#7799bb guibg=#ffffff gui=none +hi ModeMsg guifg=#ffffff guibg=#6694e3 gui=bold +hi NonText guifg=#f0f0f0 guibg=#ffffff gui=none +hi Normal guifg=#000000 guibg=#ffffff gui=none +hi PreProc guifg=#46aa64 guibg=#ffffff gui=none +hi Search guifg=#000000 guibg=#ffffb5 +hi Special guifg=#2a5db0 guibg=#ffffff gui=none +hi Statement guifg=#2a5db0 guibg=#ffffff gui=bold,underline +hi StatusLine guifg=#ffffff guibg=#6694e3 gui=bold +hi StatusLineNC guifg=#aaaaaa guibg=#e0ecff gui=none +hi Todo guifg=#ffffff guibg=#d96666 gui=bold +hi Type guifg=#006633 guibg=#ffffff gui=bold +hi Underlined guifg=#000000 guibg=#ffffff gui=underline +hi VertSplit guifg=#e0ecff guibg=#e0ecff gui= none +hi Visual guifg=#ffffff guibg=#6694e3 gui=none +hi! link Macro PreProc +hi! link Boolean Constant +hi! link Character Constant +hi! link Conditional Statement +hi! link CursorColumn CursorLine +hi! link Debug PreProc +hi! link Define PreProc +hi! link Delimiter Identifier +hi! link Directory Statement +hi! link Error Todo +hi! link ErrorMsg Error +hi! link Exception Statement +hi! link Float Constant +hi! link FoldColumn Folded +hi! link Function Identifier +hi! link Function Identifier +hi! link Ignore Comment +hi! link Include PreProc +hi! link IncSearch Search +hi! link Keyword Identifier +hi! link Keyword Identifier +hi! link Label Statement +hi! link LineNr Comment +hi! link MatchParen Statement +hi! link MoreMsg Identifier +hi! link NonText Comment +hi! link Number Constant +hi! link Operator Identifier +hi! link Question MoreMsg +hi! link PreCondit PreProc +hi! link Repeat Statement +hi! link SignColumn Identifier +hi! link SpecialChar Special +hi! link SpecialComment Special +hi! link SpecialKey Special +hi! link SpellBad Error +hi! link SpellCap Error +hi! link SpellLocal Error +hi! link SpellRare Error +hi! link StorageClass Type +hi! link String Constant +hi! link Structure Type +hi! link Title Structure +hi! link Typedef Type +hi! link WarningMsg Error diff --git a/.vim/colors/gor.vim b/.vim/colors/gor.vim new file mode 100644 index 0000000..b0584a1 --- /dev/null +++ b/.vim/colors/gor.vim @@ -0,0 +1,47 @@ +" local syntax file - set colors on a per-machine basis: +" vim: tw=0 ts=4 sw=4 +" Vim color file +" Maintainer: Jokes +" Last Change: + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "gor" +hi Normal guifg=white guibg=#005856 +hi NonText guifg=white guibg=#005856 +hi comment guifg=darkgrey +hi constant guifg=orange +hi identifier guifg=orange gui=NONE +hi statement guifg=cyan gui=NONE +"hi preproc guifg=#6063CD +hi preproc guifg=cyan +hi type guifg=green gui=NONE +hi special guifg=yellow +hi ErrorMsg guifg=Black guibg=Red +hi WarningMsg guifg=Black guibg=Green +hi Error guibg=Red +hi Todo guifg=Black guibg=orange +hi Cursor guibg=#ffffff guifg=#004f50 +"hi Cursor guibg=#603070 guifg=#0000ff +hi Folded guifg=#999999 guibg=#006336 +hi Search guibg=orange +hi IncSearch gui=NONE guibg=orange +hi LineNr guifg=grey +hi title guifg=grey +"hi StatusLineNC gui=NONE guifg=lightblue guibg=darkblue +hi StatusLineNC gui=NONE guibg=red +hi StatusLine guifg=black guibg=darkgreen +hi label guifg=gold2 +hi operator guifg=orange +hi clear Visual +hi Visual guibg=orange guifg=#00932D +hi DiffChange guibg=darkgreen +hi DiffText guibg=olivedrab +hi DiffAdd guibg=slateblue +hi DiffDelete guibg=coral +hi Folded guibg=gray30 +hi FoldColumn guibg=gray30 guifg=white +hi cIf0 guifg=gray diff --git a/.vim/colors/gothic.vim b/.vim/colors/gothic.vim new file mode 100644 index 0000000..94df10c --- /dev/null +++ b/.vim/colors/gothic.vim @@ -0,0 +1,45 @@ +" Vim color file +" Maintainer: Stefano deFlorian - \Goth\ +" Last Change: 2006 Jul 16 +" Light - Dark :-) +" optimized for TFT panels + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +"colorscheme default +let g:colors_name = "gothic" + +" hardcoded colors : + +" GUI +highlight Normal guifg=#efefef guibg=#000000 +highlight Cursor guifg=#000000 guibg=#efefef gui=NONE +highlight Search guifg=#ffff60 guibg=#0000ff gui=NONE +highlight Visual guifg=Grey25 gui=NONE +highlight Special guifg=#b0b000 gui=NONE +highlight Comment guifg=#3030ff gui=NONE +highlight StatusLine guifg=blue guibg=white +highlight Statement guifg=#ffff60 gui=NONE +highlight PreProc guifg=#a0e0a0 gui=NONE +highlight Identifier guifg=#00ffff gui=NONE +highlight Function guifg=#00ffff gui=NONE +highlight Constant guifg=#ff5050 gui=NONE +highlight Type guifg=#a0a0ff gui=NONE + +" Console +highlight Normal ctermfg=LightGrey ctermbg=Black +highlight Cursor ctermfg=Black ctermbg=LightGrey cterm=NONE +highlight Search ctermfg=LightGrey ctermbg=Blue cterm=NONE +highlight Visual cterm=reverse +highlight Special ctermfg=Red cterm=NONE +highlight Comment ctermfg=DarkBlue cterm=NONE +highlight StatusLine ctermfg=White ctermbg=Blue +highlight Identifier ctermfg=Cyan cterm=NONE +highlight Function ctermfg=Cyan cterm=NONE +highlight PreProc ctermfg=Magenta cterm=NONE +highlight Statement ctermfg=Brown cterm=NONE +highlight Constant ctermfg=Red cterm=NONE +highlight Type ctermfg=Green cterm=NONE diff --git a/.vim/colors/grape.vim b/.vim/colors/grape.vim new file mode 100644 index 0000000..ac8dd93 --- /dev/null +++ b/.vim/colors/grape.vim @@ -0,0 +1,59 @@ +" vim: ts=4 sw=4 sts=4 +" Vim colorscheme +" Author: Charles +" Version: - +" Date: 26 January 2006 + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let colors_name = "grape" + +hi Normal guibg=seashell guifg=black + +" Window elements +hi Cursor guifg=gray90 guibg=gray10 +" hi Folded guifg=#C0C0C0 guibg=#808080 +hi LineNr guibg=gray70 guifg=white +" hi NonText guifg=#CCCCCC +hi StatusLine guifg=white guibg=gray70 gui=none +hi StatusLineNC guifg=gray90 guibg=gray70 gui=italic +" hi Visual guifg=#C0C0C0 guibg=#000000 + +" Main groups +hi Comment guifg=#339933 gui=italic +hi Constant guifg=black gui=bold +hi Statement guifg=slateblue gui=bold +hi StatementU guifg=slateblue gui=bold +hi Keyword guifg=slateblue gui=bold +hi Underlined guifg=black gui=underline +hi Error guifg=black guibg=red + +" Tag syntax +hi Attribute guifg=violetred gui=bold + +hi String guifg=darkgoldenrod +hi! link Character String +hi! link Number Constant +hi! link Boolean Constant +hi! link Float Constant + +hi Identifier guifg=mediumvioletred +hi Function guifg=blueviolet + +hi Operator guifg=red +hi! link Preproc Keyword +hi! link Type Keyword + +hi! link Special Keyword +hi! link Ignore Normal +hi! link Todo Error + +hi Title guifg=black gui=bold + +hi! link HTMLH2 Title +hi HTMLString guifg=darkgoldenrod +hi! link HTMLTag Keyword +hi! link HTMLEndTag Keyword diff --git a/.vim/colors/graywh.vim b/.vim/colors/graywh.vim new file mode 100644 index 0000000..725e23d --- /dev/null +++ b/.vim/colors/graywh.vim @@ -0,0 +1,204 @@ +" Vim color file +" Maintainer: Will Gray +" GetLatestVimScripts: 2616 1 :AutoInstall: graywh.vim +" +" For best results on 88/256-color terminals, I recommend CSApprox.vim by +" godlygeek. + +" Favorite colors {{{1 +" Light Dark +" Black 5F5F5F 236 8 1E1E1E 234 000000 16 0 +" Red FFD7D7 224 FF8787 210 9 D70000 160 1 +" Green D7FFD7 194 87FF87 120 10 00D700 40 2 +" Yellow FFFFD7 230 FFFF87 228 11 D7D700 184 3 +" Blue AFD7FF 153 87AFFF 111 12 005FD7 68 4 +" Magenta FFD7FF 225 FF87FF 213 13 D700D7 164 5 +" Cyan D7FFFF 195 87FFFF 123 14 00D7D7 44 6 +" Gray FFFFFF 231 15 D7D7D7 251 7 +" }}}1 + +" First remove all existing highlighting. +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "graywh" + +" Links {{{1 +hi! link Character String +hi! link CursorColumn CursorLine +hi! link VertSplit StatusLineNC + +" For GUI {{{1 +hi Normal guifg=#D7D7D7 guibg=#1C1C1C + +" Vim {{{2 +hi SpecialKey guifg=#4E4E4E guibg=bg gui=none +hi NonText guifg=#87FFFF guibg=#262626 gui=none +hi Directory guifg=#00AFAF +hi ErrorMsg guifg=#D70000 guibg=bg +hi IncSearch gui=reverse +hi Search guibg=#FFFF00 +hi MoreMsg guifg=#5FAF87 gui=bold +hi ModeMsg gui=bold +hi LineNr guifg=#D7D7AF guibg=#262626 +hi Question guifg=#5FFF5F gui=bold +hi StatusLine gui=reverse,bold +hi StatusLineNC gui=reverse +hi Title guifg=#FF87FF gui=bold +hi Visual guibg=NONE gui=reverse +hi VisualNOS gui=bold,underline +hi WarningMsg guifg=#D7D700 +hi WildMenu guifg=bg guibg=#D7D700 +hi Folded guifg=#FFD7FF guibg=#444444 gui=italic +hi FoldColumn guifg=#87FFFF guibg=#444444 + +if v:version >= 600 + hi DiffAdd guibg=#123012 + hi DiffChange guibg=#121230 + hi DiffDelete guifg=fg guibg=#301212 gui=none + hi DiffText guibg=#303012 gui=none +endif + +hi SignColumn guifg=#FFFF87 guibg=#444444 + +if v:version >= 700 + hi SpellBad gui=undercurl guisp=#FF0000 + hi SpellCap gui=undercurl guisp=#0000FF + hi SpellRare gui=undercurl guisp=#FF00FF + hi SpellLocal gui=undercurl guisp=#00FFFF +endif + +hi Pmenu guifg=fg guibg=#D787D7 +hi PmenuSel guifg=fg guibg=#878787 +hi PmenuSbar guifg=fg guibg=#878787 +hi PmenuThumb gui=reverse +hi TabLine guifg=bg guibg=fg gui=none +hi TabLineSel guifg=fg guibg=bg gui=bold +hi TabLineFill guifg=fg guibg=bg gui=reverse +hi CursorLine guibg=#303030 +hi Cursor guifg=bg guibg=fg + +" Syntax {{{2 +hi lCursor guifg=bg guibg=fg +hi MatchParen guibg=#00AFAF +hi Comment guifg=#AFFFAF gui=italic +hi Constant guifg=#FFAFAF +hi String guifg=#FFAFFF +hi Boolean guifg=#5F87FF gui=bold +hi Identifier guifg=#AFFFFF +hi Function guifg=#AFD7FF +hi Statement guifg=#87AFFF gui=none +hi Operator guifg=#FFAF87 +hi PreProc guifg=#5FFFFF gui=none +hi Type guifg=#FFFFAF gui=none +hi Special guifg=#FF5F5F +hi Underlined guifg=#AFAFFF gui=underline +hi Ignore guifg=bg +hi Error guifg=#FFFFFF guibg=#FF5F5F +hi Todo guifg=#0000D7 guibg=#FFFF5F + +" Custom {{{2 +hi colorIndentLevel1 guibg=#121212 +hi colorIndentLevel2 guibg=#262626 +" mail {{{3 +hi mailQuoted1 guifg=#AFAFD7 guibg=#303030 +hi mailQuoted2 guifg=#D7AFAF guibg=#303030 +hi mailQuoted3 guifg=#AFD7AF guibg=#303030 +hi mailQuoted4 guifg=#D7AFD7 guibg=#303030 +hi mailQuoted5 guifg=#AFD7D7 guibg=#303030 +hi mailQuoted6 guifg=#D7D7AF guibg=#303030 +hi mailEmail guifg=#5F87FF gui=underline +hi mailSignature guifg=#8A8A8A + +" For 16 color terminals {{{1 +hi Normal ctermfg=Gray ctermbg=Black + +" Vim {{{2 +hi SpecialKey ctermfg=DarkGray +hi NonText ctermfg=Cyan +hi Directory ctermfg=DarkCyan +hi ErrorMsg ctermfg=DarkRed ctermbg=bg +hi IncSearch cterm=reverse +hi Search ctermbg=Yellow +hi MoreMsg ctermfg=Green +hi ModeMsg cterm=bold +hi LineNr ctermfg=Yellow +hi Question ctermfg=Green +hi StatusLine cterm=reverse,bold +hi StatusLineNC cterm=reverse +hi VertSplit cterm=reverse +hi Title ctermfg=Magenta +hi Visual ctermbg=bg cterm=reverse +hi VisualNOS cterm=underline +hi WarningMsg ctermfg=DarkYellow +hi WildMenu ctermfg=bg ctermbg=Yellow +hi Folded ctermfg=Magenta ctermbg=bg +hi FoldColumn ctermfg=Cyan ctermbg=bg + +if v:version >= 600 + hi DiffAdd ctermfg=Black ctermbg=DarkGreen + hi DiffChange ctermbg=DarkBlue + hi DiffDelete ctermfg=Black ctermbg=DarkRed + hi DiffText ctermfg=Black ctermbg=DarkYellow cterm=none +endif + +hi SignColumn ctermfg=Yellow ctermbg=bg + +if v:version >= 700 + hi SpellBad ctermbg=DarkRed cterm=underline + hi SpellCap ctermbg=DarkBlue cterm=underline + hi SpellRare ctermbg=DarkMagenta cterm=underline + hi SpellLocal ctermbg=DarkCyan cterm=underline +endif + +hi Pmenu ctermfg=fg ctermbg=DarkMagenta +hi PmenuSel ctermfg=fg ctermbg=DarkGray +hi PmenuSbar ctermfg=fg ctermbg=DarkGray +hi PmenuThumb cterm=reverse +hi TabLine ctermfg=bg ctermbg=fg cterm=none +hi TabLineSel cterm=bold +hi TabLineFill cterm=reverse +hi CursorLine ctermbg=DarkGray + +" Syntax {{{2 +hi MatchParen ctermbg=DarkCyan +hi Comment ctermfg=Green +hi Constant ctermfg=Red +hi String ctermfg=Magenta +hi Boolean ctermfg=Blue +hi Identifier ctermfg=Cyan cterm=none +hi Function ctermfg=Cyan +hi Statement ctermfg=Blue +hi Operator ctermfg=Blue +hi PreProc ctermfg=DarkCyan +hi Type ctermfg=Yellow +hi Special ctermfg=DarkRed +hi Underlined ctermfg=Magenta cterm=underline +hi Ignore ctermfg=bg +hi Error ctermfg=White ctermbg=Red +hi Todo ctermfg=DarkBlue ctermbg=Yellow + +" Custom {{{2 +hi colorIndentLevel1 ctermbg=Black +hi colorIndentLevel2 ctermbg=DarkGray +" mail {{{3 +hi mailQuoted1 ctermfg=DarkBlue +hi mailQuoted2 ctermfg=DarkRed +hi mailQuoted3 ctermfg=DarkGreen +hi mailQuoted4 ctermfg=DarkMagenta +hi mailQuoted5 ctermfg=DarkCyan +hi mailQuoted6 ctermfg=DarkYellow +hi mailEmail ctermfg=Blue cterm=underline +hi mailSignature ctermfg=DarkGray + +" 8-color terminal extras {{{2 +if &t_Co == 8 + hi Identifier cterm=bold +endif + +" CSApprox config {{{1 +let g:CSApprox_hook_graywh_post = ['hi Visual ctermbg=NONE ctermfg=NONE cterm=reverse', + \ 'hi IncSearch ctermbg=NONE ctermfg=NONE cterm=reverse' ] diff --git a/.vim/colors/greens.vim b/.vim/colors/greens.vim new file mode 100644 index 0000000..1963c7a --- /dev/null +++ b/.vim/colors/greens.vim @@ -0,0 +1,55 @@ +" Vim color file +" Maintainer: Yuheng Xie +" Last Change: 2007 Jan 29 + +" This color scheme uses a black background. + +" First remove all existing highlighting. +set background=dark +highlight clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "greens" + +hi Cursor guifg=Black guibg=#FFBF00 +hi Normal ctermfg=Grey guifg=#A4A090 guibg=Black ctermbg=Black +hi Visual guifg=Black guibg=#C4C090 gui=NONE + +hi Comment ctermfg=DarkGreen guifg=DarkGreen +hi Constant ctermfg=Red guifg=Red +hi Special ctermfg=DarkRed guifg=#600000 +hi Identifier ctermfg=Cyan guifg=#40D8D0 +hi Statement ctermfg=Yellow guifg=Yellow gui=NONE +hi PreProc ctermfg=Green guifg=Green +hi Type ctermfg=White guifg=White gui=NONE +hi Ignore ctermfg=DarkGrey guifg=#22201C + +hi FoldColumn guifg=#C4C0B0 guibg=#42403C +hi Folded guifg=#C4C0B0 guibg=#22201C + +hi DiffAdd guibg=DarkBlue ctermbg=DarkBlue +hi DiffDelete guibg=DarkCyan ctermbg=DarkCyan gui=NONE +hi DiffText guibg=DarkRed ctermbg=DarkRed gui=NONE +hi DiffChange guibg=DarkMagenta ctermbg=DarkMagenta + +if v:version >= 700 + +hi CursorLine guibg=#403820 +hi CursorColumn guibg=#403820 + +hi MatchParen ctermfg=White guifg=White guibg=DarkGreen ctermbg=DarkGreen + +hi Pmenu ctermfg=Black guifg=Black guibg=#C4C090 ctermbg=LightGray +hi PmenuSel ctermfg=Black guifg=Black guibg=#FFBF00 ctermbg=Yellow +hi PmenuSbar ctermfg=Black guifg=Black guibg=LightGray ctermbg=White +hi PmenuThumb ctermfg=Black guifg=Black guibg=White ctermbg=Green gui=NONE cterm=NONE + +hi TabLine guifg=Black guibg=#A4A090 gui=NONE +hi TabLineFill guifg=Black guibg=#A4A090 gui=NONE +hi TabLineSel guifg=White guibg=Black + +endif + +" vim: ts=2 sw=2 diff --git a/.vim/colors/greenvision.vim b/.vim/colors/greenvision.vim new file mode 100644 index 0000000..c20329c --- /dev/null +++ b/.vim/colors/greenvision.vim @@ -0,0 +1,72 @@ +" Vim color file +" Name: greenvision.vim +" Maintainer: Paul B. Mahol +" Last Change: 6.6.2008 +" License: Vim License +" Revision: 29 + +if !has("gui_running") && &t_Co != 256 && &t_Co != 88 + echomsg "" + echomsg "err: please use GUI or a 256-color terminal or 88-color terminal" + echomsg "" + finish +endif + +if &background == "light" + set background=dark +endif + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = 'greenvision' + +hi Comment guifg=#008220 guibg=#000000 gui=none ctermfg=034 ctermbg=000 cterm=none +hi Constant guifg=#1fc700 guibg=#001c00 gui=none ctermfg=041 ctermbg=000 cterm=none +hi Cursor guifg=#00ff00 gui=bold,reverse ctermfg=010 ctermbg=000 cterm=bold,reverse +hi CursorColumn guifg=#000000 guibg=#00cc00 gui=none ctermfg=000 ctermbg=002 cterm=none +hi CursorIM guifg=#00ff00 guibg=#000000 gui=bold ctermfg=046 ctermbg=000 cterm=bold +hi CursorLine guifg=#000000 guibg=#00cc00 gui=none ctermfg=000 ctermbg=002 cterm=none +hi DiffAdd guifg=#00bf00 guibg=#002200 gui=none ctermfg=034 ctermbg=000 cterm=none +hi DiffChange guifg=#00a900 guibg=#002200 gui=none ctermfg=040 ctermbg=000 cterm=none +hi DiffDelete guifg=#000000 guibg=#005500 gui=none ctermfg=002 ctermbg=000 cterm=none +hi DiffText guifg=#00aa00 guibg=#004400 gui=underline ctermfg=028 ctermbg=000 cterm=none +hi Directory guifg=#009330 guibg=#000000 gui=none ctermfg=022 ctermbg=000 cterm=none +hi Error guifg=#000000 guibg=#00d000 gui=none ctermfg=000 ctermbg=010 cterm=none +hi ErrorMsg guifg=#000000 guibg=#00ff00 gui=bold ctermfg=000 ctermbg=010 cterm=none +hi FoldColumn guifg=#00b900 guibg=#000300 gui=none ctermfg=046 ctermbg=016 cterm=none +hi Folded guifg=#00bf00 guibg=#001200 gui=none ctermfg=010 ctermbg=022 cterm=none +hi Identifier guifg=#50d930 guibg=#000000 gui=none ctermfg=028 ctermbg=000 cterm=none +hi IncSearch gui=reverse cterm=reverse +hi LineNr guifg=#007900 guibg=#000600 gui=none ctermfg=034 ctermbg=016 cterm=none +hi MatchParen guifg=#304300 guibg=#00fe00 gui=none ctermfg=010 ctermbg=022 cterm=bold +hi ModeMsg guifg=#00ea00 guibg=#000900 gui=none ctermfg=002 ctermbg=000 cterm=none +hi MoreMsg guifg=#00e700 guibg=#001000 gui=bold ctermfg=002 ctermbg=000 cterm=bold +hi NonText guifg=#008700 guibg=#001000 gui=none ctermfg=022 ctermbg=000 cterm=none +hi Normal guifg=#00a900 guibg=#000000 gui=none ctermfg=002 ctermbg=000 cterm=none +hi Pmenu guifg=#00bf00 guibg=#000a00 gui=none ctermfg=002 ctermbg=000 cterm=none +hi PmenuSbar guifg=#00dc00 guibg=#001c00 gui=none ctermfg=034 ctermbg=022 cterm=none +hi PmenuSel guifg=#00f300 guibg=#002200 gui=none ctermfg=010 ctermbg=022 cterm=none +hi PreProc guifg=#00ac5c guibg=#000000 gui=none ctermfg=047 ctermbg=000 cterm=none +hi Question guifg=#009f00 guibg=#000000 gui=none ctermfg=040 ctermbg=000 cterm=none +hi Search gui=reverse cterm=reverse +hi Special guifg=#00d700 guibg=#001200 gui=none ctermfg=002 ctermbg=000 cterm=none +hi SpecialKey guifg=#008000 guibg=#002300 gui=bold ctermfg=034 ctermbg=000 cterm=bold +hi Statement guifg=#2fc626 guibg=#000000 gui=none ctermfg=010 ctermbg=000 cterm=none +hi StatusLine guifg=#00ff00 guibg=#001000 gui=none ctermfg=047 ctermbg=022 cterm=bold +hi StatusLineNC guifg=#005500 guibg=#001000 gui=none ctermfg=034 ctermbg=022 cterm=none +hi TabLine guifg=#00f400 guibg=#000a00 gui=none ctermfg=040 ctermbg=000 cterm=none +hi TabLineFill guifg=#00ea00 guibg=#000000 gui=none ctermfg=000 ctermbg=000 cterm=none +hi TabLineSel guifg=#00f000 guibg=#002a00 gui=none ctermfg=046 ctermbg=022 cterm=bold +hi Title guifg=#09ab00 guibg=#000000 gui=bold ctermfg=010 ctermbg=000 cterm=bold +hi Todo guifg=#000000 guibg=#00ed00 gui=none ctermfg=000 ctermbg=002 cterm=none +hi Type guifg=#1fb631 guibg=#000000 gui=none ctermfg=046 ctermbg=000 cterm=none +hi Underlined guifg=#00b400 guibg=#000000 gui=underline ctermfg=002 ctermbg=000 cterm=underline +hi VertSplit guifg=#000600 guibg=#001f00 gui=none ctermfg=022 ctermbg=022 cterm=none +hi Visual guibg=#001500 gui=reverse ctermbg=000 cterm=reverse +hi VisualNOS guibg=#002700 gui=reverse ctermbg=022 cterm=reverse +hi WarningMsg guifg=#000000 guibg=#00ff00 gui=none ctermfg=010 ctermbg=000 cterm=none +hi WildMenu guifg=#00cb00 guibg=#000000 gui=reverse ctermfg=000 ctermbg=010 cterm=reverse diff --git a/.vim/colors/grey2.vim b/.vim/colors/grey2.vim new file mode 100644 index 0000000..aae99ae --- /dev/null +++ b/.vim/colors/grey2.vim @@ -0,0 +1,153 @@ +runtime macro/colorConvert.vim +" Set 'background' back to the default. The value can't always be estimated +" and is then guessed. +hi clear Normal +set background=dark + +" Remove all existing highlighting and set the defaults. +hi clear + +" Load the syntax highlighting defaults, if it's enabled. +if exists("syntax_on") + syntax reset +endif + +let colors_name = "grey2" + +if exists( 'g:grey2_text_bg' ) + let s:bg = !!g:grey2_text_bg +else + let s:bg = 1 +endif + + + +" Normal Define Character Constant Todo Label Identifier Keyword Function Question Tag Statement Cursor Search Type Visual Folded Operator Number Comment Directory Title Special Underlined String PreProc SpecialChar Hint Emphasize +" +" CursorLine CursorColumn DiffAdd DiffChange DiffDelete DiffText ErrorMsg FoldColumn Ignore IncSearch LineNr ModeMsg MoreMsg NonText Pmenu PmenuSel SpecialKey VertSplit VisualNOS WarningMsg WildMenu + + + +hi Normal gui=none guifg=#b0b0b0 guibg=#282828 + +hi Define gui=none guifg=#7f3b5d guibg=NONE +hi Character gui=none guifg=#a0576a guibg=NONE +hi Constant gui=none guifg=#c77575 guibg=NONE +hi Todo gui=none guifg=#000000 guibg=#d07c16 +hi Label gui=none guifg=#eba700 guibg=#4c4646 +hi Identifier gui=none guifg=#9f7951 guibg=NONE +hi Keyword gui=none guifg=#d0b020 +hi Function gui=none guifg=#9cc846 guibg=NONE +hi Question gui=none guifg=#82c000 guibg=NONE +hi Tag gui=none guifg=#7b9f63 guibg=NONE +hi Statement gui=none guifg=#65c76a guibg=NONE +hi Cursor gui=none guifg=#000000 guibg=#00ff00 +hi Search gui=none guifg=#ffffff guibg=#4b7435 +hi Type gui=none guifg=#417047 guibg=NONE +hi Visual gui=none guifg=NONE guibg=#304050 +hi Folded gui=none guifg=#667088 guibg=NONE +hi Operator gui=none guifg=#718da7 guibg=NONE +hi Number gui=none guifg=#5b68a8 guibg=#181818 +hi Comment gui=none guifg=#5d5dcb guibg=NONE +hi Directory gui=none guifg=#8080d0 guibg=NONE +hi Title gui=none guifg=#d090f0 guibg=NONE +hi Special gui=none guifg=#6a4ee7 guibg=NONE +hi Underlined gui=underline guifg=#8962ce guibg=NONE +hi PreProc gui=none guifg=#6b33ff guibg=#181818 +hi String gui=none guifg=#7c5ad1 guibg=#1c1c1c + +if !s:bg + hi Number guibg=NONE + hi PreProc guibg=NONE + hi String guibg=NONE +endif + + + + +hi SpecialChar gui=none guifg=NONE guibg=NONE +hi Hint gui=underline guifg=NONE guibg=NONE +hi Emphasize gui=none guifg=#000000 guibg=NONE +hi CursorLine gui=none guibg=#404040 +hi CursorColumn gui=none guibg=#303030 +hi DiffAdd gui=none guifg=NONE guibg=#283734 +hi DiffChange gui=none guifg=NONE guibg=#895b33 +hi DiffDelete gui=none guifg=NONE guibg=#3e535c +hi DiffText gui=none guifg=#dddddd guibg=#cc7733 +hi ErrorMsg gui=none guifg=#ffffff guibg=#880000 +hi FoldColumn gui=none guifg=#507080 guibg=#a0a0a0 +hi Ignore gui=none guifg=#6c6c6c guibg=NONE +hi IncSearch gui=none guifg=NONE guibg=#4c55f8 +hi LineNr gui=none guifg=#535384 guibg=#080808 +hi ModeMsg gui=none guifg=#cbfd4b guibg=NONE +hi MoreMsg gui=none guifg=#47d347 guibg=NONE +hi NonText gui=none guifg=#606060 guibg=NONE +hi Pmenu gui=none guifg=#303030 guibg=#a3a3c4 +hi PmenuSel gui=none guifg=#000000 guibg=#81e781 +hi SpecialKey gui=none guifg=#5c5c5c guibg=NONE +hi VertSplit gui=none guifg=#a7a7a2 guibg=#546292 +hi VisualNOS gui=none guifg=#aaaaaa guibg=#000000 +hi WarningMsg gui=none guifg=#cf2323 guibg=NONE +hi WildMenu gui=none guifg=#ffffff guibg=#506080 + + +hi link Boolean Constant +hi link Float Number +hi link Conditional Statement +hi link Repeat Statement +hi link Exception Statement +hi link Include PreProc +hi link Macro PreProc +hi link PreCondit PreProc +hi link StorageClass Type +hi link Structure Type +hi link Typedef Type +hi link SpecialChar Special +hi link Delimiter Special +hi link SpecialComment Special +hi link Debug Special +hi link vimfunction function + + +hi def link MyTagListTagName Visual +hi def link MyTagListFileName Identifier + +hi link vimVar Identifier + +" ===================================================== +" XPTemplate color setting +" http://www.vim.org/scripts/script.php?script_id=2611 +" ===================================================== + +hi XPTcurrentPH gui=underline guibg=#3c3c3c guifg=NONE +hi XPTfollowingPH gui=underline guibg=NONE guifg=NONE +hi XPTnextItem gui=none guibg=#3e3e68 guifg=#dddddd + + + + + +hi MatchParen gui=none guibg=#244c5c guifg=NONE +" }}} + + + + +hi StatuslineBufNr cterm=none ctermfg=black ctermbg=cyan gui=none guibg=#840c0c guifg=#ffffff +hi StatuslineFlag cterm=none ctermfg=black ctermbg=cyan gui=none guibg=#bc5b4c guifg=#ffffff +hi StatuslinePath cterm=none ctermfg=white ctermbg=green gui=none guibg=#8d6c47 guifg=black +hi StatuslineFileName cterm=none ctermfg=white ctermbg=blue gui=none guibg=#d59159 guifg=black +hi StatuslineFileEnc cterm=none ctermfg=white ctermbg=yellow gui=none guibg=#ffff77 guifg=black +hi StatuslineFileType cterm=bold ctermbg=white ctermfg=black gui=none guibg=#acff84 guifg=black +hi StatuslineTermEnc cterm=none ctermbg=white ctermfg=yellow gui=none guibg=#77cf77 guifg=black +hi StatuslineChar cterm=none ctermbg=white ctermfg=yellow gui=none guibg=#66b06f guifg=black +hi StatuslineSyn cterm=none ctermbg=white ctermfg=yellow gui=none guibg=#60af9f guifg=black +hi StatuslineRealSyn cterm=none ctermbg=white ctermfg=yellow gui=none guibg=#5881b7 guifg=black +hi StatusLine cterm=none ctermbg=white ctermfg=yellow gui=none guibg=#3f4d77 guifg=#729eb0 +hi StatuslineTime cterm=none ctermfg=black ctermbg=cyan gui=none guibg=#3a406e guifg=#000000 +hi StatuslineSomething cterm=reverse ctermfg=white ctermbg=darkred gui=none guibg=#c0c0f0 guifg=black +hi StatusLineNC gui=none guibg=#304050 guifg=#70a0a0 + + + + diff --git a/.vim/colors/greyblue.vim b/.vim/colors/greyblue.vim new file mode 100644 index 0000000..1b3c233 --- /dev/null +++ b/.vim/colors/greyblue.vim @@ -0,0 +1,75 @@ +" Vim color file +" + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "greyblue" + +hi Normal ctermfg=NONE ctermbg=NONE gui=NONE guifg=#b7af9f guibg=#090909 + +" Search +hi IncSearch ctermfg=NONE ctermbg=NONE gui=NONE guifg=#7800ff guibg=#e0d8ff +hi Search ctermfg=NONE ctermbg=NONE gui=NONE guifg=#7800ff guibg=#e0d8ff + +" Messages +hi ErrorMsg ctermfg=NONE ctermbg=NONE gui=NONE guifg=#ffffff guibg=NONE +hi WarningMsg ctermfg=NONE ctermbg=NONE gui=NONE guifg=#ffffff guibg=NONE +hi ModeMsg ctermfg=NONE ctermbg=NONE gui=NONE guifg=#ffffff guibg=NONE +hi MoreMsg ctermfg=NONE ctermbg=NONE gui=NONE guifg=#ffffff guibg=NONE +hi Question ctermfg=NONE ctermbg=NONE gui=NONE guifg=#ffffff guibg=NONE + +" Split area +hi StatusLine ctermfg=NONE ctermbg=NONE gui=BOLD guifg=#070707 guibg=#cfcfbf +hi StatusLineNC ctermfg=NONE ctermbg=NONE gui=BOLD guifg=#5f5f4f guibg=#cfcfbf +hi VertSplit ctermfg=NONE ctermbg=NONE gui=NONE guifg=#070707 guibg=#cfcfbf +hi WildMenu ctermfg=NONE ctermbg=NONE gui=BOLD guifg=#070707 guibg=#ff5533 + +" Diff +hi DiffText ctermfg=NONE ctermbg=NONE gui=NONE guifg=#07cfef guibg=#00151f +hi DiffChange ctermfg=NONE ctermbg=NONE gui=NONE guifg=#ff97ff guibg=#2f002f +hi DiffDelete ctermfg=NONE ctermbg=NONE gui=NONE guifg=#dfdf00 guibg=#370d15 +hi DiffAdd ctermfg=NONE ctermbg=NONE gui=NONE guifg=#dfdf00 guibg=#370d15 + +" Cursor +hi Cursor ctermfg=NONE ctermbg=NONE gui=NONE guifg=#ffff00 guibg=#7fff00 +hi lCursor ctermfg=NONE ctermbg=NONE gui=NONE guifg=#070707 guibg=#7fff00 +hi CursorIM ctermfg=NONE ctermbg=NONE gui=NONE guifg=#070707 guibg=#7fff00 + +" Fold +hi Folded ctermfg=NONE ctermbg=NONE gui=NONE guifg=#87ff00 guibg=#1f2700 +hi FoldColumn ctermfg=NONE ctermbg=NONE gui=NONE guifg=#559f00 guibg=#0f0f0b + +" Other +hi Directory ctermfg=NONE ctermbg=NONE gui=NONE guifg=#aaaaba guibg=NONE +hi LineNr ctermfg=NONE ctermbg=NONE gui=NONE guifg=#7f7f5f guibg=NONE +hi NonText ctermfg=NONE ctermbg=NONE gui=BOLD guifg=#211d1a guibg=#211d1a +hi SpecialKey ctermfg=NONE ctermbg=NONE gui=NONE guifg=#378fff guibg=NONE +hi Title ctermfg=NONE ctermbg=NONE gui=NONE guifg=#ffbf9f guibg=#370f07 +hi Visual ctermfg=NONE ctermbg=NONE gui=reverse guifg=#a5a5a5 guibg=#353535 + +" Syntax group +hi Comment ctermfg=NONE ctermbg=NONE gui=BOLD guifg=#555565 guibg=NONE +hi Constant ctermfg=NONE ctermbg=NONE gui=NONE guifg=#d1bfb1 guibg=#151515 +hi Error ctermfg=NONE ctermbg=NONE gui=NONE guifg=#00ffff guibg=NONE +hi Identifier ctermfg=NONE ctermbg=NONE gui=NONE guifg=#aaaaba guibg=NONE +hi Ignore ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE +hi PreProc ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE +hi Special ctermfg=NONE ctermbg=NONE gui=NONE guifg=#aa1565 guibg=NONE +hi Statement ctermfg=NONE ctermbg=NONE gui=bold guifg=#d1bfb1 guibg=NONE +hi Todo ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE +hi Type ctermfg=NONE ctermbg=NONE gui=BOLD guifg=#d1bfb1 guibg=NONE +hi Underlined ctermfg=NONE ctermbg=NONE gui=UNDERLINE guifg=NONE guibg=NONE + +" HTML +hi htmlLink gui=UNDERLINE guifg=#ffff00 guibg=NONE +hi htmlBold gui=BOLD +hi htmlBoldItalic gui=BOLD,ITALIC +hi htmlBoldUnderline gui=BOLD,UNDERLINE +hi htmlBoldUnderlineItalic gui=BOLD,UNDERLINE,ITALIC +hi htmlItalic gui=ITALIC +hi htmlUnderline gui=UNDERLINE +hi htmlUnderlineItalic gui=UNDERLINE,ITALIC diff --git a/.vim/colors/guardian.vim b/.vim/colors/guardian.vim new file mode 100644 index 0000000..5bba649 --- /dev/null +++ b/.vim/colors/guardian.vim @@ -0,0 +1,103 @@ +" Vim color file +" Maintainer: Anders Korte +" Last Change: 6 Apr 2005 + +" Guardian color scheme 1.2 + +" Rich-syntax colors for source editing and other vimming. + +set background=dark +hi clear +syntax reset + +" Colors for the User Interface. + +hi Cursor guibg=#cc4455 guifg=white gui=bold ctermbg=4 ctermfg=15 +hi link CursorIM Cursor +hi Normal guibg=#332211 guifg=white gui=none ctermbg=0 ctermfg=15 +hi NonText guibg=#445566 guifg=#ffeecc gui=bold ctermbg=8 ctermfg=14 +hi Visual guibg=#557799 guifg=white gui=none ctermbg=9 ctermfg=15 + +hi Linenr guibg=bg guifg=#aaaaaa gui=none ctermbg=bg ctermfg=7 + +hi Directory guibg=bg guifg=#337700 gui=none ctermbg=bg ctermfg=10 + +hi IncSearch guibg=#0066cc guifg=white gui=none ctermbg=1 ctermfg=15 +hi link Seach IncSearch + +hi SpecialKey guibg=bg guifg=fg gui=none ctermbg=bg ctermfg=fg +hi Titled guibg=bg guifg=fg gui=none ctermbg=bg ctermfg=fg + +hi ErrorMsg guibg=bg guifg=#ff0000 gui=bold ctermbg=bg ctermfg=12 +hi ModeMsg guibg=bg guifg=#ffeecc gui=none ctermbg=bg ctermfg=14 +hi link MoreMsg ModeMsg +hi Question guibg=bg guifg=#ccffcc gui=bold ctermbg=bg ctermfg=10 +hi link WarningMsg ErrorMsg + +hi StatusLine guibg=#ffeecc guifg=black gui=bold ctermbg=14 ctermfg=0 +hi StatusLineNC guibg=#cc4455 guifg=white gui=none ctermbg=4 ctermfg=11 +hi VertSplit guibg=#cc4455 guifg=white gui=none ctermbg=4 ctermfg=11 + +hi DiffAdd guibg=#446688 guifg=fg gui=none ctermbg=1 ctermfg=fg +hi DiffChange guibg=#558855 guifg=fg gui=none ctermbg=2 ctermfg=fg +hi DiffDelete guibg=#884444 guifg=fg gui=none ctermbg=4 ctermfg=fg +hi DiffText guibg=#884444 guifg=fg gui=bold ctermbg=4 ctermfg=fg + +" Colors for Syntax Highlighting. + +hi Comment guibg=#334455 guifg=#dddddd gui=none ctermbg=8 ctermfg=7 + +hi Constant guibg=bg guifg=white gui=bold ctermbg=8 ctermfg=15 +hi String guibg=bg guifg=#ffffcc gui=italic ctermbg=bg ctermfg=14 +hi Character guibg=bg guifg=#ffffcc gui=bold ctermbg=bg ctermfg=14 +hi Number guibg=bg guifg=#bbddff gui=bold ctermbg=1 ctermfg=15 +hi Boolean guibg=bg guifg=#bbddff gui=none ctermbg=1 ctermfg=15 +hi Float guibg=bg guifg=#bbddff gui=bold ctermbg=1 ctermfg=15 + +hi Identifier guibg=bg guifg=#ffddaa gui=bold ctermbg=bg ctermfg=12 +hi Function guibg=bg guifg=#ffddaa gui=bold ctermbg=bg ctermfg=12 +hi Statement guibg=bg guifg=#ffffcc gui=bold ctermbg=bg ctermfg=14 + +hi Conditional guibg=bg guifg=#ff6666 gui=bold ctermbg=bg ctermfg=12 +hi Repeat guibg=bg guifg=#ff9900 gui=bold ctermbg=4 ctermfg=14 +hi Label guibg=bg guifg=#ffccff gui=bold ctermbg=bg ctermfg=13 +hi Operator guibg=bg guifg=#cc9966 gui=bold ctermbg=6 ctermfg=15 +hi Keyword guibg=bg guifg=#66ffcc gui=bold ctermbg=bg ctermfg=10 +hi Exception guibg=bg guifg=#66ffcc gui=bold ctermbg=bg ctermfg=10 + +hi PreProc guibg=bg guifg=#ffcc99 gui=bold ctermbg=4 ctermfg=14 +hi Include guibg=bg guifg=#99cc99 gui=bold ctermbg=bg ctermfg=10 +hi link Define Include +hi link Macro Include +hi link PreCondit Include + +hi Type guibg=bg guifg=#ff7788 gui=bold ctermbg=bg ctermfg=12 +hi StorageClass guibg=bg guifg=#99cc99 gui=bold ctermbg=bg ctermfg=10 +hi Structure guibg=bg guifg=#99ff99 gui=bold ctermbg=bg ctermfg=10 +hi Typedef guibg=bg guifg=#99cc99 gui=italic ctermbg=bg ctermfg=10 + +hi Special guibg=bg guifg=#bbddff gui=bold ctermbg=1 ctermfg=15 +hi SpecialChar guibg=bg guifg=#bbddff gui=bold ctermbg=1 ctermfg=15 +hi Tag guibg=bg guifg=#bbddff gui=bold ctermbg=1 ctermfg=15 +hi Delimiter guibg=bg guifg=fg gui=bold ctermbg=1 ctermfg=fg +hi SpecialComment guibg=#334455 guifg=#dddddd gui=italic ctermbg=1 ctermfg=15 +hi Debug guibg=bg guifg=#ff9999 gui=none ctermbg=8 ctermfg=12 + +hi Underlined guibg=bg guifg=#99ccff gui=underline ctermbg=bg ctermfg=9 cterm=underline + +hi Title guibg=#445566 guifg=white gui=bold ctermbg=1 ctermfg=15 +hi Ignore guibg=bg guifg=#cccccc gui=italic ctermbg=bg ctermfg=8 +hi Error guibg=#ff0000 guifg=white gui=bold ctermbg=12 ctermfg=15 +hi Todo guibg=#556677 guifg=#ff0000 gui=bold ctermbg=1 ctermfg=12 + +hi htmlH2 guibg=bg guifg=fg gui=bold ctermbg=8 ctermfg=fg +hi link htmlH3 htmlH2 +hi link htmlH4 htmlH3 +hi link htmlH5 htmlH4 +hi link htmlH6 htmlH5 + +" And finally. + +let g:colors_name = "Guardian" +let colors_name = "Guardian" + diff --git a/.vim/colors/guepardo.vim b/.vim/colors/guepardo.vim new file mode 100644 index 0000000..34e61af --- /dev/null +++ b/.vim/colors/guepardo.vim @@ -0,0 +1,123 @@ + + +" local syntax file - set colors on a per-machine basis: +" vim: tw=0 ts=4 sw=4 +" Vim color file +" Maintainer: Omar Gomez +" Last Change: 2009 Jan 09 + +" Header +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "guepardo" + +" Colors +" Grays: +" fcfcfc: Very light gray +" 7f7f7f: Strong gray +" e4e5e4: Pale gray +" +" Blues: +" 5181ab: Greyish blue +" 0064f3: Strong blue +" deefff: Pale blue +" 0086b5: Deep blue + +" Violet: +" 4970cc: Deep purple + +"Orange: +" d66715: Burnt Orange +" ff8d03: Deep orange + +"Brown: +"894c24: brown + +"Green +" 1ca330: Deep green + +hi Normal guifg=#000000 guibg=#fcfcfc "Very Light Grey +hi Title guifg=#894c24 "Brown +hi Comment gui=italic guifg=#5181ab "Greish blue +hi String guifg=#7f7f7f "Strong gray +hi Constant guifg=#5181ab "Greysh blue +hi pythonBuiltin guifg=#5181ab "Greysh blue +hi Special guifg=#4970cc "Deep purple +hi Identifier guifg=#1ca330 "Deep green +hi Statement gui=bold guifg=#0086b5 "Deep blue +hi PreProc gui=bold guifg=#4900cc "Deep purple +hi Type gui=bold guifg=#0086b5 "Deep blue +hi Function gui=bold guifg=#0086b5 "Deep blue +hi Repeat gui=bold guifg=Black +hi Error guibg=Red guifg=White +hi Todo guibg=#5181ab guifg=#ffffff "Greish blue +hi Cursor guibg=#0064f3 guifg=#ffffff "Strong blue +hi Include guifg=#894c24 "Brown + +"Python +hi pythonStatement guifg=#0086b5 "Deep blue +hi pythonImport guifg=#894c24 +hi pythonRepeat gui=bold guifg=Black " Python Repeat : for, while, etc. +hi pythonConditional gui=bold guifg=Black " Python conditonnal : if, elif, else, then +hi pythonPrecondit guifg=#894c24 " python Precondit : import from +hi pythonOperator gui=bold guifg=Black " pythonOperator : and, in, is, not, or +hi pythonComment gui=italic guifg=#5181ab "Greish blue +hi pythonRawString guifg=#4970cc " Python raw strings + +"Gui: +hi LineNr guibg=#5181ab guifg=#ffffff +hi Visual guibg=#0064f3 guifg=#ffffff +hi StatusLine guibg=#ffffff guifg=#5181ab +hi StatusLineNC guibg=#ffffff guifg=#5181ab +hi Folded guibg=#5181ab guifg=#ffffff +hi FoldColumn guibg=#5181ab guifg=#ffffff + +hi MatchParen guibg=#ff8d03 guifg=White +hi CursorLine guibg=#deefff +hi Search guibg=White guifg=#ff8d03 +hi IncSearch guibg=White guifg=#ff8d03 +hi SpecialKey guifg=#4970cc +hi WarningMsg guibg=Red guifg=White +hi Menu guibg=#ff6a6a guifg=#000000 +hi Pmenu guibg=#babdb6 guifg=#555753 +hi PmenuSel guibg=#eeeeee guifg=#2e3436 +hi Ignore guifg=#7f7f7f + + +" Common groups that link to default highlighting. +" You can specify other highlighting easily. +hi! default link Operator Type +hi! default link Character String +hi! default link Number Constant +hi! default link Boolean Constant +hi! default link Float Number +hi! default link Conditional Repeat +hi! default link Label Statement +hi! default link Keyword Statement +hi! default link Exception Special +hi! default link Include PreProc +hi! default link Define PreProc +hi! default link Macro PreProc +hi! default link PreCondit PreProc +hi! default link StorageClass Type +hi! default link Structure Type +hi! default link Typedef Type +hi! default link Tag Special +hi! default link SpecialChar Special +hi! default link Delimiter Special +hi! default link SpecialComment Special +hi! default link Debug Special +hi! default link Directory MatchParen +hi! default link NonText LineNr + +hi! default link ModeMsg LineNr +hi! default link MoreMsg LineNr +" ===== Statements +hi! default link Underlined Special + + +" pythonException: + diff --git a/.vim/colors/h80.vim b/.vim/colors/h80.vim new file mode 100644 index 0000000..9f15e2a --- /dev/null +++ b/.vim/colors/h80.vim @@ -0,0 +1,44 @@ +" author Helder Correia < helder (.) pereira (.) correia (@) gmail (.) com > +" version 1.0 +" feel free to modify and/or redistribute this file + +set background=dark + +hi clear + +if exists( "syntax_on" ) + syntax reset +endif + +let g:colors_name="h80" + +hi Normal guifg=White guibg=#000020 + +" highlight groups +hi Cursor guifg=#e3e3e3 guibg=#D74141 +hi VertSplit guifg=#075554 guibg=#C0FFFF gui=none +hi Folded guifg=black guibg=#FFC0C0 +hi FoldColumn guifg=tan guibg=#800080 +hi ModeMsg guifg=#404040 guibg=#C0C0C0 +hi MoreMsg guifg=darkturquoise guibg=#188F90 +hi NonText guifg=#9FADC5 guibg=#334C75 +hi Question guifg=#F4BB7E +hi Search guifg=bg guibg=fg +hi SpecialKey guifg=#BF9261 +hi StatusLine guifg=#c0ffff guibg=#004443 gui=none +hi StatusLineNC guifg=#004443 guibg=#067C7B gui=bold +hi Title guifg=#8DB8C3 +hi Visual guifg=black guibg=#C0FFC0 gui=bold +hi WarningMsg guifg=#F60000 gui=underline + +" syntax highlighting groups +hi Comment guifg=#666666 gui=italic +hi Constant guifg=#A9EE5A gui=bold,italic +hi Identifier guifg=#555555 +hi Function guifg=#555555 +hi Statement guifg=#ff9742 gui=bold,italic +hi PreProc guifg=#F9449A +hi Type guifg=#55AAFF gui=bold,italic +hi Special guifg=#A9EE8A +hi Todo guifg=#FFFFFF guibg=#FF0000 + diff --git a/.vim/colors/habiLight.vim b/.vim/colors/habiLight.vim new file mode 100644 index 0000000..ea294f5 --- /dev/null +++ b/.vim/colors/habiLight.vim @@ -0,0 +1,138 @@ +" Vim color file +" A version of nuvola.vim colorscheme, original by Dr. J. Pfefferl +" I changed some colors and added some highlights for C and Vim 7 + +" vim: tw=0 ts=4 sw=4 +" Maintainer: Christian Habermann +" Email: christian( at )habermann-net( point )de +" Version: 1.2 +" History: 1.2: nicer colors for paren matching +" 1.1: Vim 7 support added (completion, spell checker, paren, tabs) +" 1.0: initial version +" +" Intro {{{1 +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "habiLight" + +" Normal {{{1 +hi Normal ctermfg=black ctermbg=NONE guifg=black guibg=#F9F5F9 + +" Search {{{1 +hi IncSearch cterm=UNDERLINE ctermfg=Black ctermbg=brown gui=UNDERLINE guifg=Black guibg=#FFE568 +hi Search term=reverse cterm=UNDERLINE ctermfg=Black ctermbg=brown gui=NONE guifg=Black guibg=#FFE568 + +" Messages {{{1 +hi ErrorMsg gui=BOLD guifg=#EB1513 guibg=NONE +hi! link WarningMsg ErrorMsg +hi ModeMsg gui=BOLD guifg=#0070ff guibg=NONE +hi MoreMsg guibg=NONE guifg=seagreen +hi! link Question MoreMsg + +" Split area {{{1 +hi StatusLine term=BOLD,reverse cterm=NONE ctermfg=Yellow ctermbg=DarkGray gui=BOLD guibg=#56A0EE guifg=white +hi StatusLineNC gui=NONE guibg=#56A0EE guifg=#E9E9F4 +hi! link VertSplit StatusLineNC +hi WildMenu gui=UNDERLINE guifg=#56A0EE guibg=#E9E9F4 + +" Diff {{{1 +hi DiffText gui=NONE guifg=#f83010 guibg=#ffeae0 +hi DiffChange gui=NONE guifg=#006800 guibg=#d0ffd0 +hi DiffDelete gui=NONE guifg=#2020ff guibg=#c8f2ea +hi! link DiffAdd DiffDelete + +" Cursor {{{1 +hi Cursor gui=none guifg=black guibg=orange +"hi lCursor gui=NONE guifg=#f8f8f8 guibg=#8000ff +hi CursorIM gui=NONE guifg=#f8f8f8 guibg=#8000ff + +" Fold {{{1 +hi Folded gui=NONE guibg=#B5EEB5 guifg=black +"hi FoldColumn gui=NONE guibg=#9FD29F guifg=black +hi! link FoldColumn Folded + +" Other {{{1 +hi Directory gui=NONE guifg=#0000ff guibg=NONE +hi LineNr gui=NONE guifg=#8080a0 guibg=NONE +hi NonText gui=BOLD guifg=#4000ff guibg=#EFEFF7 +"hi SpecialKey gui=NONE guifg=#A35B00 guibg=NONE +hi Title gui=BOLD guifg=#1014AD guibg=NONE +hi Visual term=reverse ctermfg=yellow ctermbg=black gui=NONE guifg=Black guibg=#BDDFFF +hi VisualNOS term=reverse ctermfg=yellow ctermbg=black gui=UNDERLINE guifg=Black guibg=#BDDFFF + +" Syntax group {{{1 +hi Comment term=BOLD ctermfg=darkgray guifg=darkcyan +hi Constant term=UNDERLINE ctermfg=red guifg=#B91F49 +hi Error term=REVERSE ctermfg=15 ctermbg=9 guibg=Red guifg=White +hi Identifier term=UNDERLINE ctermfg=Blue guifg=Blue +hi Number term=UNDERLINE ctermfg=red gui=NONE guifg=#00C226 +hi PreProc term=UNDERLINE ctermfg=darkblue guifg=#1071CE +hi Special term=BOLD ctermfg=darkmagenta guifg=red2 +hi Statement term=BOLD ctermfg=DarkRed gui=NONE guifg=#F06F00 +hi Tag term=BOLD ctermfg=DarkGreen guifg=DarkGreen +hi Todo term=STANDOUT ctermbg=Yellow ctermfg=blue guifg=Blue guibg=Yellow +hi Type term=UNDERLINE ctermfg=Blue gui=NONE guifg=Blue +hi! link String Constant +hi! link Character Constant +hi! link Boolean Constant +hi! link Float Number +hi! link Function Identifier +hi! link Conditional Statement +hi! link Repeat Statement +hi! link Label Statement +hi! link Operator Statement +hi! link Keyword Statement +hi! link Exception 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 SpecialChar Special +hi! link Delimiter Special +hi! link SpecialComment Special +hi! link Debug Special + +" HTML {{{1 +hi htmlLink gui=UNDERLINE guifg=#0000ff guibg=NONE +hi htmlBold gui=BOLD +hi htmlBoldItalic gui=BOLD,ITALIC +hi htmlBoldUnderline gui=BOLD,UNDERLINE +hi htmlBoldUnderlineItalic gui=BOLD,UNDERLINE,ITALIC +hi htmlItalic gui=ITALIC +hi htmlUnderline gui=UNDERLINE +hi htmlUnderlineItalic gui=UNDERLINE,ITALIC + +" Tabs {{{1 +highlight TabLine term=underline cterm=underline ctermfg=0 ctermbg=7 gui=underline guibg=LightGrey +highlight TabLineFill term=reverse cterm=reverse gui=reverse +highlight TabLineSel term=bold cterm=bold gui=bold + +" Spell Checker {{{1 +if v:version >= 700 + highlight SpellBad term=reverse ctermbg=12 gui=undercurl guisp=Red + highlight SpellCap term=reverse ctermbg=9 gui=undercurl guisp=Blue + highlight SpellRare term=reverse ctermbg=13 gui=undercurl guisp=Magenta + highlight SpellLocale term=underline ctermbg=11 gui=undercurl guisp=DarkCyan +endif + +" Completion {{{1 +highlight Pmenu ctermbg=13 guifg=Black guibg=#BDDFFF +highlight PmenuSel ctermbg=7 guifg=Black guibg=Orange +highlight PmenuSbar ctermbg=7 guifg=#CCCCCC guibg=#CCCCCC +highlight PmenuThumb cterm=reverse gui=reverse guifg=Black guibg=#AAAAAA + +" Misc {{{1 +highlight KDE guifg=magenta gui=NONE +highlight mySpecialSymbols guifg=magenta gui=NONE + + +highlight MatchParen term=reverse ctermbg=11 gui=bold guibg=#B5EEB5 guifg=black + + +" vim600:foldmethod=marker diff --git a/.vim/colors/heliotrope.vim b/.vim/colors/heliotrope.vim new file mode 100644 index 0000000..438fea7 --- /dev/null +++ b/.vim/colors/heliotrope.vim @@ -0,0 +1,58 @@ +" Heliotrope color theme for Vim, version 0.0.1 +" by Antoine Kalmbach + +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "heliotrope" + +hi CursorLine guibg=#cccccc +hi CursorColumn guibg=#cccccc +hi MatchParen guifg=white guibg=#A62300 gui=bold +hi TabLine guifg=white guibg=#A62300 gui=italic +hi TabLineFill guifg=white +hi TabLineSel guifg=white guibg=#dd1144 gui=bold +hi Pmenu guifg=white guibg=#B92503 gui=bold +hi Title guifg=#202020 gui=bold +hi Underlined guifg=#202020 gui=underline +hi Cursor guifg=white guibg=#333333 +hi lCursor guifg=black guibg=white +hi LineNr guifg=#032506 guibg=#e3f8f2 +hi Normal guifg=#000000 guibg=#ffffff +hi StatusLine guifg=#032506 guibg=#82b687 gui=bold +hi StatusLineNC guifg=#032506 guibg=#82b687 gui=bold +hi VertSplit guifg=#82b687 guibg=#82b687 gui=bold +hi Folded guifg=#111111 guibg=white +hi Keyword guifg=green gui=bold +hi PreProc guifg=#111111 gui=bold +hi NonText guifg=#111111 guibg=white +hi Comment guifg=#555555 gui=bold,italic +hi Constant guifg=#007633 gui=bold +hi String guifg=#a65A00 +hi Number guifg=#034569 +hi Float guifg=#0088BB +hi Statement guifg=#111111 gui=bold +hi Type guifg=#0d4c15 +hi Structure guifg=black gui=bold +hi Function guifg=#B92503 gui=bold +hi Identifier guifg=#445588 gui=bold +hi Repeat guifg=#222222 gui=bold +hi Conditional guifg=#222222 gui=bold +hi Define guifg=#222222 gui=bold +hi Error guifg=white guibg=#990022 gui=none +hi Todo guifg=white guibg=#206876 gui=bold,underline +hi Special guifg=#007633 +hi Operator guifg=#222222 gui=bold +hi SpecialKey guifg=#994400 guibg=#e8e8e8 gui=bold +hi DiffChange guifg=NONE guibg=#e0e0e0 gui=italic,bold +hi DiffText guifg=NONE guibg=#e0e0e0 gui=italic,bold +hi DiffAdd guifg=NONE guibg=#c0e0d0 gui=italic,bold +hi DiffDelete guifg=NONE guibg=#e0c0b0 gui=italic,bold +" MiniBufExplorer stuff (I LOVE this plugin!) {{{ +hi MBENormal guifg=#333333 guibg=#e3f8f2 gui=none +hi MBEChanged guifg=#B92503 guibg=#e3f8f2 gui=bold +hi MBEVisibleNormal guifg=white guibg=#82b687 +hi MBEVisibleChanged guifg=#880000 guibg=#82b687 gui=bold +" }}} diff --git a/.vim/colors/herald.vim b/.vim/colors/herald.vim new file mode 100644 index 0000000..23bab56 --- /dev/null +++ b/.vim/colors/herald.vim @@ -0,0 +1,385 @@ +" Vim color file +" Name: herald.vim +" Author: Fabio Cevasco +" Version: 0.2.0 +" Notes: Supports 8, 16, 256 and 16,777,216 (RGB) color modes + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "herald" + +set background=dark + +" Set some syntax-related variables +let ruby_operators = 1 + +if has("gui_running") + + " -> Text; Miscellaneous + hi Normal guibg=#1F1F1F guifg=#D0D0D0 gui=none + hi SpecialKey guibg=#1F1F1F guifg=#E783E9 gui=none + hi VertSplit guibg=#1F1F1F guifg=#FFEE68 gui=none + hi SignColumn guibg=#1F1F1F guifg=#BF81FA gui=none + hi NonText guibg=#1F1F1F guifg=#FC6984 gui=none + hi Directory guibg=#1F1F1F guifg=#FFEE68 gui=none + hi Title guibg=#1F1F1F guifg=#6DF584 gui=bold + + " -> Cursor + hi Cursor guibg=#FFEE68 guifg=#1F1F1F gui=none + hi CursorIM guibg=#FFEE68 guifg=#1F1F1F gui=none + hi CursorColumn guibg=#000000 gui=none + hi CursorLine guibg=#000000 gui=none + + " -> Folding + hi FoldColumn guibg=#001336 guifg=#003DAD gui=none + hi Folded guibg=#001336 guifg=#003DAD gui=none + + " -> Line info + hi LineNr guibg=#000000 guifg=#696567 gui=none + hi StatusLine guibg=#000000 guifg=#696567 gui=none + hi StatusLineNC guibg=#25365a guifg=#696567 gui=none + + " -> Messages + hi ErrorMsg guibg=#A32024 guifg=#D0D0D0 gui=none + hi Question guibg=#1F1F1F guifg=#FFA500 gui=none + hi WarningMsg guibg=#FFA500 guifg=#000000 gui=none + hi MoreMsg guibg=#1F1F1F guifg=#FFA500 gui=none + hi ModeMsg guibg=#1F1F1F guifg=#FFA500 gui=none + + " -> Search + hi Search guibg=#696567 guifg=#FFEE68 gui=none + hi IncSearch guibg=#696567 guifg=#FFEE68 gui=none + + " -> Diff + hi DiffAdd guibg=#006124 guifg=#ED9000 gui=none + hi DiffChange guibg=#0B294A guifg=#A36000 gui=none + hi DiffDelete guibg=#081F38 guifg=#ED9000 gui=none + hi DiffText guibg=#12457D guifg=#ED9000 gui=underline + + " -> Menu + hi Pmenu guibg=#140100 guifg=#660300 gui=none + hi PmenuSel guibg=#F17A00 guifg=#4C0200 gui=none + hi PmenuSbar guibg=#430300 gui=none + hi PmenuThumb guibg=#720300 gui=none + hi PmenuSel guibg=#F17A00 guifg=#4C0200 gui=none + + " -> Tabs + hi TabLine guibg=#141414 guifg=#1F1F1F gui=none + hi TabLineFill guibg=#000000 gui=none + hi TabLineSel guibg=#1F1F1F guifg=#D0D0D0 gui=bold + " + " -> Visual Mode + hi Visual guibg=#000000 guifg=#FFB539 gui=none + hi VisualNOS guibg=#000000 guifg=#696567 gui=none + + " -> Code + hi Comment guibg=#1F1F1F guifg=#696567 gui=none + hi Constant guibg=#1F1F1F guifg=#6DF584 gui=none + hi String guibg=#1F1F1F guifg=#FFB539 gui=none + hi Error guibg=#1F1F1F guifg=#FC4234 gui=none + hi Identifier guibg=#1F1F1F guifg=#70BDF1 gui=none + hi Function guibg=#1F1F1F guifg=#90CBF1 gui=none + hi Ignore guibg=#1F1F1F guifg=#1F1F1F gui=none + hi MatchParen guibg=#FFA500 guifg=#1F1F1F gui=none + hi PreProc guibg=#1F1F1F guifg=#BF81FA gui=none + hi Special guibg=#1F1F1F guifg=#FFEE68 gui=none + hi Todo guibg=#1F1F1F guifg=#FC4234 gui=bold + hi Underlined guibg=#1F1F1F guifg=#FC4234 gui=underline + hi Statement guibg=#1F1F1F guifg=#E783E9 gui=none + hi Operator guibg=#1F1F1F guifg=#FC6984 gui=none + hi Delimiter guibg=#1F1F1F guifg=#FC6984 gui=none + hi Type guibg=#1F1F1F guifg=#FFEE68 gui=none + hi Exception guibg=#1F1F1F guifg=#FC4234 gui=none + + " -> HTML-specific + hi htmlBold guibg=#1F1F1F guifg=#D0D0D0 gui=bold + hi htmlBoldItalic guibg=#1F1F1F guifg=#D0D0D0 gui=bold,italic + hi htmlBoldUnderline guibg=#1F1F1F guifg=#D0D0D0 gui=bold,underline + hi htmlBoldUnderlineItalic guibg=#1F1F1F guifg=#D0D0D0 gui=bold,underline,italic + hi htmlItalic guibg=#1F1F1F guifg=#D0D0D0 gui=italic + hi htmlUnderline guibg=#1F1F1F guifg=#D0D0D0 gui=underline + hi htmlUnderlineItalic guibg=#1F1F1F guifg=#D0D0D0 gui=underline,italic + +elseif &t_Co == 256 + + " -> Text; Miscellaneous + hi Normal ctermbg=234 ctermfg=252 cterm=none + hi SpecialKey ctermbg=234 ctermfg=176 cterm=none + hi VertSplit ctermbg=234 ctermfg=227 cterm=none + hi SignColumn ctermbg=234 ctermfg=141 cterm=none + hi NonText ctermbg=234 ctermfg=204 cterm=none + hi Directory ctermbg=234 ctermfg=227 cterm=none + hi Title ctermbg=234 ctermfg=84 cterm=bold + + " -> Cursor + hi Cursor ctermbg=227 ctermfg=234 cterm=none + hi CursorIM ctermbg=227 ctermfg=234 cterm=none + hi CursorColumn ctermbg=0 cterm=none + hi CursorLine ctermbg=0 cterm=none + + " -> Folding + hi FoldColumn ctermbg=234 ctermfg=25 cterm=none + hi Folded ctermbg=234 ctermfg=25 cterm=none + + " -> Line info + hi LineNr ctermbg=0 ctermfg=241 cterm=none + hi StatusLine ctermbg=0 ctermfg=241 cterm=none + hi StatusLineNC ctermbg=237 ctermfg=241 cterm=none + + " -> Messages + hi ErrorMsg ctermbg=124 ctermfg=252 cterm=none + hi Question ctermbg=234 ctermfg=214 cterm=none + hi WarningMsg ctermbg=214 ctermfg=0 cterm=none + hi MoreMsg ctermbg=234 ctermfg=214 cterm=none + hi ModeMsg ctermbg=234 ctermfg=214 cterm=none + + " -> Search + hi Search ctermbg=241 ctermfg=227 cterm=none + hi IncSearch ctermbg=241 ctermfg=227 cterm=none + + " -> Diff + hi DiffAdd ctermbg=22 ctermfg=208 cterm=none + hi DiffChange ctermbg=235 ctermfg=130 cterm=none + hi DiffDelete ctermbg=234 ctermfg=208 cterm=none + hi DiffText ctermbg=24 ctermfg=208 cterm=underline + + " -> Menu + hi Pmenu ctermbg=0 ctermfg=52 cterm=none + hi PmenuSel ctermbg=208 ctermfg=52 cterm=none + hi PmenuSbar ctermbg=52 cterm=none + hi PmenuThumb ctermbg=52 cterm=none + hi PmenuSel ctermbg=208 ctermfg=52 cterm=none + + " -> Tabs + hi TabLine ctermbg=233 ctermfg=234 cterm=none + hi TabLineFill ctermbg=0 cterm=none + hi TabLineSel ctermbg=234 ctermfg=252 cterm=bold + " + " -> Visual Mode + hi Visual ctermbg=0 ctermfg=215 cterm=none + hi VisualNOS ctermbg=0 ctermfg=241 cterm=none + + " -> Code + hi Comment ctermbg=234 ctermfg=241 cterm=none + hi Constant ctermbg=234 ctermfg=84 cterm=none + hi String ctermbg=234 ctermfg=215 cterm=none + hi Error ctermbg=234 ctermfg=203 cterm=none + hi Identifier ctermbg=234 ctermfg=75 cterm=none + hi Function ctermbg=234 ctermfg=117 cterm=none + hi Ignore ctermbg=234 ctermfg=234 cterm=none + hi MatchParen ctermbg=214 ctermfg=234 cterm=none + hi PreProc ctermbg=234 ctermfg=141 cterm=none + hi Special ctermbg=234 ctermfg=227 cterm=none + hi Todo ctermbg=234 ctermfg=203 cterm=bold + hi Underlined ctermbg=234 ctermfg=203 cterm=underline + hi Statement ctermbg=234 ctermfg=176 cterm=none + hi Operator ctermbg=234 ctermfg=204 cterm=none + hi Delimiter ctermbg=234 ctermfg=204 cterm=none + hi Type ctermbg=234 ctermfg=227 cterm=none + hi Exception ctermbg=234 ctermfg=203 cterm=none + + " -> HTML-specific + hi htmlBold ctermbg=234 ctermfg=252 cterm=bold + hi htmlBoldItalic ctermbg=234 ctermfg=252 cterm=bold,italic + hi htmlBoldUnderline ctermbg=234 ctermfg=252 cterm=bold,underline + hi htmlBoldUnderlineItalic ctermbg=234 ctermfg=252 cterm=bold,underline,italic + hi htmlItalic ctermbg=234 ctermfg=252 cterm=italic + hi htmlUnderline ctermbg=234 ctermfg=252 cterm=underline + hi htmlUnderlineItalic ctermbg=234 ctermfg=252 cterm=underline,italic + +elseif &t_Co == 16 + + " -> Text; Miscellaneous + hi Normal ctermbg=8 ctermfg=15 cterm=none + hi SpecialKey ctermbg=8 ctermfg=5 cterm=none + hi VertSplit ctermbg=8 ctermfg=14 cterm=none + hi SignColumn ctermbg=8 ctermfg=5 cterm=none + hi NonText ctermbg=8 ctermfg=4 cterm=none + hi Directory ctermbg=8 ctermfg=14 cterm=none + hi Title ctermbg=8 ctermfg=10 cterm=bold + + " -> Cursor + hi Cursor ctermbg=14 ctermfg=8 cterm=none + hi CursorIM ctermbg=14 ctermfg=8 cterm=none + hi CursorColumn ctermbg=0 cterm=none + hi CursorLine ctermbg=0 cterm=none + + " -> Folding + hi FoldColumn ctermbg=0 ctermfg=1 cterm=none + hi Folded ctermbg=0 ctermfg=1 cterm=none + + " -> Line info + hi LineNr ctermbg=0 ctermfg=7 cterm=none + hi StatusLine ctermbg=0 ctermfg=7 cterm=none + hi StatusLineNC ctermbg=0 ctermfg=7 cterm=none + + " -> Messages + hi ErrorMsg ctermbg=4 ctermfg=7 cterm=none + hi Question ctermbg=8 ctermfg=14 cterm=none + hi WarningMsg ctermbg=14 ctermfg=0 cterm=none + hi MoreMsg ctermbg=8 ctermfg=14 cterm=none + hi ModeMsg ctermbg=8 ctermfg=14 cterm=none + + " -> Search + hi Search ctermbg=7 ctermfg=14 cterm=none + hi IncSearch ctermbg=7 ctermfg=14 cterm=none + + " -> Diff + hi DiffAdd ctermbg=0 ctermfg=10 cterm=none + hi DiffChange ctermbg=0 ctermfg=14 cterm=none + hi DiffDelete ctermbg=0 ctermfg=12 cterm=none + hi DiffText ctermbg=1 ctermfg=14 cterm=underline + + " -> Menu + hi Pmenu ctermbg=0 ctermfg=4 cterm=none + hi PmenuSel ctermbg=14 ctermfg=4 cterm=none + hi PmenuSbar ctermbg=0 cterm=none + hi PmenuThumb ctermbg=4 cterm=none + hi PmenuSel ctermbg=14 ctermfg=4 cterm=none + + " -> Tabs + hi TabLine ctermbg=7 ctermfg=8 cterm=none + hi TabLineFill ctermbg=0 cterm=none + hi TabLineSel ctermbg=8 ctermfg=7 cterm=bold + " + " -> Visual Mode + hi Visual ctermbg=0 ctermfg=14 cterm=none + hi VisualNOS ctermbg=0 ctermfg=7 cterm=none + + " -> Code + hi Comment ctermbg=8 ctermfg=7 cterm=none + hi Constant ctermbg=8 ctermfg=10 cterm=none + hi String ctermbg=8 ctermfg=6 cterm=none + hi Error ctermbg=8 ctermfg=4 cterm=none + hi Identifier ctermbg=8 ctermfg=11 cterm=none + hi Function ctermbg=8 ctermfg=11 cterm=none + hi Ignore ctermbg=8 ctermfg=8 cterm=none + hi MatchParen ctermbg=14 ctermfg=8 cterm=none + hi PreProc ctermbg=8 ctermfg=5 cterm=none + hi Special ctermbg=8 ctermfg=14 cterm=none + hi Todo ctermbg=8 ctermfg=12 cterm=bold + hi Underlined ctermbg=8 ctermfg=12 cterm=underline + hi Statement ctermbg=8 ctermfg=13 cterm=none + hi Operator ctermbg=8 ctermfg=4 cterm=none + hi Delimiter ctermbg=8 ctermfg=4 cterm=none + hi Type ctermbg=8 ctermfg=14 cterm=none + hi Exception ctermbg=8 ctermfg=12 cterm=none + + " -> HTML-specific + hi htmlBold ctermbg=8 ctermfg=7 cterm=bold + hi htmlBoldItalic ctermbg=8 ctermfg=7 cterm=bold,italic + hi htmlBoldUnderline ctermbg=8 ctermfg=7 cterm=bold,underline + hi htmlBoldUnderlineItalic ctermbg=8 ctermfg=7 cterm=bold,underline,italic + hi htmlItalic ctermbg=8 ctermfg=7 cterm=italic + hi htmlUnderline ctermbg=8 ctermfg=7 cterm=underline + hi htmlUnderlineItalic ctermbg=8 ctermfg=7 cterm=underline,italic + + +elseif &t_Co == 8 + + " -> Text; Miscellaneous + hi Normal ctermbg=8 ctermfg=7 cterm=none + hi SpecialKey ctermbg=8 ctermfg=5 cterm=none + hi VertSplit ctermbg=8 ctermfg=6 cterm=none + hi SignColumn ctermbg=8 ctermfg=5 cterm=none + hi NonText ctermbg=8 ctermfg=4 cterm=none + hi Directory ctermbg=8 ctermfg=6 cterm=none + hi Title ctermbg=8 ctermfg=2 cterm=bold + + " -> Cursor + hi Cursor ctermbg=6 ctermfg=8 cterm=none + hi CursorIM ctermbg=6 ctermfg=8 cterm=none + hi CursorColumn ctermbg=0 cterm=none + hi CursorLine ctermbg=0 cterm=none + + " -> Folding + hi FoldColumn ctermbg=0 ctermfg=1 cterm=none + hi Folded ctermbg=0 ctermfg=1 cterm=none + + " -> Line info + hi LineNr ctermbg=0 ctermfg=7 cterm=none + hi StatusLine ctermbg=0 ctermfg=7 cterm=none + hi StatusLineNC ctermbg=0 ctermfg=7 cterm=none + + " -> Messages + hi ErrorMsg ctermbg=4 ctermfg=7 cterm=none + hi Question ctermbg=8 ctermfg=6 cterm=none + hi WarningMsg ctermbg=6 ctermfg=0 cterm=none + hi MoreMsg ctermbg=8 ctermfg=6 cterm=none + hi ModeMsg ctermbg=8 ctermfg=6 cterm=none + + " -> Search + hi Search ctermbg=7 ctermfg=6 cterm=none + hi IncSearch ctermbg=7 ctermfg=6 cterm=none + + " -> Diff + hi DiffAdd ctermbg=0 ctermfg=2 cterm=none + hi DiffChange ctermbg=0 ctermfg=6 cterm=none + hi DiffDelete ctermbg=0 ctermfg=4 cterm=none + hi DiffText ctermbg=1 ctermfg=6 cterm=underline + + " -> Menu + hi Pmenu ctermbg=0 ctermfg=4 cterm=none + hi PmenuSel ctermbg=6 ctermfg=4 cterm=none + hi PmenuSbar ctermbg=0 cterm=none + hi PmenuThumb ctermbg=4 cterm=none + hi PmenuSel ctermbg=6 ctermfg=4 cterm=none + + " -> Tabs + hi TabLine ctermbg=7 ctermfg=8 cterm=none + hi TabLineFill ctermbg=0 cterm=none + hi TabLineSel ctermbg=8 ctermfg=7 cterm=bold + " + " -> Visual Mode + hi Visual ctermbg=0 ctermfg=6 cterm=none + hi VisualNOS ctermbg=0 ctermfg=7 cterm=none + + " -> Code + hi Comment ctermbg=8 ctermfg=7 cterm=none + hi Constant ctermbg=8 ctermfg=2 cterm=none + hi String ctermbg=8 ctermfg=6 cterm=none + hi Error ctermbg=8 ctermfg=4 cterm=none + hi Identifier ctermbg=8 ctermfg=3 cterm=none + hi Function ctermbg=8 ctermfg=3 cterm=none + hi Ignore ctermbg=8 ctermfg=8 cterm=none + hi MatchParen ctermbg=6 ctermfg=8 cterm=none + hi PreProc ctermbg=8 ctermfg=5 cterm=none + hi Special ctermbg=8 ctermfg=6 cterm=none + hi Todo ctermbg=8 ctermfg=4 cterm=bold + hi Underlined ctermbg=8 ctermfg=4 cterm=underline + hi Statement ctermbg=8 ctermfg=5 cterm=none + hi Operator ctermbg=8 ctermfg=4 cterm=none + hi Delimiter ctermbg=8 ctermfg=4 cterm=none + hi Type ctermbg=8 ctermfg=6 cterm=none + hi Exception ctermbg=8 ctermfg=4 cterm=none + + " -> HTML-specific + hi htmlBold ctermbg=8 ctermfg=7 cterm=bold + hi htmlBoldItalic ctermbg=8 ctermfg=7 cterm=bold,italic + hi htmlBoldUnderline ctermbg=8 ctermfg=7 cterm=bold,underline + hi htmlBoldUnderlineItalic ctermbg=8 ctermfg=7 cterm=bold,underline,italic + hi htmlItalic ctermbg=8 ctermfg=7 cterm=italic + hi htmlUnderline ctermbg=8 ctermfg=7 cterm=underline + hi htmlUnderlineItalic ctermbg=8 ctermfg=7 cterm=underline,italic + +endif + +hi! default link bbcodeBold htmlBold +hi! default link bbcodeBoldItalic htmlBoldItalic +hi! default link bbcodeBoldItalicUnderline htmlBoldUnderlineItalic +hi! default link bbcodeBoldUnderline htmlBoldUnderline +hi! default link bbcodeItalic htmlItalic +hi! default link bbcodeItalicUnderline htmlUnderlineItalic +hi! default link bbcodeUnderline htmlUnderline + +" Spellcheck formatting +if has("spell") + hi SpellBad guisp=#FC4234 gui=undercurl + hi SpellCap guisp=#70BDF1 gui=undercurl + hi SpellLocal guisp=#FFEE68 gui=undercurl + hi SpellRare guisp=#6DF584 gui=undercurl +endif diff --git a/.vim/colors/hornet.vim b/.vim/colors/hornet.vim new file mode 100644 index 0000000..3990c36 --- /dev/null +++ b/.vim/colors/hornet.vim @@ -0,0 +1,62 @@ +" Maintainer: Taurus Olson +" Mail: taurusolson@gmail.com +" Version: 1.0.2 +" Last Change: October 17, 2009 +" Credits: This is a modification of busybee.vim color scheme + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "hornet" + +" Vim >= 7.0 specific colors +if version >= 700 + hi CursorLine guibg=#303030 ctermbg=234 + hi CursorColumn guibg=#202020 ctermbg=234 + hi MatchParen guifg=#d0ffc0 guibg=#202020 gui=bold ctermfg=157 ctermbg=237 cterm=bold + hi Pmenu guifg=#ffffff guibg=#202020 ctermfg=255 ctermbg=238 + hi PmenuSel guifg=#000000 guibg=#b1d631 ctermfg=0 ctermbg=148 +endif + +" General colors +hi Cursor guifg=NONE guibg=#626262 gui=none ctermbg=241 +hi Normal guifg=#e2e2e5 guibg=#202020 gui=none ctermfg=253 ctermbg=234 +hi NonText guifg=#808080 guibg=#202020 gui=none ctermfg=244 ctermbg=235 +hi LineNr guifg=#303030 guibg=#202020 gui=none ctermfg=244 ctermbg=232 +hi StatusLine guifg=#d3d3d5 guibg=#303030 gui=none ctermfg=253 ctermbg=238 +hi StatusLineNC guifg=#939395 guibg=#303030 gui=none ctermfg=246 ctermbg=238 +hi VertSplit guifg=#444444 guibg=#303030 gui=none ctermfg=238 ctermbg=238 +hi Folded guibg=#384048 guifg=#a0a8b0 gui=none ctermbg=4 ctermfg=248 +hi Title guifg=#f6f3e8 guibg=NONE gui=bold ctermfg=254 cterm=bold +hi Visual guifg=#faf4c6 guibg=#3c414c gui=none ctermfg=254 ctermbg=4 +hi SpecialKey guifg=#808080 guibg=#343434 gui=none ctermfg=244 ctermbg=236 +hi Directory guifg=#fecf35 gui=none ctermfg=148 + +" Syntax highlighting +hi Comment guifg=#757575 gui=italic ctermfg=244 +hi Todo guifg=#fec135 gui=none ctermfg=245 +hi Boolean guifg=#b1d631 gui=none ctermfg=148 +hi String guifg=#fecf35 gui=none ctermfg=148 +hi Identifier guifg=#b1d631 gui=none ctermfg=148 +hi Function guifg=#fdb32a gui=none ctermfg=255 +hi Type guifg=#7e8aa2 gui=none ctermfg=103 +hi Statement guifg=#7e8aa2 gui=none ctermfg=103 +hi Keyword guifg=#ff9800 gui=none ctermfg=208 +hi Constant guifg=#c03000 gui=none ctermfg=208 +hi Number guifg=#ff9800 gui=none ctermfg=208 +hi Special guifg=#4bb5c1 gui=none ctermfg=208 +hi PreProc guifg=#96ca2d gui=none ctermfg=230 +hi Todo guifg=#fec135 guibg=#202020 gui=none +hi Search guifg=#000000 guibg=#aeee00 gui=none + +" Code-specific colors +hi pythonImport guifg=#7fc6bc gui=none ctermfg=255 +hi pythonException guifg=#f00000 gui=none ctermfg=200 +hi pythonOperator guifg=#7e8aa2 gui=none ctermfg=103 +hi pythonBuiltinFunction guifg=#009000 gui=none ctermfg=200 +hi pythonExClass guifg=#009000 gui=none ctermfg=200 diff --git a/.vim/colors/ibmedit.vim b/.vim/colors/ibmedit.vim new file mode 100644 index 0000000..4b846c6 --- /dev/null +++ b/.vim/colors/ibmedit.vim @@ -0,0 +1,60 @@ +" Vim color file +" Maintainer: Maarten Slaets +" Last Change: 2002 Aug 16 + +" Color settings similar to that used in IBM Edit + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="ibmedit" + +hi Normal term=NONE cterm=NONE ctermfg=Gray ctermbg=DarkBlue +hi Normal gui=NONE guifg=#CCCCCC guibg=DarkBlue +hi NonText term=NONE cterm=NONE ctermfg=Gray ctermbg=DarkBlue +hi NonText gui=NONE guifg=#CCCCCC guibg=DarkBlue + +hi Statement term=NONE cterm=NONE ctermfg=White ctermbg=DarkBlue +hi Statement gui=NONE guifg=White guibg=DarkBlue +hi Special term=NONE cterm=NONE ctermfg=White ctermbg=DarkBlue +hi Special gui=NONE guifg=White guibg=DarkBlue +hi Constant term=NONE cterm=NONE ctermfg=Cyan ctermbg=DarkBlue +hi Constant gui=NONE guifg=#99CCFF guibg=DarkBlue +hi Comment term=NONE cterm=NONE ctermfg=Blue ctermbg=DarkBlue +hi Comment gui=NONE guifg=#6666FF guibg=DarkBlue +hi Preproc term=NONE cterm=NONE ctermfg=Cyan ctermbg=DarkBlue +hi Preproc gui=NONE guifg=#99CCFF guibg=DarkBlue +hi Type term=NONE cterm=NONE ctermfg=Gray ctermbg=DarkBlue +hi Type gui=NONE guifg=#CCCCCC guibg=DarkBlue +hi Identifier term=NONE cterm=NONE ctermfg=Grey ctermbg=DarkBlue +hi Identifier gui=NONE guifg=#CCCCCC guibg=DarkBlue + +hi StatusLine term=bold cterm=bold ctermfg=Black ctermbg=White +hi StatusLine gui=bold guifg=Black guibg=White + +hi StatusLineNC term=NONE cterm=NONE ctermfg=Black ctermbg=White +hi StatusLineNC gui=NONE guifg=Black guibg=White + +hi Visual term=NONE cterm=NONE ctermfg=Black ctermbg=DarkCyan +hi Visual gui=NONE guifg=Black guibg=Gray + +hi Search term=NONE cterm=NONE ctermbg=Gray +hi Search gui=NONE guibg=Gray + +hi VertSplit term=NONE cterm=NONE ctermfg=Black ctermbg=White +hi VertSplit gui=NONE guifg=Black guibg=White + +hi Directory term=NONE cterm=NONE ctermfg=Green ctermbg=DarkBlue +hi Directory gui=NONE guifg=Green guibg=DarkBlue + +hi WarningMsg term=standout cterm=NONE ctermfg=Red ctermbg=DarkBlue +hi WarningMsg gui=standout guifg=Red guibg=DarkBlue + +hi Error term=NONE cterm=NONE ctermfg=White ctermbg=Red +hi Error gui=NONE guifg=White guibg=Red + +hi Cursor ctermfg=Black ctermbg=Yellow +hi Cursor guifg=Black guibg=Yellow + diff --git a/.vim/colors/icansee.vim b/.vim/colors/icansee.vim new file mode 100644 index 0000000..615f035 --- /dev/null +++ b/.vim/colors/icansee.vim @@ -0,0 +1,61 @@ +" Vim color file tailored legibility on black background. +" Add below line to your vimrc file to ensure optimal experience (sets term to use +" 256, instead of 16, colors): +" set t_Co=256 +" +" Maintainer: John Rhee +" Last Change: 2007/09/11 v0.2 Set PreProc (set variables) to white. + +hi clear +set background=dark +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "icansee" + +"color settings for these terminal types: +"Black term=NONE cterm=NONE ctermfg=0 ctermbg=0 +"DarkRed term=NONE cterm=NONE ctermfg=1 ctermbg=0 +"DarkGreen term=NONE cterm=NONE ctermfg=2 ctermbg=0 +"Brown term=NONE cterm=NONE ctermfg=3 ctermbg=0 +"DarkBlue term=NONE cterm=NONE ctermfg=4 ctermbg=0 +"DarkMagenta term=NONE cterm=NONE ctermfg=5 ctermbg=0 +"DarkCyan term=NONE cterm=NONE ctermfg=6 ctermbg=0 +"Gray term=NONE cterm=NONE ctermfg=7 ctermbg=0 +"DarkGray term=NONE cterm=bold ctermfg=0 ctermbg=0 +"Red term=NONE cterm=bold ctermfg=1 ctermbg=0 +"Green term=NONE cterm=bold ctermfg=2 ctermbg=0 +"Yellow term=NONE cterm=bold ctermfg=3 ctermbg=0 +"Blue term=NONE cterm=bold ctermfg=4 ctermbg=0 +"Magenta term=NONE cterm=bold ctermfg=5 ctermbg=0 +"Cyan term=NONE cterm=bold ctermfg=6 ctermbg=0 +"White term=NONE cterm=bold ctermfg=7 ctermbg=0 + +"hi Comment term=bold ctermfg=Blue guifg=Blue +hi Comment term=bold ctermfg=DarkGray guifg=DarkGray +hi Constant term=underline ctermfg=DarkGreen gui=NONE guifg=DarkGreen +hi Cursor guibg=fg guifg=Orchid +hi Directory term=bold ctermfg=Cyan guifg=Cyan +hi Error term=reverse ctermbg=Red ctermfg=White guibg=Red guifg=White +hi ErrorMsg term=standout ctermbg=DarkRed ctermfg=White guibg=Red guifg=White +hi Identifier term=underline ctermfg=Cyan guifg=Cyan +hi Ignore ctermfg=Black guifg=bg +hi IncSearch term=reverse cterm=reverse gui=reverse +hi LineNr term=underline ctermfg=DarkYellow guifg=Yellow +hi ModeMsg term=bold cterm=bold gui=bold +hi MoreMsg term=bold ctermfg=Green gui=bold guifg=SeaGreen +hi NonText term=bold ctermfg=DarkGreen gui=bold guifg=DarkGreen +hi Normal ctermbg=Black ctermfg=Gray guibg=Black guifg=Gray +hi PreProc term=underline ctermfg=White guifg=White +hi Question term=standout ctermfg=Green gui=bold guifg=Green +hi Search ctermbg=Magenta ctermfg=White guibg=Magenta guifg=White +hi Special term=bold ctermfg=Red guifg=Red +hi SpecialKey term=bold ctermfg=Green guifg=Green +hi Statement term=bold ctermfg=Yellow gui=NONE guifg=Yellow +hi StatusLine term=reverse,bold cterm=reverse gui=reverse +hi StatusLineNC term=reverse cterm=reverse gui=reverse +hi Title term=bold ctermfg=Magenta gui=bold guifg=Pink +hi Todo term=standout ctermbg=DarkYellow ctermfg=Black guibg=Yellow guifg=Black +hi Type ctermfg=Green gui=NONE guifg=Green +hi Visual term=reverse cterm=reverse guibg=DarkGreen guifg=White +hi WarningMsg term=standout ctermfg=Red guifg=Red diff --git a/.vim/colors/impact.vim b/.vim/colors/impact.vim new file mode 100644 index 0000000..507ff3d --- /dev/null +++ b/.vim/colors/impact.vim @@ -0,0 +1,66 @@ +" Vim color file +" Maintainer: Shirk +" Last Change: 19 September 2005 - 0.2 +" URL: trinity.gentoofreaks.org + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +set background=dark "or light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="impact" + +if exists("g:impact_transbg") + hi Normal ctermfg=LightGray ctermbg=none + hi NonText ctermfg=DarkGray ctermbg=none + + hi Statement ctermfg=Blue ctermbg=none + hi Comment ctermfg=DarkGray ctermbg=none cterm=bold term=bold + hi Constant ctermfg=DarkCyan ctermbg=none + hi Identifier ctermfg=Cyan ctermbg=none + hi Type ctermfg=DarkGreen ctermbg=none + hi Folded ctermfg=DarkGreen ctermbg=none cterm=underline term=none + hi Special ctermfg=Blue ctermbg=none + hi PreProc ctermfg=LightGray ctermbg=none cterm=bold term=bold + hi Scrollbar ctermfg=Blue ctermbg=none + hi Cursor ctermfg=white ctermbg=none + hi ErrorMsg ctermfg=Red ctermbg=none cterm=bold term=bold + hi WarningMsg ctermfg=Yellow ctermbg=none + hi VertSplit ctermfg=White ctermbg=none + hi Directory ctermfg=Cyan ctermbg=DarkBlue + hi Visual ctermfg=White ctermbg=DarkGray cterm=underline term=none + hi Title ctermfg=White ctermbg=DarkBlue + + hi StatusLine term=bold cterm=bold,underline ctermfg=White ctermbg=Black + hi StatusLineNC term=bold cterm=bold,underline ctermfg=Gray ctermbg=Black + hi LineNr term=bold cterm=bold ctermfg=White ctermbg=DarkGray +else + hi Normal ctermfg=LightGray ctermbg=Black + hi NonText ctermfg=DarkGray ctermbg=Black + + hi Statement ctermfg=Blue ctermbg=Black + hi Comment ctermfg=DarkGray ctermbg=Black cterm=bold term=bold + hi Constant ctermfg=DarkCyan ctermbg=Black + hi Identifier ctermfg=Cyan ctermbg=Black + hi Type ctermfg=DarkGreen ctermbg=Black + hi Folded ctermfg=DarkGreen ctermbg=Black cterm=underline term=none + hi Special ctermfg=Blue ctermbg=Black + hi PreProc ctermfg=LightGray ctermbg=Black cterm=bold term=bold + hi Scrollbar ctermfg=Blue ctermbg=Black + hi Cursor ctermfg=white ctermbg=Black + hi ErrorMsg ctermfg=Red ctermbg=Black cterm=bold term=bold + hi WarningMsg ctermfg=Yellow ctermbg=Black + hi VertSplit ctermfg=White ctermbg=Black + hi Directory ctermfg=Cyan ctermbg=DarkBlue + hi Visual ctermfg=White ctermbg=DarkGray cterm=underline term=none + hi Title ctermfg=White ctermbg=DarkBlue + + hi StatusLine term=bold cterm=bold,underline ctermfg=White ctermbg=Black + hi StatusLineNC term=bold cterm=bold,underline ctermfg=Gray ctermbg=Black + hi LineNr term=bold cterm=bold ctermfg=White ctermbg=DarkGray +endif diff --git a/.vim/colors/impactG.vim b/.vim/colors/impactG.vim new file mode 100644 index 0000000..fcf3462 --- /dev/null +++ b/.vim/colors/impactG.vim @@ -0,0 +1,68 @@ +" Vim color file +" Maintainer: Shirk +" Last Change: 19 September 2005 - 0.2 +" URL: trinity.gentoofreaks.org + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +set background=dark "or light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="impact" + +if exists("g:impact_transbg") + hi Normal ctermfg=LightGray guifg=LightGray ctermbg=none + hi NonText ctermfg=DarkGray guifg=DarkGray ctermbg=none + + hi Statement ctermfg=Blue guifg=Blue ctermbg=none + hi Comment ctermfg=DarkGray guifg=DarkGray ctermbg=none guibg=Black cterm=bold gui=bold term=bold + hi Constant ctermfg=DarkCyan guifg=DarkCyan ctermbg=none guibg=Black + hi Identifier ctermfg=Cyan guifg=Cyan ctermbg=none guibg=Black + hi Type ctermfg=DarkGreen guifg=DarkGreen ctermbg=none guibg=Black + hi Folded ctermfg=DarkGreen guifg=DarkGreen ctermbg=none guibg=Black cterm=underline gui=underline term=none + hi Special ctermfg=Blue guifg=Blue ctermbg=none guibg=Black + hi PreProc ctermfg=LightGray guifg=LightGray ctermbg=none guibg=Black cterm=bold gui=bold term=bold + hi Scrollbar ctermfg=Blue guifg=Blue ctermbg=none guibg=Black + hi Cursor ctermfg=white guifg=white ctermbg=none guibg=Black + hi ErrorMsg ctermfg=Red guifg=Red ctermbg=none guibg=Black cterm=bold gui=bold term=bold + hi WarningMsg ctermfg=Yellow guifg=Yellow ctermbg=none guibg=Black + hi VertSplit ctermfg=White guifg=White ctermbg=none guibg=Black + hi Directory ctermfg=Cyan guifg=Cyan ctermbg=DarkBlue guibg=DarkBlue + hi Visual ctermfg=White guifg=White ctermbg=DarkGray guibg=DarkGray cterm=underline gui=underline term=none + hi Title ctermfg=White guifg=White ctermbg=DarkBlue guibg=DarkBlue + + hi StatusLine term=bold cterm=bold gui=bold,underline ctermfg=White guifg=White ctermbg=Black guibg=Black + hi StatusLineNC term=bold cterm=bold gui=bold,underline ctermfg=Gray guifg=Gray ctermbg=Black guibg=Black + hi LineNr term=bold cterm=bold gui=bold ctermfg=White guifg=White ctermbg=DarkGray guibg=DarkGray +else + hi Normal ctermfg=LightGray guifg=LightGray ctermbg=Black guibg=Black + hi NonText ctermfg=DarkGray guifg=DarkGray ctermbg=Black guibg=Black + + hi Statement ctermfg=Blue guifg=Blue ctermbg=Black guibg=Black + hi Comment ctermfg=DarkGray guifg=DarkGray ctermbg=Black guibg=Black cterm=bold gui=bold term=bold + hi Constant ctermfg=DarkCyan guifg=DarkCyan ctermbg=Black guibg=Black + hi Identifier ctermfg=Cyan guifg=Cyan ctermbg=Black guibg=Black + hi Type ctermfg=DarkGreen guifg=DarkGreen ctermbg=Black guibg=Black + hi Folded ctermfg=DarkGreen guifg=DarkGreen ctermbg=Black guibg=Black cterm=underline gui=underline term=none + hi Special ctermfg=Blue guifg=Blue ctermbg=Black guibg=Black + hi PreProc ctermfg=LightGray guifg=LightGray ctermbg=Black guibg=Black cterm=bold gui=bold term=bold + hi Scrollbar ctermfg=Blue guifg=Blue ctermbg=Black guibg=Black + hi Cursor ctermfg=white guifg=white ctermbg=Black guibg=Black + hi ErrorMsg ctermfg=Red guifg=Red ctermbg=Black guibg=Black cterm=bold gui=bold term=bold + hi WarningMsg ctermfg=Yellow guifg=Yellow ctermbg=Black guibg=Black + hi VertSplit ctermfg=White guifg=White ctermbg=Black guibg=Black + hi Directory ctermfg=Cyan guifg=Cyan ctermbg=DarkBlue guibg=DarkBlue + hi Visual ctermfg=White guifg=White ctermbg=DarkGray guibg=DarkGray cterm=underline gui=underline term=none + hi Title ctermfg=White guifg=White ctermbg=DarkBlue guibg=DarkBlue + + hi StatusLine term=bold cterm=bold gui=bold,underline ctermfg=White guifg=White ctermbg=Black guibg=Black + hi StatusLineNC term=bold cterm=bold gui=bold,underline ctermfg=Gray guifg=Gray ctermbg=Black guibg=Black + hi LineNr term=bold cterm=bold gui=bold ctermfg=White guifg=White ctermbg=DarkGray guibg=DarkGray +endif + + diff --git a/.vim/colors/industrial.vim b/.vim/colors/industrial.vim new file mode 100644 index 0000000..6e609cc --- /dev/null +++ b/.vim/colors/industrial.vim @@ -0,0 +1,80 @@ +" Vim color file + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "industrial" + +hi Normal ctermfg=NONE ctermbg=NONE gui=NONE guifg=#aaaaaa guibg=#222222 + +" Search +"hi IncSearch ctermfg=NONE ctermbg=NONE gui=NONE guifg=#222222 guibg=#336699 +"hi Search ctermfg=NONE ctermbg=NONE gui=NONE guifg=#222222 guibg=#669933 +hi IncSearch ctermfg=NONE ctermbg=NONE gui=NONE guifg=#222222 guibg=#ffff00 +hi Search ctermfg=NONE ctermbg=NONE gui=NONE guifg=#222222 guibg=#ffff00 + +" Messages +hi ErrorMsg ctermfg=NONE ctermbg=NONE gui=NONE guifg=#ffffff guibg=NONE +hi WarningMsg ctermfg=NONE ctermbg=NONE gui=NONE guifg=#ffffff guibg=NONE +hi ModeMsg ctermfg=NONE ctermbg=NONE gui=NONE guifg=#ffffff guibg=NONE +hi MoreMsg ctermfg=NONE ctermbg=NONE gui=NONE guifg=#ffffff guibg=NONE +hi Question ctermfg=NONE ctermbg=NONE gui=NONE guifg=#ffffff guibg=NONE + +" Split area +hi StatusLine ctermfg=NONE ctermbg=NONE gui=NONE guifg=#ffffff guibg=#003366 +hi StatusLineNC ctermfg=NONE ctermbg=NONE gui=NONE guifg=#cccccc guibg=#000000 +hi VertSplit ctermfg=NONE ctermbg=NONE gui=NONE guifg=#cccccc guibg=#000000 +hi WildMenu ctermfg=NONE ctermbg=NONE gui=NONE guifg=#ffffff guibg=#336699 + +" Diff +hi DiffText ctermfg=NONE ctermbg=NONE gui=NONE guifg=#07cfef guibg=#00151f +hi DiffChange ctermfg=NONE ctermbg=NONE gui=NONE guifg=#ff97ff guibg=#2f002f +hi DiffDelete ctermfg=NONE ctermbg=NONE gui=NONE guifg=#dfdf00 guibg=#370d15 +hi DiffAdd ctermfg=NONE ctermbg=NONE gui=NONE guifg=#dfdf00 guibg=#370d15 + +" Cursor +hi Cursor ctermfg=NONE ctermbg=NONE gui=NONE guifg=#000000 guibg=#669933 +hi lCursor ctermfg=NONE ctermbg=NONE gui=NONE guifg=#070707 guibg=#7fff00 +hi CursorIM ctermfg=NONE ctermbg=NONE gui=NONE guifg=#070707 guibg=#669933 +hi CursorLine ctermfg=NONE ctermbg=NONE gui=NONE guibg=#444444 +hi CursorColumn ctermfg=NONE ctermbg=NONE gui=NONE guibg=#444444 + +" Fold +hi Folded ctermfg=NONE ctermbg=NONE gui=NONE guifg=#ffffff guibg=#333333 +hi FoldColumn ctermfg=NONE ctermbg=NONE gui=NONE guifg=#ffffff guibg=#333333 + +" Other +hi Directory ctermfg=NONE ctermbg=NONE gui=NONE guifg=#aaaaba guibg=NONE +hi LineNr ctermfg=NONE ctermbg=NONE gui=NONE guifg=#666666 guibg=NONE +hi NonText ctermfg=NONE ctermbg=NONE gui=NONE guifg=#211d1a guibg=#211d1a +hi SpecialKey ctermfg=NONE ctermbg=NONE gui=NONE guifg=#378fff guibg=NONE +hi Title ctermfg=NONE ctermbg=NONE gui=NONE guifg=#ffbf9f guibg=#370f07 +hi Visual ctermfg=NONE ctermbg=NONE gui=reverse guifg=#a5a5a5 guibg=#353535 +hi SpellBad term=reverse ctermbg=Red gui=undercurl guisp=#aa1565 + +" Syntax group +hi Comment ctermfg=NONE ctermbg=NONE gui=NONE guifg=#666666 guibg=NONE +hi Constant ctermfg=NONE ctermbg=NONE gui=NONE guifg=#336699 guibg=#333333 +hi Error ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=#ff0000 +hi Identifier ctermfg=NONE ctermbg=NONE gui=NONE guifg=#669933 guibg=NONE +hi Ignore ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE +hi PreProc ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE +hi Special ctermfg=NONE ctermbg=NONE gui=NONE guifg=#cccccc guibg=NONE +hi Statement ctermfg=NONE ctermbg=NONE gui=NONE guifg=#336699 guibg=NONE +hi Todo ctermfg=NONE ctermbg=NONE gui=NONE guifg=#ffff00 guibg=NONE +hi Type ctermfg=NONE ctermbg=NONE gui=NONE guifg=#556677 guibg=NONE +hi Underlined ctermfg=NONE ctermbg=NONE gui=UNDERLINE guifg=NONE guibg=NONE + +" HTML +hi htmlLink gui=UNDERLINE guifg=#abcdef guibg=NONE +hi htmlBold gui=BOLD +hi htmlBoldItalic gui=BOLD,ITALIC +hi htmlBoldUnderline gui=BOLD,UNDERLINE +hi htmlBoldUnderlineItalic gui=BOLD,UNDERLINE,ITALIC +hi htmlItalic gui=ITALIC +hi htmlUnderline gui=UNDERLINE +hi htmlUnderlineItalic gui=UNDERLINE,ITALIC + diff --git a/.vim/colors/ingretu.vim b/.vim/colors/ingretu.vim new file mode 100644 index 0000000..4a143b2 --- /dev/null +++ b/.vim/colors/ingretu.vim @@ -0,0 +1,72 @@ +" Name: ingretu.vim +" Maintainer: http://github.com/gmarik +" Home: http://github.com/gmarik/ingretu +" License: public domain +" Description: scheme is derived from Jo Vermeulen's vibrantink.vim +" TODO: not tested in 256 color mode + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "ingretu" + +hi MergeConflict guibg=red +match MergeConflict /[><]\{7\} / + +highlight StatusLine ctermfg=black ctermbg=green cterm=NONE guifg=#ffbc29 guibg=black +highlight StatusLineNC ctermfg=black ctermbg=lightblue cterm=NONE guifg=#808080 guibg=white +highlight VertSplit term=reverse cterm=reverse gui=none guifg=#00FF00 + +hi Visual term=reverse cterm=reverse gui=reverse guifg=#00AA00 guibg=fg +hi VisualNOS term=underline,bold cterm=underline,bold gui=underline,bold + +" Wildmenu and Fuzzyfinder like dynamic menus +highlight Pmenu guifg=white guibg=#808080 +highlight PmenuSel guifg=black guibg=#ffbc29 +highlight WildMenu guifg=black guibg=#ffbc29 + +if has("gui_running") + highlight Normal guifg=White guibg=Black + highlight Cursor gui=reverse guibg=black guifg=#0aaaaa + highlight CursorLine guibg=#323300 + highlight Keyword guifg=#FF6600 + highlight Define guifg=#FF6600 + highlight Comment guifg=Gray + highlight Identifier guifg=cyan gui=NONE + highlight rubySymbol guifg=#339999 gui=NONE + highlight rubyStringDelimiter guifg=#33FF33 + highlight rubyInterpolation guifg=White + highlight rubyPseudoVariable guifg=#339999 + highlight rubyConstant gui=BOLD guifg=#55AA55 + highlight Type guifg=#AAAAFF + highlight Constant guifg=#FFEE98 + highlight Function guifg=#FFCC00 gui=NONE + highlight Include guifg=#FFCC00 gui=NONE + highlight Statement guifg=#FF6600 gui=NONE + highlight String guifg=#AAFFAA + highlight Search guibg=#00FF00 +else + set t_Co=256 + highlight Normal ctermfg=White ctermbg=Black + highlight Cursor ctermfg=Black ctermbg=Green + highlight Keyword ctermfg=202 + highlight Define ctermfg=202 + highlight Comment ctermfg=98 + highlight Identifier cterm=NONE ctermfg=Cyan + highlight rubySymbol ctermfg=66 + highlight rubyStringDelimiter ctermfg=82 + highlight rubyInterpolation ctermfg=White + highlight rubyPseudoVariable ctermfg=66 + highlight rubyConstant cterm=bold ctermfg=68 + highlight Type ctermfg=68 + highlight Constant cterm=bold ctermfg=34 + highlight Function ctermfg=220 + highlight Include ctermfg=220 + highlight Statement ctermfg=202 + highlight String ctermfg=34 + highlight Search ctermbg=yellow + highlight CursorLine cterm=NONE ctermbg=235 +endif diff --git a/.vim/colors/inkpot.vim b/.vim/colors/inkpot.vim new file mode 100644 index 0000000..025e795 --- /dev/null +++ b/.vim/colors/inkpot.vim @@ -0,0 +1,216 @@ +" Vim color file +" Name: inkpot.vim +" Maintainer: Ciaran McCreesh +" Homepage: http://github.com/ciaranm/inkpot/ +" +" This should work in the GUI, rxvt-unicode (88 colour mode) and xterm (256 +" colour mode). It won't work in 8/16 colour terminals. +" +" To use a black background, :let g:inkpot_black_background = 1 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "inkpot" + +" map a urxvt cube number to an xterm-256 cube number +fun! M(a) + return strpart("0135", a:a, 1) + 0 +endfun + +" map a urxvt colour to an xterm-256 colour +fun! X(a) + if &t_Co == 88 + return a:a + else + if a:a == 8 + return 237 + elseif a:a < 16 + return a:a + elseif a:a > 79 + return 232 + (3 * (a:a - 80)) + else + let l:b = a:a - 16 + let l:x = l:b % 4 + let l:y = (l:b / 4) % 4 + let l:z = (l:b / 16) + return 16 + M(l:x) + (6 * M(l:y)) + (36 * M(l:z)) + endif + endif +endfun + +if ! exists("g:inkpot_black_background") + let g:inkpot_black_background = 0 +endif + +if has("gui_running") + if ! g:inkpot_black_background + hi Normal gui=NONE guifg=#cfbfad guibg=#1e1e27 + else + hi Normal gui=NONE guifg=#cfbfad guibg=#000000 + endif + + hi CursorLine guibg=#2e2e37 + + hi IncSearch gui=BOLD guifg=#303030 guibg=#cd8b60 + hi Search gui=NONE guifg=#303030 guibg=#cd8b60 + hi ErrorMsg gui=BOLD guifg=#ffffff guibg=#ce4e4e + hi WarningMsg gui=BOLD guifg=#ffffff guibg=#ce8e4e + hi ModeMsg gui=BOLD guifg=#7e7eae guibg=NONE + hi MoreMsg gui=BOLD guifg=#7e7eae guibg=NONE + hi Question gui=BOLD guifg=#ffcd00 guibg=NONE + + hi StatusLine gui=BOLD guifg=#b9b9b9 guibg=#3e3e5e + hi User1 gui=BOLD guifg=#00ff8b guibg=#3e3e5e + hi User2 gui=BOLD guifg=#7070a0 guibg=#3e3e5e + hi StatusLineNC gui=NONE guifg=#b9b9b9 guibg=#3e3e5e + hi VertSplit gui=NONE guifg=#b9b9b9 guibg=#3e3e5e + + hi WildMenu gui=BOLD guifg=#eeeeee guibg=#6e6eaf + + hi MBENormal guifg=#cfbfad guibg=#2e2e3f + hi MBEChanged guifg=#eeeeee guibg=#2e2e3f + hi MBEVisibleNormal guifg=#cfcfcd guibg=#4e4e8f + hi MBEVisibleChanged guifg=#eeeeee guibg=#4e4e8f + + hi DiffText gui=NONE guifg=#ffffcd guibg=#4a2a4a + hi DiffChange gui=NONE guifg=#ffffcd guibg=#306b8f + hi DiffDelete gui=NONE guifg=#ffffcd guibg=#6d3030 + hi DiffAdd gui=NONE guifg=#ffffcd guibg=#306d30 + + hi Cursor gui=NONE guifg=#404040 guibg=#8b8bff + hi lCursor gui=NONE guifg=#404040 guibg=#8fff8b + hi CursorIM gui=NONE guifg=#404040 guibg=#8b8bff + + hi Folded gui=NONE guifg=#cfcfcd guibg=#4b208f + hi FoldColumn gui=NONE guifg=#8b8bcd guibg=#2e2e2e + + hi Directory gui=NONE guifg=#00ff8b guibg=NONE + hi LineNr gui=NONE guifg=#8b8bcd guibg=#2e2e2e + hi NonText gui=BOLD guifg=#8b8bcd guibg=NONE + hi SpecialKey gui=BOLD guifg=#ab60ed guibg=NONE + hi Title gui=BOLD guifg=#af4f4b guibg=NONE + hi Visual gui=NONE guifg=#eeeeee guibg=#4e4e8f + + hi Comment gui=NONE guifg=#cd8b00 guibg=NONE + hi Constant gui=NONE guifg=#ffcd8b guibg=NONE + hi String gui=NONE guifg=#ffcd8b guibg=#404040 + hi Error gui=NONE guifg=#ffffff guibg=#6e2e2e + hi Identifier gui=NONE guifg=#ff8bff guibg=NONE + hi Ignore gui=NONE + hi Number gui=NONE guifg=#f0ad6d guibg=NONE + hi PreProc gui=NONE guifg=#409090 guibg=NONE + hi Special gui=NONE guifg=#c080d0 guibg=NONE + hi SpecialChar gui=NONE guifg=#c080d0 guibg=#404040 + hi Statement gui=NONE guifg=#808bed guibg=NONE + hi Todo gui=BOLD guifg=#303030 guibg=#d0a060 + hi Type gui=NONE guifg=#ff8bff guibg=NONE + hi Underlined gui=BOLD guifg=#df9f2d guibg=NONE + hi TaglistTagName gui=BOLD guifg=#808bed guibg=NONE + + hi perlSpecialMatch gui=NONE guifg=#c080d0 guibg=#404040 + hi perlSpecialString gui=NONE guifg=#c080d0 guibg=#404040 + + hi cSpecialCharacter gui=NONE guifg=#c080d0 guibg=#404040 + hi cFormat gui=NONE guifg=#c080d0 guibg=#404040 + + hi doxygenBrief gui=NONE guifg=#fdab60 guibg=NONE + hi doxygenParam gui=NONE guifg=#fdd090 guibg=NONE + hi doxygenPrev gui=NONE guifg=#fdd090 guibg=NONE + hi doxygenSmallSpecial gui=NONE guifg=#fdd090 guibg=NONE + hi doxygenSpecial gui=NONE guifg=#fdd090 guibg=NONE + hi doxygenComment gui=NONE guifg=#ad7b20 guibg=NONE + hi doxygenSpecial gui=NONE guifg=#fdab60 guibg=NONE + hi doxygenSpecialMultilineDesc gui=NONE guifg=#ad600b guibg=NONE + hi doxygenSpecialOnelineDesc gui=NONE guifg=#ad600b guibg=NONE + + if v:version >= 700 + hi Pmenu gui=NONE guifg=#eeeeee guibg=#4e4e8f + hi PmenuSel gui=BOLD guifg=#eeeeee guibg=#2e2e3f + hi PmenuSbar gui=BOLD guifg=#eeeeee guibg=#6e6eaf + hi PmenuThumb gui=BOLD guifg=#eeeeee guibg=#6e6eaf + + hi SpellBad gui=undercurl guisp=#cc6666 + hi SpellRare gui=undercurl guisp=#cc66cc + hi SpellLocal gui=undercurl guisp=#cccc66 + hi SpellCap gui=undercurl guisp=#66cccc + + hi MatchParen gui=NONE guifg=#cfbfad guibg=#4e4e8f + endif +else + if ! g:inkpot_black_background + exec "hi Normal cterm=NONE ctermfg=" . X(79) . " ctermbg=" . X(80) + else + exec "hi Normal cterm=NONE ctermfg=" . X(79) . " ctermbg=" . X(16) + endif + + exec "hi IncSearch cterm=BOLD ctermfg=" . X(80) . " ctermbg=" . X(73) + exec "hi Search cterm=NONE ctermfg=" . X(80) . " ctermbg=" . X(73) + exec "hi ErrorMsg cterm=BOLD ctermfg=" . X(16) . " ctermbg=" . X(48) + exec "hi WarningMsg cterm=BOLD ctermfg=" . X(16) . " ctermbg=" . X(68) + exec "hi ModeMsg cterm=BOLD ctermfg=" . X(38) . " ctermbg=" . "NONE" + exec "hi MoreMsg cterm=BOLD ctermfg=" . X(38) . " ctermbg=" . "NONE" + exec "hi Question cterm=BOLD ctermfg=" . X(52) . " ctermbg=" . "NONE" + + exec "hi StatusLine cterm=BOLD ctermfg=" . X(85) . " ctermbg=" . X(81) + exec "hi User1 cterm=BOLD ctermfg=" . X(28) . " ctermbg=" . X(81) + exec "hi User2 cterm=BOLD ctermfg=" . X(39) . " ctermbg=" . X(81) + exec "hi StatusLineNC cterm=NONE ctermfg=" . X(84) . " ctermbg=" . X(81) + exec "hi VertSplit cterm=NONE ctermfg=" . X(84) . " ctermbg=" . X(81) + + exec "hi WildMenu cterm=BOLD ctermfg=" . X(87) . " ctermbg=" . X(38) + + exec "hi MBENormal ctermfg=" . X(85) . " ctermbg=" . X(81) + exec "hi MBEChanged ctermfg=" . X(87) . " ctermbg=" . X(81) + exec "hi MBEVisibleNormal ctermfg=" . X(85) . " ctermbg=" . X(82) + exec "hi MBEVisibleChanged ctermfg=" . X(87) . " ctermbg=" . X(82) + + exec "hi DiffText cterm=NONE ctermfg=" . X(79) . " ctermbg=" . X(34) + exec "hi DiffChange cterm=NONE ctermfg=" . X(79) . " ctermbg=" . X(17) + exec "hi DiffDelete cterm=NONE ctermfg=" . X(79) . " ctermbg=" . X(32) + exec "hi DiffAdd cterm=NONE ctermfg=" . X(79) . " ctermbg=" . X(20) + + exec "hi Folded cterm=NONE ctermfg=" . X(79) . " ctermbg=" . X(35) + exec "hi FoldColumn cterm=NONE ctermfg=" . X(39) . " ctermbg=" . X(80) + + exec "hi Directory cterm=NONE ctermfg=" . X(28) . " ctermbg=" . "NONE" + exec "hi LineNr cterm=NONE ctermfg=" . X(39) . " ctermbg=" . X(80) + exec "hi NonText cterm=BOLD ctermfg=" . X(39) . " ctermbg=" . "NONE" + exec "hi SpecialKey cterm=BOLD ctermfg=" . X(55) . " ctermbg=" . "NONE" + exec "hi Title cterm=BOLD ctermfg=" . X(48) . " ctermbg=" . "NONE" + exec "hi Visual cterm=NONE ctermfg=" . X(79) . " ctermbg=" . X(38) + + exec "hi Comment cterm=NONE ctermfg=" . X(52) . " ctermbg=" . "NONE" + exec "hi Constant cterm=NONE ctermfg=" . X(73) . " ctermbg=" . "NONE" + exec "hi String cterm=NONE ctermfg=" . X(73) . " ctermbg=" . X(81) + exec "hi Error cterm=NONE ctermfg=" . X(79) . " ctermbg=" . X(32) + exec "hi Identifier cterm=NONE ctermfg=" . X(53) . " ctermbg=" . "NONE" + exec "hi Ignore cterm=NONE" + exec "hi Number cterm=NONE ctermfg=" . X(69) . " ctermbg=" . "NONE" + exec "hi PreProc cterm=NONE ctermfg=" . X(25) . " ctermbg=" . "NONE" + exec "hi Special cterm=NONE ctermfg=" . X(55) . " ctermbg=" . "NONE" + exec "hi SpecialChar cterm=NONE ctermfg=" . X(55) . " ctermbg=" . X(81) + exec "hi Statement cterm=NONE ctermfg=" . X(27) . " ctermbg=" . "NONE" + exec "hi Todo cterm=BOLD ctermfg=" . X(16) . " ctermbg=" . X(57) + exec "hi Type cterm=NONE ctermfg=" . X(71) . " ctermbg=" . "NONE" + exec "hi Underlined cterm=BOLD ctermfg=" . X(77) . " ctermbg=" . "NONE" + exec "hi TaglistTagName cterm=BOLD ctermfg=" . X(39) . " ctermbg=" . "NONE" + + if v:version >= 700 + exec "hi Pmenu cterm=NONE ctermfg=" . X(87) . " ctermbg=" . X(82) + exec "hi PmenuSel cterm=BOLD ctermfg=" . X(87) . " ctermbg=" . X(38) + exec "hi PmenuSbar cterm=BOLD ctermfg=" . X(87) . " ctermbg=" . X(39) + exec "hi PmenuThumb cterm=BOLD ctermfg=" . X(87) . " ctermbg=" . X(39) + + exec "hi SpellBad cterm=NONE ctermbg=" . X(32) + exec "hi SpellRare cterm=NONE ctermbg=" . X(33) + exec "hi SpellLocal cterm=NONE ctermbg=" . X(36) + exec "hi SpellCap cterm=NONE ctermbg=" . X(21) + exec "hi MatchParen cterm=NONE ctermbg=" . X(14) . "ctermfg=" . X(25) + endif +endif + +" vim: set et : diff --git a/.vim/colors/ir_black.vim b/.vim/colors/ir_black.vim new file mode 100644 index 0000000..2e151d8 --- /dev/null +++ b/.vim/colors/ir_black.vim @@ -0,0 +1,212 @@ +" ir_black color scheme +" More at: http://blog.infinitered.com/entries/show/8 + + +" ******************************************************************************** +" Standard colors used in all ir_black themes: +" Note, x:x:x are RGB values +" +" normal: #f6f3e8 +" +" string: #A8FF60 168:255:96 +" string inner (punc, code, etc): #00A0A0 0:160:160 +" number: #FF73FD 255:115:253 +" comments: #7C7C7C 124:124:124 +" keywords: #96CBFE 150:203:254 +" operators: white +" class: #FFFFB6 255:255:182 +" method declaration name: #FFD2A7 255:210:167 +" regular expression: #E9C062 233:192:98 +" regexp alternate: #FF8000 255:128:0 +" regexp alternate 2: #B18A3D 177:138:61 +" variable: #C6C5FE 198:197:254 +" +" Misc colors: +" red color (used for whatever): #FF6C60 255:108:96 +" light red: #FFB6B0 255:182:176 +" +" brown: #E18964 good for special +" +" lightpurpleish: #FFCCFF +" +" Interface colors: +" background color: black +" cursor (where underscore is used): #FFA560 255:165:96 +" cursor (where block is used): white +" visual selection: #1D1E2C +" current line: #151515 21:21:21 +" search selection: #07281C 7:40:28 +" line number: #3D3D3D 61:61:61 + + +" ******************************************************************************** +" The following are the preferred 16 colors for your terminal +" Colors Bright Colors +" Black #4E4E4E #7C7C7C +" Red #FF6C60 #FFB6B0 +" Green #A8FF60 #CEFFAB +" Yellow #FFFFB6 #FFFFCB +" Blue #96CBFE #FFFFCB +" Magenta #FF73FD #FF9CFE +" Cyan #C6C5FE #DFDFFE +" White #EEEEEE #FFFFFF + + +" ******************************************************************************** +set background=dark +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "ir_black" + + +"hi Example guifg=NONE guibg=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE + +" General colors +hi Normal guifg=#f6f3e8 guibg=black gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE +hi NonText guifg=#070707 guibg=black gui=NONE ctermfg=black ctermbg=NONE cterm=NONE + +hi Cursor guifg=black guibg=white gui=NONE ctermfg=black ctermbg=white cterm=reverse +hi LineNr guifg=#3D3D3D guibg=black gui=NONE ctermfg=darkgray ctermbg=NONE cterm=NONE + +hi VertSplit guifg=#202020 guibg=#202020 gui=NONE ctermfg=darkgray ctermbg=darkgray cterm=NONE +hi StatusLine guifg=#CCCCCC guibg=#202020 gui=italic ctermfg=white ctermbg=darkgray cterm=NONE +hi StatusLineNC guifg=black guibg=#202020 gui=NONE ctermfg=blue ctermbg=darkgray cterm=NONE + +hi Folded guifg=#a0a8b0 guibg=#384048 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE +hi Title guifg=#f6f3e8 guibg=NONE gui=bold ctermfg=NONE ctermbg=NONE cterm=NONE +hi Visual guifg=NONE guibg=#262D51 gui=NONE ctermfg=NONE ctermbg=darkgray cterm=NONE + +hi SpecialKey guifg=#808080 guibg=#343434 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE + +hi WildMenu guifg=green guibg=yellow gui=NONE ctermfg=black ctermbg=yellow cterm=NONE +hi PmenuSbar guifg=black guibg=white gui=NONE ctermfg=black ctermbg=white cterm=NONE +"hi Ignore guifg=gray guibg=black gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE + +hi Error guifg=NONE guibg=NONE gui=undercurl ctermfg=white ctermbg=red cterm=NONE guisp=#FF6C60 " undercurl color +hi ErrorMsg guifg=white guibg=#FF6C60 gui=BOLD ctermfg=white ctermbg=red cterm=NONE +hi WarningMsg guifg=white guibg=#FF6C60 gui=BOLD ctermfg=white ctermbg=red cterm=NONE + +" Message displayed in lower left, such as --INSERT-- +hi ModeMsg guifg=black guibg=#C6C5FE gui=BOLD ctermfg=black ctermbg=cyan cterm=BOLD + +if version >= 700 " Vim 7.x specific colors + hi CursorLine guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=NONE cterm=BOLD + hi CursorColumn guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=NONE cterm=BOLD + hi MatchParen guifg=#f6f3e8 guibg=#857b6f gui=BOLD ctermfg=white ctermbg=darkgray cterm=NONE + hi Pmenu guifg=#f6f3e8 guibg=#444444 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE + hi PmenuSel guifg=#000000 guibg=#cae682 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE + hi Search guifg=NONE guibg=NONE gui=underline ctermfg=NONE ctermbg=NONE cterm=underline +endif + +" Syntax highlighting +hi Comment guifg=#7C7C7C guibg=NONE gui=NONE ctermfg=darkgray ctermbg=NONE cterm=NONE +hi String guifg=#A8FF60 guibg=NONE gui=NONE ctermfg=green ctermbg=NONE cterm=NONE +hi Number guifg=#FF73FD guibg=NONE gui=NONE ctermfg=magenta ctermbg=NONE cterm=NONE + +hi Keyword guifg=#96CBFE guibg=NONE gui=NONE ctermfg=blue ctermbg=NONE cterm=NONE +hi PreProc guifg=#96CBFE guibg=NONE gui=NONE ctermfg=blue ctermbg=NONE cterm=NONE +hi Conditional guifg=#6699CC guibg=NONE gui=NONE ctermfg=blue ctermbg=NONE cterm=NONE " if else end + +hi Todo guifg=#8f8f8f guibg=NONE gui=NONE ctermfg=red ctermbg=NONE cterm=NONE +hi Constant guifg=#99CC99 guibg=NONE gui=NONE ctermfg=cyan ctermbg=NONE cterm=NONE + +hi Identifier guifg=#C6C5FE guibg=NONE gui=NONE ctermfg=cyan ctermbg=NONE cterm=NONE +hi Function guifg=#FFD2A7 guibg=NONE gui=NONE ctermfg=brown ctermbg=NONE cterm=NONE +hi Type guifg=#FFFFB6 guibg=NONE gui=NONE ctermfg=yellow ctermbg=NONE cterm=NONE +hi Statement guifg=#6699CC guibg=NONE gui=NONE ctermfg=lightblue ctermbg=NONE cterm=NONE + +hi Special guifg=#E18964 guibg=NONE gui=NONE ctermfg=white ctermbg=NONE cterm=NONE +hi Delimiter guifg=#00A0A0 guibg=NONE gui=NONE ctermfg=cyan ctermbg=NONE cterm=NONE +hi Operator guifg=white guibg=NONE gui=NONE ctermfg=white ctermbg=NONE cterm=NONE + +hi link Character Constant +hi link Boolean Constant +hi link Float Number +hi link Repeat Statement +hi link Label Statement +hi link Exception 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 SpecialComment Special +hi link Debug Special + + +" Special for Ruby +hi rubyRegexp guifg=#B18A3D guibg=NONE gui=NONE ctermfg=brown ctermbg=NONE cterm=NONE +hi rubyRegexpDelimiter guifg=#FF8000 guibg=NONE gui=NONE ctermfg=brown ctermbg=NONE cterm=NONE +hi rubyEscape guifg=white guibg=NONE gui=NONE ctermfg=cyan ctermbg=NONE cterm=NONE +hi rubyInterpolationDelimiter guifg=#00A0A0 guibg=NONE gui=NONE ctermfg=blue ctermbg=NONE cterm=NONE +hi rubyControl guifg=#6699CC guibg=NONE gui=NONE ctermfg=blue ctermbg=NONE cterm=NONE "and break, etc +"hi rubyGlobalVariable guifg=#FFCCFF guibg=NONE gui=NONE ctermfg=lightblue ctermbg=NONE cterm=NONE "yield +hi rubyStringDelimiter guifg=#336633 guibg=NONE gui=NONE ctermfg=lightgreen ctermbg=NONE cterm=NONE +"rubyInclude +"rubySharpBang +"rubyAccess +"rubyPredefinedVariable +"rubyBoolean +"rubyClassVariable +"rubyBeginEnd +"rubyRepeatModifier +"hi link rubyArrayDelimiter Special " [ , , ] +"rubyCurlyBlock { , , } + +hi link rubyClass Keyword +hi link rubyModule Keyword +hi link rubyKeyword Keyword +hi link rubyOperator Operator +hi link rubyIdentifier Identifier +hi link rubyInstanceVariable Identifier +hi link rubyGlobalVariable Identifier +hi link rubyClassVariable Identifier +hi link rubyConstant Type + + +" Special for Java +" hi link javaClassDecl Type +hi link javaScopeDecl Identifier +hi link javaCommentTitle javaDocSeeTag +hi link javaDocTags javaDocSeeTag +hi link javaDocParam javaDocSeeTag +hi link javaDocSeeTagParam javaDocSeeTag + +hi javaDocSeeTag guifg=#CCCCCC guibg=NONE gui=NONE ctermfg=darkgray ctermbg=NONE cterm=NONE +hi javaDocSeeTag guifg=#CCCCCC guibg=NONE gui=NONE ctermfg=darkgray ctermbg=NONE cterm=NONE +"hi javaClassDecl guifg=#CCFFCC guibg=NONE gui=NONE ctermfg=white ctermbg=NONE cterm=NONE + + +" Special for XML +hi link xmlTag Keyword +hi link xmlTagName Conditional +hi link xmlEndTag Identifier + + +" Special for HTML +hi link htmlTag Keyword +hi link htmlTagName Conditional +hi link htmlEndTag Identifier + + +" Special for Javascript +hi link javaScriptNumber Number + + +" Special for Python +"hi link pythonEscape Keyword + + +" Special for CSharp +hi link csXmlTag Keyword + + +" Special for PHP diff --git a/.vim/colors/ironman.vim b/.vim/colors/ironman.vim new file mode 100644 index 0000000..d98a936 --- /dev/null +++ b/.vim/colors/ironman.vim @@ -0,0 +1,133 @@ +" Vim color file +" Maintainer: Michael Boehler +" Mail: michael@familie-boehler.de +" Last Change: 2008-2-21 +" Version: 3.2 +" This color scheme uses a light background. +" GUI only +" inspired by colorsheme PYTE + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "ironman" + +hi Normal guifg=#222222 guibg=#F0F0F0 + +" Search +hi IncSearch gui=NONE guifg=Black guibg=#FFFF4B +hi Search gui=NONE guifg=Black guibg=#FFFF8F + +" Messages +hi ErrorMsg gui=NONE guifg=#FF0000 guibg=NONE +hi WarningMsg gui=NONE guifg=#FF6600 guibg=NONE +hi ModeMsg gui=NONE guifg=#0070ff guibg=NONE +hi MoreMsg gui=NONE guifg=#FF6600 guibg=NONE +hi Question gui=NONE guifg=#008050 guibg=NONE + +" Completion Popup Menu +hi Pmenu gui=NONE guifg=#303040 guibg=#ccff00 +hi PmenuSel gui=NONE guifg=#303040 guibg=#ffff00 +" hi PmenuSbar scrollbar |hl-PmenuSbar| +" hi PmenuThumb thumb of the scrollbar |hl-PmenuThumb| + +" Split area +hi StatusLine gui=ITALIC guifg=white guibg=#8090a0 +hi StatusLineNC gui=ITALIC guifg=#506070 guibg=#a0b0c0 +hi VertSplit gui=NONE guifg=#a0b0c0 guibg=#a0b0c0 +hi WarningMsgildMenu gui=NONE guifg=Black guibg=Orange +" hi WildMenu gui=UNDERLINE guifg=#56A0EE guibg=#E9E9F4 + +" Diff +hi DiffText gui=NONE guifg=#2020ff guibg=#c8f2ea +hi DiffDelete gui=NONE guifg=#f83010 guibg=#ffeae0 +hi DiffAdd gui=NONE guifg=#006800 guibg=#d0ffd0 +hi DiffChange gui=NONE guifg=#2020ff guibg=#c8f2ea + +" Cursor +hi Cursor gui=NONE guifg=#ffffff guibg=#DE7171 +hi lCursor gui=NONE guifg=#f8f8f8 guibg=#8000ff +hi CursorIM gui=NONE guifg=#f8f8f8 guibg=#8000ff +hi CursorLine gui=NONE guifg=NONE guibg=#f6f6f6 +hi CursorColumn gui=NONE guifg=NONE guibg=#F9F9F9 + +" Fold +hi Folded gui=NONE guifg=#3399ff guibg=#EAF5FF +hi FoldColumn gui=NONE guifg=#3399ff guibg=#EAF5FF + +" Other hi Directory gui=NONE guifg=#0000ff guibg=NONE +hi LineNr gui=NONE guifg=#FFFFFF guibg=#C0D0E0 +hi NonText gui=NONE guifg=#C0C0C0 guibg=#E0E0E0 +hi SpecialKey gui=NONE guifg=#35E0DF guibg=NONE +hi Title gui=NONE guifg=#004060 guibg=#c8f0f8 +hi Visual gui=NONE guibg=#BDDFFF +hi MatchParen gui=NONE guifg=NONE guibg=#9FFF82 + +" Syntax group +hi Comment gui=ITALIC guifg=#A0B0C0 guibg=#EFEFFF +hi Paren gui=NONE guifg=#9326C1 guibg=NONE +hi Comma gui=NONE guifg=#C12660 guibg=NONE +hi Constant gui=NONE guifg=NONE guibg=#E8F1FF +hi Statement gui=NONE guifg=#005EC4 guibg=NONE +hi Error gui=BOLD,UNDERLINE guifg=#ff4080 guibg=NONE +hi Identifier gui=NONE guifg=#339933 guibg=NONE +hi Ignore gui=NONE guifg=#f8f8f8 guibg=NONE +hi Number gui=NONE guifg=#087B4D +hi PreProc gui=NONE guifg=#0070e6 guibg=NONE +hi Special gui=NONE guifg=#0000ff guibg=#ccf7ee +hi Delimiter gui=BOLD guifg=#A8360F guibg=NONE +hi Todo gui=NONE guifg=#ff0070 guibg=#ffe0f4 +hi Type gui=NONE guifg=#eb7950 guibg=NONE +hi Underlined gui=UNDERLINE guifg=#0000ff guibg=NONE + +hi Conditional gui=None guifg=#0053FF guibg=bg +hi Repeat gui=None guifg=SeaGreen2 guibg=bg +hi Operator gui=None guifg=#0085B1 guibg=bg +hi Keyword gui=None guifg=DarkBlue guibg=bg +hi Exception gui=None guifg=DarkBlue guibg=bg +hi Function gui=BOLD guifg=#3E0F70 + +hi! link String Constant +hi! link SpecialComment Comment +hi! link Character Constant +hi! link Boolean Constant +hi! link Float Number +hi! link Label 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 SpecialChar Special +hi! link Debug Special + +" HTML +hi htmlLink gui=UNDERLINE guifg=#0000ff guibg=NONE +hi htmlBold gui=BOLD +hi htmlBoldItalic gui=BOLD,ITALIC +hi htmlBoldUnderline gui=BOLD,UNDERLINE +hi htmlBoldUnderlineItalic gui=BOLD,UNDERLINE,ITALIC +hi htmlItalic gui=ITALIC +hi htmlUnderline gui=UNDERLINE +hi htmlUnderlineItalic gui=UNDERLINE,ITALIC + +" Tabs {{{1 +highlight TabLine gui=underline guibg=LightGrey +highlight TabLineFill gui=reverse +highlight TabLineSel gui=bold + +highlight SpellBad gui=undercurl guisp=Red +highlight SpellCap gui=undercurl guisp=Blue +highlight SpellRare gui=undercurl guisp=Magenta +highlight SpellLocale gui=undercurl guisp=DarkCyan + +" Completion {{{1 +highlight Pmenu guifg=Black guibg=#BDDFFF +highlight PmenuSel guifg=Black guibg=Orange +highlight PmenuSbar guifg=#CCCCCC guibg=#CCCCCC +highlight PmenuThumb gui=reverse guifg=Black guibg=#AAAAAA diff --git a/.vim/colors/jammy.vim b/.vim/colors/jammy.vim new file mode 100644 index 0000000..b12ed5f --- /dev/null +++ b/.vim/colors/jammy.vim @@ -0,0 +1,111 @@ +" Vim color file inherit from the desrt.vim +" Maintainer: Jammy Lee +" Last Change: $Date: 2008/03/20 19:30:30 $ +" Version: $Id: jammy.vim,v 1.1 2008/03/20 $ + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +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="jammy" + +hi Normal guifg=White guibg=Black + +" highlight groups +hi Cursor guibg=khaki guifg=slategrey +"hi CursorIM +"hi Directory +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +"hi ErrorMsg +hi String guifg=Skyblue +hi VertSplit guibg=#c2bfa5 guifg=grey50 gui=none +hi Folded guibg=grey30 guifg=gold +hi FoldColumn guibg=grey30 guifg=tan +hi IncSearch guifg=slategrey guibg=khaki +"hi LineNr +hi ModeMsg guifg=goldenrod +hi MoreMsg guifg=SeaGreen +hi NonText guifg=LightBlue guibg=black +hi Question guifg=springgreen +hi Search guibg=peru guifg=wheat +hi SpecialKey guifg=yellowgreen +hi StatusLine guibg=#c2bfa5 guifg=black gui=none +hi StatusLineNC guibg=#c2bfa5 guifg=grey50 gui=none +hi Title guifg=indianred +hi Visual gui=none guibg=grey30 +"hi VisualNOS +hi WarningMsg guifg=salmon +"hi WildMenu +"hi Menu +"hi Scrollbar +"hi Tooltip + +" syntax highlighting groups +hi Comment guifg=grey60 +hi Constant guifg=indianred + +hi Identifier guifg=palegreen +"hi Identifier guifg=#D18B2C +"palegreen +"hi Statement guifg=khaki +hi Statement guifg=#E6DB74 +hi PreProc guifg=Skyblue +hi Type guifg=darkkhaki +hi Special guifg=navajowhite +"hi Underlined +hi Ignore guifg=grey40 +"hi Error +hi Todo guifg=orangered guibg=yellow2 + +" color terminal definitions +hi SpecialKey ctermfg=darkgreen +hi NonText cterm=bold ctermfg=darkblue +hi Directory ctermfg=darkcyan +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green +hi Search cterm=NONE ctermfg=grey ctermbg=blue +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr ctermfg=3 +hi Question ctermfg=green +hi StatusLine cterm=bold,reverse +hi StatusLineNC cterm=reverse +hi VertSplit cterm=reverse +hi Title ctermfg=5 +hi Visual cterm=reverse +hi VisualNOS cterm=bold,underline +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=darkgrey ctermbg=NONE +hi FoldColumn ctermfg=darkgrey ctermbg=NONE +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 +hi Comment ctermfg=darkcyan +hi Constant ctermfg=brown +hi Special ctermfg=5 +hi Identifier ctermfg=6 +hi Statement ctermfg=3 +hi PreProc ctermfg=5 +hi Type ctermfg=2 +hi Underlined cterm=underline ctermfg=5 +hi Ignore cterm=bold ctermfg=7 +hi Ignore ctermfg=darkgrey +hi Error cterm=bold ctermfg=7 ctermbg=1 + + +"vim: sw=4 diff --git a/.vim/colors/jelleybeans.vim b/.vim/colors/jelleybeans.vim new file mode 100644 index 0000000..a2df4cc --- /dev/null +++ b/.vim/colors/jelleybeans.vim @@ -0,0 +1,425 @@ +" Vim color file +" +" " __ _ _ _ " +" " \ \ ___| | |_ _| |__ ___ __ _ _ __ ___ " +" " \ \/ _ \ | | | | | _ \ / _ \/ _ | _ \/ __| " +" " /\_/ / __/ | | |_| | |_| | __/ |_| | | | \__ \ " +" " \___/ \___|_|_|\__ |____/ \___|\____|_| |_|___/ " +" " \___/ " +" +" "A colorful, dark color scheme for Vim." +" +" File: jellybeans.vim +" Maintainer: NanoTech +" Version: 1.3 +" Last Change: October 25th, 2010 +" Contributors: Daniel Herbert , +" Henry So, Jr. , +" David Liang +" +" Copyright (c) 2009-2010 NanoTech +" +" Permission is hereby granted, free of charge, to any person obtaining a copy +" of this software and associated documentation files (the "Software"), to deal +" in the Software without restriction, including without limitation the rights +" to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +" copies of the Software, and to permit persons to whom the Software is +" furnished to do so, subject to the following conditions: +" +" The above copyright notice and this permission notice shall be included in +" all copies or substantial portions of the Software. +" +" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +" OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +" THE SOFTWARE. + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "jellybeans" + +if has("gui_running") || &t_Co == 88 || &t_Co == 256 + let s:low_color = 0 +else + let s:low_color = 1 +endif + +" Color approximation functions by Henry So, Jr. and David Liang {{{ +" Added to jellybeans.vim by Daniel Herbert + +" returns an approximate grey index for the 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 + +" returns the actual grey level represented by the 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 + +" returns the palette index for the 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 + +" returns an approximate color index for the 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 + +" returns the actual color level for the 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 + +" returns the palette index for the given R/G/B 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 + +" returns the palette index to approximate the given R/G/B 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 + " there are two possibilities + 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 + " use the grey + return s:grey_color(l:gx) + else + " use the color + return s:rgb_color(l:x, l:y, l:z) + endif + else + " only one possibility + return s:rgb_color(l:x, l:y, l:z) + endif +endfun + +" returns 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 + let l:fge = empty(a:fg) + let l:bge = empty(a:bg) + + if !l:fge && !l:bge + exec "hi ".a:group." guifg=#".a:fg." guibg=#".a:bg." ctermfg=".s:rgb(a:fg)." ctermbg=".s:rgb(a:bg) + elseif !l:fge && l:bge + exec "hi ".a:group." guifg=#".a:fg." guibg=NONE ctermfg=".s:rgb(a:fg) + elseif l:fge && !l:bge + exec "hi ".a:group." guifg=NONE guibg=#".a:bg." ctermbg=".s:rgb(a:bg) + endif + endif + + if a:attr == "" + exec "hi ".a:group." gui=none cterm=none" + else + 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 +" }}} + +if version >= 700 + call s:X("CursorLine","","1c1c1c","","","") + call s:X("CursorColumn","","1c1c1c","","","") + call s:X("MatchParen","ffffff","80a090","bold","","") + + call s:X("TabLine","000000","b0b8c0","italic","","Black") + call s:X("TabLineFill","9098a0","","","","") + call s:X("TabLineSel","000000","f0f0f0","italic,bold","","") + + " Auto-completion + call s:X("Pmenu","ffffff","000000","","","") + call s:X("PmenuSel","101010","eeeeee","","","") +endif + +call s:X("Visual","","404040","","","") +call s:X("Cursor","","b0d0f0","","","") + +call s:X("Normal","e8e8d3","151515","","White","") +call s:X("LineNr","605958","151515","none","Black","") +call s:X("Comment","888888","","italic","Grey","") +call s:X("Todo","808080","","bold","","") + +call s:X("StatusLine","000000","dddddd","italic","Black","White") +call s:X("StatusLineNC","ffffff","403c41","italic","White","Black") +call s:X("VertSplit","777777","403c41","italic","Black","Black") + +call s:X("Folded","a0a8b0","384048","italic","black","") +call s:X("FoldColumn","a0a8b0","384048","","","") +call s:X("SignColumn","a0a8b0","384048","","","") + +call s:X("Title","70b950","","bold","","") + +call s:X("Constant","cf6a4c","","","Red","") +call s:X("Special","799d6a","","","Green","") +call s:X("Delimiter","668799","","","Grey","") + +call s:X("String","99ad6a","","","Green","") +call s:X("StringDelimiter","556633","","","DarkGreen","") + +call s:X("Identifier","c6b6ee","","","LightCyan","") +call s:X("Structure","8fbfdc","","","LightCyan","") +call s:X("Function","fad07a","","","Yellow","") +call s:X("Statement","8197bf","","","DarkBlue","") +call s:X("PreProc","8fbfdc","","","LightBlue","") + +hi link Operator Normal + +call s:X("Type","ffb964","","","Yellow","") +call s:X("NonText","606060","151515","","","") + +call s:X("SpecialKey","444444","1c1c1c","","","") + +call s:X("Search","f0a0c0","302028","underline","Magenta","") + +call s:X("Directory","dad085","","","","") +call s:X("ErrorMsg","","902020","","","") +hi link Error ErrorMsg + +" Diff + +hi link diffRemoved Constant +hi link diffAdded String + +" VimDiff + +call s:X("DiffAdd","","032218","","Black","DarkGreen") +call s:X("DiffChange","","100920","","Black","DarkMagenta") +call s:X("DiffDelete","220000","220000","","DarkRed","DarkRed") +call s:X("DiffText","","000940","","","DarkRed") + +" PHP + +hi link phpFunctions Function +call s:X("StorageClass","c59f6f","","","Red","") +hi link phpSuperglobal Identifier +hi link phpQuoteSingle StringDelimiter +hi link phpQuoteDouble StringDelimiter +hi link phpBoolean Constant +hi link phpNull Constant +hi link phpArrayPair Operator + +" Ruby + +hi link rubySharpBang Comment +call s:X("rubyClass","447799","","","DarkBlue","") +call s:X("rubyIdentifier","c6b6fe","","","","") + +call s:X("rubyInstanceVariable","c6b6fe","","","Cyan","") +call s:X("rubySymbol","7697d6","","","Blue","") +hi link rubyGlobalVariable rubyInstanceVariable +hi link rubyModule rubyClass +call s:X("rubyControl","7597c6","","","","") + +hi link rubyString String +hi link rubyStringDelimiter StringDelimiter +hi link rubyInterpolationDelimiter Identifier + +call s:X("rubyRegexpDelimiter","540063","","","Magenta","") +call s:X("rubyRegexp","dd0093","","","DarkMagenta","") +call s:X("rubyRegexpSpecial","a40073","","","Magenta","") + +call s:X("rubyPredefinedIdentifier","de5577","","","Red","") + +" JavaScript +hi link javaScriptValue Constant +hi link javaScriptRegexpString rubyRegexp + +" C + +hi link cOperator Constant + +" Objective-C/Cocoa +hi link objcClass Type +hi link cocoaClass objcClass +hi link objcSubclass objcClass +hi link objcSuperclass objcClass +hi link objcDirective rubyClass +hi link cocoaFunction Function +hi link objcMethodName Identifier +hi link objcMethodArg Normal +hi link objcMessageName Identifier + +" Tag list +hi link TagListFileName Directory + +" 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 +" }}} diff --git a/.vim/colors/jellybeans.vim b/.vim/colors/jellybeans.vim new file mode 100644 index 0000000..a2df4cc --- /dev/null +++ b/.vim/colors/jellybeans.vim @@ -0,0 +1,425 @@ +" Vim color file +" +" " __ _ _ _ " +" " \ \ ___| | |_ _| |__ ___ __ _ _ __ ___ " +" " \ \/ _ \ | | | | | _ \ / _ \/ _ | _ \/ __| " +" " /\_/ / __/ | | |_| | |_| | __/ |_| | | | \__ \ " +" " \___/ \___|_|_|\__ |____/ \___|\____|_| |_|___/ " +" " \___/ " +" +" "A colorful, dark color scheme for Vim." +" +" File: jellybeans.vim +" Maintainer: NanoTech +" Version: 1.3 +" Last Change: October 25th, 2010 +" Contributors: Daniel Herbert , +" Henry So, Jr. , +" David Liang +" +" Copyright (c) 2009-2010 NanoTech +" +" Permission is hereby granted, free of charge, to any person obtaining a copy +" of this software and associated documentation files (the "Software"), to deal +" in the Software without restriction, including without limitation the rights +" to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +" copies of the Software, and to permit persons to whom the Software is +" furnished to do so, subject to the following conditions: +" +" The above copyright notice and this permission notice shall be included in +" all copies or substantial portions of the Software. +" +" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +" OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +" THE SOFTWARE. + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "jellybeans" + +if has("gui_running") || &t_Co == 88 || &t_Co == 256 + let s:low_color = 0 +else + let s:low_color = 1 +endif + +" Color approximation functions by Henry So, Jr. and David Liang {{{ +" Added to jellybeans.vim by Daniel Herbert + +" returns an approximate grey index for the 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 + +" returns the actual grey level represented by the 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 + +" returns the palette index for the 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 + +" returns an approximate color index for the 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 + +" returns the actual color level for the 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 + +" returns the palette index for the given R/G/B 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 + +" returns the palette index to approximate the given R/G/B 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 + " there are two possibilities + 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 + " use the grey + return s:grey_color(l:gx) + else + " use the color + return s:rgb_color(l:x, l:y, l:z) + endif + else + " only one possibility + return s:rgb_color(l:x, l:y, l:z) + endif +endfun + +" returns 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 + let l:fge = empty(a:fg) + let l:bge = empty(a:bg) + + if !l:fge && !l:bge + exec "hi ".a:group." guifg=#".a:fg." guibg=#".a:bg." ctermfg=".s:rgb(a:fg)." ctermbg=".s:rgb(a:bg) + elseif !l:fge && l:bge + exec "hi ".a:group." guifg=#".a:fg." guibg=NONE ctermfg=".s:rgb(a:fg) + elseif l:fge && !l:bge + exec "hi ".a:group." guifg=NONE guibg=#".a:bg." ctermbg=".s:rgb(a:bg) + endif + endif + + if a:attr == "" + exec "hi ".a:group." gui=none cterm=none" + else + 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 +" }}} + +if version >= 700 + call s:X("CursorLine","","1c1c1c","","","") + call s:X("CursorColumn","","1c1c1c","","","") + call s:X("MatchParen","ffffff","80a090","bold","","") + + call s:X("TabLine","000000","b0b8c0","italic","","Black") + call s:X("TabLineFill","9098a0","","","","") + call s:X("TabLineSel","000000","f0f0f0","italic,bold","","") + + " Auto-completion + call s:X("Pmenu","ffffff","000000","","","") + call s:X("PmenuSel","101010","eeeeee","","","") +endif + +call s:X("Visual","","404040","","","") +call s:X("Cursor","","b0d0f0","","","") + +call s:X("Normal","e8e8d3","151515","","White","") +call s:X("LineNr","605958","151515","none","Black","") +call s:X("Comment","888888","","italic","Grey","") +call s:X("Todo","808080","","bold","","") + +call s:X("StatusLine","000000","dddddd","italic","Black","White") +call s:X("StatusLineNC","ffffff","403c41","italic","White","Black") +call s:X("VertSplit","777777","403c41","italic","Black","Black") + +call s:X("Folded","a0a8b0","384048","italic","black","") +call s:X("FoldColumn","a0a8b0","384048","","","") +call s:X("SignColumn","a0a8b0","384048","","","") + +call s:X("Title","70b950","","bold","","") + +call s:X("Constant","cf6a4c","","","Red","") +call s:X("Special","799d6a","","","Green","") +call s:X("Delimiter","668799","","","Grey","") + +call s:X("String","99ad6a","","","Green","") +call s:X("StringDelimiter","556633","","","DarkGreen","") + +call s:X("Identifier","c6b6ee","","","LightCyan","") +call s:X("Structure","8fbfdc","","","LightCyan","") +call s:X("Function","fad07a","","","Yellow","") +call s:X("Statement","8197bf","","","DarkBlue","") +call s:X("PreProc","8fbfdc","","","LightBlue","") + +hi link Operator Normal + +call s:X("Type","ffb964","","","Yellow","") +call s:X("NonText","606060","151515","","","") + +call s:X("SpecialKey","444444","1c1c1c","","","") + +call s:X("Search","f0a0c0","302028","underline","Magenta","") + +call s:X("Directory","dad085","","","","") +call s:X("ErrorMsg","","902020","","","") +hi link Error ErrorMsg + +" Diff + +hi link diffRemoved Constant +hi link diffAdded String + +" VimDiff + +call s:X("DiffAdd","","032218","","Black","DarkGreen") +call s:X("DiffChange","","100920","","Black","DarkMagenta") +call s:X("DiffDelete","220000","220000","","DarkRed","DarkRed") +call s:X("DiffText","","000940","","","DarkRed") + +" PHP + +hi link phpFunctions Function +call s:X("StorageClass","c59f6f","","","Red","") +hi link phpSuperglobal Identifier +hi link phpQuoteSingle StringDelimiter +hi link phpQuoteDouble StringDelimiter +hi link phpBoolean Constant +hi link phpNull Constant +hi link phpArrayPair Operator + +" Ruby + +hi link rubySharpBang Comment +call s:X("rubyClass","447799","","","DarkBlue","") +call s:X("rubyIdentifier","c6b6fe","","","","") + +call s:X("rubyInstanceVariable","c6b6fe","","","Cyan","") +call s:X("rubySymbol","7697d6","","","Blue","") +hi link rubyGlobalVariable rubyInstanceVariable +hi link rubyModule rubyClass +call s:X("rubyControl","7597c6","","","","") + +hi link rubyString String +hi link rubyStringDelimiter StringDelimiter +hi link rubyInterpolationDelimiter Identifier + +call s:X("rubyRegexpDelimiter","540063","","","Magenta","") +call s:X("rubyRegexp","dd0093","","","DarkMagenta","") +call s:X("rubyRegexpSpecial","a40073","","","Magenta","") + +call s:X("rubyPredefinedIdentifier","de5577","","","Red","") + +" JavaScript +hi link javaScriptValue Constant +hi link javaScriptRegexpString rubyRegexp + +" C + +hi link cOperator Constant + +" Objective-C/Cocoa +hi link objcClass Type +hi link cocoaClass objcClass +hi link objcSubclass objcClass +hi link objcSuperclass objcClass +hi link objcDirective rubyClass +hi link cocoaFunction Function +hi link objcMethodName Identifier +hi link objcMethodArg Normal +hi link objcMessageName Identifier + +" Tag list +hi link TagListFileName Directory + +" 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 +" }}} diff --git a/.vim/colors/jellyx.vim b/.vim/colors/jellyx.vim new file mode 100644 index 0000000..a75f360 --- /dev/null +++ b/.vim/colors/jellyx.vim @@ -0,0 +1,235 @@ + +" __ _ _ __ __ +" __| |___| | |_ _| | | A delicious collision of +" | | | -_| | | | |- -| +" |_____|___|_|_|_ |__|__| Jellybeans and Xoria256. +" |___| + +" Version: 0.1 +" Author: Sung Pae +" Homepage: http://github.com/guns/jellyx.vim +" License: MIT (knock yourself out) + + +" INSPIRED BY: {{{ +" +" Main color palette from Xoria256.vim: +" +" Author: Dmitriy Y. Zotikov (xio) +" Homepage: http://www.vim.org/scripts/script.php?script_id=2140 +" +" Misc colors and function-based approach from Jellybeans.vim: +" +" Author: NanoTech +" Homepage: http://github.com/nanotech/jellybeans.vim +" License: MIT +" Copyright (c) 2009-2010 NanoTech +" +"}}} + + +""" Initialize {{{ + +set background=dark + +highlight clear + +if exists('syntax_on') + syntax reset +endif + +let colors_name = 'jellyx' + +if &t_Co != 256 && ! has('gui_running') + echoerr 'Not enough colors to display JellyX!' + echoerr 'Go buy yourself a new terminal.' + finish +endif + +"}}} + + +""" Functions {{{ + +" http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html {{{ +let s:xterm_colors = { + \ '0': '#000000', '1': '#800000', '2': '#008000', '3': '#808000', '4': '#000080', + \ '5': '#800080', '6': '#008080', '7': '#c0c0c0', '8': '#808080', '9': '#ff0000', + \ '10': '#00ff00', '11': '#ffff00', '12': '#0000ff', '13': '#ff00ff', '14': '#00ffff', + \ '15': '#ffffff', '16': '#000000', '17': '#00005f', '18': '#000087', '19': '#0000af', + \ '20': '#0000df', '21': '#0000ff', '22': '#005f00', '23': '#005f5f', '24': '#005f87', + \ '25': '#005faf', '26': '#005fdf', '27': '#005fff', '28': '#008700', '29': '#00875f', + \ '30': '#008787', '31': '#0087af', '32': '#0087df', '33': '#0087ff', '34': '#00af00', + \ '35': '#00af5f', '36': '#00af87', '37': '#00afaf', '38': '#00afdf', '39': '#00afff', + \ '40': '#00df00', '41': '#00df5f', '42': '#00df87', '43': '#00dfaf', '44': '#00dfdf', + \ '45': '#00dfff', '46': '#00ff00', '47': '#00ff5f', '48': '#00ff87', '49': '#00ffaf', + \ '50': '#00ffdf', '51': '#00ffff', '52': '#5f0000', '53': '#5f005f', '54': '#5f0087', + \ '55': '#5f00af', '56': '#5f00df', '57': '#5f00ff', '58': '#5f5f00', '59': '#5f5f5f', + \ '60': '#5f5f87', '61': '#5f5faf', '62': '#5f5fdf', '63': '#5f5fff', '64': '#5f8700', + \ '65': '#5f875f', '66': '#5f8787', '67': '#5f87af', '68': '#5f87df', '69': '#5f87ff', + \ '70': '#5faf00', '71': '#5faf5f', '72': '#5faf87', '73': '#5fafaf', '74': '#5fafdf', + \ '75': '#5fafff', '76': '#5fdf00', '77': '#5fdf5f', '78': '#5fdf87', '79': '#5fdfaf', + \ '80': '#5fdfdf', '81': '#5fdfff', '82': '#5fff00', '83': '#5fff5f', '84': '#5fff87', + \ '85': '#5fffaf', '86': '#5fffdf', '87': '#5fffff', '88': '#870000', '89': '#87005f', + \ '90': '#870087', '91': '#8700af', '92': '#8700df', '93': '#8700ff', '94': '#875f00', + \ '95': '#875f5f', '96': '#875f87', '97': '#875faf', '98': '#875fdf', '99': '#875fff', + \ '100': '#878700', '101': '#87875f', '102': '#878787', '103': '#8787af', '104': '#8787df', + \ '105': '#8787ff', '106': '#87af00', '107': '#87af5f', '108': '#87af87', '109': '#87afaf', + \ '110': '#87afdf', '111': '#87afff', '112': '#87df00', '113': '#87df5f', '114': '#87df87', + \ '115': '#87dfaf', '116': '#87dfdf', '117': '#87dfff', '118': '#87ff00', '119': '#87ff5f', + \ '120': '#87ff87', '121': '#87ffaf', '122': '#87ffdf', '123': '#87ffff', '124': '#af0000', + \ '125': '#af005f', '126': '#af0087', '127': '#af00af', '128': '#af00df', '129': '#af00ff', + \ '130': '#af5f00', '131': '#af5f5f', '132': '#af5f87', '133': '#af5faf', '134': '#af5fdf', + \ '135': '#af5fff', '136': '#af8700', '137': '#af875f', '138': '#af8787', '139': '#af87af', + \ '140': '#af87df', '141': '#af87ff', '142': '#afaf00', '143': '#afaf5f', '144': '#afaf87', + \ '145': '#afafaf', '146': '#afafdf', '147': '#afafff', '148': '#afdf00', '149': '#afdf5f', + \ '150': '#afdf87', '151': '#afdfaf', '152': '#afdfdf', '153': '#afdfff', '154': '#afff00', + \ '155': '#afff5f', '156': '#afff87', '157': '#afffaf', '158': '#afffdf', '159': '#afffff', + \ '160': '#df0000', '161': '#df005f', '162': '#df0087', '163': '#df00af', '164': '#df00df', + \ '165': '#df00ff', '166': '#df5f00', '167': '#df5f5f', '168': '#df5f87', '169': '#df5faf', + \ '170': '#df5fdf', '171': '#df5fff', '172': '#df8700', '173': '#df875f', '174': '#df8787', + \ '175': '#df87af', '176': '#df87df', '177': '#df87ff', '178': '#dfaf00', '179': '#dfaf5f', + \ '180': '#dfaf87', '181': '#dfafaf', '182': '#dfafdf', '183': '#dfafff', '184': '#dfdf00', + \ '185': '#dfdf5f', '186': '#dfdf87', '187': '#dfdfaf', '188': '#dfdfdf', '189': '#dfdfff', + \ '190': '#dfff00', '191': '#dfff5f', '192': '#dfff87', '193': '#dfffaf', '194': '#dfffdf', + \ '195': '#dfffff', '196': '#ff0000', '197': '#ff005f', '198': '#ff0087', '199': '#ff00af', + \ '200': '#ff00df', '201': '#ff00ff', '202': '#ff5f00', '203': '#ff5f5f', '204': '#ff5f87', + \ '205': '#ff5faf', '206': '#ff5fdf', '207': '#ff5fff', '208': '#ff8700', '209': '#ff875f', + \ '210': '#ff8787', '211': '#ff87af', '212': '#ff87df', '213': '#ff87ff', '214': '#ffaf00', + \ '215': '#ffaf5f', '216': '#ffaf87', '217': '#ffafaf', '218': '#ffafdf', '219': '#ffafff', + \ '220': '#ffdf00', '221': '#ffdf5f', '222': '#ffdf87', '223': '#ffdfaf', '224': '#ffdfdf', + \ '225': '#ffdfff', '226': '#ffff00', '227': '#ffff5f', '228': '#ffff87', '229': '#ffffaf', + \ '230': '#ffffdf', '231': '#ffffff', '232': '#080808', '233': '#121212', '234': '#1c1c1c', + \ '235': '#262626', '236': '#303030', '237': '#3a3a3a', '238': '#444444', '239': '#4e4e4e', + \ '240': '#585858', '241': '#606060', '242': '#666666', '243': '#767676', '244': '#808080', + \ '245': '#8a8a8a', '246': '#949494', '247': '#9e9e9e', '248': '#a8a8a8', '249': '#b2b2b2', + \ '250': '#bcbcbc', '251': '#c6c6c6', '252': '#d0d0d0', '253': '#dadada', '254': '#e4e4e4', + \ '255': '#eeeeee', 'fg': 'fg', 'bg': 'bg', 'none': 'none' } "}}} + +" We are primarily targeting 256-color terminals; "{{{ +" exact GUI RGB values are therefore easy to obtain +command! -nargs=+ HI call s:HI() +function! s:HI(group, fg, bg, fx, ...) + if a:fg != '-' + execute 'highlight '.a:group.' ctermfg='.a:fg.' guifg='.s:xterm_colors[a:fg] + endif + + if a:bg != '-' + execute 'highlight '.a:group.' ctermbg='.a:bg.' guibg='.s:xterm_colors[a:bg] + endif + + if a:fx != '-' + " rxvt-unicode can display italic fonts, among other things + if a:fx =~ 'italic' && &term !~ '^rxvt-unicode' + execute 'highlight '.a:group.' term='.a:fx.' gui='.a:fx.' cterm='.substitute(a:fx,',\?italic,\?','','g') + else + execute 'highlight '.a:group.' term='.a:fx.' gui='.a:fx.' cterm='.a:fx + endif + endif + + " Any additional arguments are simply passed along + if a:0 + execute 'highlight '.a:group.' '.join(a:000,' ') + endif +endfunction "}}} + +"}}} + + +""" Common UI {{{ + +HI Normal 252 0 none + +HI Cursor - 214 - +HI CursorColumn - 238 - +HI CursorLine - 233 none + +HI Visual fg 96 - +HI VisualNOS fg 60 - +HI IncSearch - - inverse +HI Search 158 bg underline + +HI LineNr 240 - - +HI FoldColumn 240 bg - +HI SignColumn 240 - - +HI NonText 240 - - + +HI Folded 232 60 bold,italic +HI StatusLine - 234 bold +HI StatusLineNC - 234 none +HI TabLine 249 236 none +HI TabLineSel - bg bold,italic +HI TabLineFill bg 0 none +HI VertSplit 234 234 none + +HI Pmenu fg 234 - +HI PmenuSel 0 140 - +HI PmenuSbar - 234 - +HI PmenuThumb - 140 - +HI WildMenu 0 150 bold +HI Title 225 - - + +HI SpellBad 160 bg underline guisp=#df0000 +HI SpellCap 189 bg underline +HI SpellRare 168 bg underline + +HI SpecialKey 77 - - +HI ErrorMsg - 88 - +HI MatchParen fg 17 bold + +"}}} + + +""" Common Syntax {{{ + +HI Comment 244 - - +HI Constant 229 - - +HI Error - 88 - +HI Identifier 182 - none +HI Ignore 238 - - +HI Number 180 - - +HI PreProc 150 - - +HI Special 174 - - +HI Statement 110 - none +HI Todo 184 bg bold +HI Type 146 - none +HI Underlined 39 - underline + +"}}} + + +""" Diff / Vimdiff {{{ + +HI diffAdded 150 - - +HI diffRemoved 174 - - +HI diffAdd bg 151 - +HI diffDelete bg 186 none +HI diffDelete bg 246 none +HI diffChange bg 181 - +HI diffText bg 174 none + +"}}} + + +""" Custom groups {{{ + +if exists('g:jellyx_show_whitespace') + autocmd Syntax * + \ syntax match Tab /\v\t/ containedin=ALL | + \ syntax match TrailingWS /\v\s+$/ containedin=ALL + + HI Tab - 234 - + HI TrailingWS - 89 - +endif + +"}}} + + +""" Cleanup {{{ + +delcommand HI +delfunction s:HI + +"}}} + +" vim: set expandtab ts=4 sts=4 sw=4 : diff --git a/.vim/colors/jhdark.vim b/.vim/colors/jhdark.vim new file mode 100644 index 0000000..14001e5 --- /dev/null +++ b/.vim/colors/jhdark.vim @@ -0,0 +1,71 @@ +" Vim color file by Jrn Horstmann +" Black background, works in gui and console +" Last change 30.11.2004 + +set bg=dark + +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "jhdark" + +hi Normal guifg=#999999 guibg=#000000 gui=none ctermfg=gray ctermbg=black cterm=none + +hi ErrorMsg guifg=#ff0000 guibg=bg gui=none ctermfg=red ctermbg=bg cterm=none +hi Visual guifg=bg guibg=#0000ff gui=none ctermfg=bg ctermbg=blue cterm=none +hi VisualNOS guifg=bg guibg=#0000ff gui=none ctermfg=bg ctermbg=blue cterm=none +hi Todo guifg=bg guibg=#aaaa00 gui=none ctermfg=bg ctermbg=yellow cterm=none +"hi Todo guifg=#884400 guibg=bg gui=none ctermfg=bg ctermbg=yellow cterm=none +hi Search guifg=bg guibg=#4444aa gui=none ctermfg=bg ctermbg=darkcyan cterm=none +hi IncSearch guifg=bg guibg=#4444aa gui=none ctermfg=bg ctermbg=darkcyan cterm=none + +hi SpecialKey guifg=#775522 guibg=bg gui=none ctermfg=magenta ctermbg=bg cterm=none +hi Directory guifg=#000088 guibg=bg gui=none ctermfg=blue ctermbg=bg cterm=none +hi WarningMsg guifg=#ff0000 guibg=bg gui=none ctermfg=red ctermbg=bg cterm=none +hi WildMenu guifg=bg guibg=#ffff00 gui=none ctermfg=bg ctermbg=yellow cterm=none +hi ModeMsg guifg=fg guibg=bg gui=none ctermfg=fg ctermbg=bg cterm=none +hi Title guifg=fg guibg=#cccccc gui=none ctermfg=bg ctermbg=fg cterm=none +hi MoreMsg guifg=fg guibg=bg gui=none ctermfg=bg ctermbg=fg cterm=none +hi Question guifg=fg guibg=bg gui=none ctermfg=bg ctermbg=fg cterm=none +hi NonText guifg=#666666 guibg=bg gui=none ctermfg=fg ctermbg=bg cterm=none + +hi StatusLine guifg=#dddddd guibg=#000088 gui=none ctermfg=bg ctermbg=darkblue cterm=none +hi StatusLineNC guifg=#dddddd guibg=#333333 gui=none ctermfg=bg ctermbg=darkgray cterm=none +hi VertSplit guifg=#dddddd guibg=#333333 gui=none ctermfg=bg ctermbg=darkgray cterm=none + +hi Folded guifg=#bb0099 guibg=#222222 gui=none ctermfg=darkmagenta ctermbg=bg cterm=none +hi FoldColumn guifg=#bb0099 guibg=#222222 gui=none ctermfg=darkmagenta ctermbg=bg cterm=none +hi SignColumn guifg=#bb0099 guibg=#222222 gui=none ctermfg=darkmagenta ctermbg=bg cterm=none +hi LineNr guifg=#bb0099 guibg=#222222 gui=none ctermfg=darkmagenta ctermbg=bg cterm=none + +"hi Folded guifg=#dddddd guibg=#666666 gui=none ctermfg=darkmagenta ctermbg=bg cterm=none +"hi FoldColumn guifg=#dddddd guibg=#666666 gui=none ctermfg=darkmagenta ctermbg=bg cterm=none +"hi SignColumn guifg=#dddddd guibg=#666666 gui=none ctermfg=darkmagenta ctermbg=bg cterm=none +"hi LineNr guifg=#dddddd guibg=#666666 gui=none ctermfg=darkmagenta ctermbg=bg cterm=none + +hi DiffChange guifg=bg guibg=#888800 gui=none ctermfg=bg ctermbg=brown cterm=none +hi DiffAdd guifg=bg guibg=#000088 gui=none ctermfg=bg ctermbg=darkblue cterm=none +hi DiffDelete guifg=bg guibg=#880000 gui=none ctermfg=bg ctermbg=darkred cterm=none +hi DiffText guifg=fg guibg=#dd0000 gui=none ctermfg=fg ctermbg=red cterm=none + +hi Cursor guifg=bg guibg=fg gui=none ctermfg=bg ctermbg=fg cterm=none +hi lCursor guifg=bg guibg=fg gui=none ctermfg=bg ctermbg=fg cterm=none + +hi Comment guifg=#008800 guibg=bg gui=none ctermfg=darkgreen ctermbg=bg cterm=none +hi Operator guifg=#ffffff guibg=bg gui=none ctermfg=fg ctermbg=bg cterm=none +hi Constant guifg=#aa0000 guibg=bg gui=none ctermfg=darkred ctermbg=bg cterm=none +hi Special guifg=#997700 guibg=bg gui=none ctermfg=brown ctermbg=bg cterm=none + +hi Identifier guifg=#dddddd guibg=bg gui=none ctermfg=gray ctermbg=bg cterm=none + +hi Type guifg=#6666dd guibg=bg gui=none ctermfg=blue ctermbg=bg cterm=none +hi Statement guifg=#dddddd guibg=bg gui=none ctermfg=white ctermbg=bg cterm=none + +hi PreProc guifg=#008888 guibg=bg gui=none ctermfg=darkcyan ctermbg=bg cterm=none + +hi Error guifg=fg guibg=#ff0000 gui=none ctermfg=bg ctermbg=red cterm=none + +hi Ignore guifg=bg ctermfg=bg +hi Underlined guifg=fg guibg=bg ctermfg=fg ctermbg=bg cterm=underline term=underline gui=underline diff --git a/.vim/colors/jhlight.vim b/.vim/colors/jhlight.vim new file mode 100644 index 0000000..6420579 --- /dev/null +++ b/.vim/colors/jhlight.vim @@ -0,0 +1,80 @@ +" Vim color file by Jrn Horstmann +" Light background, works in GUI and cobnsole +" Last change 08.09.2004 +" TODO + +set bg=light + +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "jhlight" + +hi Normal guifg=#000000 guibg=#ffffff gui=none ctermfg=black ctermbg=grey cterm=none + +hi ErrorMsg guifg=#ff0000 guibg=bg gui=none ctermfg=red ctermbg=bg cterm=none +hi Visual guifg=bg guibg=#4444aa gui=none ctermfg=bg ctermbg=darkcyan cterm=none +hi VisualNOS guifg=bg guibg=#4444aa gui=none ctermfg=bg ctermbg=darkcyan cterm=none +hi Todo guifg=fg guibg=#bbbb77 gui=none ctermfg=bg ctermbg=brown cterm=none +"hi Todo guifg=#884400 guibg=bg gui=none ctermfg=bg ctermbg=yellow cterm=none +hi Search guifg=fg guibg=#8888ee gui=none ctermfg=bg ctermbg=blue cterm=none +hi IncSearch guifg=fg guibg=#8888ee gui=none ctermfg=bg ctermbg=blue cterm=none + +hi SpecialKey guifg=#553300 guibg=bg gui=none ctermfg=darkmagenta ctermbg=bg cterm=none +hi Directory guifg=#000088 guibg=bg gui=none ctermfg=blue ctermbg=bg cterm=none +hi WarningMsg guifg=#ff0000 guibg=bg gui=none ctermfg=red ctermbg=bg cterm=none +hi WildMenu guifg=fg guibg=#ffff00 gui=none ctermfg=bg ctermbg=brown cterm=none +hi ModeMsg guifg=fg guibg=bg gui=none ctermfg=fg ctermbg=bg cterm=none +hi Title guifg=#000088 guibg=#cccccc gui=none ctermfg=fg ctermbg=bg cterm=none +hi MoreMsg guifg=#000088 guibg=bg gui=none ctermfg=fg ctermbg=bg cterm=none +hi Question guifg=#000088 guibg=bg gui=none ctermfg=fg ctermbg=bg cterm=none +hi NonText guifg=#444444 guibg=bg gui=none ctermfg=fg ctermbg=bg cterm=none + +hi StatusLine guifg=#dddddd guibg=#000088 gui=none ctermfg=white ctermbg=darkblue cterm=none +hi StatusLineNC guifg=#dddddd guibg=#333333 gui=none ctermfg=grey ctermbg=black cterm=none +hi VertSplit guifg=#dddddd guibg=#333333 gui=none ctermfg=white ctermbg=black cterm=none + +hi Folded guifg=#005500 guibg=#999999 gui=none ctermfg=darkgreen ctermbg=darkgray cterm=none +hi FoldColumn guifg=#005500 guibg=#999999 gui=none ctermfg=darkgreen ctermbg=darkgray cterm=none +hi SignColumn guifg=#005500 guibg=#999999 gui=none ctermfg=darkgreen ctermbg=darkgray cterm=none +hi LineNr guifg=#005500 guibg=#999999 gui=none ctermfg=darkgreen ctermbg=darkgray cterm=none + +"hi Folded guifg=#dddddd guibg=#666666 gui=none ctermfg=darkmagenta ctermbg=bg cterm=none +"hi FoldColumn guifg=#dddddd guibg=#666666 gui=none ctermfg=darkmagenta ctermbg=bg cterm=none +"hi SignColumn guifg=#dddddd guibg=#666666 gui=none ctermfg=darkmagenta ctermbg=bg cterm=none +"hi LineNr guifg=#dddddd guibg=#666666 gui=none ctermfg=darkmagenta ctermbg=bg cterm=none + +hi DiffChange guifg=bg guibg=#888800 gui=none ctermfg=bg ctermbg=brown cterm=none +hi DiffAdd guifg=bg guibg=#000088 gui=none ctermfg=bg ctermbg=darkblue cterm=none +hi DiffDelete guifg=bg guibg=#880000 gui=none ctermfg=bg ctermbg=darkred cterm=none +hi DiffText guifg=fg guibg=#dd0000 gui=none ctermfg=fg ctermbg=red cterm=none + +hi Cursor guifg=bg guibg=fg gui=none ctermfg=bg ctermbg=fg cterm=none +hi lCursor guifg=bg guibg=fg gui=none ctermfg=bg ctermbg=fg cterm=none + +hi Comment guifg=#006600 guibg=bg gui=none ctermfg=darkgreen ctermbg=bg cterm=none +hi Operator guifg=fg guibg=bg gui=none ctermfg=fg ctermbg=bg cterm=none +hi Constant guifg=#880000 guibg=bg gui=none ctermfg=darkred ctermbg=bg cterm=none +hi Special guifg=#553300 guibg=bg gui=none ctermfg=brown ctermbg=bg cterm=none + +hi Identifier guifg=#000088 guibg=bg gui=none ctermfg=darkblue ctermbg=bg cterm=none +"hi Function guifg=#000044 gui=none + +"hi Keyword guifg=#000088 gui=none + +if exists("g:jh_hi_use_bold") + hi Type guifg=#660044 guibg=bg gui=bold ctermfg=darkmagenta ctermbg=bg cterm=none + hi Statement guifg=#440066 guibg=bg gui=bold ctermfg=darkmagenta ctermbg=bg cterm=none +else + hi Type guifg=#660044 guibg=bg gui=none ctermfg=darkmagenta ctermbg=bg cterm=none + hi Statement guifg=#440066 guibg=bg gui=none ctermfg=darkmagenta ctermbg=bg cterm=none +endif + +hi PreProc guifg=#004466 guibg=bg gui=none ctermfg=darkcyan ctermbg=bg cterm=none + +hi Error guifg=fg guibg=#880000 gui=none ctermfg=bg ctermbg=red cterm=none + +hi Ignore guifg=bg ctermfg=bg +hi Underlined guifg=fg guibg=bg ctermfg=fg ctermbg=bg cterm=underline term=underline gui=underline diff --git a/.vim/colors/kalt.vim b/.vim/colors/kalt.vim new file mode 100644 index 0000000..be56b87 --- /dev/null +++ b/.vim/colors/kalt.vim @@ -0,0 +1,213 @@ +"==============================================================================. +" File: kalt.vim | +" License: Public Domain, FREE as LOVE. | +" Description: A cold colorscheme for GVIM/VIM without bold, italic nor | +" underline font styles (except for spell checking and some GUI | +" elements). On VIM it uses a black background. | +" Note: - Only standard (for all languages) highlight-groups are set. | +" - This colorscheme _should_ look nice everywhere. | +"==============================================================================| +" Author: drachenkiraa, {_drachen_kiraa_}@{_gmail_}.{com_} (remove: _{}) | +" Last Change: 2009 Jul 1 | +" Version: 1.1 | +"==========================================================================={{{1 +" Thanks: | +" Starwing Wesley, for telling me that the Cursor disappeared when moving it | +" on a Comment (in gnome-terminal). | +" Changes: | +" 1.0: Public release. | +" 1.1: FIX: Cursor disappeared when moving it in a Comment. This ONLY | +" happened on one terminal (gnome-terminal). Now the Comment ctermfg | +" color is DarkGreen for all 8 color Xterms. But you'll still get the | +" original color (DarkGray) if your terminal supports more colors | +" (or if you set 't_Co' [look below in "Random Tips"]). | +" Changed 'Cursor', 'CursorLine', 'CursorColumn' colors to DarkBlue | +" instead of the ugly Green. | +" Changed 'SpellRare' guifg color from Magenta to DarkMagenta. | +" Changed 'IncSearch' guifg color from LighMagenta to Green. | +" Changed 'PreCondit' guifg color to a Darker Yellow color. | +" Changed 'Special' guifg color from Blue to a Dark Red color. | +" Set ctermfg and guifg options of 'Search' and 'IncSearch' to the | +" background color. | +" Made 'Character' guifg color more brighter. | +" Changed 'Special' guifg color from Blue to a nice Red color. | +"==============================================================================| +" Color Test: :he group-name | +" :so $VIMRUNTIME/syntax/hitest.vim | +" Tested On: - Linux (gvim v6.3, v6.4); | +" - Standard Linux Terminal (vim v6.3, v6.4); | +" - Xterm, Rxvt, Konsole, gnome-terminal (vim v6.3, v6.4). | +" - Windows (gvim v7.1, v7.2); | +" - DOS (vim v7.1, v7.2). | +" TODO: * Test this colorscheme on newer versions of vim/gvim for Linux | +" and other systems (*BSD, Mac, Amiga?). | +" * Are all the has("feature") checks really worth? | +" Please enlighten me if I'm wrong. | +"==============================================================================| +" Random Tips: | +" * If your terminal supports more than 8 colors (which is the case of most | +" modern xterms, rxvts, and others), then it is worth adding the following | +" lines somewhere into your .vimrc: | +" if &term =~ "xterm" | +" set t_Co=16 | +" endif | +" That'll make this colorscheme look a lot better on such terminals. | +" For further help checkout: | +" :he term-dependent-settings | +" :he term | +"===========================================================================}}}1 +" Initial setup stuff {{{1 +" Remove existing highlighting +if has("gui_running") + set background=light +else + set background=dark +endif +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "kalt" +hi Normal ctermbg=Black ctermfg=Gray cterm=NONE guibg=#eaeaea guifg=Black gui=none + +" Vim >= 7.0 specific colors {{{1 +if v:version >= 700 + " Cursor colors {{{2 + hi Cursor ctermbg=DarkBlue ctermfg=fg guibg=DarkBlue guifg=bg gui=none + hi CursorLine ctermbg=DarkBlue guibg=#ccccff gui=none + hi CursorColumn ctermbg=DarkBlue guibg=#ccccff gui=none + " only for Win32, IME status + if has('multi_byte_ime') + hi CursorIM guibg=DarkMagenta guifg=NONE gui=none + endif + + " Auto-completion Popup Menu colors {{{2 + hi Pmenu ctermbg=DarkCyan ctermfg=bg cterm=NONE guibg=#9999cc guifg=fg gui=none + hi PmenuSel ctermbg=DarkBlue ctermfg=fg cterm=NONE guibg=#333399 guifg=bg gui=none + hi PmenuSbar ctermbg=DarkBlue ctermfg=DarkBlue cterm=NONE guibg=#333399 guifg=fg gui=none + hi PmenuThumb ctermbg=Gray ctermfg=Gray cterm=NONE guibg=#6666cc guifg=fg gui=none + + " Tab colors {{{2 + if has("windows") + hi TabLine ctermbg=DarkCyan ctermfg=DarkBlue guibg=DarkGray guifg=DarkBlue gui=none + hi TabLineFill ctermbg=DarkCyan ctermfg=DarkBlue guibg=DarkGray guifg=DarkBlue gui=none + hi TabLineSel ctermbg=DarkBlue ctermfg=Gray guibg=DarkBlue guifg=Gray gui=bold + endif + + " Spell checking colors {{{2 + if has("spell") + hi SpellBad ctermbg=White ctermfg=Red cterm=NONE guisp=Red gui=undercurl + hi SpellCap ctermbg=White ctermfg=Blue cterm=NONE guisp=Blue gui=undercurl + hi SpellLocal ctermbg=White ctermfg=DarkCyan cterm=NONE guisp=DarkCyan gui=undercurl + hi SpellRare ctermbg=White ctermfg=DarkMagenta cterm=NONE guisp=Magenta gui=undercurl + endif + +endif "}}}1 +" Messages and other texts' colors {{{1 +hi WarningMsg ctermbg=bg ctermfg=Red cterm=NONE guibg=bg guifg=Red3 gui=none +hi ErrorMsg ctermbg=Red ctermfg=White cterm=NONE guibg=Red3 guifg=White gui=none +hi ModeMsg ctermbg=bg ctermfg=fg cterm=NONE guibg=bg guifg=fg gui=none +hi MoreMsg ctermbg=bg ctermfg=Green cterm=NONE guibg=bg guifg=DarkGreen gui=none +hi Question ctermbg=bg ctermfg=White cterm=NONE guibg=bg guifg=DarkBlue gui=none +hi Directory ctermbg=bg ctermfg=Blue cterm=NONE guibg=bg guifg=Blue gui=none +hi Title ctermbg=bg ctermfg=Blue cterm=NONE guibg=bg guifg=Blue gui=none + +" Diff colors {{{1 +if has("diff") + hi DiffAdd ctermbg=Green ctermfg=bg cterm=NONE guibg=LightGreen gui=none + hi DiffChange ctermbg=Blue ctermfg=fg cterm=NONE guibg=LightBlue gui=none + hi DiffDelete ctermbg=Red ctermfg=fg cterm=NONE guibg=LightRed gui=none + hi DiffText ctermbg=Cyan ctermfg=bg cterm=NONE guibg=LightCyan gui=none +endif + +" Outline, Fold & Sign columns colors {{{1 +hi LineNr ctermbg=bg ctermfg=DarkYellow guibg=Gray85 guifg=Gray40 gui=none +if has("folding") + hi Folded ctermbg=DarkCyan ctermfg=bg cterm=NONE guibg=Gray80 guifg=DarkBlue gui=none + hi FoldColumn ctermbg=DarkCyan ctermfg=bg cterm=NONE guibg=Gray80 guifg=DarkBlue gui=none +endif +if has("signs") + hi SignColumn ctermbg=bg ctermfg=Yellow cterm=NONE guibg=Gray85 guifg=DarkBlue gui=none +endif + +" Search & Special characters' colors {{{1 +if has("extra_search") + hi Search ctermbg=Yellow ctermfg=bg cterm=NONE guibg=Yellow guifg=fg gui=none + hi IncSearch ctermbg=Green ctermfg=bg cterm=NONE guibg=Green guifg=fg gui=none +endif +hi NonText ctermbg=bg ctermfg=DarkGray guibg=bg guifg=DarkGray gui=none +hi SpecialKey ctermbg=bg ctermfg=Brown guibg=bg guifg=#993333 gui=none + +" Window Bars, Status line & Visual mode colors {{{1 +hi StatusLine ctermbg=DarkBlue ctermfg=fg cterm=NONE guibg=DarkRed guifg=bg gui=none +if has("windows") + hi StatusLineNC ctermbg=DarkGreen ctermfg=bg cterm=NONE guibg=Gray60 guifg=DarkRed gui=none +endif + +if has("vertsplit") + hi VertSplit ctermbg=DarkGreen ctermfg=bg cterm=NONE guibg=DarkRed guifg=bg gui=none +endif + +if has("wildmenu") + hi WildMenu ctermbg=bg ctermfg=Green cterm=NONE guibg=bg guifg=DarkRed gui=bold +endif + +if has("visual") + hi Visual ctermbg=DarkMagenta ctermfg=bg cterm=NONE guibg=#ccee88 guifg=fg gui=none + hi VisualNOS ctermbg=bg ctermfg=DarkMagenta cterm=NONE guibg=#ccee88 guifg=fg gui=none +endif + +" Syntax highlighting colors {{{1 +hi Comment ctermbg=bg ctermfg=DarkGray guibg=bg guifg=Gray50 gui=none +" 8 color terminals fix: +" The Cursor disappears when moving it in a Comment. Only happened on +" one terminal: gnome-terminal. This Fixes-it for all other weird +" 8 color terminals. +if (&term =~ "xterm") && (&t_Co < 16) + hi Comment ctermfg=DarkGreen +endif +hi link SpecialComment Comment + +hi Character ctermbg=bg ctermfg=Red guibg=bg guifg=#990000 gui=none +hi String ctermbg=bg ctermfg=Magenta guibg=bg guifg=Blue gui=none +hi Constant ctermbg=bg ctermfg=Yellow guibg=bg guifg=DarkGreen gui=none +hi link Number Constant +hi link Float Constant +hi link Boolean Constant + +hi Identifier ctermbg=bg ctermfg=Green guibg=bg guifg=DarkGreen gui=none +hi Function ctermbg=bg ctermfg=Green guibg=bg guifg=DarkGreen gui=none + +hi Statement ctermbg=bg ctermfg=Blue guibg=bg guifg=DarkBlue gui=none +hi link Conditional Statement +hi link Repeat Statement +hi link Operator Statement +hi link Keyword Statement +hi link Label Statement +hi link Exception Statement + +hi Type ctermbg=bg ctermfg=DarkMagenta guibg=bg guifg=DarkMagenta gui=none +hi link StorageClass Type +hi link Structure Type +hi link Typedef Type + +hi PreProc ctermbg=bg ctermfg=DarkCyan guibg=bg guifg=DarkCyan gui=none +hi PreCondit ctermbg=bg ctermfg=DarkYellow guibg=bg guifg=#aa8800 gui=none +hi link Include PreProc +hi link Define PreProc + +hi Special ctermbg=bg ctermfg=Blue guibg=bg guifg=#990000 gui=none +hi SpecialChar ctermbg=bg ctermfg=Red guibg=bg guifg=Red gui=none +hi Tag ctermbg=bg ctermfg=DarkRed guibg=bg guifg=DarkRed gui=none +hi Delimiter ctermbg=bg ctermfg=DarkRed guibg=bg guifg=DarkRed gui=none +hi Debug ctermbg=bg ctermfg=DarkGray guibg=bg guifg=DarkGray gui=none + +hi MatchParen ctermbg=White ctermfg=Black cterm=NONE guibg=Blue guifg=White gui=none +hi Error ctermbg=Red ctermfg=White cterm=NONE guibg=bg guifg=Red gui=none +hi Ignore ctermbg=bg ctermfg=bg cterm=NONE guibg=bg guifg=bg gui=none +hi Todo ctermbg=DarkCyan ctermfg=bg cterm=NONE guibg=DarkCyan guifg=bg gui=none +hi Underlined ctermbg=bg ctermfg=Blue cterm=underline guibg=bg guifg=Blue gui=underline +"}}}1 +"==========================================================================={{{1 +" vim: set et sw=2 sts=2 ts=8 nowrap: +" vim600: set fdc=2 fdm=marker: diff --git a/.vim/colors/kaltex.vim b/.vim/colors/kaltex.vim new file mode 100644 index 0000000..4601a2d --- /dev/null +++ b/.vim/colors/kaltex.vim @@ -0,0 +1,213 @@ +"==============================================================================. +" File: kaltex.vim | +" License: Public Domain, FREE as LOVE. | +" Description: A cold colorscheme for GVIM/VIM with bold, italic and underline | +" font styles. On VIM it uses a black background. | +" Note: - Only standard (for all languages) highlight-groups are set. | +" - This colorscheme _should_ look nice everywhere. | +"==============================================================================| +" Author: drachenkiraa, {_drachen_kiraa_}@{_gmail_}.{com_} (remove: _{}) | +" Last Change: 2009 Jul 1 | +" Version: 1.1 | +"==========================================================================={{{1 +" Thanks: | +" Starwing Wesley, for telling me that the Cursor disappeared when moving it | +" on a Comment (in gnome-terminal). | +" Changes: | +" 1.0: Public release. | +" 1.1: FIX: Cursor disappeared when moving it in a Comment. This ONLY | +" happened on one terminal (gnome-terminal). Now the Comment ctermfg | +" color is DarkGreen for all 8 color Xterms. But you'll still get the | +" original color (DarkGray) if your terminal supports more colors | +" (or if you set 't_Co' [look below in "Random Tips"]). | +" Changed 'Cursor', 'CursorLine', 'CursorColumn' colors to DarkBlue | +" instead of the ugly Green. | +" Changed 'SpellRare' guifg color from Magenta to DarkMagenta. | +" Changed 'IncSearch' guifg color from LighMagenta to Green. | +" Changed 'PreCondit' guifg color to a Darker Yellow color. | +" Changed 'Special' guifg color from Blue to a Dark Red color. | +" Set ctermfg and guifg options of 'Search' and 'IncSearch' to the | +" background color. | +" Made 'Character' guifg color more brighter. | +" Changed 'Special' guifg color from Blue to a nice Red color. | +" Changed 'PmenuSel' and 'Todo' gui option to bold. | +"==============================================================================| +" Color Test: :he group-name | +" :so $VIMRUNTIME/syntax/hitest.vim | +" Tested On: - Linux (gvim v6.3, v6.4); | +" - Standard Linux Terminal (vim v6.3, v6.4); | +" - Xterm, Rxvt, Konsole, gnome-terminal (vim v6.3, v6.4). | +" - Windows (gvim v7.1, v7.2); | +" - DOS (vim v7.1, v7.2). | +" TODO: * Test this colorscheme on newer versions of vim/gvim for Linux | +" and other systems (*BSD, Mac, Amiga?). | +" * Are all the has("feature") checks really worth? | +" Please enlighten me if I'm wrong. | +"==============================================================================| +" Random Tips: | +" * If your terminal supports more than 8 colors (which is the case of most | +" modern xterms, rxvts, and others), then it is worth adding the following | +" lines somewhere into your .vimrc: | +" if &term =~ "xterm" | +" set t_Co=16 | +" endif | +" That'll make this colorscheme look a lot better on such terminals. | +" For further help checkout: | +" :he term-dependent-settings | +" :he term | +"===========================================================================}}}1 +" Initial setup stuff {{{1 +" Remove existing highlighting +if has("gui_running") + set background=light +else + set background=dark +endif +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "kaltex" +hi Normal ctermbg=Black ctermfg=Gray cterm=NONE guibg=#eaeaea guifg=Black gui=none + +" Vim >= 7.0 specific colors {{{1 +if v:version >= 700 + " Cursor colors {{{2 + hi Cursor ctermbg=DarkBlue ctermfg=fg guibg=DarkBlue guifg=bg gui=none + hi CursorLine ctermbg=DarkBlue guibg=#ccccff gui=none + hi CursorColumn ctermbg=DarkBlue guibg=#ccccff gui=none + " only for Win32, IME status + if has('multi_byte_ime') + hi CursorIM guibg=DarkMagenta guifg=NONE gui=none + endif + + " Auto-completion Popup Menu colors {{{2 + hi Pmenu ctermbg=DarkCyan ctermfg=bg cterm=NONE guibg=#9999cc guifg=fg gui=none + hi PmenuSel ctermbg=DarkBlue ctermfg=fg cterm=NONE guibg=#333399 guifg=bg gui=bold + hi PmenuSbar ctermbg=DarkBlue ctermfg=DarkBlue cterm=NONE guibg=#333399 guifg=fg gui=none + hi PmenuThumb ctermbg=Gray ctermfg=Gray cterm=NONE guibg=#6666cc guifg=fg gui=none + + " Tab colors {{{2 + if has("windows") + hi TabLine ctermbg=DarkCyan ctermfg=DarkBlue guibg=DarkGray guifg=DarkBlue gui=none + hi TabLineFill ctermbg=DarkCyan ctermfg=DarkBlue guibg=DarkGray guifg=DarkBlue gui=none + hi TabLineSel ctermbg=DarkBlue ctermfg=Gray guibg=DarkBlue guifg=Gray gui=bold + endif + + " Spell checking colors {{{2 + if has("spell") + hi SpellBad ctermbg=White ctermfg=Red cterm=NONE guisp=Red gui=undercurl + hi SpellCap ctermbg=White ctermfg=Blue cterm=NONE guisp=Blue gui=undercurl + hi SpellLocal ctermbg=White ctermfg=DarkCyan cterm=NONE guisp=DarkCyan gui=undercurl + hi SpellRare ctermbg=White ctermfg=DarkMagenta cterm=NONE guisp=Magenta gui=undercurl + endif + +endif "}}}1 +" Messages and other texts' colors {{{1 +hi WarningMsg ctermbg=bg ctermfg=Red cterm=NONE guibg=bg guifg=Red3 gui=none +hi ErrorMsg ctermbg=Red ctermfg=White cterm=NONE guibg=Red3 guifg=White gui=none +hi ModeMsg ctermbg=bg ctermfg=fg cterm=NONE guibg=bg guifg=fg gui=none +hi MoreMsg ctermbg=bg ctermfg=Green cterm=NONE guibg=bg guifg=DarkGreen gui=none +hi Question ctermbg=bg ctermfg=White cterm=NONE guibg=bg guifg=DarkBlue gui=none +hi Directory ctermbg=bg ctermfg=Blue cterm=NONE guibg=bg guifg=Blue gui=none +hi Title ctermbg=bg ctermfg=Blue cterm=NONE guibg=bg guifg=Blue gui=none + +" Diff colors {{{1 +if has("diff") + hi DiffAdd ctermbg=Green ctermfg=bg cterm=NONE guibg=LightGreen gui=none + hi DiffChange ctermbg=Blue ctermfg=fg cterm=NONE guibg=LightBlue gui=none + hi DiffDelete ctermbg=Red ctermfg=fg cterm=NONE guibg=LightRed gui=none + hi DiffText ctermbg=Cyan ctermfg=bg cterm=NONE guibg=LightCyan gui=none +endif + +" Outline, Fold & Sign columns colors {{{1 +hi LineNr ctermbg=bg ctermfg=DarkYellow guibg=Gray85 guifg=Gray40 gui=none +if has("folding") + hi Folded ctermbg=DarkCyan ctermfg=bg cterm=NONE guibg=Gray80 guifg=DarkBlue gui=none + hi FoldColumn ctermbg=DarkCyan ctermfg=bg cterm=NONE guibg=Gray80 guifg=DarkBlue gui=none +endif +if has("signs") + hi SignColumn ctermbg=bg ctermfg=Yellow cterm=NONE guibg=Gray85 guifg=DarkBlue gui=none +endif + +" Search & Special characters' colors {{{1 +if has("extra_search") + hi Search ctermbg=Yellow ctermfg=bg cterm=NONE guibg=Yellow guifg=fg gui=none + hi IncSearch ctermbg=Green ctermfg=bg cterm=NONE guibg=Green guifg=fg gui=none +endif +hi NonText ctermbg=bg ctermfg=DarkGray guibg=bg guifg=DarkGray gui=none +hi SpecialKey ctermbg=bg ctermfg=Brown guibg=bg guifg=#993333 gui=none + +" Window Bars, Status line & Visual mode colors {{{1 +hi StatusLine ctermbg=DarkBlue ctermfg=fg cterm=NONE guibg=DarkRed guifg=bg gui=none +if has("windows") + hi StatusLineNC ctermbg=DarkGreen ctermfg=bg cterm=NONE guibg=Gray60 guifg=DarkRed gui=none +endif + +if has("vertsplit") + hi VertSplit ctermbg=DarkGreen ctermfg=bg cterm=NONE guibg=DarkRed guifg=bg gui=none +endif + +if has("wildmenu") + hi WildMenu ctermbg=bg ctermfg=Green cterm=NONE guibg=bg guifg=DarkRed gui=bold +endif + +if has("visual") + hi Visual ctermbg=DarkMagenta ctermfg=bg cterm=NONE guibg=#ccee88 guifg=fg gui=none + hi VisualNOS ctermbg=bg ctermfg=DarkMagenta cterm=NONE guibg=#ccee88 guifg=fg gui=none +endif + +" Syntax highlighting colors {{{1 +hi Comment ctermbg=bg ctermfg=DarkGray guibg=bg guifg=Gray50 gui=none +" 8 color terminals fix: +" The Cursor disappears when moving it in a Comment. Only happened on +" one terminal: gnome-terminal. This Fixes-it for all other weird +" 8 color terminals. +if (&term =~ "xterm") && (&t_Co < 16) + hi Comment ctermfg=DarkGreen +endif +hi link SpecialComment Comment + +hi Character ctermbg=bg ctermfg=Red guibg=bg guifg=#990000 gui=none +hi String ctermbg=bg ctermfg=Magenta guibg=bg guifg=Blue gui=none +hi Constant ctermbg=bg ctermfg=Yellow guibg=bg guifg=DarkGreen gui=none +hi link Number Constant +hi link Float Constant +hi link Boolean Constant + +hi Identifier ctermbg=bg ctermfg=Green guibg=bg guifg=DarkGreen gui=none +hi Function ctermbg=bg ctermfg=Green guibg=bg guifg=DarkGreen gui=bold + +hi Statement ctermbg=bg ctermfg=Blue guibg=bg guifg=DarkBlue gui=bold +hi link Conditional Statement +hi link Repeat Statement +hi link Operator Statement +hi link Keyword Statement +hi link Label Statement +hi link Exception Statement + +hi Type ctermbg=bg ctermfg=DarkMagenta guibg=bg guifg=DarkMagenta gui=bold +hi link StorageClass Type +hi link Structure Type +hi link Typedef Type + +hi PreProc ctermbg=bg ctermfg=DarkCyan guibg=bg guifg=DarkCyan gui=none +hi PreCondit ctermbg=bg ctermfg=DarkYellow guibg=bg guifg=#bbaa00 gui=bold +hi link Include PreProc +hi link Define PreProc + +hi Special ctermbg=bg ctermfg=Blue guibg=bg guifg=#990000 gui=bold +hi SpecialChar ctermbg=bg ctermfg=Red guibg=bg guifg=Red gui=none +hi Tag ctermbg=bg ctermfg=DarkRed guibg=bg guifg=DarkRed gui=none +hi Delimiter ctermbg=bg ctermfg=DarkRed guibg=bg guifg=DarkRed gui=none +hi Debug ctermbg=bg ctermfg=DarkGray guibg=bg guifg=DarkGray gui=none + +hi MatchParen ctermbg=White ctermfg=Black cterm=NONE guibg=Blue guifg=White gui=none +hi Error ctermbg=Red ctermfg=White cterm=NONE guibg=bg guifg=Red gui=none +hi Ignore ctermbg=bg ctermfg=bg cterm=NONE guibg=bg guifg=bg gui=none +hi Todo ctermbg=DarkCyan ctermfg=bg cterm=NONE guibg=DarkCyan guifg=bg gui=bold +hi Underlined ctermbg=bg ctermfg=Blue cterm=underline guibg=bg guifg=Blue gui=underline +"}}}1 +"==========================================================================={{{1 +" vim: set et sw=2 sts=2 ts=8 nowrap: +" vim600: set fdc=2 fdm=marker: diff --git a/.vim/colors/kate.vim b/.vim/colors/kate.vim new file mode 100644 index 0000000..168f420 --- /dev/null +++ b/.vim/colors/kate.vim @@ -0,0 +1,59 @@ +" Vim color file +" Maintainer: Donald Ephraim Curtis +" Last Change: 09. january 2007. +" URL: http://milkbox.net +" Kate default color themes. +" version 1.1 + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="DevC++" + +hi Comment gui=italic guifg=#808080 guibg=NONE +hi Identifier gui=NONE guifg=Black guibg=NONE +hi Statement gui=bold guifg=DarkBlue guibg=NONE +hi PreProc gui=NONE guifg=#008000 guibg=NONE +hi Statement gui=bold guifg=Black guibg=NONE +hi Type gui=bold guifg=#800000 guibg=NONE +hi link Constant Type +hi Special gui=NONE guifg=Black guibg=NONE +hi Structure gui=bold guifg=Black guibg=NONE +hi String gui=NONE guifg=#DD0000 guibg=NONE +hi Number gui=NONE guifg=#0000FF guibg=NONE +hi SpecialKey gui=NONE guifg=#0000FF guibg=NONE +hi Float gui=NONE guifg=#800080 guibg=NONE +hi Boolean gui=bold guifg=Black guibg=NONE +hi Gutter gui=NONE guifg=Black guibg=Grey +hi Todo gui=bold guifg=black guibg=#FFCCCC +hi LineNr gui=NONE guifg=Black guibg=#EBE9ED +hi NonText gui=bold guifg=black guibg=#EBE9ED +hi Visual gui=reverse guifg=NONE guibg=NONE +hi MatchParen gui=NONE guifg=Black guibg=#FFFF99 +hi Question gui=NONE guifg=DarkGreen guibg=NONE +hi More gui=bold guifg=DarkGreen guibg=NONE +hi StatusLine gui=bold guifg=Black guibg=#EBE9ED + +" C/C++ Colors +hi link cIncluded PreProc +hi cOctal gui=NONE guifg=#008080 guibg=NONE +hi cSpecial gui=NONE guifg=#FF00FF guibg=NONE +hi link cSpecialCharacter cSpecial + +" Latex Colors +"hi texStatement guifg=#606000 +hi link texType Normal +hi link texDocType Type +hi link texDefParm Normal +hi link texInput Normal +hi link texInputFile Normal +hi link texNewCmd texDocType +hi link texSection String +hi link texSectionName SpecialKey +hi link texDelimiter Normal +hi link texRefZone Normal +hi link texMath PreProc +hi link texLigature texMath +hi texStatement gui=NONE guifg=#800000 guibg=NONE diff --git a/.vim/colors/kellys.vim b/.vim/colors/kellys.vim new file mode 100644 index 0000000..da1b1a1 --- /dev/null +++ b/.vim/colors/kellys.vim @@ -0,0 +1,271 @@ +" Description: a colour scheme inspired by kellys bicycles +" Maintainer: kamil.stachowski@gmail.com +" License: gpl 3+ +" Version: 0.4 (2011.01.11) + +" changelog: +" 0.4: 2011.01.11 +" fixed 256-colour +" improved php and TeX +" linked htmlItalic to Underlined +" added Conceal +" added netrw +" 0.3: 2008.12.07 +" finished ada, haskell, html, lisp, pascal, php, python, ruby, scheme, sh, xml and vim +" changed preproc to slightly darker +" changed statement to bold +" 0.2: 2008.12.02 +" added support for 256-colour terminal +" added diff*, pmenu* and wildmenu +" added some cpp, java*, python*, some sh and ruby* +" removed italic from comments and made them slightly lighter +" 0.1: 2008.11.28 +" initial version + + +set background=dark + +if version > 580 + hi clear + if exists("syntax_on") + syntax reset + endif +endif + +let colors_name = "kellys" + +" black 2a2b2f 235 +" blue 62acce 81 +" blue slight 9ab2c8 74 +" brown slight d1c79e 144 +" green yellowy d1d435 184 +" grey dark 67686b 240 +" grey light e1e0e5 254 +" orange e6ac32 178 +" red 9d0e15 124 +" + +" green 00d700 40 + +if has("gui_running") + hi Comment guifg=#67686b guibg=#2a2b2f gui=none + hi Cursor guifg=#2a2b2f guibg=#e1e0e5 gui=none + hi Conceal guifg=#e1e0e5 guibg=#67686b gui=none + hi Constant guifg=#d1c79e guibg=#2a2b2f gui=none + hi CursorLine guibg=#303132 gui=none + hi DiffAdd guifg=#2a2b2f guibg=#00d700 gui=none + hi DiffChange guifg=#2a2b2f guibg=#d1c79e gui=none + hi DiffDelete guifg=#67686b guibg=#2a2b2f gui=none + hi DiffText guifg=#9d0e15 guibg=#d1c79e gui=none + hi Error guifg=#9d0e15 guibg=#2a2b2f gui=underline + hi Folded guifg=#2a2b2f guibg=#67686b gui=none + hi MatchParen guifg=#d1d435 guibg=#2a2b2f gui=bold,underline + hi ModeMsg guifg=#e1e0e5 guibg=#2a2b2f gui=bold + hi Normal guifg=#e1e0e5 guibg=#2a2b2f gui=none + hi Pmenu guifg=#2a2b2f guibg=#9ab2c8 gui=none + hi PmenuSel guifg=#2a2b2f guibg=#62acce gui=bold + hi PmenuSbar guifg=#2a2b2f guibg=#2a2b2f gui=none + hi PmenuThumb guifg=#2a2b2f guibg=#62acce gui=none + hi PreProc guifg=#d1d435 guibg=#2a2b2f gui=none + hi Search guifg=#2a2b2f guibg=#e1e0e5 gui=none + hi Special guifg=#9ab2c8 guibg=#2a2b2f gui=none + hi Statement guifg=#62acce guibg=#2a2b2f gui=bold + hi StatusLine guifg=#2a2b2f guibg=#62acce gui=bold + hi StatusLineNC guifg=#2a2b2f guibg=#e1e0e5 gui=none + hi Todo guifg=#e1e0e5 guibg=#9d0e15 gui=bold + hi Type guifg=#e6ac32 guibg=#2a2b2f gui=none + hi Underlined guifg=#e1e0e5 guibg=#2a2b2f gui=underline + hi Visual guifg=#2a2b2f guibg=#e1e0e5 gui=none + hi Wildmenu guifg=#00d700 guibg=#2a2b2f gui=none +else + if &t_Co == 256 + hi Comment ctermfg=239 ctermbg=235 cterm=none + hi Conceal ctermfg=254 ctermbg=239 cterm=none + hi Cursor ctermfg=235 ctermbg=254 cterm=none + hi Constant ctermfg=144 ctermbg=235 cterm=none + hi CursorLine ctermbg=236 cterm=none + hi DiffAdd ctermfg=235 ctermbg=40 cterm=none + hi DiffChange ctermfg=235 ctermbg=144 cterm=none + hi DiffDelete ctermfg=239 ctermbg=235 cterm=none + hi DiffText ctermfg=124 ctermbg=144 cterm=none + hi Error ctermfg=254 ctermbg=235 cterm=underline + hi Folded ctermfg=239 ctermbg=235 cterm=none + hi MatchParen ctermfg=184 ctermbg=235 cterm=bold,underline + hi ModeMsg ctermfg=254 ctermbg=235 cterm=bold + hi Normal ctermfg=254 ctermbg=235 cterm=none + hi Pmenu ctermfg=235 ctermbg=74 cterm=none + hi PmenuSel ctermfg=235 ctermbg=81 cterm=bold + hi PmenuSbar ctermfg=235 ctermbg=235 cterm=none + hi PmenuThumb ctermfg=235 ctermbg=81 cterm=none + hi PreProc ctermfg=184 ctermbg=235 cterm=none + hi Search ctermfg=235 ctermbg=254 cterm=none + hi Special ctermfg=74 ctermbg=235 cterm=none + hi Statement ctermfg=81 ctermbg=235 cterm=none + hi StatusLine ctermfg=235 ctermbg=81 cterm=bold + hi StatusLineNC ctermfg=235 ctermbg=254 cterm=none + hi Todo ctermfg=254 ctermbg=124 cterm=bold + hi Type ctermfg=178 ctermbg=235 cterm=none + hi Underlined ctermfg=254 ctermbg=235 cterm=underline + hi Visual ctermfg=235 ctermbg=255 cterm=none + hi Wildmenu ctermfg=40 ctermbg=235 cterm=none + endif +endif + +hi! link Boolean Constant +hi! link Character Constant +hi! link Conditional Statement +hi! link CursorColumn CursorLine +hi! link Debug Special +hi! link Define PreProc +hi! link Delimiter Special +hi! link Directory Type +hi! link Error Error +hi! link ErrorMsg Error +hi! link Exception Statement +hi! link Float Constant +hi! link FoldColumn Folded +hi! link Function Normal +hi! link Identifier Special +hi! link Ignore Comment +hi! link IncSearch Search +hi! link Include PreProc +hi! link Keyword Statement +hi! link Label Statement +hi! link LineNr Comment +hi! link Macro PreProc +hi! link MoreMsg ModeMsg +hi! link NonText Comment +hi! link Number Constant +hi! link Operator Special +hi! link PreCondit PreProc +hi! link Question MoreMsg +hi! link Repeat Statement +hi! link SignColumn FoldColumn +hi! link SpecialChar Special +hi! link SpecialComment Special +hi! link SpecialKey Comment +hi! link SpellBad Error +hi! link SpellCap Error +hi! link SpellLocal Error +hi! link SpellRare Error +hi! link StorageClass Type +hi! link String Constant +hi! link Structure Type +hi! link Tag Special +hi! link Title ModeMsg +hi! link Typedef Type +hi! link VertSplit StatusLineNC +hi! link WarningMsg Error + +" ada +hi! link adaBegin Type +hi! link adaEnd Type +hi! link adaKeyword Special +" c++ +hi! link cppAccess Type +hi! link cppStatement Special +" hs +hi! link ConId Type +hi! link hsPragma PreProc +hi! link hsConSym Operator +" html +hi! link htmlArg Statement +hi! link htmlEndTag Special +hi! link htmlItalic Underlined +hi! link htmlLink Underlined +hi! link htmlSpecialTagName PreProc +hi! link htmlTag Special +hi! link htmlTagName Type +" java +hi! link javaTypeDef Special +" lisp +hi! link lispAtom Constant +hi! link lispAtomMark Constant +hi! link lispConcat Special +hi! link lispDecl Type +hi! link lispFunc Special +hi! link lispKey PreProc +" netrw +hi! link netrwDir Special +hi! link netrwExe Wildmenu +hi! link netrwSymLink Statement +" pas +hi! link pascalAsmKey Statement +hi! link pascalDirective PreProc +hi! link pascalModifier PreProc +hi! link pascalPredefined Special +hi! link pascalStatement Type +hi! link pascalStruct Type +" php +hi! link phpComparison Special +hi! link phpDefine Type +hi! link phpIdentifier Normal +hi! link phpMemberSelector Special +hi! link phpRegion Special +hi! link phpVarSelector Special +" py +hi! link pythonStatement Type +" rb +hi! link rubyConstant Special +hi! link rubyDefine Type +hi! link rubyRegexp Special +" scm +hi! link schemeSyntax Special +" sh +hi! link shArithRegion Normal +hi! link shDerefSimple Normal +hi! link shDerefVar Normal +hi! link shFunction Type +hi! link shLoop Statement +hi! link shStatement Special +hi! link shVariable Normal +" sql +hi! link sqlKeyword Statement +" tex +hi! link texDocType PreProc +hi! link texLigature Constant +hi! link texMatcher Normal +hi! link texNewCmd PreProc +hi! link texOnlyMath Constant +hi! link texRefZone Constant +hi! link texSection Type +hi! link texSectionMarker Type +hi! link texSectionModifier Constant +hi! link texTypeSize Special +hi! link texTypeStyle Special +" vim +hi! link vimCommand Statement +hi! link vimCommentTitle Normal +hi! link vimEnvVar Special +hi! link vimFuncKey Type +hi! link vimGroup Special +hi! link vimHiAttrib Constant +hi! link vimHiCTerm Special +hi! link vimHiCtermFgBg Special +hi! link vimHighlight Special +hi! link vimHiGui Special +hi! link vimHiGuiFgBg Special +hi! link vimOption Special +hi! link vimSyntax Special +hi! link vimSynType Special +hi! link vimUserAttrb Special +" xml +hi! link xmlAttrib Special +hi! link xmlCdata Normal +hi! link xmlCdataCdata Statement +hi! link xmlCdataEnd PreProc +hi! link xmlCdataStart PreProc +hi! link xmlDocType PreProc +hi! link xmlDocTypeDecl PreProc +hi! link xmlDocTypeKeyword PreProc +hi! link xmlEndTag Statement +hi! link xmlProcessingDelim PreProc +hi! link xmlNamespace PreProc +hi! link xmlTagName Statement + +" hi! link TexTypeStyle Comment +" hi! link TexStatement Comment +" hi! link TexRefZone Normal +" hi! link TexSectionName Comment +" hi! link TexSectionMarker Comment +" hi! link Delimiter Comment +" hi! link TexMatcher Comment diff --git a/.vim/colors/khaki.vim b/.vim/colors/khaki.vim new file mode 100644 index 0000000..07a6e24 --- /dev/null +++ b/.vim/colors/khaki.vim @@ -0,0 +1,178 @@ +" Vim color file: khaki.vim +" Version: 1.0 +" Author: Frank Baruch +" License: GPL +" Compatibility: Vim 5.7 onwards. +"------------------------------------------------------------------------------ +" +" A light colorscheme optimized for gui and 256 color terminals. +" +" Features: +" - Optimized for 256 colour palette, then converted to gui. +" - Identical colour rendition in both gui and cterm environments. +" - Low-contrast minimizes eye-strain during long edit sessions. +" - Avoids use of terminal attributes {bold italic etc}, with the +" exception of 'underline' used with the 'Underlined' group-name. +" +" Installation: +" - Copy khaki.vim to ~/.vim/colors/ +" - Add following lines to ~/.vimrc +" if !has("gui_running") +" set t_Co=256 +" endif +" colorscheme khaki +" +" Version History: +" 1.1: 2007/08/27 Fix gui palette intensity (0x8f should be 0x87). +" 1.0: 2007/08/10 Initial release. +" +" To Do: +" Add any missing standard colorscheme functionality. +" +" Feedback: +" Please email the author any comments and suggestions for improvement. +" +"------------------------------------------------------------------------------ + +if &t_Co != 256 && !has("gui_running") + echomsg "" + echomsg "write 'set t_Co=256' in your .vimrc or this file won't load" + echomsg "" + finish +endif + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "khaki" + +if !has("gui_running") + hi Normal cterm=NONE ctermfg=58 ctermbg=187 + hi Cursor cterm=NONE ctermfg=230 ctermbg=58 + hi CursorLine cterm=NONE ctermfg=NONE ctermbg=186 + hi CursorColumn cterm=NONE ctermfg=NONE ctermbg=185 + hi Incsearch cterm=NONE ctermfg=58 ctermbg=174 + hi Search cterm=NONE ctermfg=58 ctermbg=174 + hi ErrorMsg cterm=NONE ctermfg=58 ctermbg=197 + hi WarningMsg cterm=NONE ctermfg=58 ctermbg=226 + hi ModeMsg cterm=NONE ctermfg=58 ctermbg=192 + hi MoreMsg cterm=NONE ctermfg=58 ctermbg=154 + hi Question cterm=NONE ctermfg=27 ctermbg=NONE + hi StatusLine cterm=NONE ctermfg=187 ctermbg=30 + hi StatusLineNC cterm=NONE ctermfg=58 ctermbg=101 + hi User1 cterm=NONE ctermfg=28 ctermbg=NONE + hi User2 cterm=NONE ctermfg=39 ctermbg=NONE + hi VertSplit cterm=NONE ctermfg=144 ctermbg=144 + hi WildMenu cterm=NONE ctermfg=58 ctermbg=144 + hi DiffText cterm=NONE ctermfg=58 ctermbg=190 + hi DiffChange cterm=NONE ctermfg=58 ctermbg=83 + hi DiffDelete cterm=NONE ctermfg=187 ctermbg=124 + hi DiffAdd cterm=NONE ctermfg=187 ctermbg=21 + hi Folded cterm=NONE ctermfg=19 ctermbg=115 + hi FoldedColumn cterm=NONE ctermfg=39 ctermbg=190 + hi FoldColumn cterm=NONE ctermfg=19 ctermbg=115 + hi Directory cterm=NONE ctermfg=28 ctermbg=NONE + hi LineNr cterm=NONE ctermfg=58 ctermbg=144 + hi NonText cterm=NONE ctermfg=58 ctermbg=144 + hi SpecialKey cterm=NONE ctermfg=130 ctermbg=NONE + hi Title cterm=NONE ctermfg=19 ctermbg=NONE + hi Visual cterm=NONE ctermfg=58 ctermbg=192 + hi Comment cterm=NONE ctermfg=101 ctermbg=NONE + hi Constant cterm=NONE ctermfg=131 ctermbg=NONE + hi String cterm=NONE ctermfg=23 ctermbg=NONE + hi Error cterm=NONE ctermfg=197 ctermbg=NONE + hi Identifier cterm=NONE ctermfg=24 ctermbg=NONE + hi Ignore cterm=NONE ctermfg=187 ctermbg=NONE + hi Number cterm=NONE ctermfg=22 ctermbg=NONE + hi PreProc cterm=NONE ctermfg=52 ctermbg=NONE + hi Special cterm=NONE ctermfg=22 ctermbg=NONE + hi SpecialChar cterm=NONE ctermfg=88 ctermbg=NONE + hi Statement cterm=NONE ctermfg=89 ctermbg=NONE + hi Todo cterm=NONE ctermfg=58 ctermbg=156 + hi Type cterm=NONE ctermfg=53 ctermbg=NONE + hi Underlined cterm=UNDERLINE ctermfg=NONE ctermbg=NONE + hi TaglistTagName cterm=NONE ctermfg=29 ctermbg=118 +endif + +if has("gui_running") + hi Normal gui=NONE guifg=#5f5f00 guibg=#d7d7af + hi Cursor gui=NONE guifg=#ffffd7 guibg=#5f5f00 + hi CursorLine gui=NONE guifg=NONE guibg=#d7d787 + hi CursorColumn gui=NONE guifg=NONE guibg=#d7d75f + hi Incsearch gui=NONE guifg=#5f5f00 guibg=#d78787 + hi Search gui=NONE guifg=#5f5f00 guibg=#d78787 + hi ErrorMsg gui=NONE guifg=#5f5f00 guibg=#ff005f + hi WarningMsg gui=NONE guifg=#5f5f00 guibg=#ffff00 + hi ModeMsg gui=NONE guifg=#5f5f00 guibg=#d7ff87 + hi MoreMsg gui=NONE guifg=#5f5f00 guibg=#afff00 + hi Question gui=NONE guifg=#005fff guibg=NONE + hi StatusLine gui=NONE guifg=#d7d7af guibg=#008787 + hi StatusLineNC gui=NONE guifg=#5f5f00 guibg=#87875f + hi User1 gui=NONE guifg=#008700 guibg=NONE + hi User2 gui=NONE guifg=#00afff guibg=NONE + hi VertSplit gui=NONE guifg=#afaf87 guibg=#afaf87 + hi WildMenu gui=NONE guifg=#5f5f00 guibg=#afaf87 + hi DiffText gui=NONE guifg=#5f5f00 guibg=#d7ff00 + hi DiffChange gui=NONE guifg=#5f5f00 guibg=#5fff5f + hi DiffDelete gui=NONE guifg=#d7d7af guibg=#af0000 + hi DiffAdd gui=NONE guifg=#d7d7af guibg=#0000ff + hi Folded gui=NONE guifg=#0000af guibg=#87d7af + hi FoldedColumn gui=NONE guifg=#00afff guibg=#d7ff00 + hi FoldColumn gui=NONE guifg=#0000af guibg=#87d7af + hi Directory gui=NONE guifg=#008700 guibg=NONE + hi LineNr gui=NONE guifg=#5f5f00 guibg=#afaf87 + hi NonText gui=NONE guifg=#5f5f00 guibg=#afaf87 + hi SpecialKey gui=NONE guifg=#af5f00 guibg=NONE + hi Title gui=NONE guifg=#0000af guibg=NONE + hi Visual gui=NONE guifg=#5f5f00 guibg=#d7ff87 + hi Comment gui=NONE guifg=#87875f guibg=NONE + hi Constant gui=NONE guifg=#af5f5f guibg=NONE + hi String gui=NONE guifg=#005f5f guibg=NONE + hi Error gui=NONE guifg=#ff005f guibg=NONE + hi Identifier gui=NONE guifg=#005f87 guibg=NONE + hi Ignore gui=NONE guifg=#d7d7af guibg=NONE + hi Number gui=NONE guifg=#005f00 guibg=NONE + hi PreProc gui=NONE guifg=#5f0000 guibg=NONE + hi Special gui=NONE guifg=#005f00 guibg=NONE + hi SpecialChar gui=NONE guifg=#870000 guibg=NONE + hi Statement gui=NONE guifg=#87005f guibg=NONE + hi Todo gui=NONE guifg=#5f5f00 guibg=#afff87 + hi Type gui=NONE guifg=#5f005f guibg=NONE + hi Underlined gui=UNDERLINE guifg=NONE guibg=NONE + hi TaglistTagName gui=NONE guifg=#00875f guibg=#87ff00 +endif + +if !has("gui_running") && v:version >= 700 + hi Pmenu cterm=NONE ctermfg=229 ctermbg=29 + hi PmenuSel cterm=NONE ctermfg=59 ctermbg=226 + hi PmenuSbar cterm=NONE ctermfg=58 ctermbg=119 + hi PmenuThumb cterm=NONE ctermfg=58 ctermbg=226 + hi SpellBad cterm=NONE ctermfg=NONE ctermbg=192 + hi SpellRare cterm=NONE ctermfg=NONE ctermbg=228 + hi SpellLocal cterm=NONE ctermfg=NONE ctermbg=224 + hi SpellCap cterm=NONE ctermfg=NONE ctermbg=145 + hi MatchParen cterm=NONE ctermfg=187 ctermbg=22 + hi TabLine cterm=NONE ctermfg=187 ctermbg=22 + hi TabLineSel cterm=NONE ctermfg=187 ctermbg=30 + hi TabLineFill cterm=NONE ctermfg=187 ctermbg=58 +endif + +if has("gui_running") && v:version >= 700 + hi Pmenu gui=NONE guifg=#ffffaf guibg=#00875f + hi PmenuSel gui=NONE guifg=#5f5f5f guibg=#ffff00 + hi PmenuSbar gui=NONE guifg=#5f5f00 guibg=#87ff5f + hi PmenuThumb gui=NONE guifg=#5f5f00 guibg=#ffff00 + hi SpellBad gui=NONE guifg=NONE guibg=#d7ff87 + hi SpellRare gui=NONE guifg=NONE guibg=#ffff87 + hi SpellLocal gui=NONE guifg=NONE guibg=#ffd7d7 + hi SpellCap gui=NONE guifg=NONE guibg=#afafaf + hi MatchParen gui=NONE guifg=#d7d7af guibg=#005f00 + hi TabLine gui=NONE guifg=#d7d7af guibg=#005f00 + hi TabLineSel gui=NONE guifg=#d7d7af guibg=#008787 + hi TabLineFill gui=NONE guifg=#d7d7af guibg=#5f5f00 +endif + +" vim: set sts=4 et tw=0 ft=vim: diff --git a/.vim/colors/kib_darktango.vim b/.vim/colors/kib_darktango.vim new file mode 100644 index 0000000..55a8101 --- /dev/null +++ b/.vim/colors/kib_darktango.vim @@ -0,0 +1,171 @@ +" Vim color file +" Name: kib_darktango +" Maintainer: Kib +" Version: 0.3 +" Last Time Modified: 01.01.2007 + +" Couleur du fond d'ecran +set background=dark +if version > 580 + " Pas de versions inferieures a la 5.80, mais cela + " fait en sorte que Vim ne se plaint pas + hi clear + if exists("syntax_on") + syntax reset + endif +endif + +let g:colors_name="kib_darktango" + +" To help you visit this page : http://www.vim.org/htmldoc/syntax.html#tag-highlight + +" ====================================================== +" ==================================== normal Mode: +" ====================================================== +" {{{ syntax + + +" ==== Some constants : + +" Normal : foreground and background +hi Normal guibg=#2e3436 guifg=#d3d7cf +" ==== Titles : ? +hi Title guifg=#4e9a06 + + +" ==== Comments : any comment +hi Comment guifg=#edd400 " any comment + +" ===== Constants : +hi Constants guifg=#e9b96e " any constant +hi String guifg=#729fcf " a string constant: "this is a string" +hi Character guifg=#3465a4 " a character constant: 'c', '\n' +hi Number guifg=#e9b96e " a number constant: 234, 0xff +hi Boolean guifg=#c1c144 " a boolean constant: TRUE, false +hi Float guifg=#c1c144 " a floating point constant: 2.3e10 + +" ===== Identifier : any variable name +hi Identifier guifg=#f57900 " function name (also: methods for classes) + +" ===== Statements : Les mots cles de chaque language +hi Statement guifg=#729fcf " par dfaut +hi Conditional guifg=#4e9a06 " if, then, else, endif, switch, etc. +hi Repeat guifg=#73d216 " boucles for, do, while, etc. +hi Label guifg=#8ae234 " case, default, etc. +hi Operator guifg=#fcaf3e " "sizeof", "+", "*", etc. +hi Keyword guifg=#f57900 " any other keyword +hi Exception guifg=#ce5c00 " try, catch, throw + +" ==== PreProc : generic Preprocessor +hi PreProc guifg=#eeeeec " generic Preprocessor +hi Include guifg=#eeeeec " preprocessor #include +hi Define guifg=#eeeeec " preprocessor #define +hi Macro guifg=#eeeeec " same as Define +hi PreCondit guifg=#eeeeec " preprocessor #if, #else, #endif, etc. + +" ==== Types : int, long, char, etc. +hi Type guifg=#ffffff " int, long, char, etc. +hi StorageClass guifg=#ffffff " static, register, volatile, etc. +hi Structure guifg=#ffffff " struct, union, enum, etc. +hi Typedef guifg=#ffffff " A typedef + +" ==== Special : any special symbol +hi Special guifg=#eeeeec " any special symbol +hi SpecialChar guifg=#eeeeec " special character in a constant +hi Tag guifg=#eeeeec " you can use CTRL-] on this +hi Delimiter guifg=#eeeeec " character that needs attention +hi SpecialComment guifg=#eeeeec " special things inside a comment +hi Debug guifg=#eeeeec " debugging statements + +" ==== Underlined : text that stands out, liens HTML +hi Underlined guifg=#20b0eF gui=none + +" ==== Ignore : +hi Ignore guifg=#f57900 " left blank, hidden + +" ==== Error : any erroneous construct +hi Error guifg=#f57900 " + +" ==== Todo : +hi Todo guibg=#ce5c00 guifg=#eeeeec " keywords TODO FIXME and XXX + +" ====================================================== +" ==================================== End Normal mode +" ====================================================== + +" ====================================================== +" ==================================== Start Python Mode: +" ====================================================== + +" pythonStatement: +hi pythonStatement guifg=#729fcf +" pythonRepeat: +hi pythonRepeat guifg=#8ae234 +" pythonConditional: +hi pythonConditional guifg=#73d216 +" pythonPrecondit: +hi pythonPrecondit guifg=#ef2929 +" pythonOperator: +hi pythonOperator guifg=#ad7fa8 +" pythonComment: +hi pythonComment guifg=#edd400 +" pythonEscape: +hi pythonEscape guifg=#3465a4 +" pythonRawString: +hi pythonRawString guifg=#ad9361 +" pythonBuiltin: +hi pythonBuiltin guifg=#729fcf +" pythonException: +hi pythonException guifg=#cc0000 +" pythonFunction: +" pythonTodo: +" pythonDecorator: +" pythonString: +" pythonNumber: +" pythonSpaceError: +" pythonSync: + +" ====================================================== +" ==================================== End Python Mode: +" ====================================================== + +" {{{ groups +hi Cursor guibg=#fcaf3e guifg=#2e3436 +"hi CursorIM +hi Directory guifg=#bbd0df +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +"hi ErrorMsg +hi VertSplit guibg=#888a85 guifg=#2e3436 gui=none +hi Folded guibg=#555753 guifg=#eeeeec +hi FoldColumn guibg=#2e3436 guifg=#555753 +hi LineNr guibg=#2e3436 guifg=#c4a000 +hi MatchParen guibg=#babdb6 guifg=#2e3436 +hi ModeMsg guifg=#f57900 +hi MoreMsg guifg=#f57900 +hi NonText guibg=#2e3436 guifg=#555753 +hi Question guifg=#aabbcc +hi Search guibg=#fce94f guifg=#c4a000 +hi IncSearch guibg=#c4a000 guifg=#fce94f +hi SpecialKey guifg=#ce5c00 +hi StatusLine guibg=#888a85 guifg=#2e3436 gui=none +hi StatusLineNC guibg=#888a85 guifg=#fce94f gui=none +hi Visual guibg=#fcaf3e guifg=#ce5c00 +"hi VisualNOS +hi WarningMsg guifg=salmon +"hi WildMenu +"hi Menu +"hi Scrollbar guibg=grey30 guifg=tan +"hi Tooltip +hi Pmenu guibg=#babdb6 guifg=#555753 +hi PmenuSel guibg=#eeeeec guifg=#2e3436 +hi CursorLine guibg=#212628 +" }}} + +" {{{ terminal +" TODO +" }}} + +"vim: sw=4 diff --git a/.vim/colors/kib_plastic.vim b/.vim/colors/kib_plastic.vim new file mode 100644 index 0000000..547fc0f --- /dev/null +++ b/.vim/colors/kib_plastic.vim @@ -0,0 +1,188 @@ +" Vim color file +" Name: kib_plastic +" Maintainer: Kib +" Version: 0.1 +" Last Time Modified: 02.01.2007 + +" Couleur du fond d'ecran +set background=light +if version > 580 + hi clear + if exists("syntax_on") + syntax reset + endif +endif + +let g:colors_name="kib_plastic" + +" Help : type ':highlight' and read... + +" ====================================================== +" ==================================== normal Mode: +" ====================================================== + +" ==== Some constants : + +" Normal : foreground and background +hi Normal guibg=#eeeeee guifg=#515044 + +" ==== Titles : +hi Title guifg=#4e9a06 + + +" ==== Comments : any comment +hi Comments guifg=#0066ff " any comment + +" ===== Constants : +hi Constants guifg=#6782d3 " any constant +hi String guifg=#729fcf " a string constant: "this is a string" +hi Character guifg=#3465a4 " a character constant: 'c', '\n' +hi Number guifg=#0066cd " a number constant: 234, 0xff +hi Boolean guifg=#c1c144 " a boolean constant: TRUE, false +hi Float guifg=#c1c144 " a floating point constant: 2.3e10 + +" ===== Identifier : any variable name +hi Identifier guifg=#ff8000 " function name (also: methods for classes) + +" ===== Statements : Les mots cles de chaque language +hi Statement guifg=#9700cc " par dfaut +hi Conditional guifg=#4e9a06 " if, then, else, endif, switch, etc. +hi Repeat guifg=#73d216 " boucles for, do, while, etc. +hi Label guifg=#8ae234 " case, default, etc. +hi Operator guifg=#fcaf3e " "sizeof", "+", "*", etc. +hi Keyword guifg=#f57900 " any other keyword +hi Exception guifg=#ce5c00 " try, catch, throw + +" ==== PreProc : generic Preprocessor +hi PreProc guifg=#8f5502 " generic Preprocessor +hi Include guifg=#8f5502 " preprocessor #include +hi Define guifg=#8f5502 " preprocessor #define +hi Macro guifg=#8f5502 " same as Define +hi PreCondit guifg=#8f5502 " preprocessor #if, #else, #endif, etc. + +" ==== Types : int, long, char, etc. +hi Type guifg=#000000 " int, long, char, etc. +hi StorageClass guifg=#000000 " static, register, volatile, etc. +hi Structure guifg=#000000 " struct, union, enum, etc. +hi Typedef guifg=#000000 " A typedef + +" ==== Special : any special symbol +hi Special guifg=#4e9a06 " any special symbol +hi SpecialChar guifg=#4e9a06 " special character in a constant +hi Tag guifg=#4e9a06 " you can use CTRL-] on this +hi Delimiter guifg=#4e9a06 " character that needs attention +hi SpecialComment guifg=#4e9a06 " special things inside a comment +hi Debug guifg=#4e9a06 " debugging statements + +" ==== Underlined : text that stands out, liens HTML +hi Underlined guifg=#20b0eF gui=none + +" ==== Ignore : +hi Ignore guifg=#f57900 " left blank, hidden + +" ==== Error : any erroneous construct +hi Error guifg=#990000 " + +" ==== Todo : +hi Todo guibg=#ce5c00 guifg=#eeeeec " keywords TODO FIXME and XXX + +" ====================================================== +" ==================================== End Normal mode +" ====================================================== + +" ====================================================== +" ==================================== Start Python Mode: +" ==== Dmitry Vasiliev as written a very good Python.vim +" ==== syntax file, wich brings more features. See: +" ==== http://www.hlabs.spb.ru/vim/python.vim +" ====================================================== + +" pythonSync: + +" pythonStatement: +hi pythonStatement guifg=#4e9a06 " Python Statement : break, continue, del + +" pythonImport: +hi pythonImport guifg=#9700cc " Python Imports : break, continue, del + +" pythonRepeat: +hi pythonRepeat guifg=#4e9a06 " Python Repeat : for, while, etc. + +" pythonConditional: +hi pythonConditional guifg=#d28202 " Python conditonnal : if, elif, else, then + +" pythonPrecondit: +hi pythonPrecondit guifg=#ef2929 " python Precondit : import from + +" pythonOperator: +hi pythonOperator guifg=#ef2929 " pythonOperator : and, in, is, not, or + +" pythonComment: +hi pythonComment guifg=#0066ff " Python comments + +" pythonEscape: + + +" pythonRawString: +hi pythonRawString guifg=#ad7fa8 " Python raw strings + +" pythonBuiltin: True False bool enumerate set frozenset help + + +" pythonException: + +" ===== Linked +" pythonFunction: links to Function + +" pythonTodo: links to Todo + +" pythonDecorator: links to Define + +" pythonString: links to String + +" pythonNumber: links to Number + +" pythonSpaceError: links to Error + +" ====================================================== +" ==================================== End Python Mode: +" ====================================================== +hi Cursor guibg=#ff6a6a guifg=#ffffff +"hi CursorIM +hi Directory guifg=#bbd0df +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +"hi ErrorMsg +hi VertSplit guibg=#888a85 guifg=#2e3436 gui=none +hi Folded guibg=#babdb6 guifg=#000000 " How the text appears once folded +hi FoldColumn guibg=#babdb6 guifg=#555753 +hi LineNr guibg=#eeeeee guifg=#fcaf3e " Line numbers +hi MatchParen guibg=#babdb6 guifg=#2e3436 +hi ModeMsg guifg=#f57900 +hi MoreMsg guifg=#f57900 +hi NonText guibg=#eeeeee guifg=#555753 +hi Question guifg=#aabbcc +hi Search guibg=#fce94f guifg=#c4a000 +hi IncSearch guibg=#c4a000 guifg=#fce94f +hi SpecialKey guifg=#ce5c00 +hi StatusLine guibg=#888a85 guifg=#2e3436 gui=none +hi StatusLineNC guibg=#888a85 guifg=#fce94f gui=none +hi Visual guibg=#ff6a6a guifg=#000000 " Selection of text in Visual Mode +"hi VisualNOS +hi WarningMsg guifg=salmon +hi WildMenu +hi Menu guibg=#ff6a6a guifg=#000000 +"hi Scrollbar guibg=grey30 guifg=tan +"hi Tooltip +hi Pmenu guibg=#babdb6 guifg=#555753 +hi PmenuSel guibg=#eeeeee guifg=#2e3436 +hi CursorLine guibg=#212628 + + +" {{{ terminal +" TODO +" }}} + +"vim: sw=4 diff --git a/.vim/colors/kiss.vim b/.vim/colors/kiss.vim new file mode 100644 index 0000000..747d001 --- /dev/null +++ b/.vim/colors/kiss.vim @@ -0,0 +1,147 @@ +" Vim color file +" Maintaner: kt0x2e +" Last Change: 2010 Apr 25 +" Version: 0.1 + +hi clear +set background=dark + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "kiss" +let ruby_operators = 1 + +" Default Colors +hi Normal guifg=#d0d0d0 guibg=#1f1f1f +hi NonText guibg=#1F1F1F guifg=#e783e9 gui=none + +hi Cursor guibg=#babdb6 +hi ICursor guibg=#babdb6 + +" Search +hi Search guifg=#2e3436 guibg=#90bdf1 +hi IncSearch guibg=#2e3436 guifg=#90bdf1 + +" Window Elements +hi StatusLine ctermbg=0 ctermfg=241 cterm=none +hi StatusLineNC ctermbg=237 ctermfg=241 cterm=none +hi VertSplit guifg=#555753 guibg=#888a85 gui=none +hi Visual guibg=#000000 +hi MoreMsg guifg=#729fcf +hi Question guifg=#bf81fa gui=none +hi WildMenu guifg=#eeeeec guibg=#0e1416 +hi LineNr guifg=#696567 guibg=#000000 +hi SignColumn guibg=#bf81fa + +" Pmenu +hi Pmenu guibg=#2e3436 guifg=#eeeeec +hi PmenuSel guibg=#ffffff guifg=#1e2426 +hi PmenuSbar guibg=#555753 +hi PmenuThumb guifg=#ffffff + +" Diff +hi DiffDelete guifg=#2e3436 guibg=#0e1416 +hi DiffAdd guibg=#1f2b2d +hi DiffChange guibg=#2e3436 +hi DiffText guibg=#000000 gui=none + +" Folds +hi Folded guifg=#656563 guibg=#0e0e0e +hi FoldColumn guifg=#3465a4 guibg=#000000 + +" Specials +hi Title guifg=#90bdf1 +hi Todo guifg=#90bdf1 guibg=bg +hi SpecialKey guifg=#e783e9 + +" Tabs +hi TabLine guibg=#0a1012 guifg=#888a85 +hi TabLineFill guifg=#0a1012 +hi TabLineSel guibg=#555753 guifg=#eeeeec gui=none + +" Matches +hi MatchParen guifg=#2e3436 guibg=#90bdf1 + +" Tree +hi Directory guifg=#ffffff + +" Syntax +hi Comment guifg=#656763 +hi Constant guifg=#bf81fa +hi Number guifg=#bf81fa +hi Statement guifg=#e783e9 gui=none +hi Identifier guifg=#bf81fa +hi PreProc guifg=#90bdf1 +hi Function guifg=#90bdf1 +hi Type guifg=#90bdf1 gui=none +hi Keyword guifg=#bf81fa +hi Special guifg=#888a85 +hi Error guifg=#eeeeec guibg=#cc0000 + +" PHP +hi phpRegionDelimiter guifg=#ad7fa8 +hi phpPropertySelector guifg=#888a85 +hi phpPropertySelectorInString guifg=#888a85 +hi phpOperator guifg=#888a85 +hi phpArrayPair guifg=#888a85 +hi phpAssignByRef guifg=#888a85 +hi phpRelation guifg=#888a85 +hi phpMemberSelector guifg=#888a85 +hi phpUnknownSelector guifg=#888a85 +hi phpVarSelector guifg=#babdb6 +hi phpSemicolon guifg=#888a85 gui=none +hi phpFunctions guifg=#d3d7cf +hi phpParent guifg=#888a85 + +" JavaScript +hi javaScriptBraces guifg=#888a85 +hi javaScriptOperator guifg=#888a85 + +" HTML +hi htmlTag guifg=#888a85 +hi htmlEndTag guifg=#888a85 +hi htmlTagName guifg=#babdb6 +hi htmlSpecialTagName guifg=#babdb6 +hi htmlArg guifg=#d3d7cf +hi htmlTitle guifg=#bf81fa gui=none +hi link htmlH1 htmlTitle +hi link htmlH2 htmlH1 +hi link htmlH3 htmlH1 +hi link htmlH4 htmlH1 +hi link htmlH5 htmlH1 +hi link htmlH6 htmlH1 + +" XML +hi link xmlTag htmlTag +hi link xmlEndTag htmlEndTag +hi link xmlAttrib htmlArg + +" CSS +hi cssSelectorOp guifg=#eeeeec +hi cssUIProp guifg=#d3d7cf +hi cssPseudoClassId guifg=#eeeeec +hi cssBraces guifg=#888a85 +hi cssIdentifier guifg=#90bdf1 +hi cssTagName guifg=#90bdf1 +hi link cssSelectorOp2 cssSelectorOp +hi link cssPagingProp cssUIProp +hi link cssGeneratedContentProp cssUIProp +hi link cssRenderProp cssUIProp +hi link cssBoxProp cssUIProp +hi link cssTextProp cssUIProp +hi link cssColorProp cssUIProp +hi link cssFontProp cssUIProp +hi link cssInclude Function +hi link cssCommonAttr Constant +hi link cssUIAttr Constant +hi link cssTableAttr Constant +hi link cssPagingAttr Constant +hi link cssGeneratedContentAttr Constant +hi link cssAuralAttr Constant +hi link cssRenderAttr Constant +hi link cssBoxAttr Constant +hi link cssTextAttr Constant +hi link cssColorAttr Constant +hi link cssFontAttr Constant diff --git a/.vim/colors/kkruby.vim b/.vim/colors/kkruby.vim new file mode 100644 index 0000000..564ffda --- /dev/null +++ b/.vim/colors/kkruby.vim @@ -0,0 +1,86 @@ +" Vim color scheme +" +" Name: kkruby.vim +" Auth: kk, Mitko Kostov +" Last Change: 09 May 2011 +" License: MIT +" Version: 0.3 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "kkruby" +hi link htmlTag xmlTag +hi link htmlTagName xmlTagName +hi link htmlEndTag xmlEndTag + +highlight Normal guifg=#c1c1c1 guibg=#050706 +highlight Cursor guifg=#FFFFFF ctermfg=0 guibg=#FFFFFF ctermbg=15 +highlight CursorLine guibg=#000000 ctermbg=233 cterm=NONE + +highlight Comment guifg=#66b666 ctermfg=180 +highlight Constant guifg=#4596ff ctermfg=73 +highlight Define guifg=#ff6458 ctermfg=173 +highlight Error guifg=#FFC66D ctermfg=221 guibg=#990000 ctermbg=88 +highlight Function guifg=#50e7c5 ctermfg=221 gui=NONE cterm=NONE +highlight Identifier guifg=#dFdF10 ctermfg=73 gui=NONE cterm=NONE +highlight Include guifg=#ff6458 ctermfg=173 gui=NONE cterm=NONE +highlight PreCondit guifg=yellow ctermfg=173 gui=NONE cterm=NONE +highlight Keyword guifg=yellow ctermfg=173 cterm=NONE +highlight LineNr guifg=#9E9E9E ctermfg=159 guibg=#171717 +highlight Number guifg=#A5C261 ctermfg=107 +highlight PreProc guifg=#CC7833 ctermfg=103 +highlight Search guifg=NONE ctermfg=NONE guibg=#2b2b2b ctermbg=235 gui=italic cterm=underline +highlight Statement guifg=#ff6458 ctermfg=173 gui=NONE cterm=NONE +highlight String guifg=#d6d881 ctermfg=107 +highlight Title guifg=#CC7833 ctermfg=15 +highlight Type guifg=#DA4939 ctermfg=167 gui=NONE cterm=NONE +highlight Visual guibg=#5A647E ctermbg=60 + +highlight DiffAdd guifg=#E6E1DC ctermfg=7 guibg=#519F50 ctermbg=71 +highlight DiffDelete guifg=#E6E1DC ctermfg=7 guibg=#660000 ctermbg=52 +highlight Special guifg=#bb3333 ctermfg=167 + +highlight rubyBlockParameter guifg=#7bcfff ctermfg=15 +highlight rubyClass guifg=#8eb999 ctermfg=15 +highlight rubyConstant guifg=#72b6ff ctermfg=167 +highlight rubyInstanceVariable guifg=#4596ff ctermfg=189 +highlight rubyInterpolation guifg=#d990de ctermfg=107 +highlight rubyLocalVariableOrMethod guifg=#d990de ctermfg=189 +highlight rubyPredefinedConstant guifg=#4596ff ctermfg=167 +highlight rubyPseudoVariable guifg=#4596ff ctermfg=221 +highlight rubyStringDelimiter guifg=#99cf50 ctermfg=143 + +"全局变量$ +highlight rubyIdentifier guifg=#58c353 ctermfg=143 + +highlight rubyOperator guifg=#0000ff ctermfg=143 +highlight rubyInclude guifg=#888888 +"if 条件 +highlight rubyConditional guifg=#b34040 +highlight rubyOptionalDo guifg=#ff0000 +"单行操作符 +highlight rubyConditionalModifier guifg=#6f40a8 +"do end +highlight rubyControl guifg=#afbf00 +highlight rubyClassVariable guifg=#7f3030 +highlight rubyAttribute guifg=#af0b15 +highlight rubyEval guifg=#48d1f0 + +highlight rubyPseudoVariable guifg=#af04a7 +highlight rubyPredifinedIdentifier guifg=#aa4400 +highlight xmlTag guifg=#E81F6A ctermfg=179 +highlight xmlTagName guifg=#E81F6A ctermfg=179 +highlight xmlEndTag guifg=#e81F6A ctermfg=179 +highlight mailSubject guifg=#A5C261 ctermfg=107 +highlight mailHeaderKey guifg=#FFC66D ctermfg=221 +highlight mailEmail guifg=#A5C261 ctermfg=107 gui=italic cterm=underline +highlight rubyModule guifg=#ef5969 +highlight rubyDefine guifg=#c0399D +highlight SpellBad guifg=#D70000 ctermfg=160 ctermbg=NONE cterm=underline +highlight SpellRare guifg=#D75F87 ctermfg=168 guibg=NONE ctermbg=NONE gui=underline cterm=underline +highlight SpellCap guifg=#ff000F ctermfg=189 guibg=NONE ctermbg=NONE gui=underline cterm=underline +highlight MatchParen guifg=#519F50 ctermfg=15 guibg=#005f5f ctermbg=23 + diff --git a/.vim/colors/kruby.vim b/.vim/colors/kruby.vim new file mode 100644 index 0000000..a7259cd --- /dev/null +++ b/.vim/colors/kruby.vim @@ -0,0 +1,86 @@ +" Vim color scheme +" +" Name: kkruby.vim +" Auth: kk, Mitko Kostov +" Last Change: 09 May 2011 +" License: MIT +" Version: 0.3 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "kkruby" +hi link htmlTag xmlTag +hi link htmlTagName xmlTagName +hi link htmlEndTag xmlEndTag + +"highlight Normal guifg=#E6E1DC guibg=#090909 +highlight Normal guifg=#d1c1cf guibg=#070706 +highlight Cursor guifg=#FFFFFF ctermfg=0 guibg=#FFFFFF ctermbg=15 +highlight CursorLine guibg=#000000 ctermbg=233 cterm=NONE + +highlight Comment guifg=#76d676 ctermfg=180 +highlight Constant guifg=#4596ff ctermfg=73 +highlight Define guifg=#ff6458 ctermfg=173 +highlight Error guifg=#FFC66D ctermfg=221 guibg=#990000 ctermbg=88 +highlight Function guifg=#50e7c5 ctermfg=221 gui=NONE cterm=NONE +highlight Identifier guifg=#dFdF10 ctermfg=73 gui=NONE cterm=NONE +highlight Include guifg=#ff6458 ctermfg=173 gui=NONE cterm=NONE +highlight PreCondit guifg=yellow ctermfg=173 gui=NONE cterm=NONE +highlight Keyword guifg=yellow ctermfg=173 cterm=NONE +highlight LineNr guifg=#9E9E9E ctermfg=159 guibg=#171717 +highlight Number guifg=#A5C261 ctermfg=107 +highlight PreProc guifg=#CC7833 ctermfg=103 +highlight Search guifg=NONE ctermfg=NONE guibg=#2b2b2b ctermbg=235 gui=italic cterm=underline +highlight Statement guifg=#ff6458 ctermfg=173 gui=NONE cterm=NONE +highlight String guifg=#e6f881 ctermfg=107 +highlight Title guifg=#CC7833 ctermfg=15 +highlight Type guifg=#DA4939 ctermfg=167 gui=NONE cterm=NONE +highlight Visual guibg=#5A647E ctermbg=60 + +highlight DiffAdd guifg=#E6E1DC ctermfg=7 guibg=#519F50 ctermbg=71 +highlight DiffDelete guifg=#E6E1DC ctermfg=7 guibg=#660000 ctermbg=52 +highlight Special guifg=#bb3333 ctermfg=167 + +highlight rubyBlockParameter guifg=#7bcfff ctermfg=15 +highlight rubyClass guifg=#8eb999 ctermfg=15 +highlight rubyConstant guifg=#72b6ff ctermfg=167 +highlight rubyInstanceVariable guifg=#4596ff ctermfg=189 +highlight rubyInterpolation guifg=#d990de ctermfg=107 +highlight rubyLocalVariableOrMethod guifg=#d990de ctermfg=189 +highlight rubyPredefinedConstant guifg=#4596ff ctermfg=167 +highlight rubyPseudoVariable guifg=#4596ff ctermfg=221 +highlight rubyStringDelimiter guifg=#99cf50 ctermfg=143 + +"全局变量$ +highlight rubyIdentifier guifg=#58c353 ctermfg=143 + +highlight rubyOperator guifg=#0000ff ctermfg=143 +highlight rubyInclude guifg=#888888 +"if 条件 +highlight rubyConditional guifg=#bf3030 +highlight rubyOptionalDo guifg=#ff0000 +"单行操作符 +highlight rubyConditionalModifier guifg=#6f40a8 +highlight rubyControl guifg=#8fe040 +highlight rubyClassVariable guifg=#3f0000 +highlight rubyAttribute guifg=#af0b15 +highlight rubyEval guifg=#48d1f0 + +highlight rubyPseudoVariable guifg=#af04a7 +highlight rubyPredifinedIdentifier guifg=#aa4400 +highlight xmlTag guifg=#E81F6A ctermfg=179 +highlight xmlTagName guifg=#E81F6A ctermfg=179 +highlight xmlEndTag guifg=#e81F6A ctermfg=179 +highlight mailSubject guifg=#A5C261 ctermfg=107 +highlight mailHeaderKey guifg=#FFC66D ctermfg=221 +highlight mailEmail guifg=#A5C261 ctermfg=107 gui=italic cterm=underline +highlight rubyModule guifg=#ef5969 +highlight rubyDefine guifg=#a0499D +highlight SpellBad guifg=#D70000 ctermfg=160 ctermbg=NONE cterm=underline +highlight SpellRare guifg=#D75F87 ctermfg=168 guibg=NONE ctermbg=NONE gui=underline cterm=underline +highlight SpellCap guifg=#ff000F ctermfg=189 guibg=NONE ctermbg=NONE gui=underline cterm=underline +highlight MatchParen guifg=#519F50 ctermfg=15 guibg=#005f5f ctermbg=23 + diff --git a/.vim/colors/lazarus.vim b/.vim/colors/lazarus.vim new file mode 100644 index 0000000..073d147 --- /dev/null +++ b/.vim/colors/lazarus.vim @@ -0,0 +1,23 @@ +" Vim color file +" Maintainer : Sebastian-Torsten Tillmann +" Last Change: 2006-10-04 +" Version : 1.0.0 + +set background=light +hi clear + +if exists("syntax_on") + syntax reset +endif + +let g:colors_name="lazarus" + +hi Comment gui=Bold guifg=Blue guibg=NONE +hi Constant gui=NONE guifg=Blue guibg=NONE +hi Identifier gui=NONE guifg=Red guibg=NONE +hi Statement gui=Bold guifg=Black guibg=NONE +hi PreProc gui=Bold guifg=Red guibg=NONE +hi Type gui=NONE guifg=Black guibg=NONE +hi Special gui=NONE guifg=Blue guibg=NONE +hi Todo gui=Italic guifg=Red guibg=NONE +hi Error gui=NONE guifg=Red guibg=NONE diff --git a/.vim/colors/legiblelight.vim b/.vim/colors/legiblelight.vim new file mode 100644 index 0000000..8176456 --- /dev/null +++ b/.vim/colors/legiblelight.vim @@ -0,0 +1,362 @@ +"============================================================================== +"Filename: legiblelight.vim +"Last Modified: 2010-06-03 +"Version: 1.1.2 +"Maintainer: Tony Dunsworth +"Copyright: 2010 Tony Dunsworth +" This script is free software; you can do almost +" anything you wish with it under the terms of the GNU +" General Public License version 2 as published by the +" Free Software Foundation. +"Description: Vim colour scheme - code framework a blend of tabula +" by Bernd Pol and maroloccio by Marco Ipolito. The colour +" scheme is completely mine. I wanted a better light +" scheme which matches my tastes for blues and greens. +" There are versions for GUI and 256 colour xterm (I'm +" hoping that one looks better.) +"Scheme: legiblelight +"Install: Put this file in the users color directory +" (~/.vim/colors) then load it with :colorscheme +" legiblelight. +"============================================================================== +"Latest Changes +"============================================================================== +"- First iteration, so just putting it all together. +"============================================================================== + +hi clear +set background=light +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "legiblelight" +"let g:Tabula_setOptions = 0 + +" --- GUI section + +hi Normal guifg=#0000cd guibg=#ffffff gui=none " mediumblue on white +hi Cursor guifg=#696969 guibg=fg gui=none " dimgray on mediumblue +hi CursorColumn guifg=fg guibg=#dcdcdc gui=none " mediumblue on gainsboro +hi CursorLine guifg=fg guibg=#dcdcdc gui=none " mediumblue on gainsboro +hi CursorIM guifg=#00008b guibg=bg gui=none " darkblue on background +hi DiffAdd guifg=#4b0082 guibg=bg gui=none " indigo on background +hi DiffChange guifg=#800080 guibg=bg gui=none " purple on background +hi DiffDelete guifg=#8b008b guibg=bg gui=none " darkmagenta on background +hi DiffText guifg=#483d8b guibg=bg gui=none " darkslateblue on background +hi ErrorMsg guifg=#cd0000 guibg=bg gui=bold " red3 on background (bold) +hi FoldColumn guifg=#00ced1 guibg=bg gui=bold " darkturquoise on background (bold) +hi Folded guifg=#48d1cc guibg=bg gui=italic " mediumturquoise on background (italic) +hi IncSearch guifg=#00bfff guibg=bg gui=bold " deepskyblue on background +hi LineNr guifg=#000080 guibg=#dcdcdc gui=none " navy on gainsboro +hi MatchParen guifg=#ffffff guibg=#4169e1 gui=none " white on royalblue +hi ModeMsg guifg=#ff6347 guibg=bg gui=bold " tomato on background (bold) +hi MoreMsg guifg=#ff4500 guibg=bg gui=bold " orangered on background (bold) +hi NonText guifg=#add8e6 guibg=bg gui=none " lightblue on background +hi Pmenu guifg=#5f9ea0 guibg=bg gui=none " cadetblue on background +hi PmenuSbar guifg=#ffffff guibg=#5f9ea0 gui=none " white on cadetblue +hi PmenuSel guifg=#b0c4de guibg=bg gui=none " lightsteelblue on background +hi PmenuThumb guifg=#87ceeb guibg=bg gui=reverse " skyblue on background +hi Question guifg=#ffffff guibg=#0000ff gui=bold " white on blue (bold) +hi SignColumn guifg=#4169e1 guibg=bg gui=bold " royalblue on background (bold) +hi Search guifg=#191970 guibg=bg gui=none " midnightblue on background +hi SpecialKey guifg=#2f4f4f guibg=bg gui=none " darkslategray on background +hi SpellBad guisp=#ee0000 guibg=bg gui=underline " red2 on background +hi SpellCap guisp=#dc143c guibg=bg gui=underline " crimson on background +hi SpellLocal guisp=#cd5c5c guibg=bg gui=underline " indianred on background +hi SpellRare guisp=#fa8072 guibg=bg gui=underline " salmon on background +hi StatusLine guifg=#556b2f guibg=bg gui=none " darkolivegreen on background +hi StatusLineNC guifg=#6b8e23 guibg=bg gui=none " olivedrab on background +hi TabLine guifg=#008080 guibg=bg gui=underline " teal on background +hi TabLineFill guifg=fg guibg=bg gui=reverse " mediumblue on background +hi TabLineSel guifg=fg guibg=bg gui=bold " mediumblue on background (bold) +hi VertSplit guifg=#008b8b guibg=bg gui=none " darkcyan on background +hi Visual guifg=#1e90ff guibg=bg gui=none " dodgerblue on background +hi WarningMsg guifg=#ff0000 guibg=bg gui=none " red on background +hi WildMenu guifg=#000000 guibg=bg gui=none " black on background + +" --- Syntax + +hi Comment guifg=#556b2f guibg=bg gui=italic " darkolivegreen on background (italic) +hi Constant guifg=#008000 guibg=bg gui=none " green on background +hi String guifg=#228b22 guibg=bg gui=none " forestgreen on background +hi Character guifg=#228b22 guibg=bg gui=none " forestgreen on background +hi Number guifg=#2e8b57 guibg=bg gui=none " seagreen on background +hi Float guifg=#2e8b57 guibg=bg gui=none " seagreen on background +hi Boolean guifg=#006400 guibg=bg gui=none " darkgreen on background +hi Identifier guifg=#a0522d guibg=bg gui=none " sienna on background +hi Function guifg=#8b4513 guibg=bg gui=none " saddlebrown on background +hi Statement guifg=#00008b guibg=bg gui=none " darkblue on background +hi Conditional guifg=#003399 guibg=bg gui=italic " districtblue on background (italic) +hi Repeat guifg=#0000ff guibg=bg gui=italic " blue on background (italic) +hi Label guifg=#000080 guibg=bg gui=italic " navy on background (italic) +hi Operator guifg=#4682b4 guibg=bg gui=italic " steelblue on background (italic) +hi Keyword guifg=#00008b guibg=bg gui=none " darkblue on background +hi Exception guifg=#4169e1 guibg=bg gui=italic " royalblue on background (italic) +hi PreProc guifg=#800080 guibg=bg gui=italic " purple on background (italic) +hi Include guifg=#8b008b guibg=bg gui=italic " darkmagenta on background (italic) +hi Define guifg=#9932cc guibg=bg gui=italic " darkorchid on background (italic) +hi Macro guifg=#9400d3 guibg=bg gui=italic " darkviolet on background (italic) +hi PreCondit guifg=#ba55d3 guibg=bg gui=italic " mediumorchid on background (italic) +hi Type guifg=#483d8b guibg=bg gui=none " darkslateblue on background +hi Typedef guifg=#6a5acd guibg=bg gui=none " slateblue on background +hi Structure guifg=#8a2be2 guibg=bg gui=none " blueviolet on background +hi StorageClass guifg=#9966cc guibg=bg gui=none " amethyst on background +hi Special guifg=#808000 guibg=bg gui=none " olive on background +hi SpecialChar guifg=#6b8e23 guibg=bg gui=italic " olivedrab on background (italic) +hi Tag guifg=#4682b4 guibg=bg gui=none " steelblue on background +hi Delimiter guifg=#66cdaa guibg=bg gui=none " mediumaquamarine on background +hi SpecialComment guifg=#8fbc8f guibg=bg gui=none " darkseagreen on background +hi Ignore guifg=#f5deb3 guibg=bg gui=none " wheat on background +hi Error guifg=#cd0000 guibg=bg gui=bold " red3 on background (bold) +hi Todo guifg=#bc8f8f guibg=bg gui=bold " rosybrown on background (bold) +hi Exception guifg=#ee0000 guibg=bg gui=bold " red2 on background (bold) +hi Underlined gui=underline " underline + +" --- VimError + +hi VimError guifg=#ffffff guibg=#ff0000 gui=bold " white on red (bold) +hi VimCommentTitle guifg=#778899 guibg=bg gui=italic " lightslategray on background (italic) + +" --- QuickFix + +hi dfLineNr guifg=#008080 guibg=#dcdcdc gui=bold " teal on gainsboro (bold) + +" --- Diff + +hi diffOldFile guifg=#5f9ea0 guibg=bg gui=none " cadetblue on background +hi diffNewFile guifg=#00bfff guibg=bg gui=none " deepskyblue on background +hi diffFile guifg=#40e0d0 guibg=bg gui=none " turquoise on background +hi link diffOnly Constant +hi link diffIdentical Constant +hi link diffDiffer Constant +hi link diffBDiffer Constant +hi link diffIsA Constant +hi link diffNoEOL Constant +hi link diffCommon Constant +hi diffRemoved guifg=#8b0000 guibg=bg gui=none " darkred on background +hi diffChanged guifg=#32cd32 guibg=bg gui=none " limegreen on background +hi diffAdded guifg=#3cb371 guibg=bg gui=none " mediumseagreen on background +hi diffLine guifg=#7b68ee guibg=bg gui=italic " mediumslateblue on background (italic) +hi link diffSubname diffLine +hi link diffComment Comment + +" --- CTerm8 (Light) +if &t_Co == 8 + if &background == "light" + hi Normal ctermfg=DarkBlue ctermbg=White + hi Cursor ctermfg=White ctermbg=DarkBlue + if version>=700 + hi CursorColumn ctermfg=LightBlue ctermbg=White + hi CursorLine ctermfg=LightBlue cterm=Underline + endif + hi CursorIM ctermfg=DarkBlue + hi DiffAdd ctermfg=DarkMagenta + hi DiffChange ctermfg=DarkMagenta cterm=Underline + hi DiffDelete ctermfg=DarkRed cterm=Underline + hi DiffText ctermfg=DarkGray + hi ErrorMsg ctermfg=White ctermbg=DarkRed + hi FoldColumn ctermfg=DarkCyan + hi Folded ctermfg=DarkCyan cterm=Underline + hi IncSearch ctermfg=DarkBlue ctermbg=Yellow + hi LineNr ctermfg=DarkBlue ctermbg=Gray + hi MatchParen ctermfg=Brown + hi ModeMsg ctermfg=LightRed + hi MoreMsg ctermfg=LightRed cterm=Underline + hi NonText ctermfg=LightBlue + if version>=700 + hi Pmenu ctermfg=LightBlue ctermbg=Yellow + hi PmenuSbar ctermfg=Yellow ctermbg=LightBlue + hi PmenuSel ctermfg=LightBlue cterm=Italic + hi PmenuThumb ctermfg=LightBlue cterm=Underline + endif + hi Question ctermfg=White ctermbg=LightRed + hi SignColumn ctermfg=DarkBlue + hi Search ctermfg=DarkBlue ctermbg=Yellow + hi SpellBad ctermfg=LightRed cterm=Underline + hi SpellCap ctermfg=LightRed + hi SpellLocal ctermfg=LightRed + hi SpellRare ctermfg=LightRed + hi TabLine ctermfg=LightCyan + hi TablLineFill ctermfg=LightCyan + hi TabLineSel ctermfg=LightCyan + hi VertSplit ctermfg=DarkCyan + hi Visual ctermfg=DarkBlue + hi WarningMsg ctermfg=DarkRed + hi WildMenu ctermfg=Black + hi Comment ctermfg=DarkGreen cterm=Underline + hi Constant ctermfg=DarkGreen + hi Identifier ctermfg=Brown + hi Statement ctermfg=DarkBlue + hi PreProc ctermfg=DarkMagenta + hi Type ctermfg=LightBlue + hi Special ctermfg=LightGreen + hi Error ctermfg=DarkRed + hi Todo ctermfg=Brown cterm=Underline + hi Exception ctermfg=LightRed cterm=Underline + hi Underlined cterm=Underline + endif + +" --- CTerm256 (light) +elseif &t_Co == 256 + + if v:version < 700 + command! -nargs=+ CSAHi exe "hi" substitute(substitute(, "undercurl", "underline", "g"), "guisp\\S\\+", "", "g") + else + commend! -nargs=+ CSAHi exe "hi" + endif + if has("gui_running") || (&t_Co == 256 && (&term ==# "xterm" || &term =~# "^screen") && exists("g:CSApprox_konsole") && g:CSApprox_konsol) || &term =~? "^konsole" + CSAHi Normal ctermfg=20 ctermbg=231 + CSAHi Cursor ctermfg=249 ctermbg=18 + CSAHi CursorColumn ctermfg=25 ctermbg=252 + CSAHi CursorLine ctermfg=25 ctermbg=252 + CSAHi CursorIM ctermfg=18 ctermbg=231 + CSAHi DiffAdd ctermfg=53 ctermbg=231 + CSAHi DiffChange ctermfg=54 ctermbg=231 + CSAHi DiffDelete ctermfg=90 ctermbg=231 + CSAHi DiffText ctermfg=57 ctermbg=231 + CSAHi ErrorMsg ctermfg=160 ctermbg=231 term=bold + CSAHi FoldColumn ctermfg=37 ctermbg=231 term=bold + CSAHi Folded ctermfg=38 ctermbg=231 term=bold + CSAHi IncSearch ctermfg=19 ctermbg=231 + CSAHi LineNr ctermfg=20 ctermbg=251 + CSAHi MatchParen ctermfg=231 ctermbg=20 + CSAHi ModeMsg ctermfg=166 ctermbg=231 term=bold + CSAHi MoreMsg ctermfg=202 ctermbg=231 term=bold + CSAHi NonText ctermfg=39 ctermbg=231 + CSAHi Pmenu ctermfg=32 ctermbg=231 + CSAHi PmenuSbar ctermfg=231 ctermbg=32 + CSAHi PmenuSel ctermfg=68 ctermbg=231 + CSAHi PmenuThumb ctermfg=110 ctermbg=231 term=reverse + CSAHi Question ctermfg=231 ctermbg=21 term=bold + CSAHi SignColumn ctermfg=19 ctermbg=231 term=bold + CSAHi Search ctermfg=17 ctermbg=231 + CSAHi SpecialKey ctermfg=237 ctermbg=231 + CSAHi SpellBad ctermfg=196 ctermbg=231 term=underline + CSAHi SpellCap ctermfg=52 ctermbg=231 term=underline + CSAHi SpellLocal ctermfg=124 ctermbg=231 term=underline + CSAHi SpellRare ctermfg=160 ctermbg=231 term=underline + CSAHi StatusLine ctermfg=64 ctermbg=231 + CSAHi StatusLineNC ctermfg=58 ctermbg=231 + CSAHi TabLine ctermfg=23 ctermbg=231 term=underline + CSAHi TabLineFill ctermfg=20 ctermbg=231 term=reverse + CSAHi TabLineSel ctermfg=20 ctermbg=231 term=underline + CSAHi VertSplit ctermfg=24 ctermbg=231 + CSAHi Visual ctermfg=21 ctermbg=231 + CSAHi WarningMsg ctermfg=196 ctermbg=231 + CSAHi WildMenu ctermfg=16 ctermbg=231 + CSAHi Comment ctermfg=100 ctermbg=231 term=italic + CSAHi Constant ctermfg=34 ctermbg=231 + CSAHi Indentifier ctermfg=137 ctermbg=231 + CSAHi Statement ctermfg=19 ctermbg=231 + CSAHi PreProc ctermfg=54 ctermbg=231 + CSAHi Type ctermfg=26 ctermbg=231 + CSAHi Special ctermfg=58 ctermbg=231 + CSAHi Error ctermfg=160 ctermbg=231 term=bold + CSAHi Todo ctermfg=95 ctermbg=231 term=bold + CSAHi Exception ctermfg=124 ctermbg=231 term=bold + CSAHi Underlined term=underline + elseif has("gui_running") || (&t_Co == 256 && (&term ==# "xterm" || &term =~# "^screen") && exists("g:CSApprox_eterm") && g:CSApprox_eterrm) || &term=~> "^eterm" + CSAHi Normal ctermfg=20 ctermbg=231 + CSAHi Cursor ctermfg=249 ctermbg=18 + CSAHi CursorColumn ctermfg=25 ctermbg=252 + CSAHi CursorLine ctermfg=25 ctermbg=252 + CSAHi CursorIM ctermfg=18 ctermbg=231 + CSAHi DiffAdd ctermfg=53 ctermbg=231 + CSAHi DiffChange ctermfg=54 ctermbg=231 + CSAHi DiffDelete ctermfg=90 ctermbg=231 + CSAHi DiffText ctermfg=57 ctermbg=231 + CSAHi ErrorMsg ctermfg=160 ctermbg=231 term=bold + CSAHi FoldColumn ctermfg=37 ctermbg=231 term=bold + CSAHi Folded ctermfg=38 ctermbg=231 term=bold + CSAHi IncSearch ctermfg=19 ctermbg=231 + CSAHi LineNr ctermfg=20 ctermbg=251 + CSAHi MatchParen ctermfg=231 ctermbg=20 + CSAHi ModeMsg ctermfg=166 ctermbg=231 term=bold + CSAHi MoreMsg ctermfg=202 ctermbg=231 term=bold + CSAHi NonText ctermfg=39 ctermbg=231 + CSAHi Pmenu ctermfg=32 ctermbg=231 + CSAHi PmenuSbar ctermfg=231 ctermbg=32 + CSAHi PmenuSel ctermfg=68 ctermbg=231 + CSAHi PmenuThumb ctermfg=110 ctermbg=231 term=reverse + CSAHi Question ctermfg=231 ctermbg=21 term=bold + CSAHi SignColumn ctermfg=19 ctermbg=231 term=bold + CSAHi Search ctermfg=17 ctermbg=231 + CSAHi SpecialKey ctermfg=237 ctermbg=231 + CSAHi SpellBad ctermfg=196 ctermbg=231 term=underline + CSAHi SpellCap ctermfg=52 ctermbg=231 term=underline + CSAHi SpellLocal ctermfg=124 ctermbg=231 term=underline + CSAHi SpellRare ctermfg=160 ctermbg=231 term=underline + CSAHi StatusLine ctermfg=64 ctermbg=231 + CSAHi StatusLineNC ctermfg=58 ctermbg=231 + CSAHi TabLine ctermfg=23 ctermbg=231 term=underline + CSAHi TabLineFill ctermfg=20 ctermbg=231 term=reverse + CSAHi TabLineSel ctermfg=20 ctermbg=231 term=underline + CSAHi VertSplit ctermfg=24 ctermbg=231 + CSAHi Visual ctermfg=21 ctermbg=231 + CSAHi WarningMsg ctermfg=196 ctermbg=231 + CSAHi WildMenu ctermfg=16 ctermbg=231 + CSAHi Comment ctermfg=100 ctermbg=231 term=italic + CSAHi Constant ctermfg=34 ctermbg=231 + CSAHi Indentifier ctermfg=137 ctermbg=231 + CSAHi Statement ctermfg=19 ctermbg=231 + CSAHi PreProc ctermfg=54 ctermbg=231 + CSAHi Type ctermfg=26 ctermbg=231 + CSAHi Special ctermfg=58 ctermbg=231 + CSAHi Error ctermfg=160 ctermbg=231 term=bold + CSAHi Todo ctermfg=95 ctermbg=231 term=bold + CSAHi Exception ctermfg=124 ctermbg=231 term=bold + CSAHi Underlined term=underline + elseif has("gui_running") || &t_Co == 256 + CSAHi Normal ctermfg=20 ctermbg=231 + CSAHi Cursor ctermfg=249 ctermbg=18 + CSAHi CursorColumn ctermfg=25 ctermbg=252 + CSAHi CursorLine ctermfg=25 ctermbg=252 + CSAHi CursorIM ctermfg=18 ctermbg=231 + CSAHi DiffAdd ctermfg=53 ctermbg=231 + CSAHi DiffChange ctermfg=54 ctermbg=231 + CSAHi DiffDelete ctermfg=90 ctermbg=231 + CSAHi DiffText ctermfg=57 ctermbg=231 + CSAHi ErrorMsg ctermfg=160 ctermbg=231 term=bold + CSAHi FoldColumn ctermfg=37 ctermbg=231 term=bold + CSAHi Folded ctermfg=38 ctermbg=231 term=bold + CSAHi IncSearch ctermfg=19 ctermbg=231 + CSAHi LineNr ctermfg=20 ctermbg=251 + CSAHi MatchParen ctermfg=231 ctermbg=20 + CSAHi ModeMsg ctermfg=166 ctermbg=231 term=bold + CSAHi MoreMsg ctermfg=202 ctermbg=231 term=bold + CSAHi NonText ctermfg=39 ctermbg=231 + CSAHi Pmenu ctermfg=32 ctermbg=231 + CSAHi PmenuSbar ctermfg=231 ctermbg=32 + CSAHi PmenuSel ctermfg=68 ctermbg=231 + CSAHi PmenuThumb ctermfg=110 ctermbg=231 term=reverse + CSAHi Question ctermfg=231 ctermbg=21 term=bold + CSAHi SignColumn ctermfg=19 ctermbg=231 term=bold + CSAHi Search ctermfg=17 ctermbg=231 + CSAHi SpecialKey ctermfg=237 ctermbg=231 + CSAHi SpellBad ctermfg=196 ctermbg=231 term=underline + CSAHi SpellCap ctermfg=52 ctermbg=231 term=underline + CSAHi SpellLocal ctermfg=124 ctermbg=231 term=underline + CSAHi SpellRare ctermfg=160 ctermbg=231 term=underline + CSAHi StatusLine ctermfg=64 ctermbg=231 + CSAHi StatusLineNC ctermfg=58 ctermbg=231 + CSAHi TabLine ctermfg=23 ctermbg=231 term=underline + CSAHi TabLineFill ctermfg=20 ctermbg=231 term=reverse + CSAHi TabLineSel ctermfg=20 ctermbg=231 term=underline + CSAHi VertSplit ctermfg=24 ctermbg=231 + CSAHi Visual ctermfg=21 ctermbg=231 + CSAHi WarningMsg ctermfg=196 ctermbg=231 + CSAHi WildMenu ctermfg=16 ctermbg=231 + CSAHi Comment ctermfg=100 ctermbg=231 term=italic + CSAHi Constant ctermfg=34 ctermbg=231 + CSAHi Indentifier ctermfg=137 ctermbg=231 + CSAHi Statement ctermfg=19 ctermbg=231 + CSAHi PreProc ctermfg=54 ctermbg=231 + CSAHi Type ctermfg=26 ctermbg=231 + CSAHi Special ctermfg=58 ctermbg=231 + CSAHi Error ctermfg=160 ctermbg=231 term=bold + CSAHi Todo ctermfg=95 ctermbg=231 term=bold + CSAHi Exception ctermfg=124 ctermbg=231 term=bold + CSAHi Underlined term=underline + endif + delcommand CSAHi +endif diff --git a/.vim/colors/leglight2.vim b/.vim/colors/leglight2.vim new file mode 100644 index 0000000..1b6e945 --- /dev/null +++ b/.vim/colors/leglight2.vim @@ -0,0 +1,204 @@ +"============================================================================== +"Filename: leglight2.vim +"Last Modified: 2010-06-03 +"Version: 1.0.1 +"Maintainer: Tony Dunsworth +"Copyright: 2010 Tony Dunsworth +" This script is free software; you can do almost +" anything you want with it under the terms of the GNU +" General Pulic License version 2 as published by the +" Free Software Foundation +"Description: Vim colour scheme - a rebuild of legiblelight.vim on +" a Linux working system to address errors which were +" in the Windows build. There is a predominance of blues +" greens and the like. There will be versions for GUI and +" for 256 colour xterm. +"Scheme: leglight2 +"Install: Put this file in the users colour directory +" (~/.vim/colors) then load it with :colorscheme +" leglight2. +"============================================================================== + +" Initialization and Setup {{{1 +"============================================================================== +hi clear +set background=light +if exists("syntax_on") + syntax reset +endif +let colors_name = "leglight2" +" }}} + +" GUI Section {{{1 +"============================================================================== +hi Normal guifg=#0000cd guibg=#ffffff gui=none " mediumblue on white +hi Cursor guifg=#ffffff guibg=#0000cd gui=none " white on mediumblue +if exists('g:leglight2_cursor_line_visibility') && g:leglight2_cursor_line_visibility >= 2 + hi CursorColumn guifg=#0000cd guibg=#dcdcdc gui=none " mediumblue on gainsboro + hi CursorLine guifg=#0000cd guibg=#dcdcdc gui=none " mediumblue on gainsboro +elseif exists('g:leglight2_cursor_line_visibility') && g:leglight2_cursor_line_visibility >= 1 + hi CursorColumn guifg=#0000ff guibg=#dcdcdc gui=none " blue on gainsboro + hi CursorLine guifg=#0000ff guibg=#dcdcdc gui=none " blue on gainsboro +endif +hi CursorIM guifg=#00008b guibg=#ffffff gui=none " darkblue on white +hi DiffAdd guifg=#4b0082 guibg=bg gui=none " indigo on background +hi DiffChange guifg=#800080 guibg=bg gui=none " purple on background +hi DiffDelete guifg=#8b008b guibg=bg gui=none " darkmagenta on background +hi DiffText guifg=#483d8b guibg=bg gui=none " darkslateblue on background +hi ErrorMsg guifg=#cd0000 guibg=bg gui=bold " red3 on background (bold) +hi FoldColumn guifg=#00ced1 guibg=bg gui=bold " darkturquoise on background (bold) +hi Folded guifg=#48d1cc guibg=bg gui=italic " mediumturquoise on background (italic) +hi IncSearch guifg=#00bfff guibg=bg gui=bold " deepskyblue on background (bold) +hi LineNr guifg=#000080 guibg=#dcdcdc gui=none " navy on gainsboro +hi MatchParen guifg=#ffffff guibg=#4169e1 gui=none " white on royalblue +hi ModeMsg guifg=#ff6347 guibg=bg gui=bold " tomato on background (bold) +hi MoreMsg guifg=#ff4500 guibg=bg gui=bold " orangered on background (bold) +hi NonText guifg=#add8e6 guibg=bg gui=none " lightblue on background +hi Pmenu guifg=#5f9ea0 guibg=bg gui=none " cadetblue on background +hi PmenuSbar guifg=#ffffff guibg=#5f9ea0 gui=none " white on cadetblue +hi PmenuSel guifg=#b0c4de guibg=bg gui=none " lightsteelblue on background +hi PmenuThumb guifg=#87ceeb guibg=bg gui=reverse " skyblue on background +hi Question guifg=#ffffff guibg=#0000ff gui=bold " white on blue (bold) +hi SignColumn guifg=#4169e1 guibg=bg gui=bold " royalblue on background (bold) +hi Search guifg=#191970 guibg=bg gui=none " midnightblue on background +hi SpecialKey guifg=#2f4f4f guibg=bg gui=none " darkslategray on background +hi SpellBad guisp=#ee0000 guibg=bg gui=underline " red2 on background (underline) +hi SpellCap guisp=#dc143c guibg=bg gui=underline " crimson on background (underline) +hi SpellLocal guisp=#cd5c5c guibg=bg gui=underline " indianred on background (underline) +hi SpellRare guisp=#fa8072 guibg=bg gui=underline " salmon on background (underline) +hi StatusLine guifg=#556b2f guibg=bg gui=none " darkolivegreen on background +hi StatusLineNC guifg=#6b8e23 guibg=bg gui=none " olivedrab on background +hi TabLine guifg=#008080 guibg=bg gui=underline " teal on background (underline) +hi TabLineFill guifg=#0000cd guibg=bg gui=reverse " mediumblue on background +hi TabLineSel guifg=#0000cd guibg=bg gui=bold " mediumblue on background (bold) +hi VertSplit guifg=#008b8b guibg=bg gui=none " darkcyan on background +hi Visual guifg=#1e90ff guibg=bg gui=none " dodgerblue on background +hi WarningMsg guifg=#ff0000 guibg=bg gui=none " red on background +hi WildMenu guifg=#000000 guibg=bg gui=none " black on background +" }}} + +" Syntax {{{ 1 +" General {{{ 2 +"============================================================================== +hi Comment guifg=#556b2f guibg=#ffffff gui=italic " darkolivegreen on background (italic) +hi Constant guifg=#008000 guibg=bg gui=none " green on background +hi String guifg=#228b22 guibg=bg gui=none " forestgreen on background +hi Character guifg=#228b22 guibg=bg gui=none " forestgreen on background +hi Number guifg=#2e8b57 guibg=bg gui=none " seagreen on background +hi Float guifg=#2e8b57 guibg=bg gui=none " seagreen on background +hi Boolean guifg=#006400 guibg=bg gui=none " darkgreen on background +hi Identifier guifg=#a0522d guibg=bg gui=none " sienna on background +hi Function guifg=#8b4513 guibg=bg gui=none " saddlebrown on background +hi Statement guifg=#00008b guibg=bg gui=none " darkblue on background +hi Conditional guifg=#003399 guibg=bg gui=italic " districtblue on background (italic) +hi Repeat guifg=#0000ff guibg=bg gui=italic " blue on background (italic) +hi Label guifg=#000080 guibg=bg gui=italic " navy on background (italic) +hi Operator guifg=#4682b4 guibg=bg gui=italic " steelblue on background (italic) +hi Keyword guifg=#00008b guibg=bg gui=none " darkblue on background +hi Exception guifg=#4169e1 guibg=bg gui=italic " royalblue on background (italic) +hi PreProc guifg=#800080 guibg=bg gui=italic " purple on background (italic) +hi Include guifg=#8b008b guibg=bg gui=italic " darkmagenta on background (italic) +hi Define guifg=#9932cc guibg=bg gui=italic " darkorchid on background (italic) +hi Macro guifg=#9400d3 guibg=bg gui=italic " darkviolet on background (italic) +hi PreCondit guifg=#ba55d3 guibg=bg gui=italic " mediumorchid on background (italic) +hi Type guifg=#483d8b guibg=bg gui=none " darkslateblue on background +hi Typedef guifg=#6a5acd guibg=bg gui=none " slateblue on background +hi Structure guifg=#8a2be2 guibg=bg gui=none " blueviolet on background +hi StorageClass guifg=#9966cc guibg=bg gui=none " amethyst on background +hi Special guifg=#808000 guibg=bg gui=none " olive on background +hi SpecialChar guifg=#6b8e23 guibg=bg gui=italic " olivedrab on background (italic) +hi Tag guifg=#4682b4 guibg=bg gui=none " steelblue on background +hi Delimiter guifg=#66cdaa guibg=bg gui=none " mediumaquamarine on background +hi SpecialComment guifg=#8fbc8f guibg=bg gui=none " darkseagreen on background +hi Ignore guifg=#f5deb3 guibg=bg gui=none " wheat on background +hi Error guifg=#cd0000 guibg=bg gui=bold " red3 on background (bold) +hi Todo guifg=#bc8f8f guibg=bg gui=bold " rosybrown on background +hi Exception guifg=#ee0000 guibg=bg gui=bold " red2 on background (bold) +hi Underlined gui=underline " underlined +" 2}}} + +" Vim {{{2 +"============================================================================== +hi VimError guifg=#ffffff guibg=#ff0000 gui=bold " white on red (bold) +hi VimCommentTitle guifg=#778899 guibg=#ffffff gui=italic " lightslategray on background (italic) +" 2}}} + +" QuickFix {{{2 +"============================================================================== +hi qfLineNr guifg=#008080 guibg=#dcdcdc gui=bold " teal on gainsboro (bold) +" 2}}} + +" Diff {{{2 +"============================================================================== +hi diffOldFile guifg=#5f9ea0 guibg=#ffffff gui=none " cadetblue on background +hi diffNewFile guifg=#00bfff guibg=bg gui=none " deepskyblue on background +hi diffFile guifg=#40e0d0 guibg=bg gui=none " turquoise on background +hi link diffOnly Constant +hi link diffIdentical Constant +hi link diffDiffer Constant +hi link diffBDiffer Constant +hi link diffIsA Constant +hi link diffNoEOL Constant +hi link diffCommon Constant +hi diffRemoved guifg=#8b0000 guibg=bg gui=none " darkred on background +hi diffChanged guifg=#32cd32 guibg=bg gui=none " limegreen on background +hi diffAdded guifg=#3cb371 guibg=bg gui=none " mediumseagreen on background +hi diffLine guifg=#7b68ee guibg=bg gui=italic " mediumslateblue on background (italic) +hi link diffSubname diffLine +hi link diffComment Comment +" 2}}} + +" 1}}} + +" 256-Color Terminal Colours {{{1 +"============================================================================== +hi Normal ctermfg=20 ctermbg=231 cterm=none +hi Cursor ctermfg=249 ctermbg=18 cterm=none +hi CursorColumn ctermfg=25 ctermbg=252 cterm=none +hi CursorLine ctermfg=25 ctermbg=252 cterm=none +hi CursorIM ctermfg=18 ctermbg=252 cterm=none +hi DiffAdd ctermfg=53 ctermbg=231 cterm=none +hi DiffChange ctermfg=54 ctermbg=231 cterm=none +hi DiffDelete ctermfg=90 ctermbg=231 cterm=none +hi DiffText ctermfg=57 ctermbg=231 cterm=none +hi ErrorMsg ctermfg=160 ctermbg=231 cterm=bold +hi FoldColumn ctermfg=37 ctermbg=231 cterm=bold +hi Folded ctermfg=38 ctermbg=231 cterm=bold +hi IncSearch ctermfg=19 ctermbg=231 cterm=none +hi LineNr ctermfg=20 ctermbg=251 cterm=none +hi MatchParen ctermfg=231 ctermbg=20 cterm=none +hi ModeMsg ctermfg=166 ctermbg=231 cterm=bold +hi MoreMsg ctermfg=202 ctermbg=231 cterm=bold +hi NonText ctermfg=39 ctermbg=231 cterm=none +hi Pmenu ctermfg=32 ctermbg=231 cterm=none +hi PmenuSbar ctermfg=231 ctermbg=32 cterm=none +hi PmenuSel ctermfg=68 ctermbg=231 cterm=none +hi PmenuThumb ctermfg=110 ctermbg=231 cterm=reverse +hi Question ctermfg=231 ctermbg=21 cterm=bold +hi SignColumn ctermfg=19 ctermbg=231 cterm=bold +hi Search ctermfg=17 ctermbg=231 cterm=none +hi SpecialKey ctermfg=237 ctermbg=231 cterm=none +hi SpellBad ctermfg=196 ctermbg=231 cterm=underline +hi SpellCap ctermfg=52 ctermbg=231 cterm=underline +hi SpellLocal ctermfg=124 ctermbg=231 cterm=underline +hi SpellRare ctermfg=160 ctermbg=231 cterm=underline +hi StatusLine ctermfg=64 ctermbg=231 cterm=none +hi StatusLineNC ctermfg=58 ctermbg=231 cterm=none +hi TabLine ctermfg=23 ctermbg=231 cterm=underline +hi TabLineFill ctermfg=20 ctermbg=231 cterm=reverse +hi TabLineSel ctermfg=20 ctermbg=231 cterm=underline +hi VertSplit ctermfg=24 ctermbg=231 cterm=none +hi Visual ctermfg=21 ctermbg=231 cterm=none +hi WarningMsg ctermfg=196 ctermbg=231 cterm=none +hi WildMenu ctermfg=16 ctermbg=231 cterm=none +hi Comment ctermfg=100 ctermbg=231 cterm=italic +hi Constant ctermfg=34 ctermbg=231 cterm=none +hi Identifier ctermfg=137 ctermbg=231 cterm=none +hi Statement ctermfg=19 ctermbg=231 cterm=none +hi PreProc ctermfg=54 ctermbg=231 cterm=none +hi Type ctermfg=26 ctermbg=231 cterm=none +hi Special ctermfg=58 ctermbg=231 cterm=none +hi Error ctermfg=160 ctermbg=231 cterm=bold +hi Exception ctermfg=95 ctermbg=231 cterm=bold +hi Underlined cterm=underline +" 1}}} diff --git a/.vim/colors/leo.vim b/.vim/colors/leo.vim new file mode 100644 index 0000000..c36a76d --- /dev/null +++ b/.vim/colors/leo.vim @@ -0,0 +1,191 @@ +" Vim color file +" Maintainer: Lorenzo Leonini +" Last Change: 2010 Nov 20 +" URL: http://www.leonini.net + +" Description: +" A contrasted theme for long programming sessions. +" Specially for 256-colors term (xterm, Eterm, konsole, gnome-terminal, ...) +" Very good with Ruby, C, Lua, PHP, HTML, shell... +" (but no using language specific settings) + +" Note: +" If your term report 8 colors (but is 256 capable), put 'set t_Co=256' +" in your .vimrc + +" Tips: +" :verbose hi StatusLine +" Color numbers (0-255) see: +" http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html +" :so $VIMRUNTIME/syntax/hitest.vim + +" 1.00 +" Tab colors +" Vim 7.3 addition +" +" 0.94 +" Folding +" +" 0.93 +" Console and GUI are deliberately differents. +" +" 0.92 +" Fixed visual in GUI mode +" Dark line numbers +" +" 0.91 +" fixed cursor color with MatchParen +" +" 0.9 +" more blue (blue <=> green swap) +" lot of changes, some may prefer previous version +" +" 0.82 +" menu backgrounf lighter +" LineNr +" gui comments in italic +" remove some default bold in gui +" +" 0.81 +" invisible char +" line number +" status bar +" add MatchParen +" add Underlined +" +" 0.8 +" GUI fixed, color < 16 fixed +" comments from 247 => 249 +" main color 255 => 254 +" boolean and numbers more visible +" +" 0.6 +" Synchro with GUI + +" 0.5 +" Ligther vertical separation +" Better diff +" Better pmenu +" Uniformisation between status bar, tabs and pmenu +" Added spell hl +" Change search highlight (I don't use it...) +" Folding done +" All in 256 code + +if !has("gui_running") + if &t_Co != 256 + echomsg "err: Please use a 256-colors terminal (so that t_Co=256 could be set)." + echomsg "" + finish + end +endif + +let g:colors_name = "leo256" + +set background=dark +if v:version > 580 + highlight clear + if exists("syntax_on") + syntax reset + endif +endif + +" ### Normal should come first + +" console-gui different +hi Normal cterm=none ctermfg=255 ctermbg=232 guifg=#ffffff guibg=#121212 +hi CursorLine cterm=none ctermbg=16 guibg=#050505 +hi SpecialKey cterm=none ctermfg=245 ctermbg=233 guifg=#8a8a8a guibg=#090909 +hi Folded cterm=none ctermfg=110 ctermbg=233 guifg=#87afd7 guibg=#000000 + + +hi Cursor cterm=none ctermfg=bg ctermbg=fg guibg=fg guifg=bg +hi DiffAdd cterm=none ctermbg=235 guibg=#262626 +hi DiffChange cterm=none ctermbg=235 guibg=#262626 +hi DiffDelete cterm=none ctermfg=238 ctermbg=244 guifg=#444444 guibg=#808080 +hi DiffText cterm=bold ctermfg=255 ctermbg=196 guifg=#ffffff +hi Directory cterm=none ctermfg=196 +hi ErrorMsg cterm=none ctermfg=255 ctermbg=160 guifg=#ffffff +hi FoldColumn cterm=none ctermfg=110 ctermbg=16 guifg=#87afd7 guibg=#000000 +hi IncSearch cterm=reverse +"hi LineNr cterm=none ctermfg=229 ctermbg=16 guifg=#ffff87 guibg=#000000 +"hi LineNr cterm=none ctermfg=27 ctermbg=16 guifg=#005fff guibg=#000000 +hi LineNr cterm=none ctermfg=239 ctermbg=16 guifg=#4e4e4e guibg=#000000 +hi ModeMsg cterm=bold +hi MoreMsg cterm=none ctermfg=40 +hi NonText cterm=none ctermfg=21 +hi Question cterm=none ctermfg=40 +hi Search cterm=none ctermfg=16 ctermbg=248 guifg=#000000 guibg=#a8a8a8 +hi SignColumn cterm=none ctermbg=16 guibg=#000000 +hi StatusLine cterm=bold ctermfg=255 ctermbg=19 guifg=#0000af guibg=#ffffff +hi StatusLineNC cterm=none ctermfg=252 ctermbg=17 guifg=#00005f guibg=#d0d0d0 +hi Title cterm=none ctermfg=33 +hi VertSplit cterm=none ctermfg=254 ctermbg=16 guifg=#000000 guibg=#eeeeee +hi Visual cterm=reverse ctermbg=none gui=reverse guibg=#080808 +hi VisualNOS cterm=underline,bold +hi WarningMsg cterm=none ctermfg=255 guifg=#ffffff +hi WildMenu cterm=none ctermfg=16 ctermbg=11 + +if v:version >= 700 + hi MatchParen cterm=none ctermfg=190 ctermbg=20 guifg=#d7ff00 guibg=#0000d7 + + " light + "hi Pmenu cterm=none ctermfg=16 ctermbg=252 + "hi PmenuSel cterm=none ctermfg=255 ctermbg=21 + "hi PmenuSbar cterm=none ctermfg=240 ctermbg=240 + "hi PmenuThumb cterm=none ctermfg=255 ctermbg=255 + + "dark + hi Pmenu cterm=none ctermfg=255 ctermbg=235 guifg=#ffffff guibg=#262626 + hi PmenuSel cterm=none ctermfg=255 ctermbg=21 guifg=#ffffff guibg=#0000ff + hi PmenuSbar cterm=none ctermfg=240 ctermbg=240 guibg=#444444 + hi PmenuThumb cterm=none ctermfg=255 ctermbg=255 guifg=#ffffff + + " No need for GUI colors + hi SpellBad cterm=none ctermfg=16 ctermbg=196 + hi SpellCap cterm=none ctermfg=16 ctermbg=196 + hi SpellLocal cterm=none ctermfg=16 ctermbg=196 + hi SpellRare cterm=none ctermfg=16 ctermbg=196 + + " No need for GUI colors + "hi TabLine cterm=none ctermfg=252 ctermbg=17 + "hi TabLineSel cterm=none ctermfg=255 ctermbg=21 + "hi TabLineFill cterm=none ctermfg=17 ctermbg=17 + hi TabLine cterm=none ctermfg=233 ctermbg=110 + hi TabLineSel cterm=none ctermfg=110 ctermbg=233 + hi TabLineFill cterm=none ctermfg=233 ctermbg=110 + +endif + +if v:version >= 703 + hi ColorColumn cterm=none ctermfg=250 ctermbg=234 +endif + +" ### syntax highlighting + +hi Boolean cterm=none ctermfg=215 guifg=#ffaf5f +hi Character cterm=none ctermfg=184 guifg=#d7d700 +hi Comment cterm=none ctermfg=248 gui=italic guifg=#a8a8a8 +hi Conditional cterm=none ctermfg=33 guifg=#0087ff +hi Constant cterm=none ctermfg=226 guifg=#ffff00 +hi Define cterm=bold ctermfg=27 gui=bold guifg=#005fff +hi Delimiter cterm=none ctermfg=196 guifg=#ff0000 +hi Error cterm=none ctermfg=255 ctermbg=9 guifg=#ffffff +hi Exception cterm=bold ctermfg=226 gui=bold guifg=#ffff00 +hi Function cterm=none ctermfg=196 guifg=#ff0000 +hi Identifier cterm=none ctermfg=40 gui=none guifg=#00d700 +hi Keyword cterm=none ctermfg=123 guifg=#87ffff +hi Number cterm=none ctermfg=209 guifg=#ff875f +hi Operator cterm=none ctermfg=226 guifg=#ffff00 +hi PreProc cterm=none ctermfg=202 guifg=#ff5f00 +hi Special cterm=none ctermfg=206 ctermbg=234 guifg=#ff5fd7 guibg=#1c1c1c +hi Statement cterm=none ctermfg=171 gui=none guifg=#d75fff +"hi String cterm=none ctermfg=224 ctermbg=234 guifg=#ffd7d7 guibg=#1c1c1c +hi String cterm=none ctermfg=180 ctermbg=234 guifg=#d7af87 guibg=#1c1c1c +hi Todo cterm=none ctermfg=16 ctermbg=226 guifg=#000000 guibg=#ffff00 +hi Type cterm=none ctermfg=75 gui=none guifg=#5fafff +hi Underlined cterm=underline ctermfg=39 gui=underline guifg=#00afff + +" ADDITIONNAL +hi Repeat cterm=none ctermfg=99 guifg=#875fff + diff --git a/.vim/colors/less.vim b/.vim/colors/less.vim new file mode 100644 index 0000000..c874913 --- /dev/null +++ b/.vim/colors/less.vim @@ -0,0 +1,54 @@ +" vim color file +" Maintainer: Brian Nelson +" Last Change: $Revision: 1.1 $ $Date: 2003/12/15 17:25:08 $ +" +" Less is More - A minimal color scheme. +" Disigned to work equally well on 8 or 16 colors, terminal or gui. + +hi clear +set background=dark +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "less" + +hi Normal term=none ctermfg=7 ctermbg=0 gui=none guifg=LightGray guibg=black +hi Directory term=bold cterm=bold ctermfg=blue guifg=Blue +hi Search term=reverse ctermfg=white ctermbg=blue guifg=white guibg=Blue +hi MoreMsg term=bold cterm=bold ctermfg=darkgreen gui=bold guifg=DarkGreen +hi ModeMsg term=bold cterm=bold gui=bold guifg=White guibg=Blue +hi LineNr term=underline cterm=bold ctermfg=darkcyan guifg=DarkCyan +hi Question term=standout cterm=bold ctermfg=darkgreen gui=bold guifg=DarkGreen +hi Comment term=bold cterm=bold ctermfg=0 gui=none guifg=DarkGray +hi Constant term=bold cterm=none ctermfg=7 gui=none guifg=LightGray +hi Special term=bold cterm=none ctermfg=3 gui=none guifg=Orange +hi Identifier term=none cterm=none ctermfg=7 gui=none guifg=LightGray +hi PreProc term=underline cterm=bold ctermfg=7 gui=bold guifg=White +hi Error term=reverse cterm=bold ctermfg=7 ctermbg=1 gui=bold guifg=Black guibg=Red +hi Todo term=standout cterm=none ctermfg=0 ctermbg=7 guifg=Black guibg=White +hi String term=none cterm=none ctermfg=3 gui=none guifg=LightYellow +hi Function term=bold cterm=bold ctermfg=3 gui=none guifg=Yellow +hi Statement term=bold cterm=bold ctermfg=7 gui=bold guifg=White +hi Include term=bold cterm=bold ctermfg=4 gui=none guifg=LightBlue +hi StorageClass term=bold cterm=bold ctermfg=5 gui=none guifg=LightMagenta +hi Type term=none cterm=none ctermfg=7 gui=none guifg=LightGray +hi Defined term=bold cterm=bold ctermfg=6 gui=none guifg=LightCyan +hi link Character String +hi link Number Constant +hi link Boolean Constant +hi link Float Number +hi link Conditional Statement +hi link Repeat Statement +hi link Label Statement +hi link Operator Statement +hi link Keyword Statement +hi link Exception Statement +hi link Macro Include +hi link PreCondit PreProc +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 diff --git a/.vim/colors/lettuce.vim b/.vim/colors/lettuce.vim new file mode 100644 index 0000000..223dc36 --- /dev/null +++ b/.vim/colors/lettuce.vim @@ -0,0 +1,215 @@ +" Vim color file +" Version: 1.2 2007.08.08 +" Author: Valyaeff Valentin +" License: GPL +" +" Copyright 2007 Valyaeff Valentin +" +" This program 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 3 of the License, or +" (at your option) any later version. +" +" This program is distributed in the hope that it will be useful, +" but WITHOUT ANY WARRANTY; without even the implied warranty of +" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +" GNU General Public License for more details. +" +" You should have received a copy of the GNU General Public License +" along with this program. If not, see . + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="lettuce" + + +augroup Syntax_extensions + au! + au Syntax c,cpp,ruby,javascript syn match Operator "[*/%&|!=><^~,.;:?+-]\+" display contains=TOP + au Syntax c,cpp syn region cParen matchgroup=Operator transparent start='(' end=')' contains=ALLBUT,@cParenGroup,cCppParen,cErrInBracket,cCppBracket,cCppString,@Spell + au Syntax c,cpp syn region cCppParen matchgroup=Operator transparent start='(' skip='\\$' excludenl end=')' end='$' contained contains=ALLBUT,@cParenGroup,cErrInBracket,cParen,cBracket,cString,@Spell + au Syntax c,cpp syn region cBracket matchgroup=Operator transparent start='\[\|<::\@!' end=']\|:>' contains=ALLBUT,@cParenGroup,cErrInParen,cCppParen,cCppBracket,cCppString,@Spell + au Syntax c,cpp syn region cCppBracket matchgroup=Operator transparent start='\[\|<::\@!' skip='\\$' excludenl end=']\|:>' end='$' contained contains=ALLBUT,@cParenGroup,cErrInParen,cParen,cBracket,cString,@Spell + au Syntax c,cpp syn region cBlock matchgroup=OperatorCurlyBrackets start="{" end="}" transparent fold + au Syntax ruby syn match rubyBlockParameter "\%(\%(\\|{\)\s*\)\@<=|\s*[( ,a-zA-Z0-9_*)]\+\ze\s*|"hs=s+1 display + au Syntax ruby syn region rubyCurlyBlock matchgroup=Operator start="{" end="}" contains=ALLBUT,@rubyExtendedStringSpecial,rubyTodo fold + au Syntax ruby syn region rubyParentheses matchgroup=Operator start="(" end=")" contains=ALLBUT,@rubyExtendedStringSpecial,rubyTodo + au Syntax ruby syn region rubySquareBrackets matchgroup=Operator start="\[" end="\]" contains=ALLBUT,@rubyExtendedStringSpecial,rubyTodo + au Syntax javascript syn region javascriptCurlyBrackets matchgroup=Operator start="{" end="}" transparent fold + au Syntax javascript syn region javascriptParentheses matchgroup=Operator start="(" end=")" transparent + au Syntax javascript syn region javascriptSquareBrackets matchgroup=Operator start="\[" end="\]" transparent +augroup END + + +if !has("gui_running") + +hi rubyGlobalVariable cterm=none ctermfg=64 +hi rubyPredefinedIdentifier cterm=bold ctermfg=64 +hi def link rubyStringDelimiter String + +hi Normal cterm=none ctermbg=232 ctermfg=189 +hi StatusLine cterm=none ctermbg=236 ctermfg=231 +hi StatusLineNC cterm=none ctermbg=236 ctermfg=103 +hi User1 cterm=bold ctermbg=236 ctermfg=223 +hi User2 cterm=none ctermbg=236 ctermfg=240 +hi VertSplit cterm=none ctermbg=236 ctermfg=103 +hi TabLine cterm=none ctermbg=236 ctermfg=145 +hi TabLineFill cterm=none ctermbg=236 +hi TabLineSel cterm=none ctermbg=240 ctermfg=253 +hi LineNr cterm=none ctermfg=238 +hi NonText cterm=bold ctermbg=233 ctermfg=241 +hi Folded cterm=none ctermbg=234 ctermfg=136 +hi FoldColumn cterm=none ctermbg=236 ctermfg=103 +hi SignColumn cterm=none ctermbg=236 ctermfg=103 +hi CursorColumn cterm=none ctermbg=234 +hi CursorLine cterm=none ctermbg=234 +hi IncSearch cterm=bold ctermbg=63 ctermfg=232 +hi Search cterm=none ctermbg=36 ctermfg=232 +hi Visual cterm=none ctermbg=24 +hi WildMenu cterm=bold ctermbg=35 ctermfg=232 +hi ModeMsg cterm=bold ctermfg=110 +hi MoreMsg cterm=bold ctermfg=121 +hi Question cterm=bold ctermfg=121 +hi ErrorMsg cterm=none ctermbg=88 ctermfg=255 +hi WarningMsg cterm=none ctermbg=58 ctermfg=255 +hi SpecialKey cterm=none ctermfg=77 +hi Title cterm=bold ctermfg=147 +hi Directory ctermfg=105 +hi DiffAdd cterm=none ctermbg=18 +hi DiffChange cterm=none ctermbg=58 +hi DiffDelete cterm=none ctermbg=52 ctermfg=58 +hi DiffText cterm=none ctermbg=53 +hi Pmenu cterm=none ctermbg=17 ctermfg=121 +hi PmenuSel cterm=none ctermbg=24 ctermfg=121 +hi PmenuSbar cterm=none ctermbg=19 +hi PmenuThumb cterm=none ctermbg=37 +hi MatchParen cterm=bold ctermbg=24 +hi SpellBad cterm=none ctermbg=88 +hi SpellCap cterm=none ctermbg=18 +hi SpellLocal cterm=none ctermbg=30 +hi SpellRare cterm=none ctermbg=90 + +hi Comment cterm=none ctermfg=138 +hi Constant cterm=none ctermfg=215 + hi String cterm=none ctermbg=235 ctermfg=215 + hi Character cterm=none ctermbg=235 ctermfg=215 + hi Number cterm=none ctermfg=34 + hi Float cterm=none ctermfg=41 +hi Identifier cterm=none ctermfg=186 + hi Function cterm=none ctermfg=210 +hi Statement cterm=bold ctermfg=63 + hi Exception cterm=bold ctermfg=99 + hi Operator cterm=none ctermfg=75 + hi Label cterm=none ctermfg=63 +hi PreProc cterm=bold ctermfg=36 +hi Type cterm=bold ctermfg=71 +hi Special cterm=none ctermbg=235 ctermfg=87 +hi Underlined cterm=underline ctermfg=227 +hi Ignore cterm=bold ctermfg=235 +hi Error cterm=bold ctermbg=52 ctermfg=231 +hi Todo cterm=bold ctermbg=143 ctermfg=16 + +hi OperatorCurlyBrackets cterm=bold ctermfg=75 + +" highlight modes +autocmd InsertEnter * hi StatusLine ctermbg=52 +autocmd InsertEnter * hi User1 ctermbg=52 +autocmd InsertEnter * hi User2 ctermbg=52 +autocmd InsertLeave * hi User2 ctermbg=236 +autocmd InsertLeave * hi User1 ctermbg=236 +autocmd InsertLeave * hi StatusLine ctermbg=236 +autocmd CmdwinEnter * hi StatusLine ctermbg=22 +autocmd CmdwinEnter * hi User1 ctermbg=22 +autocmd CmdwinEnter * hi User2 ctermbg=22 +autocmd CmdwinLeave * hi User2 ctermbg=236 +autocmd CmdwinLeave * hi User1 ctermbg=236 +autocmd CmdwinLeave * hi StatusLine ctermbg=236 + +else + +hi rubyGlobalVariable gui=none guifg=#5f8700 +hi rubyPredefinedIdentifier gui=bold guifg=#5f8700 +hi def link rubyStringDelimiter String + +hi Normal gui=none guibg=#080808 guifg=#dfdfff +hi StatusLine gui=none guibg=#303030 guifg=#ffffff +hi StatusLineNC gui=none guibg=#303030 guifg=#8787af +hi User1 gui=bold guibg=#303030 guifg=#ffdfaf +hi User2 gui=none guibg=#303030 guifg=#585858 +hi VertSplit gui=none guibg=#303030 guifg=#8787af +hi TabLine gui=none guibg=#303030 guifg=#afafaf +hi TabLineFill gui=none guibg=#303030 +hi TabLineSel gui=none guibg=#585858 guifg=#dadada +hi LineNr gui=none guifg=#444444 +hi NonText gui=bold guibg=#121212 guifg=#606060 +hi Folded gui=none guibg=#1c1c1c guifg=#af8700 +hi FoldColumn gui=none guibg=#303030 guifg=#8787af +hi SignColumn gui=none guibg=#303030 guifg=#8787af +hi CursorColumn gui=none guibg=#1c1c1c +hi CursorLine gui=none guibg=#1c1c1c +hi IncSearch gui=bold guibg=#5f5fff guifg=#080808 +hi Search gui=none guibg=#00af87 guifg=#080808 +hi Visual gui=none guibg=#005f87 +hi WildMenu gui=bold guibg=#00af5f guifg=#080808 +hi ModeMsg gui=bold guifg=#87afdf +hi MoreMsg gui=bold guifg=#87ffaf +hi Question gui=bold guifg=#87ffaf +hi ErrorMsg gui=none guibg=#870000 guifg=#eeeeee +hi WarningMsg gui=none guibg=#5f5f00 guifg=#eeeeee +hi SpecialKey gui=none guifg=#5fdf5f +hi Title gui=bold guifg=#afafff +hi Directory guifg=#8787ff +hi DiffAdd gui=none guibg=#000087 +hi DiffChange gui=none guibg=#5f5f00 +hi DiffDelete gui=none guibg=#5f0000 guifg=#5f5f00 +hi DiffText gui=none guibg=#5f005f +hi Pmenu gui=none guibg=#00005f guifg=#87ffaf +hi PmenuSel gui=none guibg=#005f87 guifg=#87ffaf +hi PmenuSbar gui=none guibg=#0000af +hi PmenuThumb gui=none guibg=#00afaf +hi MatchParen gui=bold guibg=#005f87 +hi SpellBad gui=none guibg=#870000 +hi SpellCap gui=none guibg=#000087 +hi SpellLocal gui=none guibg=#008787 +hi SpellRare gui=none guibg=#870087 + +hi Comment gui=none guifg=#af8787 +hi Constant gui=none guifg=#ffaf5f + hi String gui=none guibg=#262626 guifg=#ffaf5f + hi Character gui=none guibg=#262626 guifg=#ffaf5f + hi Number gui=none guifg=#00af00 + hi Float gui=none guifg=#00df5f +hi Identifier gui=none guifg=#dfdf87 + hi Function gui=none guifg=#ff8787 +hi Statement gui=bold guifg=#5f5fff + hi Exception gui=bold guifg=#875fff + hi Operator gui=none guifg=#5fafff + hi Label gui=none guifg=#5f5fff +hi PreProc gui=bold guifg=#00af87 +hi Type gui=bold guifg=#5faf5f +hi Special gui=none guibg=#262626 guifg=#5fffff +hi Underlined gui=underline guifg=#ffff5f +hi Ignore gui=bold guifg=#262626 +hi Error gui=bold guibg=#5f0000 guifg=#ffffff +hi Todo gui=bold guibg=#afaf5f guifg=#000000 + +hi OperatorCurlyBrackets gui=bold guifg=#5fafff + +" highlight modes +autocmd InsertEnter * hi StatusLine guibg=#5f0000 +autocmd InsertEnter * hi User1 guibg=#5f0000 +autocmd InsertEnter * hi User2 guibg=#5f0000 +autocmd InsertLeave * hi User2 guibg=#303030 +autocmd InsertLeave * hi User1 guibg=#303030 +autocmd InsertLeave * hi StatusLine guibg=#303030 +autocmd CmdwinEnter * hi StatusLine guibg=#005f00 +autocmd CmdwinEnter * hi User1 guibg=#005f00 +autocmd CmdwinEnter * hi User2 guibg=#005f00 +autocmd CmdwinLeave * hi User2 guibg=#303030 +autocmd CmdwinLeave * hi User1 guibg=#303030 +autocmd CmdwinLeave * hi StatusLine guibg=#303030 + +end diff --git a/.vim/colors/lightcolors.vim b/.vim/colors/lightcolors.vim new file mode 100644 index 0000000..93f708c --- /dev/null +++ b/.vim/colors/lightcolors.vim @@ -0,0 +1,80 @@ + +" By asmanian + +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "lightcolors" + +" blue #2A3F82 +" light blue #5555ff +" cyan #4b909e +" light cyan #55cbff +" grey #CCC0B7 +" dark grey #555555 +" green #4E9A06 +" red #AA2100 +" orange/brown #c18216 +" violet #702589 + +hi Title guifg=#000000 gui=bold + +hi Normal guifg=#000000 guibg=#f0f0f0 +hi NonText guifg=#808080 guibg=#e0e0e0 +hi SpecialKey guibg=#e0e0e0 guifg=#a0a0a0 + +hi LineNr guifg=#555555 guibg=#ccc0b7 gui=italic +hi StatusLine guifg=#2A3F82 guibg=#ffffff +hi StatusLineNC guifg=#4A5Fa2 guibg=#ccc0b7 +hi VertSplit guifg=#4a5fa2 guibg=#4a5fa2 + +hi Comment guifg=#2a3f82 gui=italic +hi Todo guifg=#2a3f82 guibg=#f0f0f0 gui=italic,bold + +" D: private, int +hi Type guifg=#4e9a06 gui=none +hi StorageClass guifg=#4e9a06 gui=italic +hi Typedef guifg=#4e9a06 gui=underline + + +" D: class +hi Structure guifg=#4e9a06 guibg=#ceea96 gui=underline +hi Function guifg=#4b909e gui=bold +",underline +"guibg=#d0e0ff +hi Underlined guifg=#000000 gui=underline + +" lua: standard functions +hi Identifier guifg=#4b909e gui=none + +hi Statement guifg=#555555 gui=italic +"hi Label +"hi Operator +"hi Keyword +"hi Exception +hi Conditional guifg=#c18216 gui=underline +"guibg=#ffccaa gui=none +hi Repeat guifg=#663300 gui=underline + + +hi PreProc guifg=#702589 gui=underline +hi Include guifg=#702589 gui=underline +hi Define guifg=#702589 gui=underline +hi Macro guifg=#702589 gui=underline +hi PreConduit guifg=#702589 gui=underline + +" Constants +hi Constant guifg=#aa2100 gui=italic +hi String guifg=#aa2100 +hi Special guifg=#800000 +hi Number guifg=#6a2120 +hi Float guifg=#aa2160 +"guibg=#e0e0a0 + + +hi Pmenu guibg=#ccc0b7 gui=italic +hi PmenuSel guifg=#ffffff guibg=#555555 gui=italic + + diff --git a/.vim/colors/lilac.vim b/.vim/colors/lilac.vim new file mode 100644 index 0000000..ef825fa --- /dev/null +++ b/.vim/colors/lilac.vim @@ -0,0 +1,75 @@ +" GUI-only vim color file +" Author: Christian MICHON +" Version: 1.0 +" Last Change: 10 Oct 2002 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "lilac" + +hi Boolean guifg=#00f080 guibg=#503040 gui=none +hi Character guifg=#00f080 guibg=#503040 gui=none +hi Comment guifg=#c0c0c0 guibg=#503040 gui=underline +hi Conditional guifg=#60d0d0 guibg=#503040 gui=bold +hi Constant guifg=#00f080 guibg=#503040 gui=none +hi Cursor guifg=#000000 guibg=#f0f000 gui=none +hi Debug guifg=#b0d0f0 guibg=#503040 gui=none +hi Define guifg=#f0f000 guibg=#503040 gui=none +hi Delimiter guifg=#b0d0f0 guibg=#503040 gui=none +hi DiffAdd guifg=#f0f000 guibg=#805070 gui=bold +hi DiffChange guifg=#f0f0f0 guibg=#805070 gui=none +hi DiffDelete guifg=#503040 guibg=#805070 gui=none +hi DiffText guifg=#000000 guibg=#f0f000 gui=bold +hi Directory guifg=#f0f000 guibg=#503040 gui=underline +hi Error guifg=#000000 guibg=#b0d0f0 gui=bold +hi ErrorMsg guifg=#000000 guibg=#b0d0f0 gui=bold +hi Exception guifg=#60d0d0 guibg=#503040 gui=bold +hi Float guifg=#00f080 guibg=#503040 gui=none +hi FoldColumn guifg=#b0d0f0 guibg=#805070 gui=bold +hi Folded guifg=#b0d0f0 guibg=#805070 gui=bold +hi Function guifg=#f0a070 guibg=#503040 gui=none +hi Identifier guifg=#f0a070 guibg=#503040 gui=none +hi Ignore guifg=#503040 guibg=#503040 gui=none +hi Include guifg=#f0f000 guibg=#503040 gui=none +hi IncSearch guifg=#000000 guibg=#b0d0f0 gui=bold +hi Keyword guifg=#60d0d0 guibg=#503040 gui=bold +hi Label guifg=#60d0d0 guibg=#503040 gui=bold +hi lCursor guifg=#f0f0f0 guibg=#503040 gui=none +hi LineNr guifg=#c0c0c0 guibg=#805070 gui=bold +hi Macro guifg=#f0f000 guibg=#503040 gui=none +hi ModeMsg guifg=#f0f0f0 guibg=#503040 gui=bold +hi MoreMsg guifg=#f070a0 guibg=#503040 gui=bold +hi NonText guifg=#c0c0c0 guibg=#503040 gui=bold +hi Normal guifg=#f0f0f0 guibg=#503040 gui=none +hi Number guifg=#00f080 guibg=#503040 gui=none +hi Operator guifg=#60d0d0 guibg=#503040 gui=bold +hi PreCondit guifg=#f0f000 guibg=#503040 gui=none +hi PreProc guifg=#f0f000 guibg=#503040 gui=none +hi Question guifg=#f070a0 guibg=#503040 gui=bold +hi Repeat guifg=#60d0d0 guibg=#503040 gui=bold +hi Search guifg=#000000 guibg=#b0d0f0 gui=bold +hi Special guifg=#b0d0f0 guibg=#503040 gui=none +hi SpecialChar guifg=#b0d0f0 guibg=#503040 gui=none +hi SpecialComment guifg=#b0d0f0 guibg=#503040 gui=none +hi SpecialKey guifg=#f0f000 guibg=#503040 gui=none +hi Statement guifg=#60d0d0 guibg=#503040 gui=bold +hi StatusLine guifg=#000000 guibg=#f0f0f0 gui=bold +hi StatusLineNC guifg=#c0c0c0 guibg=#805070 gui=bold +hi StorageClass guifg=#f070a0 guibg=#503040 gui=bold +hi String guifg=#00f080 guibg=#503040 gui=none +hi Structure guifg=#f070a0 guibg=#503040 gui=bold +hi Tag guifg=#b0d0f0 guibg=#503040 gui=none +hi Title guifg=#00f080 guibg=#503040 gui=bold +hi Todo guifg=#f0f000 guibg=#0000f0 gui=none +hi Type guifg=#f070a0 guibg=#503040 gui=bold +hi Typedef guifg=#f070a0 guibg=#503040 gui=bold +hi Underlined guifg=#b0d0f0 guibg=#503040 gui=underline +hi VertSplit guifg=#000000 guibg=#b0d0f0 gui=bold +hi Visual guifg=#000000 guibg=#b0d0f0 gui=underline +hi VisualNOS guifg=#f0f0f0 guibg=#503040 gui=underline +hi WarningMsg guifg=#000000 guibg=#b0d0f0 gui=bold +hi WildMenu guifg=#f0f0f0 guibg=#0000f0 gui=none diff --git a/.vim/colors/lilydjwg_dark.vim b/.vim/colors/lilydjwg_dark.vim new file mode 100644 index 0000000..9ee84bc --- /dev/null +++ b/.vim/colors/lilydjwg_dark.vim @@ -0,0 +1,92 @@ +" local syntax file - set colors on a per-machine basis: +" vim: tw=0 ts=4 sw=4 +" Vim color file +" Version: 1.1 +" Maintainer: lilydjwg +" Last Change: 2009 May 18 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "lilydjwg_dark" + +hi Comment guifg=#686868 ctermfg=59 +hi Constant guifg=#10a303 ctermfg=34 +hi Cursor guifg=#FF66FF guibg=#00AAFF ctermfg=207 ctermbg=39 +hi CursorIM guifg=#00AAFF guibg=#FF66FF ctermfg=39 ctermbg=207 +" hi CursorIM gui=None cterm=None +hi CursorLine guibg=#333333 ctermbg=236 cterm=None +hi DiffAdd guifg=#000000 guibg=#33ff33 ctermfg=16 ctermbg=83 +hi DiffChange guifg=#dddddd guibg=#5555CC ctermfg=253 ctermbg=63 +hi DiffDelete guifg=#000000 guibg=#ee6699 ctermfg=16 ctermbg=175 +hi DiffText guifg=#ffffff guibg=#8888ff ctermfg=231 ctermbg=105 +hi Directory guifg=#ff99ff ctermfg=213 +hi Error gui=underline guifg=#ff0000 guibg=#111133 cterm=underline ctermfg=196 ctermbg=20 +hi ErrorMsg guifg=#FFFF00 guibg=#0000FF ctermfg=226 ctermbg=21 +hi FoldColumn guifg=#0033FF guibg=#333333 ctermfg=27 ctermbg=236 +hi Folded guifg=#9933FF guibg=#333333 ctermfg=128 ctermbg=236 +hi Identifier guifg=#986CFF guibg=#2d222d ctermfg=135 +hi Ignore gui=None cterm=None +hi IncSearch gui=bold,reverse guifg=#33ff1c guibg=#3454ff cterm=bold,reverse ctermfg=40 ctermbg=69 +hi LineNr guifg=#FF77DD ctermfg=212 +hi MatchParen guifg=#99FF99 guibg=#444444 ctermfg=120 ctermbg=238 +hi ModeMsg gui=bold guifg=#AAAA3C guibg=#222211 cterm=bold ctermfg=136 +hi MoreMsg guifg=#FFFF00 ctermfg=226 +hi NonText guifg=#8400ff guibg=#1C1C1C ctermfg=129 ctermbg=234 +hi Normal guifg=#00CCFF guibg=#222222 ctermfg=39 ctermbg=235 +hi Pmenu guifg=#3366FF guibg=#1a1a1a ctermfg=33 ctermbg=233 +hi PmenuSbar guibg=#000000 ctermbg=16 +hi PmenuSel guifg=#80ff00 guibg=#1a1a1a ctermfg=82 ctermbg=233 +hi PmenuThumb gui=reverse cterm=reverse +hi PreProc guifg=#FF99FF guibg=#29222f ctermfg=213 +hi Question gui=bold guifg=#009966 guibg=#113322 cterm=bold ctermfg=42 +hi Search guifg=#3404ff guibg=#FFFF00 ctermfg=57 ctermbg=226 +hi SignColumn guifg=#00FFFF guibg=#C0C0C0 ctermfg=51 ctermbg=251 +hi Special guifg=#FF00FF guibg=#2d222d ctermfg=201 +hi SpecialKey guifg=#00AEA0 guibg=#22302D ctermfg=37 +hi SpellBad gui=undercurl cterm=undercurl +hi SpellCap gui=undercurl cterm=undercurl +hi SpellLocal gui=undercurl cterm=undercurl +hi SpellRare gui=undercurl cterm=undercurl +hi Statement gui=bold guifg=#d86868 guibg=#2d2222 cterm=bold ctermfg=167 +hi StatusLine gui=reverse guifg=#00c4ff guibg=#000000 cterm=reverse ctermfg=39 ctermbg=16 +hi StatusLineNC guifg=#A4A4FF guibg=#444400 ctermfg=141 ctermbg=58 +hi TabLine guifg=#0066FF guibg=#001133 ctermfg=32 ctermbg=17 +hi TabLineFill gui=None cterm=None +hi TabLineSel gui=underline guifg=#999944 guibg=#112233 cterm=underline ctermfg=100 +hi Title guifg=#ffff44 guibg=#2F2F2F ctermfg=227 ctermbg=236 +hi Todo gui=bold,underline guifg=#FF4444 guibg=#333300 cterm=bold,underline ctermfg=203 ctermbg=58 +hi Type guifg=#FFA500 guibg=#2d2211 ctermfg=214 +hi Underlined gui=underline guifg=#0088c5 guibg=#222d3d ctermfg=32 +hi VertSplit gui=reverse guifg=#00C4FF guibg=#0000FF cterm=reverse ctermfg=45 ctermbg=21 +hi Visual guibg=#3D3D3D ctermfg=237 +hi VisualNOS gui=None cterm=None +hi WarningMsg guifg=#FFA500 guibg=#000080 ctermfg=214 ctermbg=18 +hi WildMenu gui=None cterm=None +hi link Boolean Constant +hi link Character Constant +hi link Conditional Statement +hi link CursorColumn CursorLine +hi link Debug Special +hi link Define PreProc +hi link Delimiter Special +hi link Exception Statement +hi link Float Constant +hi link Function Identifier +hi link Include PreProc +hi link Keyword Statement +hi link Label Statement +hi link Macro PreProc +hi link Number Constant +hi link Operator Statement +hi link PreCondit PreProc +hi link Repeat Statement +hi link SpecialChar Special +hi link SpecialComment Special +hi link StorageClass Type +hi link String Constant +hi link Structure Type +hi link Tag Special +hi link Typedef Type diff --git a/.vim/colors/lilydjwg_green.vim b/.vim/colors/lilydjwg_green.vim new file mode 100644 index 0000000..a45e835 --- /dev/null +++ b/.vim/colors/lilydjwg_green.vim @@ -0,0 +1,92 @@ +" 本配色方案由 gui2term.py 程序增加彩色终端支持。 +" local syntax file - set colors on a per-machine basis: +" vim: tw=0 ts=4 sw=4 fenc=utf-8 +" Vim color file +" Version: 1.5 +" Maintainer: lilydjwg +" Last Change: 2009年8月8日 + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "lilydjwg_green" + +hi Comment guifg=#686868 guibg=#9bedd1 ctermfg=242 ctermbg=122 cterm=none +hi Constant guifg=#10a303 guibg=#9bedd1 ctermfg=34 ctermbg=122 cterm=none +hi Cursor gui=bold guifg=#ff68d1 guibg=#00c4ff ctermfg=206 ctermbg=45 cterm=bold +hi CursorIM gui=None ctermbg=122 cterm=none +hi CursorLine guibg=lightcyan ctermbg=195 cterm=none +hi DiffAdd guifg=black guibg=slateblue ctermfg=16 ctermbg=62 cterm=none +hi DiffChange guifg=black guibg=darkgreen ctermfg=16 ctermbg=22 cterm=none +hi DiffDelete gui=bold guifg=black guibg=coral ctermfg=16 ctermbg=209 cterm=bold +hi DiffText gui=bold guifg=black guibg=olivedrab ctermfg=16 ctermbg=64 cterm=bold +hi Directory guifg=#ff99ff guibg=#66ffcc ctermfg=213 ctermbg=86 cterm=none +hi Error gui=underline guifg=red guibg=darkblue ctermfg=196 ctermbg=18 cterm=underline +hi ErrorMsg guifg=orange guibg=darkblue ctermfg=214 ctermbg=18 cterm=none +hi FoldColumn guifg=#b6c2ff guibg=#a4a4ff ctermfg=147 ctermbg=147 cterm=none +hi Folded guifg=#7450ff guibg=#9bc4d1 ctermfg=99 ctermbg=116 cterm=none +hi Identifier guifg=#986CFF guibg=#9bedd1 ctermfg=99 ctermbg=122 cterm=none +hi Ignore gui=None cterm=none +hi IncSearch gui=bold,reverse guifg=#33ff1c guibg=#3454ff ctermfg=82 ctermbg=63 cterm=bold,reverse +hi LineNr guifg=#ff64cb guibg=#9bedd1 ctermfg=206 ctermbg=122 cterm=none +hi MatchParen guifg=#342cff guibg=#9aeb95 ctermfg=57 ctermbg=114 cterm=none +hi ModeMsg gui=bold guifg=#ffff3c guibg=#9bedd1 ctermfg=227 ctermbg=122 cterm=bold +hi MoreMsg guifg=yellow ctermfg=226 cterm=none +hi NonText guifg=#8400ff guibg=#9cffee ctermfg=93 ctermbg=159 cterm=none +hi Normal guifg=#3454ff guibg=#9bedd1 ctermfg=63 ctermbg=122 cterm=none +hi Pmenu guibg=#ff77ff ctermbg=213 cterm=none +hi PmenuSel guibg=grey ctermbg=250 cterm=none +hi PmenuSbar guibg=darkgray ctermbg=248 cterm=none +hi PmenuThumb gui=reverse ctermbg=122 cterm=reverse +hi PreProc guifg=#9b20d1 guibg=#9bedd1 ctermfg=92 ctermbg=122 cterm=none +hi Question gui=bold guifg=#006633 guibg=#66ffff ctermfg=23 ctermbg=87 cterm=bold +hi Search guifg=#3404ff guibg=yellow ctermfg=57 ctermbg=226 cterm=none +hi SignColumn guifg=cyan guibg=grey ctermfg=51 ctermbg=250 cterm=none +hi Special guifg=magenta ctermfg=201 ctermbg=122 cterm=none +hi SpecialKey guifg=#00AEA0 guibg=#8cedd1 ctermfg=37 ctermbg=122 cterm=none +hi SpellBad gui=undercurl ctermbg=122 cterm=undercurl +hi SpellCap gui=undercurl ctermbg=122 cterm=undercurl +hi SpellLocal gui=undercurl ctermbg=122 cterm=undercurl +hi SpellRare gui=undercurl ctermbg=122 cterm=undercurl +hi Statement gui=bold guifg=#d86868 guibg=#9bedd1 ctermfg=167 ctermbg=122 cterm=bold +hi StatusLine gui=reverse guifg=#00c4ff guibg=black ctermfg=45 ctermbg=16 cterm=reverse +hi StatusLineNC gui=reverse guifg=#a4a4ff guibg=#5f4d0e ctermfg=147 ctermbg=58 cterm=reverse +hi TabLine guifg=#ffffc8 guibg=#a4a4ff ctermfg=230 ctermbg=147 cterm=none +hi TabLineFill gui=reverse guifg=#9cffee ctermfg=159 ctermbg=122 cterm=reverse +hi TabLineSel gui=bold,underline guifg=#3488ff guibg=#9bedd1 ctermfg=69 ctermbg=122 cterm=bold,underline +hi Title gui=bold guifg=#006611 guibg=#9bedd1 ctermfg=22 ctermbg=122 cterm=bold +hi Todo gui=bold,underline guifg=#ff4c4c guibg=#d8ff33 ctermfg=203 ctermbg=191 cterm=bold,underline +hi Type gui=bold guifg=orange ctermfg=214 ctermbg=122 cterm=bold +hi Underlined gui=underline guifg=#0088C5 guibg=#aef0da ctermfg=32 ctermbg=158 cterm=underline +hi VertSplit gui=reverse guifg=#00c4ff guibg=blue ctermfg=45 ctermbg=21 cterm=reverse +hi Visual guifg=#9bedd1 guibg=#a4a4ff ctermfg=122 ctermbg=147 cterm=none +hi VisualNOS gui=bold,underline ctermbg=122 cterm=bold,underline +hi WarningMsg guifg=cyan guibg=darkblue ctermfg=51 ctermbg=18 cterm=none +hi WildMenu guifg=black guibg=yellow ctermfg=16 ctermbg=226 cterm=none +hi link Boolean Constant +hi link Character Constant +hi link Conditional Statement +hi link CursorColumn CursorLine +hi link Debug Special +hi link Define PreProc +hi link Delimiter Special +hi link Exception Statement +hi link Float Constant +hi link Function Identifier +hi link Include PreProc +hi link Keyword Statement +hi link Label Statement +hi link Macro PreProc +hi link Number Constant +hi link Operator Statement +hi link PreCondit PreProc +hi link Repeat Statement +hi link SpecialChar Special +hi link SpecialComment Special +hi link StorageClass Type +hi link String Constant +hi link Structure Type +hi link Tag Special +hi link Typedef Type diff --git a/.vim/colors/lilypink.vim b/.vim/colors/lilypink.vim new file mode 100644 index 0000000..6ac2f5e --- /dev/null +++ b/.vim/colors/lilypink.vim @@ -0,0 +1,72 @@ +" 本配色方案由 gui2term.py 程序增加彩色终端支持。 +" This colorscheme's support for 256-color terminal is generated by gui2term.py +" See http://www.vim.org/scripts/script.php?script_id=2778 for more info +" Vim colorscheme: a dark one +" Maintainer: lilydjwg +" Last Change: 2010年2月17日 +" License: Vim license, see :help 'license' + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "lilypink" + +" Vim >= 7.0 specific colors +if version >= 700 + hi CursorLine guibg=#303030 ctermbg=236 cterm=none + hi CursorColumn guibg=#303030 ctermbg=236 cterm=none + hi MatchParen guifg=#98ff85 guibg=bg gui=bold ctermfg=120 ctermbg=235 cterm=bold + hi Pmenu guifg=#f6f3e8 guibg=#444444 ctermfg=230 ctermbg=238 cterm=none + hi PmenuSbar guibg=#333333 ctermbg=236 cterm=none + hi PmenuThumb gui=reverse ctermbg=235 cterm=reverse + hi PmenuSel guifg=#000000 guibg=#cae682 ctermfg=16 ctermbg=150 cterm=none +endif + +" General colors +hi Cursor guifg=NONE guibg=#666666 gui=none ctermfg=254 ctermbg=241 cterm=none +hi Normal guifg=#e0e0e0 guibg=#242424 gui=none ctermfg=254 ctermbg=235 cterm=none +hi NonText guifg=#99968b guibg=#242424 gui=none ctermfg=246 ctermbg=235 cterm=none +hi LineNr guifg=#444444 guibg=#242424 gui=none ctermfg=238 ctermbg=235 cterm=none +hi VertSplit guifg=#1c1c1c guibg=#1c1c1c gui=none ctermfg=234 ctermbg=234 cterm=none +hi Title guifg=#f6f3e8 guibg=NONE gui=bold ctermfg=230 ctermbg=none cterm=bold +hi Visual guifg=NONE guibg=#000000 gui=none ctermfg=254 ctermbg=16 cterm=none +hi Ignore guifg=bg gui=none ctermfg=235 ctermbg=235 cterm=none + +hi StatusLine guifg=#a0a0a0 guibg=#1c1c1c gui=none ctermfg=247 ctermbg=234 cterm=none +hi StatusLineNC guifg=#857b6f guibg=#1c1c1c gui=none ctermfg=59 ctermbg=234 cterm=none + +hi Folded guibg=#384048 guifg=#a0a8b0 gui=none ctermfg=103 ctermbg=237 cterm=none +hi FoldColumn guibg=#000000 guifg=#ff99ff gui=none ctermfg=213 ctermbg=16 cterm=none + +hi SpecialKey guifg=#d090ff guibg=#242424 gui=none ctermfg=177 ctermbg=235 cterm=none +hi Special guifg=#ffddaa gui=none ctermfg=223 ctermbg=235 cterm=none + +hi IncSearch guifg=#33ff1c guibg=#000000 gui=underline ctermfg=46 ctermbg=16 cterm=underline +hi Search guibg=#000000 guifg=NONE ctermfg=NONE ctermbg=16 cterm=none +hi WildMenu guifg=#33ff1c guibg=#000000 gui=underline ctermfg=46 ctermbg=16 cterm=underline + +hi TabLine guifg=#e0e0e0 guibg=#444444 gui=none ctermfg=254 ctermbg=238 cterm=none +hi TabLineSel guifg=#ffffff gui=bold ctermfg=231 ctermbg=235 cterm=bold +hi TabLineFill guifg=#e0e0e0 guibg=#444444 gui=none ctermfg=254 ctermbg=238 cterm=none + +" Syntax highlighting +hi Comment guifg=#99968b gui=italic ctermfg=246 ctermbg=235 cterm=NONE +hi Todo guifg=#ff4444 guibg=#333333 gui=bold ctermfg=203 ctermbg=236 cterm=bold +hi String guifg=#98ff85 gui=italic ctermfg=120 ctermbg=235 cterm=NONE +hi Underlined gui=underline guifg=#80a0ff ctermfg=111 ctermbg=235 cterm=underline + +hi Identifier guifg=#ffff99 gui=none ctermfg=228 ctermbg=235 cterm=none +hi Function guifg=#ffff99 gui=none ctermfg=228 ctermbg=235 cterm=none +hi Type guifg=#ffff99 gui=none ctermfg=228 ctermbg=235 cterm=none + +hi PreProc guifg=#008faf gui=none ctermfg=31 ctermbg=235 cterm=none +hi Number guifg=#00ab11 gui=none ctermfg=34 ctermbg=235 cterm=none +hi Constant guifg=#ffa1cf gui=none ctermfg=218 ctermbg=235 cterm=none + +hi Statement guifg=#8ac6f2 gui=none ctermfg=117 ctermbg=235 cterm=none +hi Keyword guifg=#8ac6f2 gui=none ctermfg=117 ctermbg=235 cterm=none diff --git a/.vim/colors/lingodirector.vim b/.vim/colors/lingodirector.vim new file mode 100644 index 0000000..57f2b3c --- /dev/null +++ b/.vim/colors/lingodirector.vim @@ -0,0 +1,44 @@ +" Vim color file +" Maintainer: Thomas Schmall +" Last Change: 2004 June 16 +" Version:1.0 +" URL: http://www.oxpal.com/index.php?o=dev_vim&lan=en +" +" Note: you can type :set number! to activate or deactivate the line numbering, wich also +" looks similar to Director + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="lingodirector" + +hi Normal guifg=black guibg=white ctermfg=Black ctermbg=white +hi Title guifg=black guibg=white ctermfg=Black ctermbg=white gui=BOLD +hi lCursor guibg=Cyan guifg=NONE + +hi LineNr guifg=white guibg=#8c9bfa + + + +" syntax highlighting groups +hi Comment ctermfg=Red guifg=#c80000 gui=NONE +hi Operator term=None cterm=None gui=None + +hi Identifier ctermfg=Green guifg=#008000 gui=NONE + +hi Statement ctermfg=Blue guifg=#0000c8 gui=NONE +hi TypeDef ctermfg=Blue guifg=#0000c8 gui=NONE +hi Type ctermfg=Blue guifg=#0000c8 gui=NONE +hi Boolean ctermfg=Blue guifg=#0000c8 gui=NONE + +hi String ctermfg=Gray guifg=#808080 gui=NONE +hi Number ctermfg=Gray guifg=#808080 gui=NONE +hi Constant ctermfg=Gray guifg=#808080 gui=NONE + +hi Function ctermfg=Green guifg=#008040 gui=NONE +hi PreProc ctermfg=Green guifg=#008040 gui=NONE +hi Keyword ctermfg=Green guifg=#008040 gui=NONE + +"set number diff --git a/.vim/colors/liquidcarbon.vim b/.vim/colors/liquidcarbon.vim new file mode 100644 index 0000000..d5164f1 --- /dev/null +++ b/.vim/colors/liquidcarbon.vim @@ -0,0 +1,126 @@ +" File: liquidcarbon.vim +" Author: Jeet Sukumaran +" Description: Vim color file +" Last Modified: October 06, 2010 + +" Initialization and Setup {{{1 +" ============================================================================ +set background=dark +highlight clear +if exists("syntax_on") + syntax reset +endif +let colors_name = "liquidcarbon" +" 1}}} + +" Normal Color {{{1 +" ============================================================================ +hi Normal guifg=#bdcdcd guibg=#303030 +" 1}}} + +" Core Highlights {{{1 +" ============================================================================ +hi ColorColumn guifg=NONE guibg=#3A3A3A +hi Cursor guifg=bg guibg=fg gui=NONE +hi CursorIM guifg=bg guibg=fg gui=NONE +hi CursorLine guifg=NONE guibg=#303030 gui=NONE +hi lCursor guifg=bg guibg=fg gui=NONE +hi DiffAdd guifg=#000000 guibg=#3cb371 gui=NONE +hi DiffChange guifg=#000000 guibg=#4f94cd gui=NONE +hi DiffDelete guifg=#000000 guibg=#8b3626 gui=NONE +hi DiffText guifg=#000000 guibg=#8ee5ee gui=NONE +hi Directory guifg=#1e90ff guibg=bg gui=NONE +hi ErrorMsg guifg=#ff6a6a guibg=NONE gui=bold +hi FoldColumn guifg=#68838b guibg=#4B4B4B gui=bold +hi Folded guifg=#68838b guibg=#4B4B4B gui=NONE +hi IncSearch guifg=#ffffff guibg=#ff4500 gui=bold +hi LineNr guifg=#767676 guibg=#222222 gui=NONE +hi MatchParen guifg=#fff000 guibg=#000000 gui=bold +hi ModeMsg guifg=#000000 guibg=#00ff00 gui=bold +hi MoreMsg guifg=#2e8b57 guibg=bg gui=bold +hi NonText guifg=#9ac0cd guibg=bg gui=NONE +hi Pmenu guifg=#0000ff guibg=#c0c8cf gui=bold +hi PmenuSel guifg=#c0c8cf guibg=#0000ff gui=bold +hi PmenuSbar guifg=#ffffff guibg=#c1cdc1 gui=NONE +hi PmenuThumb guifg=#ffffff guibg=#838b83 gui=NONE +hi Question guifg=#00ee00 guibg=NONE gui=bold +hi Search guifg=#000000 guibg=#fff68f gui=bold +hi SignColumn guifg=#ffffff guibg=#cdcdb4 gui=NONE +hi SpecialKey guifg=#666666 guibg=NONE gui=NONE +hi SpellBad guisp=#ee2c2c gui=undercurl +hi SpellCap guisp=#0000ff gui=undercurl +hi SpellLocal guisp=#008b8b gui=undercurl +hi SpellRare guisp=#ff00ff gui=undercurl +hi StatusLine guifg=#ddeeff guibg=#445566 gui=NONE +hi StatusLineNC guifg=#999999 guibg=#445566 gui=italic +hi TabLine guifg=fg guibg=#d3d3d3 gui=underline +hi TabLineFill guifg=fg guibg=bg gui=reverse +hi TabLineSel guifg=fg guibg=bg gui=bold +hi Title guifg=#009acd guibg=bg gui=bold +hi VertSplit guifg=#445566 guibg=#445566 +hi Visual guifg=#000000 guibg=#90ccff gui=NONE +hi WarningMsg guifg=#ee9a00 guibg=bg gui=NONE +hi WildMenu guifg=#000000 guibg=#87ceeb gui=NONE +" 1}}} + +" Syntax {{{1 +" ============================================================================ + +" General {{{2 +" ----------------------------------------------------------------------------- +hi Comment guifg=#809090 guibg=NONE gui=italic +hi Constant guifg=#cdad00 guibg=NONE gui=NONE +hi String guifg=#559b70 guibg=NONE gui=NONE +hi Boolean guifg=#cd69c9 guibg=NONE gui=NONE +hi Identifier guifg=#9f79ee guibg=NONE gui=NONE +hi Function guifg=#92a5de guibg=NONE gui=NONE +hi Statement guifg=#009acd guibg=NONE gui=NONE +hi PreProc guifg=#009acd guibg=NONE gui=NONE +hi Keyword guifg=#7ac5cd guibg=NONE gui=NONE +hi Type guifg=#4169e1 guibg=NONE gui=NONE +hi Special guifg=#7f9f44 guibg=NONE gui=NONE +hi Ignore guifg=bg guibg=NONE gui=NONE +hi Error guifg=#ff3030 guibg=NONE gui=underline +hi Todo guifg=#ff88ee guibg=NONE gui=bold +" 2}}} + +" Vim {{{2 +" ----------------------------------------------------------------------------- +hi VimError guifg=#ff0000 guibg=#000000 gui=bold +hi VimCommentTitle guifg=#528b8b guibg=bg gui=bold,italic +" 2}}} + +" QuickFix {{{2 +" ----------------------------------------------------------------------------- +hi qfFileName guifg=#607b8b guibg=NONE gui=italic +hi qfLineNr guifg=#0088aa guibg=NONE gui=bold +hi qfError guifg=#ff0000 guibg=NONE gui=bold +" 2}}} + +" Python {{{2 +" ----------------------------------------------------------------------------- +hi pythonDecorator guifg=#cd8500 guibg=NONE gui=NONE +hi link pythonDecoratorFunction pythonDecorator +" 2}}} + +" Diff {{{2 +" ----------------------------------------------------------------------------- +hi diffOldFile guifg=#da70d6 guibg=NONE gui=italic +hi diffNewFile guifg=#ffff00 guibg=NONE gui=italic +hi diffFile guifg=#ffa500 guibg=NONE gui=italic +hi diffLine guifg=#ff00ff guibg=NONE gui=italic +hi link diffOnly Constant +hi link diffIdentical Constant +hi link diffDiffer Constant +hi link diffBDiffer Constant +hi link diffIsA Constant +hi link diffNoEOL Constant +hi link diffCommon Constant +hi diffRemoved guifg=#cd5555 guibg=NONE gui=NONE +hi diffChanged guifg=#4f94cd guibg=NONE gui=NONE +hi diffAdded guifg=#00cd00 guibg=NONE gui=NONE +hi link diffSubname diffLine +hi link diffComment Comment +" 2}}} + +" 1}}} diff --git a/.vim/colors/literal_tango.vim b/.vim/colors/literal_tango.vim new file mode 100644 index 0000000..a92d438 --- /dev/null +++ b/.vim/colors/literal_tango.vim @@ -0,0 +1,183 @@ +" Vim color file +" Filename: literal_tango.vim +" Maintainer: Hinrik Örn Sigurðsson +" Version: 1.7 +" Last Change: Apr 10th 2008 +" URLs: http://github.com/hinrik/dotfiles/blob/master/.vim/colors/literal_tango.vim +" http://www.vim.org/scripts/script.php?script_id=2430 +" Installation: Drop this file in your $VIMRUNTIME/colors/ directory +" Screenshot: http://img134.imageshack.us/img134/9471/literaltango.png +" License: GNU General Public License version 3 or (at your option) any +" later version as published by the Free Software Foundation +" +" A color scheme with good contrast, yet easy on the eyes. +" Looks the same in the GUI as it does on a 16 color terminal. +" Uses the Tango color palette (http://tango.freedesktop.org). +" +" Terminal users: +" Intended for display on a black (#000000) background with a text color +" of #d3d7cf. Also make sure your terminal is using the Tango color +" palette. GNOME Terminal uses it by default. Linux console users, see +" http://search.cpan.org/perldoc?conpalette +" Also make sure that background=dark in vim. +" +" Changelog: +" +" 1.7 +" Used a brighter color for Include +" Made Function look distinct from Identifier +" +" 1.6 +" Changed 'Label', 'SpecialKey', 'Type', 'SpecialChar', 'Delimiter', +" and 'Exception' +" +" 1.5 +" Use a brighter color for 'Special' to make it more distinct +" +" 1.4 +" Now looks right on a linux console regardless of 'background' setting +" +" 1.3: +" Made 'WildMenu' look consistent in GUI/terminal +" Made 'Title', 'Directory', and 'SpecialKey' look more readable +" +" 1.2: +" Use darker colors for diffs, popup menus, vertical splits, +" matched parens, fold columns, and the status line +" +" 1.1: +" Gave 'Type' a color +" Linked 'Repeat' and 'Conditional' to 'Statement' again +" Fixed a few GUI<->terminal inconsistencies +" + +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 = "literal_tango" + +" 16 color terminal +if &background == "dark" + hi Function ctermfg=3 + hi Include ctermfg=2 + hi Constant ctermfg=1 + hi Folded ctermfg=2 ctermbg=NONE + hi FoldColumn ctermfg=2 ctermbg=NONE + hi Identifier ctermfg=2 + hi Ignore ctermfg=0 + hi Label ctermfg=NONE cterm=bold + hi LineNr ctermfg=0 cterm=bold + hi Type ctermfg=5 + hi StatusLine ctermbg=0 cterm=bold + hi StatusLineNC ctermbg=0 cterm=NONE + hi VertSplit ctermbg=0 cterm=NONE + hi SignColumn ctermfg=3 ctermbg=NONE + hi MatchParen ctermbg=0 cterm=bold + hi Pmenu ctermbg=0 + hi PmenuSel ctermfg=0 ctermbg=7 + hi PmenuThumb ctermfg=0 + hi DiffAdd ctermbg=2 cterm=bold + hi DiffChange ctermbg=0 + hi DiffDelete ctermfg=NONE ctermbg=0 + hi DiffText ctermbg=0 + hi Title ctermfg=3 cterm=NONE + hi Delimiter ctermfg=6 cterm=NONE + hi SpecialKey ctermfg=5 + hi Directory ctermfg=6 + hi MoreMsg cterm=NONE + hi Question cterm=NONE + hi WarningMsg cterm=NONE + hi TabLine ctermfg=0 ctermbg=7 cterm=NONE + hi CursorColumn ctermbg=7 + hi Comment ctermfg=4 + hi Special ctermfg=6 + hi Exception ctermfg=6 + hi SpecialChar ctermfg=3 + hi Statement cterm=NONE + hi PreProc ctermfg=5 + hi Underlined ctermfg=4 cterm=bold,underline +elseif &background == "light" + " TODO +endif + +" Tango palette +let s:black = "#2e3436" +let s:darkred = "#cc0000" +let s:darkgreen = "#4e9a06" +let s:brown = "#c4a000" +let s:darkblue = "#3465a4" +let s:darkmagenta = "#75507b" +let s:darkcyan = "#06989a" +let s:lightgrey = "#d3d7cf" + +let s:darkgrey = "#555753" +let s:lightred = "#ef2929" +let s:lightgreen = "#8ae234" +let s:yellow = "#fce94f" +let s:lightblue = "#729fcf" +let s:lightmagenta = "#ad7fa8" +let s:lightcyan = "#34e2e2" +let s:white = "#eeeeec" + +" GUI +if &background == "dark" + exe "hi Normal guifg=".s:lightgrey ." guibg=#000000" + exe "hi Function guifg=".s:brown + exe "hi Include guifg=".s:darkgreen + exe "hi Folded guifg=".s:darkgreen ." guibg=NONE" + exe "hi FoldColumn guifg=".s:darkgreen ." guibg=NONE" + exe "hi LineNr guifg=".s:darkgrey + exe "hi Type guifg=".s:darkmagenta ." gui=NONE" + exe "hi Label guifg=".s:white ." gui=bold" + exe "hi Identifier guifg=".s:darkgreen + exe "hi Constant guifg=".s:darkred + exe "hi Statement guifg=".s:brown ." gui=NONE" + exe "hi Delimiter guifg=".s:darkcyan ." gui=NONE" + exe "hi PreProc guifg=".s:darkmagenta + exe "hi Comment guifg=".s:darkblue + exe "hi SpecialKey guifg=".s:darkmagenta + exe "hi NonText guifg=".s:lightblue + exe "hi Directory guifg=".s:darkcyan + exe "hi ErrorMsg guifg=".s:white ." gui=bold guibg=".s:darkred + exe "hi Search guifg=".s:black ." guibg=".s:brown + exe "hi MoreMsg guifg=".s:darkgreen ." gui=NONE" + exe "hi Question guifg=".s:darkgreen ." gui=NONE" + exe "hi StatusLine guifg=".s:lightgrey ." gui=bold guibg=".s:black + exe "hi StatusLineNC guifg=".s:lightgrey ." gui=NONE guibg=".s:black + exe "hi VertSplit guifg=NONE gui=NONE guibg=".s:black + exe "hi Title gui=NONE guifg=".s:brown + exe "hi Visual guibg=NONE gui=reverse" + exe "hi WarningMsg guifg=".s:darkred + exe "hi WildMenu guifg=".s:black ." guibg=".s:brown + exe "hi DiffAdd gui=bold guibg=".s:darkgreen + exe "hi DiffChange guibg=".s:black + exe "hi DiffDelete gui=NONE guifg=NONE guibg=".s:black + exe "hi DiffText guibg=".s:black + exe "hi SignColumn guibg=NONE guifg=".s:brown + exe "hi SpellBad guisp=".s:darkred + exe "hi SpellCap guisp=".s:darkblue + exe "hi SpellRare guisp=".s:darkmagenta + exe "hi SpellLocal guisp=".s:darkcyan + exe "hi Pmenu guibg=".s:black + exe "hi PmenuSel guifg=".s:black ." guibg=".s:lightgrey + exe "hi PmenuSbar guibg=".s:lightgrey + exe "hi PmenuThumb guifg=".s:darkgrey + exe "hi TabLine gui=NONE guifg=".s:darkgrey ." guibg=".s:lightgrey + exe "hi CursorColumn guibg=".s:white + exe "hi CursorLine guibg=NONE gui=underline" + exe "hi MatchParen guibg=".s:darkgrey + exe "hi Special guifg=".s:darkcyan + exe "hi Exception guifg=".s:darkcyan + exe "hi SpecialChar guifg=".s:brown + exe "hi Underlined guifg=".s:lightblue + exe "hi Error guifg=".s:white ." guibg=".s:darkred + exe "hi Todo guifg=".s:black ." guibg=".s:brown +elseif &background == "light" + " TODO +endif diff --git a/.vim/colors/lodestone.vim b/.vim/colors/lodestone.vim new file mode 100644 index 0000000..1222385 --- /dev/null +++ b/.vim/colors/lodestone.vim @@ -0,0 +1,407 @@ +" Vim color scheme +" +" Name: lodestone.vim +" Maintainer: Matt Petty +" Last Change: 16 September 2010 +" License: public domain +" Version: 4.1 +" +" 256 color scheme based on lucius, railscasts, many others. +" Looks good, feels good, but is secretly evil in a good way. +" This file is also kept here: +" http://github.com/lodestone/lodestone.vim + + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let colors_name="lodestone" + +" Some other colors to save +" blue: 3eb8e5 +" green: 92d400 +" c green: d5f876, cae682 +" new blue: 002D62 +" new gray: CCCCCC + + +" Base color +" ---------- +" hi Normal guifg=#e0e0e0 guibg=#202020 +hi Normal guifg=#e0e0e0 guibg=#030303 +hi Normal ctermfg=253 ctermbg=000 + + +" Comment Group +" ------------- +" any comment +hi Comment guifg=#606060 gui=none +hi Comment ctermfg=240 cterm=none + + +" Constant Group +" -------------- +" any constant +hi Constant guifg=#8cd0d3 gui=none +hi Constant ctermfg=116 cterm=none +" strings +" hi String guifg=#80c0d9 gui=none +hi String guifg=#60e000 gui=none +hi String ctermfg=110 cterm=none +" character constant +hi Character guifg=#80c0d9 gui=none +hi Character ctermfg=110 cterm=none +" numbers decimal/hex +hi Number guifg=#8cd0d3 gui=none +hi Number ctermfg=116 cterm=none +" true, false +hi Boolean guifg=#8cd0d3 gui=none +hi Boolean ctermfg=116 cterm=none +" float +hi Float guifg=#8cd0d3 gui=none +hi Float ctermfg=116 cterm=none + + +" Identifier Group +" ---------------- +" any variable name +" hi Identifier guifg=#e6c080 gui=none +hi Identifier guifg=#C6C5FE guibg=NONE gui=NONE +" ctermfg=cyan ctermbg=NONE cterm=NONE +hi Identifier ctermfg=216 cterm=none +" function, method, class +hi Function guifg=#e6c080 gui=none +hi Function ctermfg=216 cterm=none + + +" Statement Group +" --------------- +" any statement +hi Statement guifg=#b3d38c gui=none +hi Statement ctermfg=150 cterm=none +" if, then, else +hi Conditional guifg=#b3d38c gui=none +hi Conditional ctermfg=150 cterm=none +" try, catch, throw, raise +hi Exception guifg=#b3d38c gui=none +hi Exception ctermfg=150 cterm=none +" for, while, do +hi Repeat guifg=#b3d38c gui=none +hi Repeat ctermfg=150 cterm=none +" case, default +hi Label guifg=#b3d38c gui=none +hi Label ctermfg=150 cterm=none +" sizeof, +, * +hi Operator guifg=#b3d38c gui=none +hi Operator ctermfg=150 cterm=none +" any other keyword +hi Keyword guifg=#b3d38c gui=none +hi Keyword ctermfg=150 cterm=none + + +" Preprocessor Group +" ------------------ +" generic preprocessor +hi PreProc guifg=#e9dfaf gui=none +hi PreProc ctermfg=223 cterm=none +" #include +hi Include guifg=#e9dfaf gui=none +hi Include ctermfg=223 cterm=none +" #define +hi Define guifg=#e9dfaf gui=none +hi Define ctermfg=223 cterm=none +" same as define +hi Macro guifg=#e9dfaf gui=none +hi Macro ctermfg=223 cterm=none +" #if, #else, #endif +hi PreCondit guifg=#e9dfaf gui=none +hi PreCondit ctermfg=223 cterm=none + + +" Type Group +" ---------- +" int, long, char +hi Type guifg=#93d6a9 gui=none +hi Type ctermfg=115 cterm=none +" static, register, volative +hi StorageClass guifg=#93d6a9 gui=none +hi StorageClass ctermfg=115 cterm=none +" struct, union, enum +hi Structure guifg=#93d6a9 gui=none +hi Structure ctermfg=115 cterm=none +" typedef +hi Typedef guifg=#93d6a9 gui=none +hi Typedef ctermfg=115 cterm=none + + +" Special Group +" ------------- +" any special symbol +hi Special guifg=#cca3b3 gui=none +hi Special ctermfg=181 cterm=none +" special character in a constant +hi SpecialChar guifg=#cca3b3 gui=none +hi SpecialChar ctermfg=181 cterm=none +" things you can CTRL-] +hi Tag guifg=#cca3b3 gui=none +hi Tag ctermfg=181 cterm=none +" character that needs attention +hi Delimiter guifg=#cca3b3 gui=none +hi Delimiter ctermfg=181 cterm=none +" special things inside a comment +hi SpecialComment guifg=#cca3b3 gui=none +hi SpecialComment ctermfg=181 cterm=none +" debugging statements +hi Debug guifg=#cca3b3 guibg=NONE gui=none +hi Debug ctermfg=181 ctermbg=NONE cterm=none + + +" Underlined Group +" ---------------- +" text that stands out, html links +hi Underlined guifg=fg gui=underline +hi Underlined ctermfg=fg cterm=underline + + +" Ignore Group +" ------------ +" left blank, hidden +hi Ignore guifg=bg +hi Ignore ctermfg=bg + + +" Error Group +" ----------- +" any erroneous construct +hi Error guifg=#e37170 guibg=#432323 gui=none +hi Error ctermfg=167 ctermbg=52 cterm=none + + +" Todo Group +" ---------- +" todo, fixme, note, xxx +hi Todo guifg=#efef8f guibg=NONE gui=underline +hi Todo ctermfg=228 ctermbg=NONE cterm=underline + + +" Spelling +" -------- +" word not recognized +hi SpellBad guisp=#ee0000 gui=undercurl +hi SpellBad ctermbg=9 cterm=undercurl +" word not capitalized +hi SpellCap guisp=#eeee00 gui=undercurl +hi SpellCap ctermbg=12 cterm=undercurl +" rare word +hi SpellRare guisp=#ffa500 gui=undercurl +hi SpellRare ctermbg=13 cterm=undercurl +" wrong spelling for selected region +hi SpellLocal guisp=#ffa500 gui=undercurl +hi SpellLocal ctermbg=14 cterm=undercurl + + +" Cursor +" ------ +" character under the cursor +hi Cursor guifg=bg guibg=#a3e3ed +hi Cursor ctermfg=bg ctermbg=153 +" like cursor, but used when in IME mode +hi CursorIM guifg=bg guibg=#96cdcd +hi CursorIM ctermfg=bg ctermbg=116 +" cursor column +hi CursorColumn guifg=NONE guibg=#202438 gui=none +hi CursorColumn ctermfg=NONE ctermbg=236 cterm=none +" cursor line/row +hi CursorLine gui=NONE guibg=#202438 gui=none +hi CursorLine cterm=NONE ctermbg=236 cterm=none + + +" Misc +" ---- +" NerdTREE "|" +hi treePart guifg=#c0e0FF gui=none +hi treePart ctermfg=069 gui=none +hi treeDir guifg=#c0e0b0 gui=none +hi treeDir ctermfg=069 gui=none + +" directory names and other special names in listings +hi Directory guifg=#c0e0b0 gui=none +hi Directory ctermfg=151 cterm=none +" error messages on the command line +hi ErrorMsg guifg=#ee0000 guibg=NONE gui=none +hi ErrorMsg ctermfg=196 ctermbg=NONE cterm=none + +" column separating vertically split windows +" hi VertSplit guifg=#777777 guibg=#363946 gui=none +" hi VertSplit ctermfg=242 ctermbg=237 cterm=none +hi VertSplit guifg=#777777 guibg=#000000 gui=none +hi VertSplit ctermfg=242 ctermbg=none cterm=none + + +" columns where signs are displayed (used in IDEs) +hi SignColumn guifg=#9fafaf guibg=#181818 gui=none +hi SignColumn ctermfg=145 ctermbg=233 cterm=none + +" line numbers +" hi LineNr guifg=#818698 guibg=#363946 +" hi LineNr ctermfg=102 ctermbg=237 +hi LineNr guifg=#818698 guibg=#303030 +hi LineNr ctermfg=244 + +" match parenthesis, brackets +hi MatchParen guifg=#00ff00 guibg=NONE gui=bold +hi MatchParen ctermfg=46 ctermbg=NONE cterm=bold +" the 'more' prompt when output takes more than one line +hi MoreMsg guifg=#2e8b57 gui=none +hi MoreMsg ctermfg=29 cterm=none + +" text showing what mode you are in + +hi ModeMsg guifg=#76d5f8 guibg=NONE gui=none +hi ModeMsg ctermfg=117 ctermbg=NONE cterm=none + +" the '~' and '@' and showbreak, '>' double wide char doesn't fit on line +hi NonText guifg=#404040 gui=none +hi NonText ctermfg=235 cterm=none +" the hit-enter prompt (show more output) and yes/no questions +hi Question guifg=fg gui=none +hi Question ctermfg=fg cterm=none +" meta and special keys used with map, unprintable characters +hi SpecialKey guifg=#405060 +hi SpecialKey ctermfg=237 +" titles for output from :set all, :autocmd, etc +hi Title guifg=#62bdde gui=none +hi Title ctermfg=74 cterm=none +"hi Title guifg=#5ec8e5 gui=none +" warning messages +hi WarningMsg guifg=#e5786d gui=none +hi WarningMsg ctermfg=173 cterm=none +" current match in the wildmenu completion +hi WildMenu guifg=#cae682 guibg=#363946 gui=bold,underline +hi WildMenu ctermfg=16 ctermbg=186 cterm=bold + + +" Diff +" ---- +" added line +hi DiffAdd guifg=#80a090 guibg=#313c36 gui=none +hi DiffAdd ctermfg=108 ctermbg=22 cterm=none +" changed line +hi DiffChange guifg=NONE guibg=#4a343a gui=none +hi DiffChange ctermfg=fg ctermbg=52 cterm=none +" deleted line +hi DiffDelete guifg=#6c6661 guibg=#3c3631 gui=none +hi DiffDelete ctermfg=59 ctermbg=58 cterm=none +" changed text within line +hi DiffText guifg=#f05060 guibg=#4a343a gui=bold +hi DiffText ctermfg=203 ctermbg=52 cterm=bold + + +" Folds +" ----- +" line used for closed folds +hi Folded guifg=#91d6f8 guibg=#363946 gui=none +hi Folded ctermfg=117 ctermbg=238 cterm=none +" column on side used to indicated open and closed folds +hi FoldColumn guifg=#91d6f8 guibg=#363946 gui=none +hi FoldColumn ctermfg=117 ctermbg=238 cterm=none + + +" Search +" ------ +" highlight incremental search text; also highlight text replaced with :s///c +hi IncSearch guifg=#66ffff gui=reverse +hi IncSearch ctermfg=87 cterm=reverse +" hlsearch (last search pattern), also used for quickfix +hi Search guibg=#ffaa33 gui=none +hi Search ctermbg=214 cterm=none + + +" Popup Menu +" ---------- +" normal item in popup +hi Pmenu guifg=#e0e0e0 guibg=#303840 gui=none +hi Pmenu ctermfg=253 ctermbg=233 cterm=none +" selected item in popup +hi PmenuSel guifg=#cae682 guibg=#505860 gui=none +hi PmenuSel ctermfg=186 ctermbg=237 cterm=none +" scrollbar in popup +hi PMenuSbar guibg=#505860 gui=none +hi PMenuSbar ctermbg=59 cterm=none +" thumb of the scrollbar in the popup +hi PMenuThumb guibg=#808890 gui=none +hi PMenuThumb ctermbg=102 cterm=none + + +" Status Line +" ----------- +" status line for current window +" hi StatusLine guifg=#e0e0e0 guibg=#363946 gui=bold +hi StatusLine guifg=#222222 guibg=#eeeeee gui=bold +" hi StatusLine ctermfg=244 ctermbg=186 cterm=bold +hi StatusLine ctermfg=238 ctermbg=233 + +" status line for non-current windows +hi StatusLineNC guifg=#767986 guibg=#363946 gui=none +hi StatusLineNC ctermfg=244 ctermbg=232 +" hi StatusLineNC ctermfg=244 ctermbg=white cterm=none + + +" Tab Lines +" --------- +" tab pages line, not active tab page label +hi TabLine guifg=#b6bf98 guibg=#363946 gui=none +hi TabLine ctermfg=244 ctermbg=236 cterm=none +" tab pages line, where there are no labels +hi TabLineFill guifg=#cfcfaf guibg=#363946 gui=none +hi TabLineFill ctermfg=187 ctermbg=236 cterm=none +" tab pages line, active tab page label +hi TabLineSel guifg=#efefef guibg=#414658 gui=bold +hi TabLineSel ctermfg=254 ctermbg=black cterm=bold + + +" Visual +" ------ +" visual mode selection +hi Visual guifg=NONE guibg=#364458 +hi Visual ctermfg=NONE ctermbg=24 +" visual mode selection when vim is not owning the selection (x11 only) +" hi VisualNOS guifg=fg gui=underline +" hi VisualNOS ctermfg=fg cterm=underline + +" Ruby/Rails customization +" ------------------------ +" hi rubyMethod guifg=#ee7777 +" hi link railsMethod PreProc +" hi link rubyDefine Keyword +" hi link rubySymbol Constant +hi rubySymbol guifg=#800000 ctermfg=124 +" hi link rubyAccess rubyMethod +" hi link rubyAttribute rubyMethod +" hi link rubyEval rubyMethod +" hi link rubyException rubyMethod +" hi link rubyInclude rubyMethod +hi rubyString guifg=#60e000 ctermfg=28 +hi link rubyStringDelimiter rubyString +" hi link rubyRegexp Regexp +" hi link rubyRegexpDelimiter rubyRegexp +" hi link rubyConstant Identifier +" hi link rubyClassVariable Keyword +" hi rubyInstanceVariable guifg=#D0D0FF ctermfg=189 +" hi railsUserClass guifg=#aaaaaa ctermfg=255 +" +" hi rubyLocalVariableOrMethod guifg=#D0D0FF ctermfg=189 +" +" highlight Special guifg=#DA4939 ctermfg=167 +" highlight rubyClass guifg=#FFFFFF ctermfg=15 +hi rubyClass guifg=#905000 ctermfg=166 +syn keyword Identifier context + +" highlight rubyPseudoVariable guifg=#FFC66D ctermfg=221 +" +" hi link javascriptRegexpString Regexp +" hi link javascriptNumber Number +" hi link javascriptNull Constant +" diff --git a/.vim/colors/louver.vim b/.vim/colors/louver.vim new file mode 100644 index 0000000..f6b0f77 --- /dev/null +++ b/.vim/colors/louver.vim @@ -0,0 +1,154 @@ +" Name: louver.vim +" Maintainer: Kojo Sugita +" Last Change: 2008-08-15 +" Version: 1.0 + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = 'louver' + +if (&term == "xterm") || (&term == "linux") + set t_Co=16 +elseif &term == "vt320" + set t_Co=8 +endif + +" Normal +hi Normal guifg=black guibg=white gui=none +hi Normal ctermfg=black ctermbg=white cterm=none +hi NonText guifg=darkgray guibg=#f0f0f0 gui=none +hi NonText ctermfg=darkgray ctermbg=lightgray cterm=none +hi SpecialKey guifg=darkgray guibg=white gui=none +hi SpecialKey ctermfg=darkgray ctermbg=white cterm=none + +hi Cursor guifg=white guibg=black gui=none +hi Cursor ctermfg=white ctermbg=black cterm=none +hi lCursor guifg=white guibg=black gui=none +hi lCursor ctermfg=white ctermbg=black cterm=none +hi CursorIM guifg=white guibg=black gui=none +hi CursorIM ctermfg=white ctermbg=black cterm=none + +" Search +hi Search guifg=black guibg=lightred gui=none +hi Search ctermfg=black ctermbg=lightred cterm=none +hi IncSearch guifg=black guibg=lightred gui=none +hi IncSearch ctermfg=black ctermbg=lightred cterm=none + +" Matches +hi MatchParen guifg=black guibg=darkgray gui=none +hi MatchParen ctermfg=black ctermbg=darkgray cterm=none + +" status line +hi StatusLine guifg=white guibg=darkgray gui=bold +hi StatusLine ctermfg=white ctermbg=darkgray cterm=bold +hi StatusLineNC guifg=gray guibg=darkgray gui=bold +hi StatusLineNC ctermfg=gray ctermbg=darkgray cterm=bold + +" Diff +hi DiffAdd guifg=darkmagenta guibg=white gui=none +hi DiffAdd ctermfg=darkmagenta ctermbg=white cterm=none +hi DiffChange guifg=darkmagenta guibg=white gui=none +hi DiffChange ctermfg=darkmagenta ctermbg=white cterm=none +hi DiffDelete guifg=white guibg=black gui=none +hi DiffDelete ctermfg=white ctermbg=black cterm=none +hi DiffText guifg=darkmagenta guibg=white gui=bold +hi DiffText ctermfg=darkmagenta ctermbg=white cterm=bold + +" Folds +hi Folded guifg=black guibg=gray gui=none +hi Folded ctermfg=black ctermbg=gray cterm=none +hi FoldColumn guifg=black guibg=gray gui=none +hi FoldColumn ctermfg=black ctermbg=gray cterm=none + +" Syntax +hi Number guifg=#0000d0 guibg=#f5f5ff gui=none +hi Number ctermfg=blue ctermbg=white cterm=none +hi Char guifg=#0000d0 guibg=#f5f5ff gui=none +hi Char ctermfg=blue ctermbg=white cterm=none +hi String guifg=#0000d0 guibg=#f5f5ff gui=none +hi String ctermfg=blue ctermbg=white cterm=none +hi Boolean guifg=#0000d0 guibg=#f5f5ff gui=none +hi Boolean ctermfg=blue ctermbg=white cterm=none +hi Constant guifg=darkred guibg=white gui=none +hi Constant ctermfg=darkred ctermbg=white cterm=none + +hi Statement guifg=darkred guibg=white gui=bold +hi Statement ctermfg=darkred ctermbg=white cterm=bold +hi Comment guifg=#006000 guibg=#f5fff5 gui=none +hi Comment ctermfg=darkgreen ctermbg=white cterm=none +hi Identifier guifg=darkmagenta guibg=white gui=none +hi Identifier ctermfg=darkmagenta ctermbg=white cterm=none +hi Function guifg=darkmagenta guibg=white gui=bold +hi Function ctermfg=darkmagenta ctermbg=white cterm=bold +hi PreProc guifg=darkmagenta guibg=white gui=bold +hi PreProc ctermfg=darkmagenta ctermbg=white cterm=bold +hi Type guifg=darkblue guibg=white gui=bold +hi Type ctermfg=darkblue ctermbg=white cterm=bold + +"\n, \0, %d, %s, etc... +hi Special guifg=darkred guibg=#fff5f5 gui=none +hi Special ctermfg=darkred ctermbg=white cterm=none + +" Tree +hi Directory guifg=darkmagenta guibg=white gui=bold +hi Directory ctermfg=darkmagenta ctermbg=white cterm=bold + +" Message +hi ModeMsg guifg=black guibg=white gui=none +hi ModeMsg ctermfg=black ctermbg=white cterm=none +hi MoreMsg guifg=black guibg=white gui=none +hi MoreMsg ctermfg=black ctermbg=white cterm=none +hi WarningMsg guifg=red guibg=white gui=none +hi WarningMsg ctermfg=red ctermbg=white cterm=none +hi ErrorMsg guifg=white guibg=red gui=none +hi ErrorMsg ctermfg=white ctermbg=red cterm=none +hi Question guifg=black guibg=white gui=none +hi Question ctermfg=black ctermbg=white cterm=none + +hi VertSplit guifg=black guibg=black gui=none +hi VertSplit ctermfg=black ctermbg=black cterm=none +hi LineNr guifg=black guibg=lightgray gui=none +hi LineNr ctermfg=black ctermbg=lightgray cterm=none +hi Title guifg=darkmagenta guibg=white gui=bold +hi Title ctermfg=darkmagenta ctermbg=white cterm=bold +hi Visual guifg=white guibg=blue gui=none +hi Visual ctermfg=white ctermbg=blue cterm=none +hi VisualNOS guifg=white guibg=black gui=none +hi VisualNOS ctermfg=white ctermbg=black cterm=none +hi WildMenu guifg=white guibg=black gui=none +hi WildMenu ctermfg=white ctermbg=black cterm=none + +"Define, def +hi Underlined guifg=darkmagenta guibg=white gui=underline +hi Underlined ctermfg=darkmagenta ctermbg=white cterm=underline +hi Error guifg=red guibg=white gui=none +hi Error ctermfg=red ctermbg=white cterm=none +hi Todo guifg=black guibg=white gui=none +hi Todo ctermfg=black ctermbg=white cterm=none +hi SignColumn guifg=black guibg=white gui=none +hi SignColumn ctermfg=black ctermbg=white cterm=none + +if version >= 700 + "Pmenu + hi Pmenu guibg=gray + hi Pmenu ctermbg=gray + hi PmenuSel guifg=white guibg=black + hi PmenuSel ctermfg=white ctermbg=black + hi PmenuSbar guibg=gray + hi PmenuSbar ctermbg=gray + + "Tab + hi TabLine guifg=gray guibg=#505050 gui=none + hi TabLine ctermfg=gray ctermbg=darkgray cterm=none + hi TabLineFill guifg=gray guibg=gray gui=none + hi TabLineFill ctermfg=gray ctermbg=gray cterm=none + hi TabLineSel guifg=white guibg=black gui=none + hi TabLineSel ctermfg=white ctermbg=black cterm=none +endif + +finish + +" vim: set foldmethod=marker: set fenc=utf-8: diff --git a/.vim/colors/lucius.vim b/.vim/colors/lucius.vim new file mode 100644 index 0000000..934358b --- /dev/null +++ b/.vim/colors/lucius.vim @@ -0,0 +1,304 @@ +" Lucius vim color file +" Maintainer: Jonathan Filip +" Version: 3.5 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let colors_name="lucius" + + +" == Normal color == +hi Normal guifg=#e0e0e0 guibg=#202020 +hi Normal ctermfg=253 ctermbg=234 + + +" == Comments == +hi Comment guifg=#606060 gui=none +hi Comment ctermfg=240 cterm=none + + +" == Constants == +" any constant +hi Constant guifg=#70c0d8 gui=none +hi Constant ctermfg=74 cterm=none +" strings +hi String guifg=#80c0d8 gui=none +hi String ctermfg=110 cterm=none +" character constant +hi Character guifg=#80c0d8 gui=none +hi Character ctermfg=110 cterm=none +" numbers decimal/hex +hi Number guifg=#70c0d8 gui=none +hi Number ctermfg=74 cterm=none +" true, false +hi Boolean guifg=#70c0d8 gui=none +hi Boolean ctermfg=74 cterm=none +" float +hi Float guifg=#70c0d8 gui=none +hi Float ctermfg=74 cterm=none + + +" == Identifiers == +" any variable name +hi Identifier guifg=#86c6b6 gui=none +hi Identifier ctermfg=116 cterm=none +" function, method, class +hi Function guifg=#86c6b6 gui=none +hi Function ctermfg=116 cterm=none + + +" == Statements == +" any statement +hi Statement guifg=#b3d38c gui=none +hi Statement ctermfg=150 cterm=none +" if, then, else +hi Conditional guifg=#b3d38c gui=none +hi Conditional ctermfg=150 cterm=none +" try, catch, throw, raise +hi Exception guifg=#b3d38c gui=none +hi Exception ctermfg=150 cterm=none +" for, while, do +hi Repeat guifg=#b3d38c gui=none +hi Repeat ctermfg=150 cterm=none +" case, default +hi Label guifg=#b3d38c gui=none +hi Label ctermfg=150 cterm=none +" sizeof, +, * +hi Operator guifg=#b3d38c gui=none +hi Operator ctermfg=150 cterm=none +" any other keyword +hi Keyword guifg=#b3d38c gui=none +hi Keyword ctermfg=150 cterm=none + + +" == Preprocessor == +" generic preprocessor +hi PreProc guifg=#e0e8b0 gui=none +hi PreProc ctermfg=187 cterm=none +" #include +hi Include guifg=#e0e8b0 gui=none +hi Include ctermfg=187 cterm=none +" #define +hi Define guifg=#e0e8b0 gui=none +hi Define ctermfg=187 cterm=none +" same as define +hi Macro guifg=#e0e8b0 gui=none +hi Macro ctermfg=187 cterm=none +" #if, #else, #endif +hi PreCondit guifg=#e0e8b0 gui=none +hi PreCondit ctermfg=187 cterm=none + + +" == Types == +" int, long, char +hi Type guifg=#90d0a0 gui=none +hi Type ctermfg=115 cterm=none +" static, register, volative +hi StorageClass guifg=#90d0a0 gui=none +hi StorageClass ctermfg=115 cterm=none +" struct, union, enum +hi Structure guifg=#90d0a0 gui=none +hi Structure ctermfg=115 cterm=none +" typedef +hi Typedef guifg=#90d0a0 gui=none +hi Typedef ctermfg=115 cterm=none + + +" == Special == +" any special symbol +hi Special guifg=#b0a0c0 gui=none +hi Special ctermfg=182 cterm=none +" special character in a constant +hi SpecialChar guifg=#b0a0c0 gui=none +hi SpecialChar ctermfg=182 cterm=none +" things you can CTRL-] +hi Tag guifg=#b0a0c0 gui=none +hi Tag ctermfg=182 cterm=none +" character that needs attention +hi Delimiter guifg=#b0a0c0 gui=none +hi Delimiter ctermfg=182 cterm=none +" special things inside a comment +hi SpecialComment guifg=#b0a0c0 gui=none +hi SpecialComment ctermfg=182 cterm=none +" debugging statements +hi Debug guifg=#b0a0c0 guibg=NONE gui=none +hi Debug ctermfg=182 ctermbg=NONE cterm=none + + +" == Text Markup == +" text that stands out, html links +hi Underlined guifg=fg gui=underline +hi Underlined ctermfg=fg cterm=underline +" any erroneous construct +hi Error guifg=#e37170 guibg=#432323 gui=none +hi Error ctermfg=167 ctermbg=236 cterm=none +" todo, fixme, note, xxx +hi Todo guifg=#e0e090 guibg=NONE gui=underline +hi Todo ctermfg=186 ctermbg=NONE cterm=underline +" match parenthesis, brackets +hi MatchParen guifg=#00ff00 guibg=NONE gui=bold +hi MatchParen ctermfg=46 ctermbg=NONE cterm=bold +" the '~' and '@' and showbreak, '>' double wide char doesn't fit on line +hi NonText guifg=#404040 gui=none +hi NonText ctermfg=238 cterm=none +" meta and special keys used with map, unprintable characters +hi SpecialKey guifg=#405060 +hi SpecialKey ctermfg=239 +" titles for output from :set all, :autocmd, etc +hi Title guifg=#62bdde gui=none +hi Title ctermfg=74 cterm=none + + +" == Ignore == +" left blank, hidden +hi Ignore guifg=bg +hi Ignore ctermfg=bg + + +" == Text Selection == +" character under the cursor +hi Cursor guifg=bg guibg=#a3e3ed +hi Cursor ctermfg=bg ctermbg=153 +" like cursor, but used when in IME mode +hi CursorIM guifg=bg guibg=#96cdcd +hi CursorIM ctermfg=bg ctermbg=116 +" cursor column +hi CursorColumn guifg=NONE guibg=#404448 gui=none +hi CursorColumn ctermfg=NONE ctermbg=236 cterm=none +" cursor line/row +hi CursorLine gui=NONE guibg=#404448 gui=none +hi CursorLine cterm=NONE ctermbg=236 cterm=none +" visual mode selection +hi Visual guifg=NONE guibg=#364458 +hi Visual ctermfg=NONE ctermbg=24 +" visual mode selection when vim is not owning the selection (x11 only) +hi VisualNOS guifg=fg gui=underline +hi VisualNOS ctermfg=fg cterm=underline +" highlight incremental search text; also highlight text replaced with :s///c +hi IncSearch guifg=#66ffff gui=reverse +hi IncSearch ctermfg=87 cterm=reverse +" hlsearch (last search pattern), also used for quickfix +hi Search guibg=#ffaa33 gui=none +hi Search ctermbg=214 cterm=none + + +" == UI == +" normal item in popup +hi Pmenu guifg=#e0e0e0 guibg=#303840 gui=none +hi Pmenu ctermfg=253 ctermbg=233 cterm=none +" selected item in popup +hi PmenuSel guifg=#cae682 guibg=#505860 gui=none +hi PmenuSel ctermfg=186 ctermbg=237 cterm=none +" scrollbar in popup +hi PMenuSbar guibg=#505860 gui=none +hi PMenuSbar ctermbg=59 cterm=none +" thumb of the scrollbar in the popup +hi PMenuThumb guibg=#808890 gui=none +hi PMenuThumb ctermbg=102 cterm=none +" status line for current window +hi StatusLine guifg=#e0e0e0 guibg=#363946 gui=bold +hi StatusLine ctermfg=254 ctermbg=237 cterm=bold +" status line for non-current windows +hi StatusLineNC guifg=#767986 guibg=#363946 gui=none +hi StatusLineNC ctermfg=244 ctermbg=237 cterm=none +" tab pages line, not active tab page label +hi TabLine guifg=#b6bf98 guibg=#363946 gui=none +hi TabLine ctermfg=244 ctermbg=236 cterm=none +" tab pages line, where there are no labels +hi TabLineFill guifg=#cfcfaf guibg=#363946 gui=none +hi TabLineFill ctermfg=187 ctermbg=236 cterm=none +" tab pages line, active tab page label +hi TabLineSel guifg=#efefef guibg=#414658 gui=bold +hi TabLineSel ctermfg=254 ctermbg=236 cterm=bold +" column separating vertically split windows +hi VertSplit guifg=#777777 guibg=#363946 gui=none +hi VertSplit ctermfg=242 ctermbg=237 cterm=none +" line used for closed folds +hi Folded guifg=#d0e0f0 guibg=#202020 gui=none +hi Folded ctermfg=117 ctermbg=235 cterm=none +" column on side used to indicated open and closed folds +hi FoldColumn guifg=#c0c0d0 guibg=#363946 gui=none +hi FoldColumn ctermfg=117 ctermbg=238 cterm=none + + +" == Spelling == +" word not recognized +hi SpellBad guisp=#ee0000 gui=undercurl +hi SpellBad ctermbg=196 cterm=undercurl +" word not capitalized +hi SpellCap guisp=#eeee00 gui=undercurl +hi SpellCap ctermbg=226 cterm=undercurl +" rare word +hi SpellRare guisp=#ffa500 gui=undercurl +hi SpellRare ctermbg=214 cterm=undercurl +" wrong spelling for selected region +hi SpellLocal guisp=#ffa500 gui=undercurl +hi SpellLocal ctermbg=214 cterm=undercurl + + +" == Diff == +" added line +hi DiffAdd guifg=#80a090 guibg=#313c36 gui=none +hi DiffAdd ctermfg=fg ctermbg=22 cterm=none +" changed line +hi DiffChange guifg=NONE guibg=#4a343a gui=none +hi DiffChange ctermfg=fg ctermbg=52 cterm=none +" deleted line +hi DiffDelete guifg=#6c6661 guibg=#3c3631 gui=none +hi DiffDelete ctermfg=fg ctermbg=58 cterm=none +" changed text within line +hi DiffText guifg=#f05060 guibg=#4a343a gui=bold +hi DiffText ctermfg=203 ctermbg=52 cterm=bold + + +" == Misc == +" directory names and other special names in listings +hi Directory guifg=#c0e0b0 gui=none +hi Directory ctermfg=151 cterm=none +" error messages on the command line +hi ErrorMsg guifg=#ee0000 guibg=NONE gui=none +hi ErrorMsg ctermfg=196 ctermbg=NONE cterm=none +" columns where signs are displayed (used in IDEs) +hi SignColumn guifg=#9fafaf guibg=#181818 gui=none +hi SignColumn ctermfg=145 ctermbg=233 cterm=none +" line numbers +hi LineNr guifg=#818698 guibg=#363946 +hi LineNr ctermfg=245 ctermbg=237 +" the 'more' prompt when output takes more than one line +hi MoreMsg guifg=#2e8b57 gui=none +hi MoreMsg ctermfg=29 cterm=none +" text showing what mode you are in +hi ModeMsg guifg=#76d5f8 guibg=NONE gui=none +hi ModeMsg ctermfg=117 ctermbg=NONE cterm=none +" the hit-enter prompt (show more output) and yes/no questions +hi Question guifg=fg gui=none +hi Question ctermfg=fg cterm=none +" warning messages +hi WarningMsg guifg=#e5786d gui=none +hi WarningMsg ctermfg=173 cterm=none +" current match in the wildmenu completion +hi WildMenu guifg=#cae682 guibg=#363946 gui=bold,underline +hi WildMenu ctermfg=16 ctermbg=186 cterm=bold +" color column highlighting +hi ColorColumn guifg=NONE guibg=#403630 gui=none +hi ColorColumn ctermfg=NONE ctermbg=95 cterm=none + + +" == Vimwiki Colors == + +hi VimwikiHeader1 guifg=#e0e8b0 gui=bold +hi VimWikiHeader1 ctermfg=187 cterm=none +hi VimwikiHeader2 guifg=#80c0d8 gui=bold +hi VimwikiHeader2 ctermfg=110 cterm=none +hi VimwikiHeader3 guifg=#b3d38c gui=bold +hi VimwikiHeader3 ctermfg=150 cterm=none +hi VimwikiHeader4 guifg=#86c6b6 gui=bold +hi VimwikiHeader4 ctermfg=116 cterm=none +hi VimwikiHeader5 guifg=#b0a0c0 gui=bold +hi VimwikiHeader5 ctermfg=182 cterm=none +hi VimwikiHeader6 guifg=#90d0a0 gui=bold +hi VimwikiHeader6 ctermfg=115 cterm=none + diff --git a/.vim/colors/luinnar.vim b/.vim/colors/luinnar.vim new file mode 100644 index 0000000..b93cbd1 --- /dev/null +++ b/.vim/colors/luinnar.vim @@ -0,0 +1,102 @@ +" Vim color file -- Luinnar +" Maintainer: Luinnar +" Last Change: 09-Nov-2010 + +set background=dark +highlight clear + +if exists("syntax_on") + syntax reset +endif + +let g:colors_name="luinnar" + +let save_cpo = &cpo +set cpo&vim + +" basic highlight groups (:help highlight-groups) + +" text + +hi Normal guifg=#00ffff ctermfg=darkcyan guibg=#000000 ctermbg=black +hi Folded guifg=#c2bfa5 ctermfg=lightgray guibg=#202020 ctermbg=black gui=underline cterm=underline +hi LineNr guifg=#928c75 ctermfg=darkgray guibg=#000000 ctermbg=black +hi Directory guifg=#00bbdd ctermfg=cyan guibg=#000000 ctermbg=black +hi NonText guifg=#77ff22 ctermfg=yellow guibg=#000000 ctermbg=black gui=bold cterm=bold +hi SpecialKey guifg=#559933 ctermfg=green guibg=#000000 ctermbg=black +hi SpellBad guifg=NONE ctermfg=white ctermbg=darkred +hi SpellCap guifg=NONE ctermfg=white ctermbg=darkblue +hi SpellLocal guifg=NONE ctermfg=black ctermbg=cyan +hi SpellRare guifg=NONE ctermfg=white ctermbg=darkmagenta +hi DiffAdd guifg=#ffa000 ctermfg=darkred guibg=#002830 ctermbg=black +hi DiffChange guibg=#002830 ctermbg=black +hi DiffDelete guifg=#b0b0b0 ctermfg=cyan guibg=#202020 ctermbg=black gui=bold cterm=bold +hi DiffText guifg=#ffa000 ctermfg=darkred guibg=#002830 ctermbg=black gui=NONE cterm=NONE + +" borders / separators / menus + +hi FoldColumn guifg=#c8bcb9 guibg=#786d65 ctermfg=lightgray ctermbg=darkgray gui=bold cterm=bold +hi SignColumn guifg=#c8bcb9 guibg=#786d65 ctermfg=lightgray ctermbg=darkgray gui=bold cterm=bold +hi Pmenu guifg=#000000 guibg=#a6a190 ctermfg=white ctermbg=darkgray +hi PmenuSel guifg=#ffffff guibg=#133293 ctermfg=white ctermbg=lightblue +hi PmenuSbar guifg=NONE guibg=#555555 ctermfg=black ctermbg=black +hi PmenuThumb guifg=NONE guibg=#cccccc ctermfg=gray ctermbg=gray +hi StatusLine guifg=#222222 guibg=#c2bfa5 ctermfg=darkgray ctermbg=yellow +hi StatusLineNC guifg=#111111 guibg=#c2bfa5 ctermfg=darkgray ctermbg=gray +hi WildMenu guifg=#ffffff guibg=#133293 ctermfg=white ctermbg=darkblue gui=bold cterm=bold +hi VertSplit guifg=#c2bfa5 guibg=#c2bfa5 ctermfg=white ctermbg=white +hi TabLine guifg=#000000 guibg=#c2bfa5 ctermfg=black ctermbg=white +hi TabLineFill guifg=#000000 guibg=#c2bfa5 ctermfg=black ctermbg=white +hi TabLineSel guifg=#ffffff guibg=#133293 ctermfg=white ctermbg=black + +"hi Menu +"hi Scrollbar +"hi Tooltip + +" cursor / dynamic / other + +hi Cursor guifg=#000000 guibg=#ffff99 ctermfg=black ctermbg=white +hi CursorIM guifg=#000000 guibg=#3b3b3b ctermfg=black ctermbg=white cterm=reverse +hi CursorLine guifg=NONE guibg=#3b3b3b +hi link CursorColumn CursorLine +hi link DebugStop CursorLine +hi Visual guibg=#003040 ctermbg=lightblue +hi Search guibg=#0080ff ctermbg=lightblue +hi MatchParen guifg=NONE ctermfg=white guibg=#3377aa ctermbg=blue + +"hi IncSearch +"hi VisualNOS + +" listings / messages + +hi ModeMsg guifg=#eecc18 ctermfg=yellow +hi Title guifg=#dd4452 ctermfg=red guibg=#000000 ctermbg=black gui=bold cterm=bold +hi Question guifg=#66d077 ctermfg=green guibg=#000000 ctermbg=black +hi MoreMsg guifg=#39d049 ctermfg=green guibg=#000000 ctermbg=black +hi ErrorMsg guifg=#ffffff ctermfg=white guibg=#ff0000 ctermbg=red gui=bold cterm=bold +hi WarningMsg guifg=#ccae22 ctermfg=yellow guibg=#000000 ctermbg=black gui=bold cterm=bold + + +" syntax highlighting groups (:help group-name) + +hi Comment guifg=#b0b010 ctermfg=brown guibg=#000000 ctermbg=black +hi Keyword guifg=#ffffff ctermfg=white guibg=#000000 ctermbg=black +hi Statement guifg=#ffffff ctermfg=white guibg=#000000 ctermbg=black gui=bold cterm=bold +hi StorageClass guifg=#b0ffb0 ctermfg=white guibg=#000000 ctermbg=black gui=bold cterm=NONE +hi Structure guifg=#b0ffb0 ctermfg=white guibg=#000000 ctermbg=black gui=bold cterm=NONE +hi Type guifg=#ffffff ctermfg=white guibg=#000000 ctermbg=black gui=NONE +hi Identifier guifg=#ffffff ctermfg=white guibg=#000000 ctermbg=black gui=NONE cterm=NONE +hi Operator guifg=#ffffff ctermfg=white guibg=#000000 ctermbg=black +hi Delimiter guifg=#ffffff ctermfg=white guibg=#000000 ctermbg=black +hi Todo guifg=#a00000 ctermfg=darkred guibg=#000000 ctermbg=black gui=bold cterm=bold +hi Error guifg=#ffffff ctermfg=white guibg=#ff0000 ctermbg=red +hi Function guifg=#2080ff ctermfg=blue guibg=#000000 ctermbg=black +hi Underlined guifg=#80a0ff ctermfg=cyan guibg=#000000 ctermbg=black gui=underline cterm=underline +hi Ignore guifg=#888888 ctermfg=darkgray guibg=#000000 ctermbg=black +hi Constant guifg=#00ff20 ctermfg=green guibg=#000000 ctermbg=black +hi Number guifg=#00ff20 ctermfg=green guibg=#000000 ctermbg=black +hi PreProc guifg=#00b000 ctermfg=darkgreen guibg=#000000 ctermbg=black +hi Macro guifg=#00b000 ctermfg=darkgreen guibg=#000000 ctermbg=black +hi Special guifg=#ffff00 ctermfg=yellow guibg=#000000 ctermbg=black + +let &cpo = save_cpo diff --git a/.vim/colors/manuscript.vim b/.vim/colors/manuscript.vim new file mode 100644 index 0000000..6083a3d --- /dev/null +++ b/.vim/colors/manuscript.vim @@ -0,0 +1,96 @@ +" GUI Vim dark color scheme +" Name: manuscript +" WWW: http://habamax.ru/myvim/ +" Author: Maxim Kim +" Last Change: 2010-02-27 12:15 + +" Init "{{{ +if !has("gui_running") + echomsg "manuscript colorscheme: please use GUI vim." + finish +endif + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = expand(':t:r') +"}}} + +" General "{{{ +hi Normal guifg=#e5e5e5 guibg=#242424 gui=none + +hi Cursor guifg=#304050 guibg=#f0e68c gui=none +hi lCursor guifg=#000000 guibg=#55cc55 gui=none + +hi CursorColumn guifg=NONE guibg=#101010 gui=none +hi CursorLine guifg=NONE guibg=#101010 gui=none + + +hi Folded guifg=#b0b0b0 guibg=#343434 gui=none +hi FoldColumn guifg=#707070 guibg=#181818 gui=none +hi SignColumn guifg=#707070 guibg=#181818 gui=none +hi LineNr guifg=#707070 guibg=bg gui=none +hi StatusLine guifg=#000000 guibg=#c2bfa5 gui=none +hi StatusLineNC guifg=#5a5a5a guibg=#c2bfa5 gui=none +hi VertSplit guifg=#3a3a3a guibg=#c2bfa5 gui=none +hi WildMenu guifg=fg guibg=#505045 gui=none + +hi Pmenu guifg=#e0e0e0 guibg=#494949 gui=none +hi PmenuSel guifg=#000000 guibg=#808080 gui=none +hi PmenuSbar guifg=fg guibg=#595959 gui=none +hi PmenuThumb guifg=fg guibg=#707070 gui=none + +hi TabLineSel guifg=#000000 guibg=#c2bfa5 gui=NONE +hi TabLine guifg=#c2bfa5 guibg=#3a3a3a gui=underline +hi TabLineFill guifg=#c2bfa5 guibg=NONE gui=underline + +hi Search guifg=fg guibg=#4466bb gui=none +hi IncSearch guifg=fg guibg=#119922 gui=none + +hi Visual guifg=#f0f0f0 guibg=#406070 gui=none + +hi Directory guifg=#bf8f67 guibg=bg gui=none + +hi Underlined guifg=#779fcf guibg=bg gui=underline +hi Todo guifg=#ffff30 guibg=bg gui=underline +hi Title guifg=#e06070 guibg=NONE gui=bold + +hi Ignore guifg=#232323 guibg=NONE gui=none + +" TODO: tune it. +" hi Question guifg=#23f923 guibg=bg gui=none +" hi ModeMsg guifg=#c3f3a3 guibg=bg gui=none +" hi MoreMsg guifg=#23c3a3 guibg=bg gui=none +" hi ErrorMsg guifg=fg guibg=#f00000 gui=none + +hi SpecialKey guifg=#707070 guibg=NONE gui=none +hi NonText guifg=#707070 guibg=NONE gui=none + +hi MatchParen guifg=#f0f0f0 guibg=#008b8b gui=none +"}}} + +" Syntax "{{{ +hi Statement guifg=#779fcf guibg=bg gui=none +hi Identifier guifg=#ffdead guibg=bg gui=none +hi Type guifg=#87ceeb guibg=bg gui=none +hi Comment guifg=#7f9f7f guibg=bg gui=none + +hi Constant guifg=#cea3ce guibg=bg gui=none +hi Number guifg=#9fdf77 guibg=bg gui=none +hi PreProc guifg=#bf7f6f guibg=bg gui=none +hi Special guifg=#cfbfaf guibg=bg gui=none +hi Error guifg=fg guibg=#b03030 gui=none +"}}} + +" Diff "{{{ +" TODO: Tune diff colors. +hi diffAdd guifg=bg guibg=#80a080 gui=none +hi diffDelete guifg=fg guibg=bg gui=none +hi diffChange guifg=bg guibg=#a08080 gui=none +hi diffText guifg=bg guibg=#a05c5c gui=none +"}}} diff --git a/.vim/colors/manxome.vim b/.vim/colors/manxome.vim new file mode 100644 index 0000000..0db38ea --- /dev/null +++ b/.vim/colors/manxome.vim @@ -0,0 +1,47 @@ +""" local syntax file - set colors on a per-machine basis: +""" Vim color file +""" Title: Manxome Foes Color Scheme +""" Maintainer: Ricardo SIGNES +""" This Version: R2v2 [2003-07-16] +""" suggested vim editing options: tw=0 ts=4 sw=4 + +"" clear and re-initialize global variables +hi clear +set background=dark +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "manxome" + +"" set highlight groups +"" you'll notice that the ctermbg is often 'none'; this is so that when +"" console vim runs in a terminal, transparency (if any) is not broken + +highlight Title ctermfg=3 ctermbg=none cterm=bold guifg=#ffff00 guibg=#000000 gui=none +highlight Directory ctermfg=4 ctermbg=none cterm=bold guifg=#0000ff guibg=#000000 gui=none +highlight StatusLine ctermfg=7 ctermbg=4 cterm=bold guifg=#ffffff guibg=#0000ff gui=none +highlight StatusLineNC ctermfg=0 ctermbg=4 cterm=bold guifg=#000000 guibg=#0000ff gui=none +highlight Normal ctermfg=7 ctermbg=none cterm=none guifg=#cccccc guibg=#000000 gui=none +highlight Search ctermfg=7 ctermbg=4 cterm=bold guifg=#ffffff guibg=#0000ff gui=none +highlight Visual ctermfg=7 ctermbg=6 cterm=bold guifg=#ffffff guibg=#00aaaa gui=none + +"" set major preferred groups + +highlight Comment ctermfg=2 ctermbg=none cterm=bold guifg=#00ff00 guibg=#000000 gui=none +highlight Constant ctermfg=6 ctermbg=none cterm=bold guifg=#00ffff guibg=#000000 gui=none +highlight Identifier ctermfg=4 ctermbg=none cterm=bold guifg=#0000ee guibg=#000000 gui=none +highlight Statement ctermfg=6 ctermbg=none cterm=none guifg=#00aaaa guibg=#000000 gui=none +highlight PreProc ctermfg=7 ctermbg=none cterm=bold guifg=#ffffff guibg=#000000 gui=none +highlight Type ctermfg=6 ctermbg=none cterm=none guifg=#00aaaa guibg=#000000 gui=none +highlight Special ctermfg=7 ctermbg=none cterm=bold guifg=#ffffff guibg=#000000 gui=none +highlight Underlined ctermfg=2 ctermbg=none cterm=none guifg=#00aa00 guibg=#000000 gui=none +highlight Ignore ctermfg=0 ctermbg=none cterm=bold guifg=#aaaaaa guibg=#000000 gui=none +highlight Error ctermfg=1 ctermbg=none cterm=bold guibg=#ff0000 guibg=#000000 gui=none +highlight Todo ctermfg=3 ctermbg=none cterm=none guifg=#aaaa00 guibg=#000000 gui=none + +" set syntax-specific groups +" I'd like to avoid using these, but the default settings for these two are +" just no good. Seeing italic text in Vim is just plain wrong. + +highlight htmlBold ctermfg=7 ctermbg=none cterm=bold guifg=#ffffff guibg=#000000 gui=none +highlight htmlItalic ctermfg=5 ctermbg=none cterm=bold guifg=#ff00ff guibg=#000000 gui=none diff --git a/.vim/colors/marklar.vim b/.vim/colors/marklar.vim new file mode 100644 index 0000000..ea9395f --- /dev/null +++ b/.vim/colors/marklar.vim @@ -0,0 +1,174 @@ +" ------------------------------------------------------------------ +" Filename: marklar.vim +" Last Modified: Nov, 30 2006 (13:01) +" Version: 0.5 +" Maintainer: SM Smithfield (m_smithfield AT yahoo DOT com) +" Copyright: 2006 SM Smithfield +" 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) +" then load it with :colorscheme marklar +" ------------------------------------------------------------------ + +hi clear +set background=dark +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "marklar" + +if !exists("s:main") + + " OPTIONS: + let s:bold_opt = 0 + let s:ignore_opt = 1 + + function! s:main() + if version >= 700 + call s:apply_opts() + endif + + if s:bold_opt + let s:bold = 'bold' + else + let s:bold = 'NONE' + endif + + if s:ignore_opt + " completely invisible + let s:ignore = 'bg' + else + " nearly invisible + let s:ignore = '#467C5C' + endif + + execute "hi Constant guifg=#FFFFFF guibg=NONE ctermfg=7 cterm=NONE" + execute "hi Identifier guifg=#38FF56 guibg=NONE gui=".s:bold." ctermfg=8 cterm=bold" + execute "hi Statement guifg=#FFFF00 guibg=NONE gui=".s:bold." ctermfg=3 cterm=bold" + execute "hi Special guifg=#25B9F8 guibg=bg gui=".s:bold." ctermfg=2 cterm=underline" + execute "hi PreProc guifg=#FF80FF guibg=bg gui=NONE ctermfg=2" + execute "hi Type guifg=#00FFFF guibg=NONE gui=".s:bold." ctermfg=6 cterm=bold" + + execute "hi Ignore guifg=".s:ignore." guibg=NONE ctermfg=0" + + hi Comment guifg=#00BBBB guibg=NONE ctermfg=6 cterm=none + hi Cursor guifg=NONE guibg=#FF0000 + hi DiffAdd guifg=NONE guibg=#136769 ctermfg=4 ctermbg=7 cterm=NONE + hi DiffDelete guifg=NONE guibg=#50694A ctermfg=1 ctermbg=7 cterm=NONE + hi DiffChange guifg=fg guibg=#00463c gui=NONE ctermfg=4 ctermbg=2 cterm=NONE + hi DiffText guifg=#7CFC94 guibg=#00463c gui=bold ctermfg=4 ctermbg=3 cterm=NONE + hi Directory guifg=#25B9F8 guibg=NONE ctermfg=2 + hi Error guifg=#FFFFFF guibg=#000000 ctermfg=7 ctermbg=0 cterm=bold + hi ErrorMsg guifg=#8eff2e guibg=#204d40 + hi FoldColumn guifg=#00BBBB guibg=#204d40 + hi Folded guifg=#44DDDD guibg=#204d40 ctermfg=0 ctermbg=8 cterm=bold + + hi IncSearch guibg=#52891f gui=bold + hi LineNr guifg=#38ff56 guibg=#204d40 + hi ModeMsg guifg=#FFFFFF guibg=#0000FF ctermfg=7 ctermbg=4 cterm=bold + hi MoreMsg guifg=#FFFFFF guibg=#00A261 ctermfg=7 ctermbg=2 cterm=bold + hi NonText guifg=#00bbbb guibg=#204d40 + hi Normal guifg=#71C293 guibg=#06544a + hi Question guifg=#FFFFFF guibg=#00A261 + hi Search guifg=NONE guibg=#0f374c ctermfg=3 ctermbg=0 cterm=bold + + hi SignColumn guifg=#00BBBB guibg=#204d40 + hi SpecialKey guifg=#00FFFF guibg=#266955 + hi StatusLine guifg=#245748 guibg=#71C293 gui=NONE cterm=reverse + hi StatusLineNC guifg=#245748 guibg=#689C7C gui=NONE + hi Title guifg=#7CFC94 guibg=NONE gui=bold ctermfg=2 cterm=bold + hi Todo guifg=#FFFFFF guibg=#884400 ctermfg=6 ctermbg=4 cterm=NONE + hi Underlined guifg=#df820c guibg=NONE gui=underline ctermfg=8 cterm=underline + hi Visual guibg=#0B7260 gui=NONE + hi WarningMsg guifg=#FFFFFF guibg=#FF0000 ctermfg=7 ctermbg=1 cterm=bold + hi WildMenu guifg=#20012e guibg=#00a675 gui=bold ctermfg=NONE ctermbg=NONE cterm=bold + " + if version >= 700 + hi SpellBad guisp=#FF0000 + hi SpellCap guisp=#0000FF + hi SpellRare guisp=#ff4046 + hi SpellLocal guisp=#000000 ctermbg=0 + hi Pmenu guifg=#00ffff guibg=#000000 ctermbg=0 ctermfg=6 + hi PmenuSel guifg=#ffff00 guibg=#000000 gui=bold cterm=bold ctermfg=3 + hi PmenuSbar guibg=#204d40 ctermbg=6 + hi PmenuThumb guifg=#38ff56 ctermfg=3 + hi CursorColumn guibg=#096354 + hi CursorLine guibg=#096354 + hi Tabline guifg=bg guibg=fg gui=NONE cterm=reverse,bold ctermfg=NONE ctermbg=NONE + hi TablineSel guifg=#20012e guibg=#00a675 gui=bold + hi TablineFill guifg=#689C7C + hi MatchParen guifg=#38ff56 guibg=#0000ff gui=bold ctermbg=4 + endif + " + hi Tag guifg=#7CFC94 guibg=NONE gui=bold ctermfg=2 cterm=bold + hi link Bold Tag + " + hi pythonPreCondit ctermfg=2 cterm=NONE + execute "hi tkWidget guifg=#ffa0a0 guibg=bg gui=".s:bold." ctermfg=7 cterm=bold" + endfunction + + if version >= 700 + + let s:opts = {'bold': 0, 'ignore': 1} + + " preserves vim<7 compat, while letting me reuses some code + function! s:apply_opts() + let s:bold_opt = s:opts['bold'] + let s:ignore_opt = s:opts['ignore'] + endfunction + + function! s:print_opts(...) + let d = a:000 + if len(a:000) == 0 + let d = keys(s:opts) + endif + for k in d + echo k.': '.s:opts[k] + endfor + endfunction + + function! s:Marklar(...) + let args = a:000 + if len(args) == 0 + call s:print_opts() + else + while len(args)>0 + " take first arg + let k = args[0] + let args = args[1:] + " is it a key? + if k =~ '\a\+!' + " does it bang? + let k = strpart(k,0,strlen(k)-1) + let s:opts[k] = !s:opts[k] + call s:main() + elseif k =~ '\a\+?' + " does it quiz? + let k = strpart(k,0,strlen(k)-1) + call s:print_opts(k) + elseif len(args) + " is there another arg? + " take it + let v = args[0] + let args = args[1:] + " is it legal value? + if v == 0 || v == 1 + " assign val->key + let s:opts[k] = v + call s:main() + else + echoerr "(".v.") Bad value. Expected 0 or 1." + endif + else + endif + endwhile + endif + endfunction + command! -nargs=* Marklar :call s:Marklar() + endif +endif + +call s:main() diff --git a/.vim/colors/maroloccio.vim b/.vim/colors/maroloccio.vim new file mode 100644 index 0000000..6030a6f --- /dev/null +++ b/.vim/colors/maroloccio.vim @@ -0,0 +1,598 @@ +" File : maroloccio.vim +" Description : An easy-on-the-eyes dark background colour scheme for Vim +" Scheme : maroloccio +" Maintainer : Marco Ippolito +" Version : v0.3.1, originally inspired by watermark.vim +" Date : 12 March 2010 +" Licence : Feel free to use as you wish provided you keep this header. +" Feedback : Any feedback welcome! Especially re: how to make it better! +" Note : Works well in GUI mode, less in console mode (still worth a try) +" Online at : http://sites.google.com/site/maroloccio/ +" +" History: +" +" 0.3.1 Added licensing terms and invitation to provide improvement suggestions +" 0.3.0 Greatly improved cterm colours when t_Co=256 thanks to Kyle and CSApprox +" 0.2.9 Improved readability of cterm searches for dark backgrounds +" 0.2.8 Added VimDiff colouring +" 0.2.7 Further improved readability of cterm colours +" 0.2.6 Improved readability of cterm colours on different terminals +" 0.2.5 Reinstated minimal cterm support +" 0.2.4 Added full colour descriptions and reinstated minimal cterm support +" 0.2.3 Added FoldColumn to the list of hlights as per David Hall's suggestion +" 0.2.2 Removed cterm support, changed visual highlight, fixed bolds +" 0.2.1 Changed search highlight +" 0.2.0 Removed italics +" 0.1.9 Improved search and menu highlighting +" 0.1.8 Added minimal cterm support +" 0.1.7 Uploaded to vim.org +" 0.1.6 Removed redundant highlight definitions +" 0.1.5 Improved display of folded sections +" 0.1.4 Removed linked sections for improved compatibility, more Python friendly +" 0.1.3 Removed settings which usually belong to .vimrc (as in 0.1.1) +" 0.1.2 Fixed versioning system, added .vimrc -like commands +" 0.1.1 Corrected typo in header comments, changed colour for Comment +" 0.1.0 Inital upload to vim.org + +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="maroloccio" + +" --- GUI section +" +hi Normal guifg=#8b9aaa guibg=#1a202a gui=none " watermark-foreground on watermark-background +hi Constant guifg=#82ade0 guibg=bg gui=none " cyan on background +hi Boolean guifg=#82ade0 guibg=bg gui=none " cyan on background +hi Character guifg=#82ade0 guibg=bg gui=none " cyan on background +hi Float guifg=#82ade0 guibg=bg gui=none " cyan on background +hi Comment guifg=#006666 guibg=bg gui=none " teal on background +hi Type guifg=#ffcc00 guibg=bg gui=none " yellow on background +hi Typedef guifg=#ffcc00 guibg=bg gui=none " yellow on background +hi Structure guifg=#ffcc00 guibg=bg gui=none " yellow on background +hi Function guifg=#ffcc00 guibg=bg gui=none " yellow on background +hi StorageClass guifg=#ffcc00 guibg=bg gui=none " yellow on background +hi Conditional guifg=#ff9900 guibg=bg gui=none " orange on background +hi Repeat guifg=#78ba42 guibg=bg gui=none " light green on background +hi Visual guifg=fg guibg=#3741ad gui=none " foreground on blue +hi DiffChange guifg=fg guibg=#3741ad gui=none " foreground on blue +if version>= 700 +hi Pmenu guifg=fg guibg=#3741ad gui=none " foreground on blue +endif +hi String guifg=#4c4cad guibg=bg gui=none " violet on background +hi Folded guifg=fg guibg=#333366 gui=none " foreground on dark violet +hi VertSplit guifg=fg guibg=#333366 gui=none " foreground on dark violet +if version>= 700 +hi PmenuSel guifg=fg guibg=#333366 gui=none " foreground on dark violet +endif +hi Search guifg=#78ba42 guibg=#107040 gui=none " light green on green +hi DiffAdd guifg=#78ba42 guibg=#107040 gui=none " light green on green +hi Exception guifg=#8f3231 guibg=bg gui=none " red on background +hi Title guifg=#8f3231 guibg=bg gui=none " red on background +hi Error guifg=fg guibg=#8f3231 gui=none " foreground on red +hi DiffDelete guifg=fg guibg=#8f3231 gui=none " foreground on red +hi Todo guifg=#8f3231 guibg=#0e1219 gui=bold,undercurl guisp=#cbc32a " red on dark grey +hi LineNr guifg=#2c3138 guibg=#0e1219 gui=none " grey on dark grey +hi Statement guifg=#9966cc guibg=bg gui=none " lavender on background +hi Underlined gui=bold,underline " underline +if version>= 700 +hi CursorLine guibg=#0e1219 gui=none " foreground on dark grey +hi CursorColumn guibg=#0e1219 gui=none " foreground on dark grey +endif +hi Include guifg=#107040 guibg=bg gui=none " green on background +hi Define guifg=#107040 guibg=bg gui=none " green on background +hi Macro guifg=#107040 guibg=bg gui=none " green on background +hi PreProc guifg=#107040 guibg=bg gui=none " green on background +hi PreCondit guifg=#107040 guibg=bg gui=none " green on background +hi StatusLineNC guifg=#2c3138 guibg=black gui=none " grey on black +hi StatusLine guifg=fg guibg=black gui=none " foreground on black +hi WildMenu guifg=fg guibg=#0e1219 gui=none " foreground on dark grey +hi FoldColumn guifg=#333366 guibg=#0e1219 gui=none " dark violet on dark grey +hi IncSearch guifg=#0e1219 guibg=#82ade0 gui=bold " dark grey on cyan +hi DiffText guifg=#0e1219 guibg=#82ade0 gui=bold " dark grey on cyan +hi Label guifg=#7e28a9 guibg=bg gui=none " purple on background +hi Operator guifg=#6d5279 guibg=bg gui=none " pink on background +hi Number guifg=#8b8b00 guibg=bg gui=none " dark yellow on background +if version>= 700 +hi MatchParen guifg=#0e1219 guibg=#78ba42 gui=none " dark grey on light green +endif +hi SpecialKey guifg=#333366 guibg=bg gui=none " metal on background + +hi Cursor guifg=#0e1219 guibg=#8b9aaa gui=none " dark grey on foreground +hi TabLine guifg=fg guibg=black gui=none " foreground on black +hi NonText guifg=#333366 guibg=bg gui=none " metal on background +hi Tag guifg=#3741ad guibg=bg gui=none " blue on background +hi Delimiter guifg=#3741ad guibg=bg gui=none " blue on background +hi Special guifg=#3741ad guibg=bg gui=none " blue on background +hi SpecialChar guifg=#3741ad guibg=bg gui=none " blue on background +hi SpecialComment guifg=#2680af guibg=bg gui=none " blue2 on background + +" --- CTerm8 section +if &t_Co == 8 + + " --- CTerm8 (Dark) + if &background == "dark" + "hi Normal ctermfg=Grey "ctermbg=DarkGrey + hi Constant ctermfg=DarkGreen + hi Boolean ctermfg=DarkGreen + hi Character ctermfg=DarkGreen + hi Float ctermfg=DarkGreen + hi Comment ctermfg=DarkCyan + hi Type ctermfg=Brown + hi Typedef ctermfg=Brown + hi Structure ctermfg=Brown + hi Function ctermfg=Brown + hi StorageClass ctermfg=Brown + hi Conditional ctermfg=Brown + hi Repeat ctermfg=Brown + hi Visual ctermfg=Brown ctermbg=Black + hi DiffChange ctermfg=Grey ctermbg=DarkBlue + if version>= 700 + hi Pmenu ctermfg=Grey ctermbg=DarkBlue + endif + hi String ctermfg=DarkGreen + hi Folded ctermfg=DarkGrey ctermbg=Black + hi VertSplit ctermfg=DarkGrey ctermbg=DarkGrey + if version>= 700 + hi PmenuSel ctermfg=DarkBlue ctermbg=Grey + endif + hi Search ctermfg=Black ctermbg=Brown + hi DiffAdd ctermfg=Black ctermbg=DarkGreen + hi Exception ctermfg=Brown + hi Title ctermfg=DarkRed + hi Error ctermfg=Brown ctermbg=DarkRed + hi DiffDelete ctermfg=Brown ctermbg=DarkRed + hi Todo ctermfg=Brown ctermbg=DarkRed + hi LineNr ctermfg=DarkGrey + hi Statement ctermfg=Brown + hi Underlined cterm=Underline + if version>= 700 + hi CursorLine ctermbg=Black cterm=Underline + hi CursorColumn ctermfg=Grey ctermbg=Black + endif + hi Include ctermfg=DarkMagenta + hi Define ctermfg=DarkMagenta + hi Macro ctermfg=DarkMagenta + hi PreProc ctermfg=DarkMagenta + hi PreCondit ctermfg=DarkMagenta + hi StatusLineNC ctermfg=DarkGrey ctermbg=Black + hi StatusLine ctermfg=Grey ctermbg=DarkGrey + hi WildMenu ctermfg=Grey ctermbg=DarkGrey + hi FoldColumn ctermfg=DarkGrey + hi IncSearch ctermfg=DarkCyan ctermbg=Black + hi DiffText ctermfg=DarkBlue ctermbg=Grey + hi Label ctermfg=Brown + hi Operator ctermfg=Brown + hi Number ctermfg=DarkGreen + if version>= 700 + hi MatchParen ctermfg=Grey ctermbg=Green + endif + hi SpecialKey ctermfg=DarkRed + + hi Cursor ctermfg=Black ctermbg=Grey + hi Delimiter ctermfg=Brown + hi NonText ctermfg=DarkRed + hi Special ctermfg=Brown + hi SpecialChar ctermfg=Brown + hi SpecialComment ctermfg=DarkCyan + hi TabLine ctermfg=DarkGrey ctermbg=Grey + hi Tag ctermfg=Brown + + " --- CTerm8 (Light) + elseif &background == "light" + hi Normal ctermfg=Black ctermbg=White + hi Constant ctermfg=DarkCyan + hi Boolean ctermfg=DarkCyan + hi Character ctermfg=DarkCyan + hi Float ctermfg=DarkCyan + hi Comment ctermfg=DarkGreen + hi Type ctermfg=DarkBlue + hi Typedef ctermfg=DarkBlue + hi Structure ctermfg=DarkBlue + hi Function ctermfg=DarkBlue + hi StorageClass ctermfg=DarkBlue + hi Conditional ctermfg=DarkBlue + hi Repeat ctermfg=DarkBlue + hi Visual ctermfg=Brown ctermbg=Black + hi DiffChange ctermfg=Grey ctermbg=DarkBlue + if version>= 700 + hi Pmenu ctermfg=Grey ctermbg=DarkBlue + endif + hi String ctermfg=DarkRed + hi Folded ctermfg=Black ctermbg=DarkCyan + hi VertSplit ctermfg=Grey ctermbg=Black + if version>= 700 + hi PmenuSel ctermfg=DarkBlue ctermbg=Grey + endif + hi Search ctermfg=Grey ctermbg=DarkGreen + hi DiffAdd ctermfg=Black ctermbg=DarkGreen + hi Exception ctermfg=DarkBlue + hi Title ctermfg=DarkRed + hi Error ctermfg=Brown ctermbg=DarkRed + hi DiffDelete ctermfg=Brown ctermbg=DarkRed + hi Todo ctermfg=Brown ctermbg=DarkRed + hi LineNr ctermfg=Black ctermbg=Grey + hi Statement ctermfg=DarkBlue + hi Underlined cterm=Underline + if version>= 700 + hi CursorLine ctermbg=Grey cterm=Underline + hi CursorColumn ctermfg=Black ctermbg=Grey + endif + hi Include ctermfg=DarkMagenta + hi Define ctermfg=DarkMagenta + hi Macro ctermfg=DarkMagenta + hi PreProc ctermfg=DarkMagenta + hi PreCondit ctermfg=DarkMagenta + hi StatusLineNC ctermfg=Grey ctermbg=DarkBlue + hi StatusLine ctermfg=Grey ctermbg=Black + hi WildMenu ctermfg=Grey ctermbg=DarkBlue + hi FoldColumn ctermfg=Black ctermbg=Grey + hi IncSearch ctermfg=Brown ctermbg=Black + hi DiffText ctermfg=DarkBlue ctermbg=Grey + hi Label ctermfg=DarkBlue + hi Operator ctermfg=DarkBlue + hi Number ctermfg=DarkCyan + if version>= 700 + hi MatchParen ctermfg=Grey ctermbg=Green + endif + hi SpecialKey ctermfg=Red + + hi Cursor ctermfg=Black ctermbg=Grey + hi Delimiter ctermfg=DarkBlue + hi NonText ctermfg=Red + hi Special ctermfg=DarkBlue + hi SpecialChar ctermfg=DarkBlue + hi SpecialComment ctermfg=DarkGreen + hi TabLine ctermfg=DarkBlue ctermbg=Grey + hi Tag ctermfg=DarkBlue + endif + +" --- CTerm256 section +elseif &t_Co == 256 + + if v:version < 700 + command! -nargs=+ CSAHi exe "hi" substitute(substitute(, "undercurl", "underline", "g"), "guisp\\S\\+", "", "g") + else + command! -nargs=+ CSAHi exe "hi" + endif + if has("gui_running") || (&t_Co == 256 && (&term ==# "xterm" || &term =~# "^screen") && exists("g:CSApprox_konsole") && g:CSApprox_konsole) || &term =~? "^konsole" + CSAHi Normal ctermbg=59 ctermfg=145 + CSAHi Constant term=underline ctermbg=59 ctermfg=146 + CSAHi Boolean ctermbg=59 ctermfg=146 + CSAHi Character ctermbg=59 ctermfg=146 + CSAHi Float ctermbg=59 ctermfg=146 + CSAHi Comment term=bold ctermbg=59 ctermfg=30 + CSAHi Type term=underline ctermbg=59 ctermfg=220 + CSAHi Typedef ctermbg=59 ctermfg=220 + CSAHi Structure ctermbg=59 ctermfg=220 + CSAHi Function ctermbg=59 ctermfg=220 + CSAHi StorageClass ctermbg=59 ctermfg=220 + CSAHi Conditional ctermbg=59 ctermfg=214 + CSAHi Repeat ctermbg=59 ctermfg=113 + CSAHi Visual term=reverse ctermbg=61 ctermfg=white + CSAHi DiffChange term=bold ctermbg=61 ctermfg=white + CSAHi Pmenu ctermbg=61 ctermfg=white + CSAHi String ctermbg=59 ctermfg=61 + CSAHi Folded ctermbg=61 ctermfg=black + CSAHi VertSplit term=reverse ctermbg=black ctermfg=61 + CSAHi PmenuSel ctermbg=220 ctermfg=black + CSAHi Search term=reverse ctermbg=29 ctermfg=113 + CSAHi DiffAdd term=bold ctermbg=29 ctermfg=113 + CSAHi Exception ctermbg=59 ctermfg=red + CSAHi Title term=bold ctermbg=59 ctermfg=red + CSAHi Error term=reverse ctermbg=red ctermfg=white + CSAHi DiffDelete term=bold ctermbg=red ctermfg=white + CSAHi Todo cterm=bold,undercurl ctermbg=black ctermfg=red + CSAHi LineNr term=underline ctermbg=black ctermfg=61 + CSAHi Statement term=bold ctermbg=59 ctermfg=140 + CSAHi Underlined term=underline cterm=bold,underline ctermfg=147 + CSAHi CursorLine term=underline cterm=underline ctermbg=black + CSAHi CursorColumn term=reverse ctermfg=white ctermbg=30 + CSAHi Include ctermbg=59 ctermfg=97 + CSAHi Define ctermbg=59 ctermfg=97 + CSAHi Macro ctermbg=59 ctermfg=97 + CSAHi PreProc term=underline ctermbg=59 ctermfg=97 + CSAHi PreCondit ctermbg=59 ctermfg=97 + CSAHi StatusLineNC term=reverse ctermbg=16 ctermfg=61 + CSAHi StatusLine term=reverse,bold ctermbg=16 ctermfg=220 + CSAHi WildMenu ctermbg=16 ctermfg=145 + CSAHi FoldColumn ctermbg=16 ctermfg=61 + CSAHi IncSearch term=reverse cterm=bold ctermbg=146 ctermfg=16 + CSAHi DiffText term=reverse cterm=bold ctermbg=146 ctermfg=16 + CSAHi Label ctermbg=59 ctermfg=140 + CSAHi Operator ctermbg=59 ctermfg=142 + CSAHi Number ctermbg=59 ctermfg=146 + CSAHi MatchParen term=reverse ctermbg=113 ctermfg=16 + CSAHi SpecialKey term=bold ctermbg=59 ctermfg=97 + + CSAHi Cursor ctermbg=145 ctermfg=16 + CSAHi lCursor ctermbg=145 ctermfg=59 + CSAHi Delimiter ctermbg=59 ctermfg=61 + CSAHi Directory term=bold ctermfg=39 + CSAHi ErrorMsg ctermbg=160 ctermfg=231 + CSAHi Identifier term=underline ctermfg=87 + CSAHi Ignore ctermfg=59 + CSAHi ModeMsg term=bold cterm=bold + CSAHi MoreMsg term=bold cterm=bold ctermfg=72 + CSAHi NonText term=bold ctermbg=59 ctermfg=60 + CSAHi PmenuSbar ctermbg=250 + CSAHi PmenuThumb ctermbg=145 ctermfg=59 + CSAHi Question cterm=bold ctermfg=28 + CSAHi SignColumn ctermbg=250 ctermfg=39 + CSAHi Special term=bold ctermbg=59 ctermfg=61 + CSAHi SpecialChar ctermbg=59 ctermfg=61 + CSAHi SpecialComment ctermbg=59 ctermfg=73 + CSAHi SpellBad term=reverse cterm=undercurl ctermfg=196 + CSAHi SpellCap term=reverse cterm=undercurl ctermfg=21 + CSAHi SpellLocal term=underline cterm=undercurl ctermfg=51 + CSAHi SpellRare term=reverse cterm=undercurl ctermfg=201 + CSAHi TabLine term=underline ctermbg=16 ctermfg=145 + CSAHi TabLineFill term=reverse ctermbg=145 ctermfg=59 + CSAHi TabLineSel term=bold cterm=bold + CSAHi Tag ctermbg=59 ctermfg=61 + CSAHi VisualNOS term=bold,underline cterm=bold,underline + CSAHi WarningMsg ctermfg=160 + CSAHi htmlBold term=bold cterm=bold + CSAHi htmlBoldItalic term=bold,italic cterm=bold + CSAHi htmlBoldUnderline term=bold,underline cterm=bold,underline + CSAHi htmlBoldUnderlineItalic term=bold,italic,underline cterm=bold,underline + CSAHi htmlItalic term=italic + CSAHi htmlUnderline term=underline cterm=underline + CSAHi htmlUnderlineItalic term=italic,underline cterm=underline + elseif has("gui_running") || (&t_Co == 256 && (&term ==# "xterm" || &term =~# "^screen") && exists("g:CSApprox_eterm") && g:CSApprox_eterm) || &term =~? "^eterm" + CSAHi Normal ctermbg=59 ctermfg=152 + CSAHi Constant term=underline ctermbg=59 ctermfg=153 + CSAHi Boolean ctermbg=59 ctermfg=153 + CSAHi Character ctermbg=59 ctermfg=153 + CSAHi Float ctermbg=59 ctermfg=153 + CSAHi Comment term=bold ctermbg=59 ctermfg=30 + CSAHi Type term=underline ctermbg=59 ctermfg=226 + CSAHi Typedef ctermbg=59 ctermfg=226 + CSAHi Structure ctermbg=59 ctermfg=226 + CSAHi Function ctermbg=59 ctermfg=226 + CSAHi StorageClass ctermbg=59 ctermfg=226 + CSAHi Conditional ctermbg=59 ctermfg=220 + CSAHi Repeat ctermbg=59 ctermfg=150 + CSAHi Visual term=reverse ctermbg=68 ctermfg=white + CSAHi DiffChange term=bold ctermbg=68 ctermfg=white + CSAHi Pmenu ctermbg=68 ctermfg=white + CSAHi String ctermbg=59 ctermfg=104 + CSAHi Folded ctermbg=104 ctermfg=black + CSAHi VertSplit term=reverse ctermbg=black ctermfg=104 + CSAHi PmenuSel ctermbg=226 ctermfg=black + CSAHi Search term=reverse ctermbg=36 ctermfg=150 + CSAHi DiffAdd term=bold ctermbg=36 ctermfg=150 + CSAHi Exception ctermbg=59 ctermfg=red + CSAHi Title term=bold ctermbg=59 ctermfg=red + CSAHi Error term=reverse ctermbg=red ctermfg=white + CSAHi DiffDelete term=bold ctermbg=red ctermfg=white + CSAHi Todo cterm=bold,undercurl ctermbg=black ctermfg=red + CSAHi LineNr term=underline ctermbg=black ctermfg=104 + CSAHi Statement term=bold ctermbg=59 ctermfg=177 + CSAHi Underlined term=underline cterm=bold,underline ctermfg=153 + CSAHi CursorLine term=underline cterm=underline ctermbg=black + CSAHi CursorColumn term=reverse ctermfg=white ctermbg=30 + CSAHi Include ctermbg=59 ctermfg=134 + CSAHi Define ctermbg=59 ctermfg=134 + CSAHi Macro ctermbg=59 ctermfg=134 + CSAHi PreProc term=underline ctermbg=59 ctermfg=134 + CSAHi PreCondit ctermbg=59 ctermfg=134 + CSAHi StatusLineNC term=reverse ctermbg=16 ctermfg=104 + CSAHi StatusLine term=reverse,bold ctermbg=16 ctermfg=226 + CSAHi WildMenu ctermbg=17 ctermfg=152 + CSAHi FoldColumn ctermbg=17 ctermfg=104 + CSAHi IncSearch term=reverse cterm=bold ctermbg=153 ctermfg=17 + CSAHi DiffText term=reverse cterm=bold ctermbg=153 ctermfg=17 + CSAHi Label ctermbg=59 ctermfg=177 + CSAHi Operator ctermbg=59 ctermfg=142 + CSAHi Number ctermbg=59 ctermfg=153 + CSAHi MatchParen term=reverse ctermbg=150 ctermfg=17 + CSAHi SpecialKey term=bold ctermbg=59 ctermfg=134 + + CSAHi Cursor ctermbg=152 ctermfg=17 + CSAHi lCursor ctermbg=152 ctermfg=59 + CSAHi TabLine term=underline ctermbg=16 ctermfg=152 + CSAHi Ignore ctermfg=59 + CSAHi NonText term=bold ctermbg=59 ctermfg=60 + CSAHi Directory term=bold ctermfg=45 + CSAHi ErrorMsg ctermbg=196 ctermfg=255 + CSAHi MoreMsg term=bold cterm=bold ctermfg=72 + CSAHi ModeMsg term=bold cterm=bold + CSAHi htmlBoldUnderline term=bold,underline cterm=bold,underline + CSAHi htmlBoldItalic term=bold,italic cterm=bold + CSAHi htmlBold term=bold cterm=bold + CSAHi htmlBoldUnderlineItalic term=bold,italic,underline cterm=bold,underline + CSAHi PmenuSbar ctermbg=250 + CSAHi PmenuThumb ctermbg=152 ctermfg=59 + CSAHi TabLineSel term=bold cterm=bold + CSAHi TabLineFill term=reverse ctermbg=152 ctermfg=59 + CSAHi Question cterm=bold ctermfg=28 + CSAHi VisualNOS term=bold,underline cterm=bold,underline + CSAHi WarningMsg ctermfg=196 + CSAHi htmlUnderlineItalic term=italic,underline cterm=underline + CSAHi htmlUnderline term=underline cterm=underline + CSAHi Special term=bold ctermbg=59 ctermfg=68 + CSAHi Identifier term=underline ctermfg=123 + CSAHi Tag ctermbg=59 ctermfg=68 + CSAHi SpecialChar ctermbg=59 ctermfg=68 + CSAHi Delimiter ctermbg=59 ctermfg=68 + CSAHi SpecialComment ctermbg=59 ctermfg=74 + CSAHi SignColumn ctermbg=250 ctermfg=45 + CSAHi SpellBad term=reverse cterm=undercurl ctermfg=196 + CSAHi SpellCap term=reverse cterm=undercurl ctermfg=21 + CSAHi SpellRare term=reverse cterm=undercurl ctermfg=201 + CSAHi SpellLocal term=underline cterm=undercurl ctermfg=51 + CSAHi htmlItalic term=italic + elseif has("gui_running") || &t_Co == 256 + CSAHi Normal ctermbg=16 ctermfg=103 + CSAHi Constant term=underline ctermbg=16 ctermfg=110 + CSAHi Boolean ctermbg=16 ctermfg=110 + CSAHi Character ctermbg=16 ctermfg=110 + CSAHi Float ctermbg=16 ctermfg=110 + CSAHi Comment term=bold ctermbg=16 ctermfg=23 + CSAHi Type term=underline ctermbg=16 ctermfg=220 + CSAHi Typedef ctermbg=16 ctermfg=220 + CSAHi Structure ctermbg=16 ctermfg=220 + CSAHi Function ctermbg=16 ctermfg=220 + CSAHi StorageClass ctermbg=16 ctermfg=220 + CSAHi Conditional ctermbg=16 ctermfg=208 + CSAHi Repeat ctermbg=16 ctermfg=107 + CSAHi Visual term=reverse ctermbg=61 ctermfg=white + CSAHi DiffChange term=bold ctermbg=61 ctermfg=white + CSAHi Pmenu ctermbg=61 ctermfg=white + CSAHi String ctermbg=16 ctermfg=61 + CSAHi Folded ctermbg=61 ctermfg=black + CSAHi VertSplit term=reverse ctermbg=black ctermfg=61 + CSAHi PmenuSel ctermbg=220 ctermfg=black + CSAHi Search term=reverse ctermbg=23 ctermfg=107 + CSAHi DiffAdd term=bold ctermbg=23 ctermfg=107 + CSAHi Exception ctermbg=16 ctermfg=red + CSAHi Title term=bold ctermbg=16 ctermfg=red + CSAHi Error term=reverse ctermbg=red ctermfg=white + CSAHi DiffDelete term=bold ctermbg=red ctermfg=white + CSAHi Todo cterm=bold,undercurl ctermbg=black ctermfg=red + CSAHi LineNr term=underline ctermbg=black ctermfg=61 + CSAHi Statement term=bold ctermbg=16 ctermfg=98 + CSAHi Underlined term=underline cterm=bold,underline ctermfg=111 + CSAHi CursorLine term=underline cterm=underline ctermbg=black + CSAHi CursorColumn term=reverse ctermbg=103 ctermfg=16 + CSAHi Include ctermbg=16 ctermfg=91 + CSAHi Define ctermbg=16 ctermfg=91 + CSAHi Macro ctermbg=16 ctermfg=91 + CSAHi PreProc term=underline ctermbg=16 ctermfg=91 + CSAHi PreCondit ctermbg=16 ctermfg=91 + CSAHi StatusLineNC term=reverse ctermbg=16 ctermfg=61 + CSAHi StatusLine term=reverse,bold ctermbg=16 ctermfg=220 + CSAHi WildMenu ctermbg=16 ctermfg=103 + CSAHi FoldColumn ctermbg=16 ctermfg=61 + CSAHi IncSearch term=reverse cterm=bold ctermbg=110 ctermfg=16 + CSAHi DiffText term=reverse cterm=bold ctermbg=110 ctermfg=16 + CSAHi Label ctermbg=16 ctermfg=98 + CSAHi Operator ctermbg=16 ctermfg=100 + CSAHi Number ctermbg=16 ctermfg=110 + CSAHi MatchParen term=reverse ctermbg=107 ctermfg=16 + CSAHi SpecialKey term=bold ctermbg=16 ctermfg=91 + + CSAHi Cursor ctermbg=103 ctermfg=16 + CSAHi lCursor ctermbg=103 ctermfg=16 + CSAHi Delimiter ctermbg=16 ctermfg=61 + CSAHi Directory term=bold ctermfg=38 + CSAHi ErrorMsg ctermbg=160 ctermfg=231 + CSAHi Identifier term=underline ctermfg=87 + CSAHi Ignore ctermfg=16 + CSAHi ModeMsg term=bold cterm=bold + CSAHi MoreMsg term=bold cterm=bold ctermfg=29 + CSAHi NonText term=bold ctermbg=16 ctermfg=59 + CSAHi PmenuSbar ctermbg=250 + CSAHi PmenuThumb ctermbg=103 ctermfg=16 + CSAHi Question cterm=bold ctermfg=22 + CSAHi SignColumn ctermbg=250 ctermfg=38 + CSAHi Special term=bold ctermbg=16 ctermfg=61 + CSAHi SpecialChar ctermbg=16 ctermfg=61 + CSAHi SpecialComment ctermbg=16 ctermfg=31 + CSAHi SpellBad term=reverse cterm=undercurl ctermfg=196 + CSAHi SpellCap term=reverse cterm=undercurl ctermfg=21 + CSAHi SpellLocal term=underline cterm=undercurl ctermfg=51 + CSAHi SpellRare term=reverse cterm=undercurl ctermfg=201 + CSAHi TabLine term=underline ctermbg=16 ctermfg=103 + CSAHi TabLineFill term=reverse ctermbg=103 ctermfg=16 + CSAHi TabLineSel term=bold cterm=bold + CSAHi Tag ctermbg=16 ctermfg=61 + CSAHi VisualNOS term=bold,underline cterm=bold,underline + CSAHi WarningMsg ctermfg=160 + CSAHi htmlBold term=bold cterm=bold + CSAHi htmlBoldItalic term=bold,italic cterm=bold + CSAHi htmlBoldUnderline term=bold,underline cterm=bold,underline + CSAHi htmlBoldUnderlineItalic term=bold,italic,underline cterm=bold,underline + CSAHi htmlItalic term=italic + CSAHi htmlUnderline term=underline cterm=underline + CSAHi htmlUnderlineItalic term=italic,underline cterm=underline + elseif has("gui_running") || &t_Co == 88 + CSAHi Normal ctermbg=80 ctermfg=37 + CSAHi Constant term=underline ctermbg=80 ctermfg=42 + CSAHi Boolean ctermbg=80 ctermfg=42 + CSAHi Character ctermbg=80 ctermfg=42 + CSAHi Float ctermbg=80 ctermfg=42 + CSAHi Comment term=bold ctermbg=80 ctermfg=21 + CSAHi Type term=underline ctermbg=80 ctermfg=72 + CSAHi Typedef ctermbg=80 ctermfg=72 + CSAHi Structure ctermbg=80 ctermfg=72 + CSAHi Function ctermbg=80 ctermfg=72 + CSAHi StorageClass ctermbg=80 ctermfg=72 + CSAHi Conditional ctermbg=80 ctermfg=68 + CSAHi Repeat ctermbg=80 ctermfg=40 + CSAHi Visual term=reverse ctermbg=18 ctermfg=white + CSAHi DiffChange term=bold ctermbg=18 ctermfg=white + CSAHi Pmenu ctermbg=18 ctermfg=white + CSAHi String ctermbg=80 ctermfg=38 + CSAHi Folded ctermbg=38 ctermfg=black + CSAHi VertSplit term=reverse ctermbg=black ctermfg=38 + CSAHi PmenuSel ctermbg=72 ctermfg=black + CSAHi Search term=reverse ctermbg=20 ctermfg=40 + CSAHi DiffAdd term=bold ctermbg=20 ctermfg=40 + CSAHi Exception ctermbg=80 ctermfg=red + CSAHi Title term=bold ctermbg=80 ctermfg=red + CSAHi Error term=reverse ctermbg=red ctermfg=white + CSAHi DiffDelete term=bold ctermbg=red ctermfg=white + CSAHi Todo cterm=bold,undercurl ctermbg=black ctermfg=white + CSAHi LineNr term=underline ctermbg=black ctermfg=38 + CSAHi Statement term=bold ctermbg=80 ctermfg=38 + CSAHi Underlined term=underline cterm=bold,underline ctermfg=39 + CSAHi CursorLine term=underline ctermbg=black + CSAHi CursorColumn term=reverse ctermbg=21 ctermfg=white + CSAHi Include ctermbg=80 ctermfg=33 + CSAHi Define ctermbg=80 ctermfg=33 + CSAHi Macro ctermbg=80 ctermfg=33 + CSAHi PreProc term=underline ctermbg=80 ctermfg=33 + CSAHi PreCondit ctermbg=80 ctermfg=33 + CSAHi StatusLineNC term=reverse ctermbg=16 ctermfg=38 + CSAHi StatusLine term=reverse,bold ctermbg=16 ctermfg=72 + CSAHi WildMenu ctermbg=16 ctermfg=37 + CSAHi FoldColumn ctermbg=16 ctermfg=38 + CSAHi IncSearch term=reverse cterm=bold ctermbg=42 ctermfg=16 + CSAHi DiffText term=reverse cterm=bold ctermbg=42 ctermfg=16 + CSAHi Label ctermbg=80 ctermfg=38 + CSAHi Operator ctermbg=80 ctermfg=36 + CSAHi Number ctermbg=80 ctermfg=42 + CSAHi MatchParen term=reverse ctermbg=40 ctermfg=16 + CSAHi SpecialKey term=bold ctermbg=80 ctermfg=33 + + CSAHi Cursor ctermbg=37 ctermfg=16 + CSAHi lCursor ctermbg=37 ctermfg=80 + CSAHi Delimiter ctermbg=80 ctermfg=18 + CSAHi Directory term=bold ctermfg=23 + CSAHi ErrorMsg ctermbg=48 ctermfg=79 + CSAHi Identifier term=underline ctermfg=31 + CSAHi Ignore ctermfg=80 + CSAHi ModeMsg term=bold cterm=bold + CSAHi MoreMsg term=bold cterm=bold ctermfg=21 + CSAHi NonText term=bold ctermbg=80 ctermfg=17 + CSAHi PmenuSbar ctermbg=85 + CSAHi PmenuThumb ctermbg=37 ctermfg=80 + CSAHi Question cterm=bold ctermfg=20 + CSAHi SignColumn ctermbg=85 ctermfg=23 + CSAHi Special term=bold ctermbg=80 ctermfg=18 + CSAHi SpecialChar ctermbg=80 ctermfg=18 + CSAHi SpecialComment ctermbg=80 ctermfg=22 + CSAHi SpellBad term=reverse cterm=undercurl ctermfg=64 + CSAHi SpellCap term=reverse cterm=undercurl ctermfg=19 + CSAHi SpellLocal term=underline cterm=undercurl ctermfg=31 + CSAHi SpellRare term=reverse cterm=undercurl ctermfg=67 + CSAHi TabLine term=underline ctermbg=16 ctermfg=37 + CSAHi TabLineFill term=reverse ctermbg=37 ctermfg=80 + CSAHi TabLineSel term=bold cterm=bold + CSAHi Tag ctermbg=80 ctermfg=18 + CSAHi VisualNOS term=bold,underline cterm=bold,underline + CSAHi WarningMsg ctermfg=48 + CSAHi htmlBold term=bold cterm=bold + CSAHi htmlBoldItalic term=bold,italic cterm=bold + CSAHi htmlBoldUnderline term=bold,underline cterm=bold,underline + CSAHi htmlBoldUnderlineItalic term=bold,italic,underline cterm=bold,underline + CSAHi htmlItalic term=italic + CSAHi htmlUnderline term=underline cterm=underline + CSAHi htmlUnderlineItalic term=italic,underline cterm=underline + endif + delcommand CSAHi + +endif diff --git a/.vim/colors/mars.vim b/.vim/colors/mars.vim new file mode 100644 index 0000000..408ae79 --- /dev/null +++ b/.vim/colors/mars.vim @@ -0,0 +1,142 @@ +" Maintainer: Tim Aldrich +" Last Change: 19 November 2003 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="mars" +" GUI colors {{{ +"hi Normal guifg=#FFFFFF guibg=#961E00 +hi Normal guifg=#FFFFFF guibg=#961E00 +hi Cursor guifg=#A0963C guibg=#FFFFFF +hi CursorIM guifg=#6699CC guibg=#99CCCC +hi Directory guifg=#B45000 guibg=#961E00 +hi DiffAdd guifg=#FFFFCC guibg=#961E00 +hi DiffChange guifg=#FF9900 guibg=#961E00 +hi DiffDelete guifg=#999999 guibg=#961E00 +hi DiffText guifg=#FFFFFF guibg=#961E00 +hi ErrorMsg guifg=#FFFFFF guibg=#FF0000 +hi VertSplit guifg=#FFFFFF guibg=#961E00 +hi Folded guifg=#999999 guibg=#BE1E00 gui=italic +hi FoldColumn guifg=#CC0000 guibg=#999999 +hi IncSearch guifg=#FFFF00 guibg=#961E00 +hi LineNr guifg=#999999 guibg=#BE1E00 +hi ModeMsg guifg=#FFFFFF guibg=#961E00 +hi MoreMsg guifg=#FFFFFF guibg=#961E00 +hi NonText guifg=#FFFFFF guibg=#A0141E +hi Question guifg=#FFFFFF guibg=#EE0000 +hi Search guifg=#A0142B guibg=#FFFF00 gui=underline +hi SpecialKey guifg=#FFFF00 guibg=#961E00 +hi StatusLine guifg=#FFFFFF guibg=#961E00 +hi StatusLineNC guifg=#CCCCCC guibg=#961E00 +hi Title guifg=#FFFFFF guibg=#FF9900 +hi Visual guifg=#B45000 guibg=#961E00 +hi WarningMsg guifg=#FF0000 guibg=#FFFFFF +hi WildMenu guifg=#961E00 guibg=#999999 +" }}} + +" cterm colors {{{ +hi Normal ctermfg=white ctermbg=darkblue +hi Cursor ctermfg=darkblue ctermbg=white +hi CursorIM ctermfg=lightcyan ctermbg=lightcyan +hi Directory ctermfg=lightblue ctermbg=lightcyan +hi DiffAdd ctermfg=LightYellow ctermbg=darkblue +hi DiffChange ctermfg=darkred ctermbg=darkblue +hi DiffDelete ctermfg=grey ctermbg=darkblue +hi DiffText ctermfg=white ctermbg=darkblue +hi ErrorMsg ctermfg=red ctermbg=lightcyan +hi VertSplit ctermfg=white ctermbg=darkblue +hi Folded ctermfg=grey ctermbg=darkblue +hi FoldColumn ctermfg=darkred ctermbg=lightcyan +hi IncSearch ctermfg=yellow ctermbg=darkblue +hi LineNr ctermfg=lightyellow ctermbg=darkblue +hi ModeMsg ctermfg=white ctermbg=darkblue +hi MoreMsg ctermfg=white ctermbg=darkblue +hi NonText ctermfg=white ctermbg=lightblue +hi Question ctermfg=white ctermbg=darkblue +hi Search ctermfg=darkred ctermbg=lightcyan +hi SpecialKey ctermfg=yellow ctermbg=darkblue +hi StatusLine ctermfg=white ctermbg=darkblue +hi StatusLineNC ctermfg=lightgrey ctermbg=darkblue +hi Title ctermfg=white ctermbg=yellow +hi Visual ctermfg=lightblue ctermbg=cyan +hi WarningMsg ctermfg=red ctermbg=white +hi WildMenu ctermfg=darkblue ctermbg=grey +" }}} + +" GUI hilight groups {{{ + +hi Comment guifg=#999999 +hi Constant guifg=#FFFF00 +hi String guifg=#CCCC99 +hi Character guifg=#A0963C +hi Number guifg=#A0963C +hi Boolean guifg=#A0963C +hi Float guifg=#A0963C +hi Identifier guifg=#E6fA46 +hi Function guifg=#E6fA46 +hi Statement guifg=#FFFFCC +hi Conditional guifg=#FFFFCC +hi Repeat guifg=#FFFFCC +hi Label guifg=#E66E46 +hi Operator guifg=#FFFF00 +hi Keyword guifg=#FFFF00 +hi Exception guifg=#FFFFAA +hi PreProc guifg=#C8783C +hi Include guifg=#C8783C +hi Define guifg=#C8783C +hi Macro guifg=#C8783C +hi PreCondit guifg=#C8783C +hi Type guifg=#E6641E +hi StorageClass guifg=#E66E46 +hi Structure guifg=#E66E46 +hi Typedef guifg=#E66E46 +hi Special guifg=#00FF00 +hi SpecialChar guifg=#00FF00 +hi Tag guifg=#CCCCFF +hi Delimiter guifg=#CCCCFF +hi SpecialComment guifg=#FFFFCC +hi Debug guifg=#CC3300 +hi Ignore guifg=#961E00 +hi Error guifg=#FF0000 guibg=#FFFFFF +hi Todo guifg=#FFFF00 guibg=#961E00 +" }}} + +" cterm hilight groups {{{ +hi Comment ctermfg=grey +hi Constant ctermfg=lightgreen +hi String ctermfg=brown +hi Character ctermfg=lightgreen +hi Number ctermfg=lightgreen +hi Boolean ctermfg=lightgreen +hi Float ctermfg=lightgreen +hi Identifier ctermfg=lightcyan +hi Function ctermfg=lightcyan +hi Statement ctermfg=lightyellow +hi Conditional ctermfg=lightyellow +hi Repeat ctermfg=lightyellow +hi Label ctermfg=lightcyan +hi Operator ctermfg=yellow +hi Keyword ctermfg=yellow +hi Exception ctermfg=yellow +hi PreProc ctermfg=darkcyan +hi Include ctermfg=darkcyan +hi Define ctermfg=darkcyan +hi Macro ctermfg=darkcyan +hi PreCondit ctermfg=darkcyan +hi Type ctermfg=lightcyan +hi StorageClass ctermfg=lightcyan +hi Structure ctermfg=lightcyan +hi Typedef ctermfg=lightcyan +hi Special ctermfg=green +hi SpecialChar ctermfg=green +hi Tag ctermfg=brown +hi Delimiter ctermfg=brown +hi SpecialComment ctermfg=lightyellow +hi Debug ctermfg=magenta +hi Ignore ctermfg=lightblue +hi Error ctermfg=red ctermbg=white +hi Todo ctermfg=grey ctermbg=white +" }}} diff --git a/.vim/colors/martin_krischik.vim b/.vim/colors/martin_krischik.vim new file mode 100644 index 0000000..0975ba0 --- /dev/null +++ b/.vim/colors/martin_krischik.vim @@ -0,0 +1,397 @@ +"------------------------------------------------------------------------------- +" Description: My personal colors +" $Id: martin_krischik.vim 458 2006-11-18 09:42:10Z krischik $ +" Copyright: Copyright (C) 2006 Martin Krischik +" Maintainer: Martin Krischik +" $Author: krischik $ +" $Date: 2006-11-18 10:42:10 +0100 (Sa, 18 Nov 2006) $ +" Version: 3.2 +" $Revision: 458 $ +" $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/colors/martin_krischik.vim $ +" Note: Tried and Tested for 'builtin_gui', 'xterm' (KDE Konsole) +" 'vt320'" (OpenVMS) and 'linux' (Linux Console). +" History: 16.05.2006 MK Check that all vim 7.0 colors are set +" 16.05.2006 MK Split GUI from terminal. +" 24.05.2006 MK Unified Headers +" 24.07.2006 MK Omni-Completion Colors. +" 15.10.2006 MK Bram's suggestion for runtime integration +" Usage: copy to colors directory +"------------------------------------------------------------------------------ + +" First remove all existing highlighting. + +set background=light +highlight clear + +if exists ("syntax_on") + syntax reset +endif + +let colors_name = "martin_krischik" + +if version < 700 + " Section: works only with vim 7.0 use default otherwise {{{1 + " + colorscheme default + " + " }}}1 + finish +elseif (&term == "builtin_gui") + " Section: Set GUI colors. {{{1 + " + " Subsection: User-Interface Colors {{{2 + " + " Group: Normal Text Colors {{{3 + " + highlight Normal gui=none guifg=black guibg=white + highlight Search guibg=Yellow + highlight SpecialKey guifg=Blue + highlight Title gui=bold guifg=Magenta + highlight LineNr guifg=Brown guibg=grey80 + highlight NonText gui=bold guifg=Blue guibg=grey80 + highlight MatchParen guibg=Cyan + highlight IncSearch gui=reverse + " + " Group: Messages {{{3 + " + highlight WarningMsg guifg=Red + highlight ErrorMsg guifg=White guibg=Red + highlight ModeMsg gui=bold + highlight MoreMsg gui=bold guifg=SeaGreen + highlight Question gui=bold guifg=SeaGreen + " + " Group: Spell Checker {{{3 + " + highlight SpellBad gui=undercurl guisp=Red + highlight SpellCap gui=undercurl guisp=Blue + highlight SpellLocal gui=undercurl guisp=DarkCyan + highlight SpellRare gui=undercurl guisp=Magenta + " + " Group: Status line {{{3 + " + highlight StatusLine gui=bold,reverse guifg=LightBlue2 guibg=black + highlight StatusLineNC gui=reverse guifg=grey75 guibg=black + highlight VertSplit gui=reverse guifg=LightBlue3 guibg=black + " + " Group: Visual selektio {{{3n + " + highlight Visual gui=reverse guifg=firebrick guibg=white + highlight VisualNOS gui=reverse guifg=firebrick guibg=black + " + " Group: tab pages line {{{3 + " + highlight TabLine gui=reverse guifg=grey75 guibg=black + highlight TabLineFill gui=reverse + highlight TabLineSel gui=bold,reverse guifg=LightBlue2 guibg=black + " + " Group: Competion (omni and otherwise) menu colors {{{3 + " + highlight Pmenu guibg=Grey + highlight PmenuSel guifg=White guibg=firebrick + highlight PmenuSbar guibg=LightGrey guibg=DarkGrey + highlight PmenuThumb gui=reverse + highlight WildMenu guifg=White guibg=firebrick + " + " Group: Diff colors {{{3 + " + highlight DiffAdd guibg=LightBlue + highlight DiffChange guibg=LightMagenta + highlight DiffDelete gui=bold guifg=Blue guibg=LightCyan + highlight DiffText gui=bold guibg=Red + " + " Group: Fold colors {{{3 + " + highlight FoldColumn guifg=DarkBlue guibg=Grey + highlight Folded guifg=DarkBlue guibg=LightGrey + " + " Group: Other Syntax Highlight Colors {{{3 + " + highlight Directory guifg=Blue + highlight SignColumn guifg=DarkBlue guibg=Grey + " + " Group: Motif and Athena widget colors. {{{3 + " + highlight Menu guifg=Black guibg=LightGrey + highlight Scrollbar guifg=LightGrey guibg=DarkGrey + highlight Tooltip guifg=Black guibg=LightGrey + + " Subsection: Syntax Colors {{{2 + " + " Group: Comment colors syntax-group + " + highlight Comment guifg=grey30 + " + " Group: Constant colors group {{{3 + " + highlight Boolean guifg=DarkOrchid3 guibg=grey95 + highlight Character guifg=RoyalBlue3 guibg=grey95 + highlight Constant guifg=MediumOrchid3 guibg=grey95 + highlight Float guifg=MediumOrchid4 guibg=grey95 + highlight Number guifg=DarkOrchid4 guibg=grey95 + highlight String guifg=RoyalBlue4 guibg=grey95 + " + " Group: Identifier colors group {{{3 + " + highlight Function guifg=SteelBlue + highlight Identifier guifg=DarkCyan + " + " Group: Statement colors group {{{3 + " + highlight Conditional gui=bold guifg=DodgerBlue4 + highlight Exception gui=none guifg=SlateBlue4 + highlight Keyword gui=bold guifg=RoyalBlue4 + highlight Label gui=none guifg=SlateBlue3 + highlight Operator gui=none guifg=RoyalBlue3 + highlight Repeat gui=bold guifg=DodgerBlue3 + highlight Statement gui=none guifg=RoyalBlue4 + " + " Group: Preprocessor colors group {{{3 + " + highlight Define guifg=brown4 guibg=snow + highlight Include guifg=firebrick3 guibg=snow + highlight Macro guifg=brown3 guibg=snow + highlight PreCondit guifg=red guibg=snow + highlight PreProc guifg=firebrick4 guibg=snow + " + " Group: type group {{{3 + " + highlight StorageClass gui=none guifg=SeaGreen3 + highlight Structure gui=none guifg=DarkSlateGray4 + highlight Type gui=none guifg=SeaGreen4 + highlight Typedef gui=none guifg=DarkSeaGreen4 + " + " Group: special symbol group {{{3 + " + highlight Special guifg=SlateBlue guibg=GhostWhite + highlight SpecialChar guifg=DeepPink guibg=GhostWhite + highlight Tag guifg=DarkSlateBlue guibg=GhostWhite + highlight Delimiter guifg=DarkOrchid guibg=GhostWhite + highlight SpecialComment guifg=VioletRed guibg=GhostWhite + highlight Debug guifg=maroon guibg=GhostWhite + " + " Group: text that stands out {{{3 + " + highlight Underlined gui=underline guifg=SlateBlue + " + " Group: left blank, hidden {{{3 + " + highlight Ignore guifg=bg + " + " Group: any erroneous construct {{{3 + " + highlight Error gui=undercurl guifg=Red guibg=MistyRose + " + " Group: anything that needs extra attention {{{3 + " + highlight Todo guifg=Blue guibg=Yellow + + " Subsection: Cursor Colors {{{2 + " + " Group: Mouse Cursor {{{3 + " + highlight cCursor guifg=bg guibg=DarkRed + highlight Cursor guifg=bg guibg=DarkGreen + highlight CursorColumn guibg=FloralWhite + highlight CursorIM guifg=bg guibg=DarkGrey + highlight CursorLine guibg=cornsilk + highlight lCursor guifg=bg guibg=DarkMagenta + highlight oCursor guifg=bg guibg=DarkCyan + highlight vCursor guifg=bg guibg=DarkYellow + " + " Group: Text Cursor {{{3 + " + set guicursor=n:block-lCursor, + \i:ver25-Cursor, + \r:hor25-Cursor, + \v:block-vCursor, + \ve:ver35-vCursor, + \o:hor50-oCursor-blinkwait75-blinkoff50-blinkon75, + \c:block-cCursor, + \ci:ver20-cCursor, + \cr:hor20-cCursor, + \sm:block-Cursor-blinkwait175-blinkoff150-blinkon175 + + syntax enable + + " }}}1 + finish +elseif (&term == "xterm") || + \ (&term == "vt320") || + \ (&term == "linux") + " Section: Only set colors for terminals we actualy know of {{{1 + " + if &term=="vt320" + set t_Co=8 + else + set t_Co=16 + endif + + " Subsection: User Interface Colors {{{2 + " + " Group: Normal Text Colors {{{3 + " + highlight Normal term=none cterm=none ctermfg=Black ctermbg=LightGray + highlight Search term=reverse ctermbg=DarkYellow + highlight SpecialKey term=bold ctermfg=DarkBlue ctermbg=LightGray + highlight Title term=bold ctermfg=DarkMagenta ctermbg=LightGray + highlight LineNr term=underline ctermfg=DarkRed ctermbg=DarkGray + highlight NonText term=bold ctermfg=LightBlue ctermbg=LightGray + highlight MatchParen term=reverse ctermbg=DarkYellow + highlight IncSearch term=reverse cterm=reverse + " + " Group: Messages {{{3 + " + highlight WarningMsg term=standout ctermfg=DarkRed ctermbg=LightGray + highlight ErrorMsg term=standout ctermfg=White ctermbg=DarkRed + highlight ModeMsg term=bold cterm=bold ctermbg=LightGray + highlight MoreMsg term=bold ctermfg=DarkGreen ctermbg=LightGray + highlight Question term=standout ctermfg=DarkGreen ctermbg=LightGray + " + " Group: Spell Checker {{{3 + " + highlight SpellBad term=reverse ctermbg=LightRed + highlight SpellCap term=reverse ctermbg=LightBlue + highlight SpellLocal term=underline ctermbg=LightCyan + highlight SpellRare term=reverse ctermbg=LightMagenta + " + " Group: Status line {{{3 + " + highlight StatusLine term=bold,reverse cterm=bold,reverse + highlight StatusLineNC term=reverse cterm=reverse + highlight VertSplit term=reverse cterm=reverse + " + " Group: Visual selektion {{{3 + " + highlight Visual term=reverse cterm=reverse ctermfg=DarkRed ctermbg=LightGray + highlight VisualNOS term=bold,underline cterm=bold,underline + " + " Group: tab pages line {{{3 + " + highlight TabLine term=reverse cterm=reverse + highlight TabLineFill term=reverse cterm=reverse + highlight TabLineSel term=bold,reverse cterm=bold,reverse + " + " Group: Menu colors {{{3 + " + highlight Pmenu ctermbg=Grey + highlight PmenuSel ctermfg=White ctermbg=Red + highlight PmenuSbar ctermfg=LightGrey ctermbg=DarkGray + highlight PmenuThumb cterm=reverse + highlight WildMenu term=standout ctermfg=White ctermbg=Red + " + " Group: Diff colors {{{3 + " + highlight DiffAdd term=bold ctermbg=LightBlue + highlight DiffChange term=bold ctermbg=LightMagenta + highlight DiffDelete term=bold ctermfg=LightBlue ctermbg=LightCyan + highlight DiffText term=reverse cterm=bold ctermbg=LightRed + " + " Group: Fold colors {{{3 + " + highlight FoldColumn term=standout ctermfg=DarkBlue ctermbg=DarkGray + highlight Folded term=standout ctermfg=DarkBlue ctermbg=DarkGray + " + " Group: Other Syntax Highlight Colors {{{3 + " + highlight Directory term=bold ctermfg=DarkBlue ctermbg=LightGray + highlight SignColumn term=standout ctermfg=DarkBlue ctermbg=DarkGray + + " Subsection: Syntax Colors {{{2 + " + " Group: Comment colors syntax-group {{{3 + " + highlight Comment term=bold ctermfg=DarkGray ctermbg=LightGray + " + " Group: Constant colors group {{{3 + " + highlight Boolean term=underline ctermfg=DarkRed ctermbg=LightGray + highlight Character term=underline ctermfg=DarkRed ctermbg=LightGray + highlight Constant term=underline ctermfg=DarkRed ctermbg=LightGray + highlight Float term=underline ctermfg=DarkRed ctermbg=LightGray + highlight Number term=underline ctermfg=DarkRed ctermbg=LightGray + highlight String term=underline ctermfg=DarkRed ctermbg=LightGray + " + " Group: Identifier colors group {{{3 + " + highlight Function term=underline ctermfg=DarkCyan ctermbg=LightGray + highlight Identifier term=underline ctermfg=DarkCyan ctermbg=LightGray + " + " Group: Statement colors group {{{3 + " + highlight Conditional term=bold ctermfg=DarkBlue ctermbg=LightGray + highlight Exception term=bold ctermfg=DarkBlue ctermbg=LightGray + highlight Keyword term=bold ctermfg=DarkBlue ctermbg=LightGray + highlight Label term=bold ctermfg=DarkBlue ctermbg=LightGray + highlight Operator term=bold ctermfg=DarkBlue ctermbg=LightGray + highlight Repeat term=bold ctermfg=DarkBlue ctermbg=LightGray + highlight Statement term=bold ctermfg=DarkBlue ctermbg=LightGray + " + " Group: Preprocessor colors group {{{3 + " + highlight Define term=underline ctermfg=DarkMagenta ctermbg=LightGray + highlight Include term=underline ctermfg=DarkMagenta ctermbg=LightGray + highlight Macro term=underline ctermfg=DarkMagenta ctermbg=LightGray + highlight PreCondit term=underline ctermfg=DarkMagenta ctermbg=LightGray + highlight PreProc term=underline ctermfg=DarkMagenta ctermbg=LightGray + " + " Group: type group {{{3 + " + highlight StorageClass term=underline ctermfg=DarkGreen ctermbg=LightGray + highlight Structure term=underline ctermfg=DarkGreen ctermbg=LightGray + highlight Type term=underline ctermfg=DarkGreen ctermbg=LightGray + highlight Typedef term=underline ctermfg=DarkGreen ctermbg=LightGray + " + " Group: special symbol group {{{3 + " + highlight Special term=bold ctermfg=DarkMagenta ctermbg=LightGray + highlight SpecialChar term=bold ctermfg=DarkMagenta ctermbg=LightGray + highlight Tag term=bold ctermfg=DarkMagenta ctermbg=LightGray + highlight Delimiter term=bold ctermfg=DarkMagenta ctermbg=LightGray + highlight SpecialComment term=bold ctermfg=DarkMagenta ctermbg=LightGray + highlight Debug term=bold ctermfg=DarkMagenta ctermbg=LightGray + " + " Group: text that stands out {{{3 + " + highlight Underlined term=underline cterm=underline ctermfg=DarkMagenta ctermbg=LightGray + " + " Group: left blank, hidden {{{3 + " + highlight Ignore ctermfg=White ctermbg=grey + " + " Group: any erroneous construct {{{3 + " + highlight Error term=reverse ctermfg=White ctermbg=LightRed + " + " Group: anything that needs extra attention {{{3 + " + highlight Todo term=standout ctermfg=Black ctermbg=Yellow + + " Subsection: Cursor Colors {{{2 + " + " Group: Mouse Cursor {{{3 + " + highlight Cursor ctermfg=bg ctermbg=DarkGreen + highlight CursorColumn term=reverse ctermbg=LightGray + highlight CursorIM ctermfg=bg ctermbg=DarkGrey + highlight CursorLine term=reverse ctermbg=LightGray + + syntax enable + + " }}}1 + finish +else + " Section: terminal is completely unknown - fallback to system default {{{1 + " + set t_Co=8 + + " }}}1 + finish +endif + +"------------------------------------------------------------------------------ +" Copyright (C) 2006 Martin Krischik +" +" Vim is Charityware - see ":help license" or uganda.txt for licence details. +"------------------------------------------------------------------------------ +" vim: nowrap tabstop=8 shiftwidth=3 softtabstop=3 noexpandtab +" vim: filetype=vim foldmethod=marker textwidth=0 diff --git a/.vim/colors/matrix.vim b/.vim/colors/matrix.vim new file mode 100644 index 0000000..da5c687 --- /dev/null +++ b/.vim/colors/matrix.vim @@ -0,0 +1,80 @@ +" vim:set ts=8 sts=2 sw=2 tw=0: +" +" matrix.vim - MATRIX like colorscheme. +" +" Maintainer: MURAOKA Taro +" Last Change: 10-Jun-2003. + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = 'matrix' + +" the character under the cursor +hi Cursor guifg=#226622 guibg=#55ff55 +hi lCursor guifg=#226622 guibg=#55ff55 +" like Cursor, but used when in IME mode |CursorIM| +hi CursorIM guifg=#226622 guibg=#55ff55 +" directory names (and other special names in listings) +hi Directory guifg=#55ff55 guibg=#000000 +" diff mode: Added line |diff.txt| +hi DiffAdd guifg=#55ff55 guibg=#226622 gui=none +" diff mode: Changed line |diff.txt| +hi DiffChange guifg=#55ff55 guibg=#226622 gui=none +" diff mode: Deleted line |diff.txt| +hi DiffDelete guifg=#113311 guibg=#113311 gui=none +" diff mode: Changed text within a changed line |diff.txt| +hi DiffText guifg=#55ff55 guibg=#339933 gui=bold +" error messages on the command line +hi ErrorMsg guifg=#55ff55 guibg=#339933 +" the column separating vertically split windows +hi VertSplit guifg=#339933 guibg=#339933 +" line used for closed folds +hi Folded guifg=#44cc44 guibg=#113311 +" 'foldcolumn' +hi FoldColumn guifg=#44cc44 guibg=#226622 +" 'incsearch' highlighting; also used for the text replaced with +hi IncSearch guifg=#226622 guibg=#55ff55 gui=none +" line number for ":number" and ":#" commands, and when 'number' +hi LineNr guifg=#44cc44 guibg=#000000 +" 'showmode' message (e.g., "-- INSERT --") +hi ModeMsg guifg=#44cc44 guibg=#000000 +" |more-prompt| +hi MoreMsg guifg=#44cc44 guibg=#000000 +" '~' and '@' at the end of the window, characters from +hi NonText guifg=#44cc44 guibg=#113311 +" normal text +hi Normal guifg=#44cc44 guibg=#000000 +" |hit-enter| prompt and yes/no questions +hi Question guifg=#44cc44 guibg=#000000 +" Last search pattern highlighting (see 'hlsearch'). +hi Search guifg=#113311 guibg=#44cc44 gui=none +" Meta and special keys listed with ":map", also for text used +hi SpecialKey guifg=#44cc44 guibg=#000000 +" status line of current window +hi StatusLine guifg=#55ff55 guibg=#339933 gui=none +" status lines of not-current windows +hi StatusLineNC guifg=#113311 guibg=#339933 gui=none +" titles for output from ":set all", ":autocmd" etc. +hi Title guifg=#55ff55 guibg=#113311 gui=bold +" Visual mode selection +hi Visual guifg=#55ff55 guibg=#339933 gui=none +" Visual mode selection when vim is "Not Owning the Selection". +hi VisualNOS guifg=#44cc44 guibg=#000000 +" warning messages +hi WarningMsg guifg=#55ff55 guibg=#000000 +" current match in 'wildmenu' completion +hi WildMenu guifg=#226622 guibg=#55ff55 + +hi Comment guifg=#226622 guibg=#000000 +hi Constant guifg=#55ff55 guibg=#226622 +hi Special guifg=#44cc44 guibg=#226622 +hi Identifier guifg=#55ff55 guibg=#000000 +hi Statement guifg=#55ff55 guibg=#000000 gui=bold +hi PreProc guifg=#339933 guibg=#000000 +hi Type guifg=#55ff55 guibg=#000000 gui=bold +hi Underlined guifg=#55ff55 guibg=#000000 gui=underline +hi Error guifg=#55ff55 guibg=#339933 +hi Todo guifg=#113311 guibg=#44cc44 gui=none diff --git a/.vim/colors/mayansmoke.vim b/.vim/colors/mayansmoke.vim new file mode 100644 index 0000000..6d146f8 --- /dev/null +++ b/.vim/colors/mayansmoke.vim @@ -0,0 +1,343 @@ +" ============================================================================= +" +" File: mayansmoke.vim +" Description: Vim color scheme file +" Maintainer: Jeet Sukumaran (GUI colors); Clayton Parker (cterm colors) +" +" ============================================================================= + +" Initialization and Setup {{{1 +" ============================================================================= +set background=light +highlight clear +if exists("syntax_on") + syntax reset +endif +let colors_name = "mayansmoke" +" }}} + +" Normal Color {{{1 +" ============================================================================= +hi Normal gui=NONE guifg=Black guibg=#F4F4E8 +" }}} + +" Highlight Groups {{{1 +" ============================================================================= +" Groups (see ':help highlight-groups'): +" ColorColumn highlight to use with ':set colorcolumn' +" Cursor the character under the cursor +" CursorIM like Cursor, but used when in IME mode |CursorIM| +" CursorColumn the screen column that the cursor is in when 'cursorcolumn' is set +" CursorLine the screen line that the cursor is in when 'cursorline' is set +" Directory directory names (and other special names in listings) +" DiffAdd diff mode: Added line |diff.txt| +" DiffChange diff mode: Changed line |diff.txt| +" DiffDelete diff mode: Deleted line |diff.txt| +" DiffText diff mode: Changed text within a changed line |diff.txt| +" ErrorMsg error messages on the command line +" VertSplit the column separating vertically split windows +" Folded line used for closed folds +" FoldColumn 'foldcolumn' +" SignColumn column where |signs| are displayed +" IncSearch 'incsearch' highlighting; also used for the text replaced with ":s///c" +" LineNr Line number for ":number" and ":#" commands, and when 'number' option is set. +" MatchParen The character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt| +" ModeMsg 'showmode' message (e.g., "-- INSERT --") +" MoreMsg |more-prompt| +" NonText '~' and '@' at the end of the window, etc. +" Normal normal text +" Pmenu Popup menu: normal item. +" PmenuSel Popup menu: selected item. +" PmenuSbar Popup menu: scrollbar. +" PmenuThumb Popup menu: Thumb of the scrollbar. +" Question |hit-enter| prompt and yes/no questions +" Search Last search pattern highlighting (see 'hlsearch'). +" SpecialKey Meta and special keys listed with ":map", text that is displayed differently from what it really is (such as tabs, spaces in listchars etc.). +" SpellBad Word that is not recognized by the spellchecker. |spell| +" SpellCap Word that should start with a capital. |spell| +" SpellLocal Word that is recognized by the spellchecker as one that is +" SpellRare Word that is recognized by the spellchecker as one that is hardly ever used. |spell| +" StatusLine status line of current window +" StatusLineNC status lines of not-current windows +" TabLine tab pages line, not active tab page label +" TabLineFill tab pages line, where there are no labels +" TabLineSel tab pages line, active tab page label +" Title titles for output from ":set all", ":autocmd" etc. +" Visual Visual mode selection +" VisualNOS Visual mode selection when vim is "Not Owning the Selection". +" WarningMsg warning messages +" WildMenu current match in 'wildmenu' completion +hi ColorColumn guifg=NONE guibg=#EEEEDD +hi Cursor guifg=bg guibg=fg gui=NONE +if hlexists('MayanSmokeCursorLine') + hi link CursorColumn MayanSmokeCursorLine + hi link CursorLine MayanSmokeCursorLine +elseif exists('g:mayansmoke_cursor_line_visibility') && g:mayansmoke_cursor_line_visibility >= 2 + hi CursorColumn guifg=NONE guibg=NavajoWhite gui=NONE + hi CursorLine guifg=NONE guibg=NavajoWhite gui=NONE +elseif exists('g:mayansmoke_cursor_line_visibility') && g:mayansmoke_cursor_line_visibility >= 1 + hi CursorColumn guifg=NONE guibg=white gui=NONE + hi CursorLine guifg=NONE guibg=white gui=NONE +else + hi CursorColumn guifg=NONE guibg=#FFFDD0 gui=NONE + hi CursorLine guifg=NONE guibg=#FFFDD0 gui=NONE +endif +hi CursorIM guifg=bg guibg=fg gui=NONE +hi lCursor guifg=bg guibg=fg gui=NONE +hi DiffAdd guifg=NONE guibg=SeaGreen1 gui=NONE +hi DiffChange guifg=NONE guibg=LightSkyBlue1 gui=NONE +hi DiffDelete guifg=NONE guibg=LightCoral gui=NONE +hi DiffText guifg=black guibg=LightCyan1 gui=NONE +hi Directory guifg=#1600FF guibg=bg gui=NONE +hi ErrorMsg guifg=Red2 guibg=NONE gui=NONE +hi FoldColumn guifg=SteelBlue4 guibg=LightYellow2 gui=bold +hi Folded guifg=SteelBlue4 guibg=Gainsboro gui=italic +if hlexists('MayanSmokeSearch') + hi link IncSearch MayanSmokeSearch + hi link Search MayanSmokeSearch +elseif exists('g:mayansmoke_search_visibility') && g:mayansmoke_search_visibility >= 4 + hi IncSearch guifg=white guibg=red gui=NONE + hi Search guifg=white guibg=red gui=NONE +elseif exists('g:mayansmoke_search_visibility') && g:mayansmoke_search_visibility == 3 + hi IncSearch guifg=black guibg=gold gui=NONE + hi Search guifg=black guibg=gold gui=NONE +elseif exists('g:mayansmoke_search_visibility') && g:mayansmoke_search_visibility == 2 + hi IncSearch guifg=white guibg=darkorange gui=NONE + hi Search guifg=white guibg=darkorange gui=NONE +elseif exists('g:mayansmoke_search_visibility') && g:mayansmoke_search_visibility == 0 + hi IncSearch guifg=black guibg=tan gui=NONE + hi Search guifg=black guibg=tan gui=NONE +else + hi IncSearch guifg=black guibg=khaki gui=NONE + hi Search guifg=black guibg=khaki gui=NONE +endif +hi LineNr guifg=#666677 guibg=#cccfbf gui=NONE +hi MatchParen guifg=black guibg=LemonChiffon3 gui=bold +hi ModeMsg guifg=White guibg=tomato1 gui=bold +hi MoreMsg guifg=SeaGreen4 guibg=bg gui=bold +hi NonText guifg=LightCyan3 guibg=bg gui=bold + +hi Pmenu guifg=Orange4 guibg=LightYellow3 gui=NONE +hi PmenuSel guifg=ivory2 guibg=NavajoWhite4 gui=bold +hi PmenuSbar guifg=White guibg=#999666 gui=NONE +hi PmenuThumb guifg=White guibg=#7B7939 gui=NONE + +hi Question guifg=Chartreuse4 guibg=bg gui=bold +hi SignColumn guifg=white guibg=LightYellow3 gui=NONE +if hlexists('MayanSmokeSpecialKey') + hi link SpecialKey MayanSmokeSpecialKey +elseif exists('g:mayansmoke_special_key_visibility') && g:mayansmoke_special_key_visibility >= 2 + hi SpecialKey guifg=black guibg=NavajoWhite gui=NONE +elseif exists('g:mayansmoke_special_key_visibility') && g:mayansmoke_special_key_visibility == 0 + hi SpecialKey guifg=bisque3 guibg=NONE gui=NONE +else + hi SpecialKey guifg=white guibg=ivory3 gui=NONE +endif +hi SpellBad guisp=Firebrick2 gui=undercurl +hi SpellCap guisp=Blue gui=undercurl +hi SpellLocal guisp=DarkCyan gui=undercurl +hi SpellRare guisp=Magenta gui=undercurl +hi StatusLine guifg=#FFFEEE guibg=#557788 gui=NONE +" hi StatusLineNC guifg=#EAE6E2 guibg=LightSteelBlue3 gui=italic +hi StatusLineNC guifg=#F4F4EE guibg=#99aabb gui=italic +hi TabLine guifg=fg guibg=LightGrey gui=underline +hi TabLineFill guifg=fg guibg=bg gui=reverse +hi TabLineSel guifg=fg guibg=bg gui=bold +hi Title guifg=DeepSkyBlue3 guibg=bg gui=bold +hi VertSplit guifg=#99aabb guibg=#99aabb +hi Visual guifg=white guibg=DeepSkyBlue1 gui=NONE +hi WarningMsg guifg=Firebrick2 guibg=bg gui=NONE +hi WildMenu guifg=Black guibg=SkyBlue gui=NONE +" }}} + +" 256-Color Terminal Colors, by Clayton Parker {{{1 +" ============================================================================= +hi Normal cterm=NONE ctermfg=16 ctermbg=255 +hi Comment ctermfg=110 +hi Constant ctermfg=214 + hi String ctermfg=30 + hi Boolean ctermfg=88 +hi Identifier ctermfg=160 +hi Function ctermfg=132 +hi Statement ctermfg=21 +hi Keyword ctermfg=45 +hi PreProc ctermfg=27 +hi Type ctermfg=147 +hi Special ctermfg=64 +hi Ignore ctermfg=255 +hi Error ctermfg=196 ctermbg=255 term=none +hi Todo ctermfg=136 ctermbg=255 cterm=NONE +hi VimError ctermfg=160 ctermbg=16 +hi VimCommentTitle ctermfg=110 +hi qfLineNr ctermfg=16 ctermbg=46 cterm=NONE +hi pythonDecorator ctermfg=208 ctermbg=255 cterm=NONE +hi Cursor ctermfg=255 ctermbg=16 cterm=NONE +hi CursorColumn ctermfg=NONE ctermbg=255 cterm=NONE +hi CursorIM ctermfg=255 ctermbg=16 cterm=NONE +hi CursorLine ctermfg=NONE ctermbg=254 cterm=NONE +hi lCursor ctermfg=255 ctermbg=16 cterm=NONE +hi DiffAdd ctermfg=16 ctermbg=48 cterm=NONE +hi DiffChange ctermfg=16 ctermbg=153 cterm=NONE +hi DiffDelete ctermfg=16 ctermbg=203 cterm=NONE +hi DiffText ctermfg=16 ctermbg=226 cterm=NONE +hi Directory ctermfg=21 ctermbg=255 cterm=NONE +hi ErrorMsg ctermfg=160 ctermbg=NONE cterm=NONE +hi FoldColumn ctermfg=24 ctermbg=252 cterm=NONE +hi Folded ctermfg=24 ctermbg=252 cterm=NONE +hi IncSearch ctermfg=255 ctermbg=160 cterm=NONE +hi LineNr ctermfg=253 ctermbg=110 cterm=NONE +hi NonText ctermfg=110 ctermbg=255 cterm=NONE +hi Pmenu ctermfg=fg ctermbg=195 cterm=NONE +hi PmenuSbar ctermfg=255 ctermbg=153 cterm=NONE +hi PmenuSel ctermfg=255 ctermbg=21 cterm=NONE +hi PmenuThumb ctermfg=111 ctermbg=255 cterm=NONE +hi SignColumn ctermfg=110 ctermbg=254 cterm=NONE +hi Search ctermfg=255 ctermbg=160 cterm=NONE +hi SpecialKey ctermfg=255 ctermbg=144 cterm=NONE +hi SpellBad ctermfg=16 ctermbg=229 cterm=NONE +hi SpellCap ctermfg=16 ctermbg=231 cterm=NONE +hi SpellLocal ctermfg=16 ctermbg=231 cterm=NONE +hi SpellRare ctermfg=16 ctermbg=226 cterm=NONE +hi StatusLine ctermfg=255 ctermbg=24 cterm=NONE +hi StatusLineNC ctermfg=253 ctermbg=110 cterm=NONE +hi Title ctermfg=75 ctermbg=255 cterm=NONE +hi VertSplit ctermfg=255 ctermbg=24 cterm=NONE +hi Visual ctermfg=255 ctermbg=153 cterm=NONE +hi WildMenu ctermfg=16 ctermbg=117 cterm=NONE + +" 1}}} + +" Syntax {{{1 +" ============================================================================= + +" General {{{2 +" ----------------------------------------------------------------------------- +" Groups ('*' = major; see 'help group-name'): +" *Comment any comment +" *Constant any constant +" String a string constant: "this is a string" +" Character a character constant: 'c', '\n' +" Number a number constant: 234, 0xff +" Boolean a boolean constant: TRUE, false +" Float a floating point constant: 2.3e10 +" *Identifier any variable name +" Function function name (also: methods for classes) +" *Statement any statement +" Conditional if, then, else, endif, switch, etc. +" Repeat for, do, while, etc. +" Label case, default, etc. +" Operator "sizeof", "+", "*", etc. +" Keyword any other keyword +" Exception try, catch, throw +" *PreProc generic Preprocessor +" Include preprocessor #include +" Define preprocessor #define +" Macro same as Define +" PreCondit preprocessor #if, #else, #endif, etc. +" *Type int, long, char, etc. +" StorageClass static, register, volatile, etc. +" Structure struct, union, enum, etc. +" Typedef A typedef +" *Special any special symbol +" SpecialChar special character in a constant +" Tag you can use CTRL-] on this +" Delimiter character that needs attention +" SpecialComment special things inside a comment +" Debug debugging statements +" *Error any erroneous construct +" *Todo anything that needs extra attention +" hi Comment guifg=#A2B5CD guibg=NONE gui=italic +hi Comment guifg=#96AAC2 guibg=NONE gui=italic +hi Constant guifg=DarkOrange guibg=NONE gui=NONE + hi String guifg=Aquamarine4 guibg=NONE gui=NONE + hi Boolean guifg=IndianRed4 guibg=NONE gui=NONE +hi Identifier guifg=brown3 guibg=NONE gui=NONE +hi Function guifg=VioletRed4 guibg=NONE gui=NONE +hi Statement guifg=blue1 guibg=NONE gui=NONE +hi Keyword guifg=DodgerBlue guibg=NONE gui=NONE +hi PreProc guifg=blue1 guibg=NONE gui=NONE +hi Type guifg=LightSlateBlue guibg=NONE gui=NONE +hi Special guifg=DarkOliveGreen4 guibg=NONE gui=NONE +hi Ignore guifg=bg guibg=NONE gui=NONE +hi Error guifg=Red guibg=NONE gui=underline +hi Todo guifg=tan4 guibg=NONE gui=underline +" 2}}} + +" Vim {{{2 +" ----------------------------------------------------------------------------- +hi VimError guifg=red guibg=Black gui=bold +hi VimCommentTitle guifg=DarkSlateGray4 guibg=bg gui=bold,italic +" 2}}} + +" QuickFix {{{2 +" ----------------------------------------------------------------------------- + +" syn match qfFileName "^[^|]*" nextgroup=qfSeparator +" syn match qfSeparator "|" nextgroup=qfLineNr contained +" syn match qfLineNr "[^|]*" contained contains=qfError +" syn match qfError "error" contained +hi qfFileName guifg=LightSkyBlue4 guibg=NONE gui=italic +hi qfLineNr guifg=coral guibg=NONE gui=bold +hi qfError guifg=red guibg=NONE gui=bold +" 2}}} + +" Python {{{2 +" ----------------------------------------------------------------------------- +hi pythonDecorator guifg=orange3 guibg=NONE gui=bold +hi link pythonDecoratorFunction pythonDecorator +" 2}}} + +" Diff {{{2 +" ----------------------------------------------------------------------------- +hi diffOldFile guifg=#006666 guibg=NONE gui=NONE +hi diffNewFile guifg=#0088FF guibg=NONE gui=bold +hi diffFile guifg=#0000FF guibg=NONE gui=NONE +hi link diffOnly Constant +hi link diffIdentical Constant +hi link diffDiffer Constant +hi link diffBDiffer Constant +hi link diffIsA Constant +hi link diffNoEOL Constant +hi link diffCommon Constant +hi diffRemoved guifg=#BB0000 guibg=NONE gui=NONE +hi diffChanged guifg=DarkSeaGreen guibg=NONE gui=NONE +hi diffAdded guifg=#00AA00 guibg=NONE gui=NONE +hi diffLine guifg=thistle4 guibg=NONE gui=italic +hi link diffSubname diffLine +hi link diffComment Comment +" 2}}} + +" PHP (contributed by Ryan Kulla) {{{2 +" ----------------------------------------------------------------------------- +" Ryan Kulla's addition for PHP syntax highlighting (for regular/terminal vim) +hi phpConditional ctermfg=21 cterm=NONE guifg=black +hi phpIdentifier ctermfg=0 cterm=NONE guifg=black +hi phpOperator ctermfg=black cterm=NONE guifg=black +hi phpRegion ctermfg=132 cterm=NONE guifg=VioletRed4 +hi phpComparison ctermfg=black cterm=NONE guifg=black +hi phpType ctermfg=darkgreen cterm=NONE guifg=darkgreen +hi phpParent ctermfg=black cterm=NONE guifg=black +hi phpMethodsVar ctermfg=132 cterm=NONE guifg=VioletRed4 +hi phpStatement ctermfg=21 cterm=NONE guifg=blue +hi phpStorageClass ctermfg=21 cterm=NONE guifg=blue +hi phpStringSingle ctermfg=30 cterm=NONE guifg=Aquamarine4 +hi phpStringDouble ctermfg=30 cterm=NONE guifg=Aquamarine4 +hi phpFunctions ctermfg=21 cterm=NONE guifg=blue +hi phpSpecialFunction ctermfg=21 cterm=NONE guifg=blue +hi phpRepeat ctermfg=21 cterm=NONE guifg=blue +hi phpNumber ctermfg=214 cterm=bold guifg=brown +hi phpTodo ctermfg=red cterm=bold guifg=red gui=bold +hi phpDefine ctermfg=21 cterm=NONE guifg=blue +hi phpConstant ctermfg=21 cterm=NONE guifg=black +hi phpCoreConstant ctermfg=21 cterm=NONE guifg=black +hi phpMemberSelector ctermfg=black cterm=NONE guifg=black +hi phpLabel ctermfg=21 cterm=NONE guifg=blue +hi phpStructure ctermfg=black cterm=NONE guifg=black +hi phpRelation ctermfg=black cterm=NONE guifg=black +hi phpEnvVar ctermfg=black cterm=NONE guifg=black +hi phpIntVar ctermfg=0 cterm=bold guifg=black gui=bold +hi phpBoolean ctermfg=58 cterm=NONE guifg=brown +" 2}}} + +" 1}}} + diff --git a/.vim/colors/mdark.vim b/.vim/colors/mdark.vim new file mode 100644 index 0000000..16601db --- /dev/null +++ b/.vim/colors/mdark.vim @@ -0,0 +1,305 @@ +" Vim color file +" Maintaner: Mikhail Wolfson +" URL: http://web.mit.edu/wolfsonm +" Last Change: 2010 Apr 13 +" Version: 0.1 +" +" Features: +" - let mdark_current_line = 1 if you want to highlight the current line +" +" Changelog: +" 0.1 - made the original, based on rdark/mydark + +set background=dark + +hi clear +if exists("syntax_on") + syntax reset +endif +let colors_name = "mdark" + +" Options +let mdark_current_line = 1 +let mdark_current_col = 0 + + +" Customizable Default Colors +" this gives more control than using Vim's predefined colors +" and makes it easy to introduce slight variations in the colors +" prefixes: l_: light, m_: medium, o_: off- g_: grayish- b_: bright +let s:fg = "#BABDB6" +let s:bg = "#1E2426" + +let s:line_col = "#283033" +let s:line_nr = "#49646A" + +" Shades of black and gray for structure +let s:white = "#FFFFFF" +let s:o_white = "#EEEEEC" +let s:d_gray = "#2E3436" +let s:m_gray = "#888A85" +let s:slate = "#555753" +let s:o_black = "#0A1012" +let s:black = "#000000" + +" Specific colors for highlighted terms + +" pinks, purples +let s:pink = "#D16B7C" +let s:l_pink = "#D4A0A0" +let s:purple = "#AD6491" +let s:l_purple = "#CB9DCD" +let s:l_lavender = "#ADA5CB" +let s:g_lavender = "#363243" +let s:magenta = "#FF00FF" + +" blues +let s:d_dusty_blue = "#535E95" +let s:dg_dusty_blue = "#406371" +let s:lg_dusty_blue = "#8389A3" +let s:dusty_blue = "#7993BD" +let s:l_dusty_blue = "#729FCF" +let s:blue = "#3B6BBD" +let s:blue_lav = "#393CC3" +let s:l_blue = "#848FB1" +let s:b_blue = "#2D69FF" +let s:vb_blue = "#2950CB" + +" greens, etc +let s:olive = "#4C6C3D" +let s:green = "#66CC66" +let s:g_green = "#406A5C" +let s:b_green = "#5AB578" +let s:l_green = "#8BA692" +let s:d_green = "#447864" + +" yellows and oranges +let s:yellow = "#FFCC00" +let s:brown_orange = "#CC6633" +let s:yellow_orange = "#FF6600" +let s:o_yellow = "#CC9933" +let s:l_yellow = "#FFFF82" +let s:b_yellow = "#FFFF00" + +" reds and red-oranges +let s:l_red = "#FB4453" +let s:d_red = "#871019" +let s:l_orange = "#FCAF3E" +let s:orange = "#FF3300" + +" Unused "Extra" colors +let s:mustard = "#996633" +let s:d_orange = "#E1593D" +let s:brick = "#993333" +let s:peach = "#FF9966" +let s:vl_pink = "#FFDDCC" +let s:d_pink = "#D15F7A" +let s:b_red = "#990000" +let s:lavender = "#9B8BD4" + +let s:l_cyan = "#99CCCC" +let s:cyan = "#66CCCC" +let s:b_cyan = "#33CCCC" +let s:vl_cyan = "#99FFFF" +let s:d_cyan = "#006666" +let s:m_cyan = "#579CAD" +let s:g_cyan = "#B6E3FF" + + +" Function to set colors from variables +function s:Color(name, color_settings) + let color_string = '' + + for [color_type, color_value] in items(a:color_settings) + let color_string .= ' ' . color_type . '=' . color_value + endfor + + exec 'hi ' . a:name . color_string +endfunction + +" Current Line +if exists('mdark_current_line') && mdark_current_line == 1 + set cursorline + call s:Color('CursorLine', {'guibg': s:line_col}) +endif +if exists('mdark_current_col') && mdark_current_col == 1 + set cursorcolumn + call s:Color('CursorColumn', {'guibg': s:line_col}) +endif + +" Basic Properties +call s:Color('Normal', {'guifg': s:fg, 'guibg': s:bg}) +call s:Color('NonText', {'guifg': s:fg, 'guibg': s:d_gray, 'gui': 'none'}) +call s:Color('Cursor', {'guibg': s:fg}) +call s:Color('ICursor', {'guibg': s:fg}) + +" Search +call s:Color('Search', {'guifg': s:d_gray, 'guibg': s:l_orange}) +call s:Color('IncSearch', {'guifg': s:l_orange, 'guibg': s:d_gray}) + +" Window Elements +call s:Color('StatusLine', {'guifg': s:d_gray, 'guibg': s:fg, 'gui': 'none'}) +call s:Color('StatusLineNC', {'guifg': s:d_gray, 'guibg': s:m_gray, 'gui': 'none'}) +call s:Color('VertSplit', {'guifg': s:slate, 'guibg': s:m_gray, 'gui': 'none'}) +call s:Color('MoreMsg', {'guifg': s:l_dusty_blue}) +call s:Color('Question', {'guifg': s:green, 'gui': 'none'}) +call s:Color('WildMenu', {'guifg': s:o_white, 'guibg': s:o_black}) +call s:Color('LineNr', {'guifg': s:line_nr, 'guibg': s:black}) + +call s:Color('Visual', {'guibg': s:g_lavender}) +call s:Color('ErrorMsg', {'guifg': s:white, 'guibg': s:d_red}) +call s:Color('WarningMsg', {'guifg': s:l_red}) + +" Pmenu +call s:Color('Pmenu', {'guibg': s:d_gray, 'guifg': s:o_white}) +call s:Color('PmenuSel', {'guibg': s:white, 'guifg': s:bg}) +call s:Color('PmenuSbar', {'guibg': s:slate}) +call s:Color('PmenuThumb', {'guifg': s:white}) + +" Diff +call s:Color('DiffDelete', {'guifg': s:d_gray, 'guibg': s:o_black}) +call s:Color('DiffAdd', {'guibg': s:d_red}) +call s:Color('DiffChange', {'guibg': s:d_gray}) +call s:Color('DiffText', {'guibg': s:black, 'gui': 'none'}) + +" Folds +call s:Color('Folded', {'guifg': s:g_green, 'guibg': '#204a87'}) +call s:Color('FoldColumn', {'guifg': s:d_dusty_blue, 'guibg': s:black}) + +" Specials +call s:Color('Title', {'guifg': s:l_orange}) +call s:Color('Todo', {'guifg': s:b_yellow, 'guibg': 'bg'}) +call s:Color('SpecialKey', {'guifg': s:l_red}) + +" Tabs +call s:Color('TabLine', {'guibg': s:o_black, 'guifg': s:m_gray}) +call s:Color('TabLineFill', {'guifg': s:o_black}) +call s:Color('TabLineSel', {'guibg': s:slate, 'guifg': s:o_white, 'gui': 'none'}) + +" Matches +call s:Color('MatchParen', {'guifg': s:d_gray, 'guibg': s:l_orange}) + +" Tree +call s:Color('Directory', {'guifg': s:white}) + +" Syntax +call s:Color('Comment', {'guifg': s:l_green, 'gui': 'italic'}) + +" Constants +call s:Color('Constant', {'guifg': s:green}) +call s:Color('Character', {'guifg': s:pink}) +call s:Color('String', {'guifg': s:l_pink}) +call s:Color('Number', {'guifg': s:d_green}) +call s:Color('Float', {'guifg': s:b_green}) +call s:Color('Boolean', {'guifg': s:olive}) + +" Identifiers +call s:Color('Identifier', {'guifg': s:l_purple}) +call s:Color('Function', {'guifg': s:dusty_blue, 'gui': 'bold'}) + +" Statements +call s:Color('Statement', {'guifg': s:blue, 'gui': 'none'}) +call s:Color('Conditional', {'guifg': s:b_blue}) +call s:Color('Repeat', {'guifg': s:vb_blue}) +call s:Color('Label', {'guifg': s:blue_lav}) +call s:Color('Operator', {'guifg': s:purple}) +call s:Color('Keyword', {'guifg': s:blue}) +call s:Color('Exception', {'guifg': s:l_blue}) + +" Types +call s:Color('Type', {'guifg': s:d_dusty_blue }) +call s:Color('StorageClass', {'guifg': s:d_dusty_blue }) +call s:Color('Structure', {'guifg': s:dg_dusty_blue, 'gui':'bold' }) +call s:Color('Typedef', {'guifg': s:lg_dusty_blue, 'gui':'bold'}) + +" Preprocs +call s:Color('Preproc', {'guifg': s:yellow}) +call s:Color('Include', {'guifg': s:brown_orange}) +call s:Color('Define', {'guifg': s:yellow_orange}) +call s:Color('Macro', {'guifg': s:o_yellow}) +call s:Color('PreCondit', {'guifg': s:l_orange}) + +" Specials +call s:Color('Special', {'guifg': s:white}) +call s:Color('SpecialChar', {'guifg': s:pink}) +call s:Color('Tag', {'guifg': s:l_red}) +call s:Color('Delimiter', {'guifg': s:l_lavender}) +call s:Color('SpecialComment', {'guifg': s:orange}) +call s:Color('Debug', {'guifg': s:l_yellow}) + +" Misc +call s:Color('Underlined', {'guifg': s:magenta}) +call s:Color('Ignore', {'guifg': s:m_gray}) +call s:Color('Error', {'guifg': s:white, 'guibg': s:d_red}) + + +" Language-Specific + +" PHP +call s:Color('phpRegionDelimiter', {'guifg': s:purple}) +call s:Color('phpPropertySelector', {'guifg': s:m_gray}) +call s:Color('phpPropertySelectorInString', {'guifg': s:m_gray}) +call s:Color('phpOperator', {'guifg': s:m_gray}) +call s:Color('phpArrayPair', {'guifg': s:m_gray}) +call s:Color('phpAssignByRef', {'guifg': s:m_gray}) +call s:Color('phpRelation', {'guifg': s:m_gray}) +call s:Color('phpMemberSelector', {'guifg': s:m_gray}) +call s:Color('phpUnknownSelector', {'guifg': s:m_gray}) +call s:Color('phpVarSelector', {'guifg': s:fg}) +call s:Color('phpSemicolon', {'guifg': s:m_gray, 'gui': 'none'}) +call s:Color('phpFunctions', {'guifg': s:g_green}) +call s:Color('phpParent', {'guifg': s:m_gray}) + +" JavaScript +call s:Color('javaScriptBraces', {'guifg': s:m_gray}) +call s:Color('javaScriptOperator', {'guifg': s:m_gray}) + +" HTML +call s:Color('htmlTag', {'guifg': s:m_gray}) +call s:Color('htmlEndTag', {'guifg': s:m_gray}) +call s:Color('htmlTagName', {'guifg': s:fg}) +call s:Color('htmlSpecialTagName', {'guifg': s:fg}) +call s:Color('htmlArg', {'guifg': s:g_green}) +call s:Color('htmlTitle', {'guifg': s:green, 'gui': 'none'}) +hi link htmlH1 htmlTitle +hi link htmlH2 htmlH1 +hi link htmlH3 htmlH1 +hi link htmlH4 htmlH1 +hi link htmlH5 htmlH1 +hi link htmlH6 htmlH1 + +" XML +hi link xmlTag htmlTag +hi link xmlEndTag htmlEndTag +hi link xmlAttrib htmlArg + +" CSS +call s:Color('cssSelectorOp', {'guifg': s:o_white}) +hi link cssSelectorOp2 cssSelectorOp +call s:Color('cssUIProp', {'guifg': s:g_green}) +hi link cssPagingProp cssUIProp +hi link cssGeneratedContentProp cssUIProp +hi link cssRenderProp cssUIProp +hi link cssBoxProp cssUIProp +hi link cssTextProp cssUIProp +hi link cssColorProp cssUIProp +hi link cssFontProp cssUIProp +call s:Color('cssPseudoClassId', {'guifg': s:o_white}) +call s:Color('cssBraces', {'guifg': s:m_gray}) +call s:Color('cssIdentifier', {'guifg': s:l_orange}) +call s:Color('cssTagName', {'guifg': s:l_orange}) +hi link cssInclude Function +hi link cssCommonAttr Constant +hi link cssUIAttr Constant +hi link cssTableAttr Constant +hi link cssPagingAttr Constant +hi link cssGeneratedContentAttr Constant +hi link cssAuralAttr Constant +hi link cssRenderAttr Constant +hi link cssBoxAttr Constant +hi link cssTextAttr Constant +hi link cssColorAttr Constant +hi link cssFontAttr Constant + +" Clean up +delfunction s:Color diff --git a/.vim/colors/mellow.vim b/.vim/colors/mellow.vim new file mode 100644 index 0000000..d0f35a8 --- /dev/null +++ b/.vim/colors/mellow.vim @@ -0,0 +1,41 @@ +" Vim color file +" Maintainer: iyerns +" Last Change: 29 August 2005 +" Version:1.1 +" Comment: A soft mellow colorful scheme for gui + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="mellow" + +hi Normal guifg=black guibg=#FFFFCC +hi Title guifg=black guibg=white gui=BOLD +hi lCursor guibg=Cyan guifg=NONE +hi Cursor guibg=#ff0000 guifg=#ffffff + +hi LineNr guifg=white guibg=#666600 + +" syntax highlighting groups +hi Comment guifg=#996600 gui=NONE +hi Operator term=None cterm=None gui=None + +hi Identifier guifg=#663333 gui=NONE + +hi Statement guifg=#cc0000 gui=NONE +hi TypeDef guifg=#c000c8 gui=NONE +hi Type guifg=#0000c8 gui=NONE +hi Boolean guifg=#0000aa gui=NONE + +hi String guifg=#006666 gui=NONE +hi Number guifg=#808880 gui=NONE +hi Constant guifg=#888080 gui=NONE + +hi Function guifg=#660000 guibg=#ffffcc +hi PreProc guifg=#808040 gui=NONE +hi Keyword guifg=#008088 gui=NONE + +hi Search guibg=#336600 guifg=#FFFF00 gui=NONE +hi IncSearch guibg=#CC6600 gui=NONE diff --git a/.vim/colors/metacosm.vim b/.vim/colors/metacosm.vim new file mode 100644 index 0000000..924b0e2 --- /dev/null +++ b/.vim/colors/metacosm.vim @@ -0,0 +1,136 @@ +" Maintainer: Robert Melton ( iam -at- robertmelton -dot- com) +" Last Change: 2009 June 4th + +" ----------------------------------------------------------------------------- +" This color scheme uses a dark grey background. +" This theme, based on evening (with some input from Torte) is designed to +" seperate active text (code) from background/line numbers/folds/listchars by +" having different background colors on the non-code and the code (just +" slightly). If you look at the screenshot below, you will get the idea. +" All non-code(include indents) and string literals have a black background +" while code has a very dark grey background. +" ----------------------------------------------------------------------------- +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "metacosm" + +" ----------------------------------------------------------------------------- +" Primary (hyper/selected/colored background) +" ----------------------------------------------------------------------------- +" Search +hi IncSearch guibg=black guifg=cyan +hi Search guibg=black guifg=cyan + +" Visual +hi Visual guibg=yellow guifg=black +hi VisualNOS guibg=yellow guifg=black gui=underline + +" Borders +hi StatusLine guibg=black guifg=white +hi StatusLineNC guibg=black guifg=grey45 +hi VertSplit guibg=black guifg=grey45 + +" Cursors +hi Cursor guibg=white guifg=black +hi lCursor guibg=white guifg=black + +" Diff +hi DiffText guibg=red guifg=white gui=bold +hi DiffAdd guibg=darkblue guifg=white +hi DiffChange guibg=darkmagenta guifg=white +hi DiffDelete guibg=darkcyan guifg=blue gui=bold + +" Misc +hi Title guifg=magenta gui=bold +hi Question guibg=black guifg=green gui=bold +hi Todo guibg=black guifg=cyan +hi Error guibg=red guifg=white +hi WildMenu guibg=cyan guifg=black + +" ----------------------------------------------------------------------------- +" Primary (active/code/text/grey background) +" ----------------------------------------------------------------------------- +" Normal +hi Normal guibg=black guifg=white + +" Constants +hi Constant guibg=grey15 guifg=#ffa0a0 +hi String guibg=grey15 guifg=#ffa0a0 +hi Character guibg=grey15 guifg=#ffa0a0 +hi Number guibg=grey15 guifg=#ffa0a0 +hi Boolean guibg=grey15 guifg=#ffa0a0 +hi Float guibg=grey15 guifg=#ffa0a0 + +" Identifier +hi Identifier guibg=black guifg=#40ffff +hi Function guibg=black guifg=#40ffff + +" Statement +hi Statement guibg=black guifg=#ffff60 +hi Conditional guibg=black guifg=#ffff60 +hi Repeat guibg=black guifg=#ffff60 +hi Label guibg=black guifg=#ffff60 +hi Operator guibg=black guifg=#ffff60 +hi Keyword guibg=black guifg=#ffff60 +hi Exception guibg=black guifg=#ffff60 + +" PreProc +hi PreProc guibg=black guifg=#ff80ff +hi Include guibg=black guifg=#ff80ff +hi Define guibg=black guifg=#ff80ff +hi Macro guibg=black guifg=#ff80ff +hi PreCondit guibg=black guifg=#ff80ff + +" Type +hi Type guibg=black guifg=#60ff60 +hi StorageClass guibg=black guifg=#60ff60 +hi Structure guibg=black guifg=#60ff60 +hi Typedef guibg=black guifg=#60ff60 + +" Special +hi Special guibg=black guifg=orange +hi SpecialChar guibg=black guifg=orange +hi Tag guibg=black guifg=orange +hi Delimiter guibg=black guifg=orange +hi Debug guibg=black guifg=orange + +" Misc +hi Underlined guibg=black guifg=#ffff60 gui=underline + +" ----------------------------------------------------------------------------- +" Secondary (inactive/black background) +" ----------------------------------------------------------------------------- +" Comments +hi Comment guibg=black guifg=#80a0ff +hi SpecialComment guibg=black guifg=#80a0ff gui=underline + +" Messages +hi ModeMsg guibg=black guifg=white gui=bold +hi MoreMsg guibg=black guifg=seagreen gui=bold +hi WarningMsg guibg=black guifg=pink gui=bold +hi ErrorMsg guibg=black guifg=red gui=bold + +" Folding +hi Folded guibg=black guifg=grey50 +hi FoldColumn guibg=black guifg=grey30 + +" Misc +hi Ignore guibg=black guifg=grey45 +hi NonText guibg=black guifg=grey45 +hi LineNr guibg=black guifg=grey45 +hi SpecialKey guibg=black guifg=grey45 +hi SignColumn guibg=black guifg=grey45 +hi Directory guibg=black guifg=cyan + +" ----------------------------------------------------------------------------- +" Vim 7.x only +" ---------------------------------------------------------------------------- +hi MatchParen guibg=purple guifg=yellow +hi CursorLine guibg=grey5 +hi CursorColumn guibg=grey5 +hi Pmenu guibg=grey20 guifg=white +hi PmenuSel guibg=green guifg=black diff --git a/.vim/colors/midnight.vim b/.vim/colors/midnight.vim new file mode 100644 index 0000000..643b988 --- /dev/null +++ b/.vim/colors/midnight.vim @@ -0,0 +1,102 @@ +" Vim color file +" Maintainer: Michael Brailsford +" Date: $Date: 2002/11/25 20:25:54 $ +" Version: $Revision: 1.1 $ +" Inspiration: This colorscheme was inspired by midnight.vim. It is a darker +" version of it. With some colors tweaked. +" +" Thanks: Thanks go to Hans Fugal for creating the colorscheme template. +" Without it I would have been lost creating the original midnight.vim +" Thanks to Mark Lodato for providing vim7 updates. +" +" Note: If you do not like the dark look of the colorscheme, you can +" easily lighten things up with the following line: +" :%s/\(\w\)3/\12/g +" It is easily pasteable into the command line. you can also +" change "\12" to "\11", "\1" or "\14" (if you want things even +" darker). If you do use the "\14" replacement, then it looks +" like your monitor in a fog bank. :) + +" your pick: +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="midnight2" + +hi Normal guifg=slategray3 guibg=#000029 ctermfg=14 + +"Toggle semicolon matching at the end of lines +nmap ; :call ToggleSemicolonHighlighting() +"{{{ +function! ToggleSemicolonHighlighting() + if exists("b:semicolon") + unlet b:semicolon + hi semicolon guifg=NONE gui=NONE ctermfg=NONE + else + syn match semicolon #;$# + hi semicolon guifg=red3 gui=bold ctermfg=1 + let b:semicolon = 1 + endif +endfunction +"}}} + +hi Cursor guibg=fg guifg=bg ctermfg=0 ctermbg=11 +"hi CursorIM +hi Directory gui=bold +hi DiffAdd guibg=slategray4 ctermbg=0 +hi DiffChange guibg=steelblue3 guifg=bg gui=NONE +hi DiffDelete guibg=slategray4 guifg=slategray3 +hi DiffText guibg=steelblue4 gui=bold +hi ErrorMsg guibg=red3 ctermfg=1 +"hi VertSplit +hi Folded guibg=#00001a guifg=yellow3 ctermbg=4 ctermfg=11 gui=NONE +hi FoldColumn guibg=steelblue3 ctermbg=14 guifg=navyblue ctermfg=11 gui=bold +"hi SignColumn +"hi IncSearch +hi LineNr guifg=yellow3 ctermfg=3 +hi MatchParen guibg=navyblue gui=italic +hi ModeMsg guifg=yellow3 gui=bold ctermfg=3 +"hi MoreMsg( ) +"hi NonText +hi Pmenu guibg=steelblue3 guifg=bg ctermfg=7 ctermbg=4 cterm=bold +hi PmenuSel guibg=fg guifg=bg gui=bold ctermfg=4 ctermbg=7 cterm=bold +hi link PmenuSbar Pmenu +"hi PmenuThumb +"hi Question +hi Search guibg=yellow3 guifg=bg +"hi SpecialKey +"hi SpellBad +"hi SpellCap +"hi SpellLocal +"hi SpellRare +hi StatusLine guifg=steelblue3 +hi StatusLineNC guifg=steelblue4 +"hi TabLine +"hi TabLineFill +"hi TabLineSel +"hi Title +hi Visual guifg=bg guibg=fg +"hi VisualNOS +"hi WarningMsg +"hi WildMenu +"hi Menu +"hi Scrollbar +"hi Tooltip + +" syntax highlighting groups +hi Comment guifg=chartreuse3 ctermfg=10 +hi Constant guifg=plum3 gui=bold ctermfg=13 +hi String guifg=indianred3 ctermfg=5 +hi Character guifg=mediumpurple3 ctermfg=5 +hi Number guifg=turquoise3 ctermfg=5 +"hi Identifier +hi Statement guifg=khaki3 gui=bold ctermfg=15 cterm=underline +hi PreProc guifg=firebrick3 gui=italic ctermfg=9 +hi Type guifg=gold3 gui=bold ctermfg=3 +hi Special guifg=orange ctermfg=208 +hi Underlined ctermfg=white cterm=underline +"hi Ignore +"hi Error +hi Todo guifg=yellow3 guibg=blue3 gui=bold ctermfg=3 diff --git a/.vim/colors/midnight2.vim b/.vim/colors/midnight2.vim new file mode 100644 index 0000000..643b988 --- /dev/null +++ b/.vim/colors/midnight2.vim @@ -0,0 +1,102 @@ +" Vim color file +" Maintainer: Michael Brailsford +" Date: $Date: 2002/11/25 20:25:54 $ +" Version: $Revision: 1.1 $ +" Inspiration: This colorscheme was inspired by midnight.vim. It is a darker +" version of it. With some colors tweaked. +" +" Thanks: Thanks go to Hans Fugal for creating the colorscheme template. +" Without it I would have been lost creating the original midnight.vim +" Thanks to Mark Lodato for providing vim7 updates. +" +" Note: If you do not like the dark look of the colorscheme, you can +" easily lighten things up with the following line: +" :%s/\(\w\)3/\12/g +" It is easily pasteable into the command line. you can also +" change "\12" to "\11", "\1" or "\14" (if you want things even +" darker). If you do use the "\14" replacement, then it looks +" like your monitor in a fog bank. :) + +" your pick: +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="midnight2" + +hi Normal guifg=slategray3 guibg=#000029 ctermfg=14 + +"Toggle semicolon matching at the end of lines +nmap ; :call ToggleSemicolonHighlighting() +"{{{ +function! ToggleSemicolonHighlighting() + if exists("b:semicolon") + unlet b:semicolon + hi semicolon guifg=NONE gui=NONE ctermfg=NONE + else + syn match semicolon #;$# + hi semicolon guifg=red3 gui=bold ctermfg=1 + let b:semicolon = 1 + endif +endfunction +"}}} + +hi Cursor guibg=fg guifg=bg ctermfg=0 ctermbg=11 +"hi CursorIM +hi Directory gui=bold +hi DiffAdd guibg=slategray4 ctermbg=0 +hi DiffChange guibg=steelblue3 guifg=bg gui=NONE +hi DiffDelete guibg=slategray4 guifg=slategray3 +hi DiffText guibg=steelblue4 gui=bold +hi ErrorMsg guibg=red3 ctermfg=1 +"hi VertSplit +hi Folded guibg=#00001a guifg=yellow3 ctermbg=4 ctermfg=11 gui=NONE +hi FoldColumn guibg=steelblue3 ctermbg=14 guifg=navyblue ctermfg=11 gui=bold +"hi SignColumn +"hi IncSearch +hi LineNr guifg=yellow3 ctermfg=3 +hi MatchParen guibg=navyblue gui=italic +hi ModeMsg guifg=yellow3 gui=bold ctermfg=3 +"hi MoreMsg( ) +"hi NonText +hi Pmenu guibg=steelblue3 guifg=bg ctermfg=7 ctermbg=4 cterm=bold +hi PmenuSel guibg=fg guifg=bg gui=bold ctermfg=4 ctermbg=7 cterm=bold +hi link PmenuSbar Pmenu +"hi PmenuThumb +"hi Question +hi Search guibg=yellow3 guifg=bg +"hi SpecialKey +"hi SpellBad +"hi SpellCap +"hi SpellLocal +"hi SpellRare +hi StatusLine guifg=steelblue3 +hi StatusLineNC guifg=steelblue4 +"hi TabLine +"hi TabLineFill +"hi TabLineSel +"hi Title +hi Visual guifg=bg guibg=fg +"hi VisualNOS +"hi WarningMsg +"hi WildMenu +"hi Menu +"hi Scrollbar +"hi Tooltip + +" syntax highlighting groups +hi Comment guifg=chartreuse3 ctermfg=10 +hi Constant guifg=plum3 gui=bold ctermfg=13 +hi String guifg=indianred3 ctermfg=5 +hi Character guifg=mediumpurple3 ctermfg=5 +hi Number guifg=turquoise3 ctermfg=5 +"hi Identifier +hi Statement guifg=khaki3 gui=bold ctermfg=15 cterm=underline +hi PreProc guifg=firebrick3 gui=italic ctermfg=9 +hi Type guifg=gold3 gui=bold ctermfg=3 +hi Special guifg=orange ctermfg=208 +hi Underlined ctermfg=white cterm=underline +"hi Ignore +"hi Error +hi Todo guifg=yellow3 guibg=blue3 gui=bold ctermfg=3 diff --git a/.vim/colors/miko.vim b/.vim/colors/miko.vim new file mode 100644 index 0000000..f22a800 --- /dev/null +++ b/.vim/colors/miko.vim @@ -0,0 +1,40 @@ +" version 0.0.5 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "miko" + +hi Comment ctermfg=209 " #220 lines that have been commented out +hi Constant ctermfg=226 " #215 'contstants', or integers placed outside of a string +hi LineNr ctermfg=188 ctermbg=24 " foreground and background of line numbers +hi StatusLine ctermfg=24 ctermbg=188 " line at bottom of screen with filename, cursor position, etc... +hi Statement cterm=bold ctermfg=231 " if, else, etc... +hi Identifier cterm=bold ctermfg=75 " opening or closing brackets, ex: < /> +hi Special ctermfg=117 " +hi Title ctermfg=39 " +hi Normal ctermfg=153 " DEFAULT font color that will be used on all non-special characters + +hi Cursor cterm=bold ctermfg=231 ctermbg=82 +hi CursorLine cterm=reverse + +hi PreProc ctermfg=226 " term after an identifier, ex: =bold +hi Type ctermfg=83 " any variable or characters being assigned a value, ex: style=, height=, etc... + +hi Visual ctermfg=232 ctermbg=153 + + +" Error +" Todo +" Directory +" ModeMsg +" MoreMsg +" Question +" SpecialKey +" Visual +" WarningMsg +" NonText +" ErrorMsg +" Search diff --git a/.vim/colors/mint.vim b/.vim/colors/mint.vim new file mode 100644 index 0000000..995f6bd --- /dev/null +++ b/.vim/colors/mint.vim @@ -0,0 +1,77 @@ +" vim: set ts=2 sw=2 sts=2: +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "mint" +set mouseshape+=i:arrow + +" Window elements +hi Cursor guifg=#000000 guibg=#F0F0F0 +hi Folded guifg=#FFD19D guibg=#AA8C00 gui=none +hi LineNr guifg=#CCCCCC guibg=#666633 +hi NonText guifg=#CCCCCC +hi MatchParen guibg=#555555 gui=underline +hi Normal guifg=#F5F5F5 guibg=#333333 +hi CursorLine guibg=#666666 +hi StatusLine guifg=#997777 guibg=#FFFFFF +hi StatusLineNC guifg=#777777 guibg=#CCCCCC +hi Visual guifg=#EEEEEE guibg=#777799 +hi Search guibg=#AAAACC +hi Pmenu guifg=#F5F5F5 guibg=steelblue +hi PmenuSel guifg=orange guibg=steelblue + +" Main groups +hi Comment guifg=#C0C0C0 gui=italic +hi Constant guifg=#EEDDAA gui=none + +hi Statement guifg=#CCEE00 +hi Keyword guifg=#CCEE00 +hi Underlined guifg=#E0E0E0 gui=underline +hi Error guifg=#F5F5F5 guibg=darkgoldenrod + +" Tag syntax +hi Attribute guifg=#CCCCCC gui=italic + +hi String guifg=#FFCC99 +hi! link Character Constant +hi! link Number Constant +hi! link Boolean Constant +hi! link Float Constant + +hi Identifier guifg=#CCDDFF +hi Function guifg=#CCEE00 + +hi Operator guifg=#F5F5F5 +hi! link Preproc Keyword +hi! link Type Keyword + +hi! link Special Keyword +hi! link Ignore Normal +hi! link Todo Error + +hi! link Title Normal + +" minibufexplorer +hi MBENormal guifg=gray90 +hi! link MBEChanged Keyword +hi MBEVisibleNormal guibg=#AFC900 guifg=black gui=italic +hi! link MBEVisibleChanged MBEVisibleNormal + + +" HTML +hi HTMLString guifg=#F0D0C0 gui=italic + +" PLSQL +" count, max, min, etc +hi plsqlFunction guifg=#FFAAAA +" currval, nextval, etc +hi! link plsqlPseudo Keyword +hi plsqlConditional guifg=#99CCFF +hi plsqlRepeat guifg=#99CCFF +" integer, number +hi plsqlStorage guifg=wheat +hi! link plsqlTypeAttribute plsqlStorage +hi! link plsqlAttribute plsqlStorage diff --git a/.vim/colors/mizore.vim b/.vim/colors/mizore.vim new file mode 100644 index 0000000..c584c72 --- /dev/null +++ b/.vim/colors/mizore.vim @@ -0,0 +1,102 @@ +" Vim color file -- Mizore +" Maintainer: Luinnar +" Last Change: 11-Nov-2010 + +set background=dark +highlight clear + +if exists("syntax_on") + syntax reset +endif + +let g:colors_name="mizore" + +let save_cpo = &cpo +set cpo&vim + +" basic highlight groups (:help highlight-groups) + +" text + +hi Normal guifg=#00ffff ctermfg=darkcyan guibg=#000000 ctermbg=black +hi Folded guifg=#c2bfa5 ctermfg=lightgray guibg=#202020 ctermbg=black gui=underline cterm=underline +hi LineNr guifg=#928c75 ctermfg=darkgray guibg=#000000 ctermbg=black +hi Directory guifg=#00bbdd ctermfg=cyan guibg=#000000 ctermbg=black +hi NonText guifg=#77ff22 ctermfg=yellow guibg=#000000 ctermbg=black gui=bold cterm=bold +hi SpecialKey guifg=#559933 ctermfg=green guibg=#000000 ctermbg=black +hi SpellBad guifg=NONE ctermfg=white ctermbg=darkred +hi SpellCap guifg=NONE ctermfg=white ctermbg=darkblue +hi SpellLocal guifg=NONE ctermfg=black ctermbg=cyan +hi SpellRare guifg=NONE ctermfg=white ctermbg=darkmagenta +hi DiffChange guibg=#002830 ctermbg=black +hi DiffDelete guifg=#b0b0b0 ctermfg=gray guibg=#202020 ctermbg=black gui=bold cterm=NONE +hi DiffText guifg=#ff00ff ctermfg=darkred guibg=#002830 ctermbg=black gui=NONE cterm=NONE +hi DiffAdd guifg=#ff00ff ctermfg=darkred guibg=#002830 ctermbg=black + +" borders / separators / menus + +hi FoldColumn guifg=#c8bcb9 guibg=#786d65 ctermfg=lightgray ctermbg=darkgray gui=bold cterm=bold +hi SignColumn guifg=#c8bcb9 guibg=#786d65 ctermfg=lightgray ctermbg=darkgray gui=bold cterm=bold +hi Pmenu guifg=#000000 guibg=#a6a190 ctermfg=white ctermbg=darkgray +hi PmenuSel guifg=#ffffff guibg=#133293 ctermfg=white ctermbg=lightblue +hi PmenuSbar guifg=NONE guibg=#555555 ctermfg=black ctermbg=black +hi PmenuThumb guifg=NONE guibg=#cccccc ctermfg=gray ctermbg=gray +hi StatusLine guifg=#222222 guibg=#c2bfa5 ctermfg=darkgray ctermbg=yellow +hi StatusLineNC guifg=#111111 guibg=#c2bfa5 ctermfg=darkgray ctermbg=gray +hi WildMenu guifg=#ffffff guibg=#133293 ctermfg=white ctermbg=darkblue gui=bold cterm=bold +hi VertSplit guifg=#c2bfa5 guibg=#c2bfa5 ctermfg=white ctermbg=white +hi TabLine guifg=#000000 guibg=#c2bfa5 ctermfg=black ctermbg=white +hi TabLineFill guifg=#000000 guibg=#c2bfa5 ctermfg=black ctermbg=white +hi TabLineSel guifg=#ffffff guibg=#133293 ctermfg=white ctermbg=black + +"hi Menu +"hi Scrollbar +"hi Tooltip + +" cursor / dynamic / other + +hi Cursor guifg=#000000 guibg=#ffff99 ctermfg=black ctermbg=white +hi CursorIM guifg=#000000 guibg=#3b3b3b ctermfg=black ctermbg=white cterm=reverse +hi CursorLine guifg=NONE guibg=#3b3b3b +hi link CursorColumn CursorLine +hi link DebugStop CursorLine +hi Visual guibg=#003040 ctermbg=lightblue +hi Search guibg=#0080ff ctermbg=lightblue +hi MatchParen guifg=NONE ctermfg=white guibg=#3377aa ctermbg=blue + +"hi IncSearch +"hi VisualNOS + +" listings / messages + +hi ModeMsg guifg=#eecc18 ctermfg=yellow +hi Title guifg=#dd4452 ctermfg=red guibg=#000000 ctermbg=black gui=bold cterm=bold +hi Question guifg=#66d077 ctermfg=green guibg=#000000 ctermbg=black +hi MoreMsg guifg=#39d049 ctermfg=green guibg=#000000 ctermbg=black +hi ErrorMsg guifg=#ffffff ctermfg=white guibg=#ff0000 ctermbg=red gui=bold cterm=bold +hi WarningMsg guifg=#ccae22 ctermfg=yellow guibg=#000000 ctermbg=black gui=bold cterm=bold + + +" syntax highlighting groups (:help group-name) + +hi Comment guifg=#b0b0b0 ctermfg=gray guibg=#000000 ctermbg=black +hi Keyword guifg=#ffffff ctermfg=white guibg=#000000 ctermbg=black +hi Statement guifg=#ffffff ctermfg=white guibg=#000000 ctermbg=black gui=bold cterm=bold +hi StorageClass guifg=#b0ffb0 ctermfg=white guibg=#000000 ctermbg=black gui=bold cterm=NONE +hi Structure guifg=#b0ffb0 ctermfg=white guibg=#000000 ctermbg=black gui=bold cterm=NONE +hi Type guifg=#ffffff ctermfg=white guibg=#000000 ctermbg=black gui=NONE +hi Identifier guifg=#ffffff ctermfg=white guibg=#000000 ctermbg=black gui=NONE cterm=NONE +hi Operator guifg=#ffffff ctermfg=white guibg=#000000 ctermbg=black +hi Delimiter guifg=#ffffff ctermfg=white guibg=#000000 ctermbg=black +hi Todo guifg=#a00000 ctermfg=darkred guibg=#000000 ctermbg=black gui=bold cterm=bold +hi Error guifg=#ffffff ctermfg=white guibg=#ff0000 ctermbg=red +hi Function guifg=#2080ff ctermfg=blue guibg=#000000 ctermbg=black +hi Underlined guifg=#80a0ff ctermfg=cyan guibg=#000000 ctermbg=black gui=underline cterm=underline +hi Ignore guifg=#888888 ctermfg=darkgray guibg=#000000 ctermbg=black +hi Constant guifg=#e080ff ctermfg=magenta guibg=#000000 ctermbg=black +hi Number guifg=#e080ff ctermfg=magenta guibg=#000000 ctermbg=black +hi PreProc guifg=#8070ff ctermfg=darkmagenta guibg=#000000 ctermbg=black +hi Macro guifg=#8070ff ctermfg=darkmagenta guibg=#000000 ctermbg=black +hi Special guifg=#ff40ff ctermfg=magenta guibg=#000000 ctermbg=black + +let &cpo = save_cpo diff --git a/.vim/colors/mod_tcsoft.vim b/.vim/colors/mod_tcsoft.vim new file mode 100644 index 0000000..b36dab2 --- /dev/null +++ b/.vim/colors/mod_tcsoft.vim @@ -0,0 +1,68 @@ +"mod_tcsoft is based on the tcsoft-color scheme +"(http://www.vim.org/scripts/script.php?script_id=641), made by Ingo Fabbri +" +" +"I changed the cursor and the background-colors. Hope you like it. + +" Author: Andr Kelpe +" Last Change: Jan 13 10:33:46 CET 2005 +" + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let colors_name = "mod_tcsoft" + +hi Normal guifg=#000000 guibg=floralwhite +hi Ignore guifg=bg +hi Comment guifg=#1050ff gui=italic +hi Folded guifg=black guibg=#d1cdc5 +hi FoldColumn guifg=black guibg=#d1cdc5 +hi Constant guifg=#666666 gui=NONE "grau +hi Special guifg=#FF0000 gui=NONE "rot +hi Identifier guifg=#993300 gui=NONE "rostfarbig +hi Statement guifg=#FF9900 gui=NONE "orange +hi PreProc guifg=#009900 gui=NONE "dunkelgrn +hi Type guifg=#FF9900 gui=bold "orange +hi Cursor guifg=#FFFFFF guibg=#000000 "schwarz +hi LineNr guifg=#000000 gui=NONE "schwarz +hi StatusLine guifg=#000000 gui=reverse,bold "schwarz +hi Title guifg=#1050ff gui=bold +hi Todo guibg=#1050ff guifg=floralwhite gui=bold +hi Search guifg=white guibg=#1050ff + + +hi link Function PreProc +hi link String Constant +hi link Character Constant + +hi! link MoreMsg Comment +hi! link ErrorMsg Visual +hi! link WarningMsg ErrorMsg +hi! link Question Comment + +hi link Number Special +hi link Boolean Constant +hi link Float Number + +hi link Operator Identifier +hi link Keyword Statement +hi link Exception Statement +hi link Include PreProc +hi link Define PreProc +hi link Macro PreProc + +hi link Conditional Statement +hi link Repeat Statement +hi link Label Statement + +hi link PreCondit PreProc +hi link StorageClass Type +hi link Structure Type +hi link Typedef Type +hi link SpecialChar Special +hi link Delimiter Special +hi link SpecialComment Comment +hi link Debug Special diff --git a/.vim/colors/molokai.vim b/.vim/colors/molokai.vim new file mode 100644 index 0000000..aae9420 --- /dev/null +++ b/.vim/colors/molokai.vim @@ -0,0 +1,211 @@ +" Vim color file +" +" Author: Tomas Restrepo +" +" 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 diff --git a/.vim/colors/montz.vim b/.vim/colors/montz.vim new file mode 100644 index 0000000..56edff6 --- /dev/null +++ b/.vim/colors/montz.vim @@ -0,0 +1,26 @@ +" Vim color file +" Maintainer: Connor Berry +" Last Change: 2006/05/25 +" Version: 1.0 + +set background=light +highlight clear +if exists("syntax on") + syntax reset +endif + +let g:colors_name = "montz" + +highlight Normal term=none ctermfg=black cterm=none ctermbg=white guifg=black gui=none guibg=white +highlight Comment term=none ctermfg=darkblue guifg=darkblue +highlight Constant term=none ctermfg=red cterm=none guifg=red gui=none +highlight Special term=none ctermfg=red cterm=bold guifg=red gui=bold +highlight Identifier term=none ctermfg=red cterm=none guifg=red gui=none +highlight Statement term=bold ctermfg=DarkGrey cterm=bold guifg=DarkGrey gui=bold +highlight Operator term=bold ctermfg=DarkGrey cterm=bold guifg=DarkGrey gui=bold +highlight PreProc term=bold ctermfg=lightgreen cterm=none guifg=green gui=none +highlight Type term=bold ctermfg=black cterm=none guifg=black gui=none +highlight String term=none ctermfg=magenta cterm=none guifg=magenta gui=none +highlight Number term=none ctermfg=red cterm=none guifg=red gui=none + +" vim:ts=2:sw=2:et diff --git a/.vim/colors/mophiaDark.vim b/.vim/colors/mophiaDark.vim new file mode 100644 index 0000000..14c70fd --- /dev/null +++ b/.vim/colors/mophiaDark.vim @@ -0,0 +1,85 @@ +" Vim color file +" mophiaDark.vim +" +" Maintainer: Om Narasimhan +" +" * Place :colorscheme mophiaDark in your .gvimrc + +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="mophiaDark" + +if has("gui_running") +set background=dark +" Start of colorscheme +hi Normal guifg=Papayawhip guibg=#000f1a +hi NonText guifg=ForestGreen gui=bold +hi CursorLine guibg=#0a262f + +hi Folded guibg=#437255 guifg=grey +hi link FoldColumn Folded +hi LineNr guibg=DarkSlateGrey guifg=LightBlue +hi StatusLineNC guifg=#30433a guibg=Gray +hi StatusLine guibg=#156050 guifg=yellow gui=bold +hi VertSplit guibg=MidnightBlue guifg=White gui=none +hi MatchParen guibg=DeepSkyBlue guifg=Black + +hi Comment guifg=MediumSpringGreen gui=italic +hi Title guifg=#e5e5ca gui=none +hi Statement guifg=AliceBlue gui=none +hi Type guifg=PaleGreen1 gui=bold +hi Constant guifg=Seashell2 +hi Number guifg=DarkOliveGreen1 +hi PreProc guifg=Turquoise1 +hi Special guifg=DarkSeaGreen3 +hi Ignore guifg=grey40 +hi Todo guifg=orangered guibg=yellow2 +hi Error guibg=Sienna1 +hi Conditional gui=bold guifg=DarkOliveGreen1 +hi Operator gui=bold guifg=cyan1 +hi link Keyword Operator +hi Directory guifg=coral +hi Cursor guibg=Salmon1 guifg=black +hi Search guibg=yellow guifg=Black +hi IncSearch guibg=#5a7570 guifg=Black gui=bold + + +" hi Function guifg=#bab588 guibg=bg gui=bold +" hi Identifier guifg=#5094c4 +" highlight Repeat gui=None guifg=#e06070 guibg=bg +"hi Label gui=None guifg=LightGreen guibg=bg +" highlight Exception gui=bold guifg=#d0a8ad guibg=bg +"end syntax highlighting """"""""""""""""""""""""""""""""""""" + +" highlight groups +"hi CursorIM +hi DiffText guibg=#704335 +hi DiffChange guibg=#685b5c +hi DiffAdd guibg=#0a4b8c +hi DiffDelete guifg=#9088a5 guibg=#500845 +hi ErrorMsg guibg=#ff4545 + +hi ModeMsg guifg=#00AACC +hi MoreMsg guifg=SeaGreen +hi Question guifg=#AABBCC +hi SpecialKey guifg=#90dcb0 +hi Visual guifg=#102030 guibg=#80a0f0 +hi VisualNOS guifg=#100a20 guibg=#a3a5FF +hi WarningMsg guifg=salmon +"hi WildMenu +"hi Menu +"hi Scrollbar guibg=grey30 guifg=tan +"hi Tooltip + + +" new Vim 7.0 items +" hi Pmenu guibg=#3a6595 guifg=#9aadd5 +" hi PmenuSel guibg=#4a85ba guifg=#b0d0f0 +endif diff --git a/.vim/colors/mophiaSmoke.vim b/.vim/colors/mophiaSmoke.vim new file mode 100644 index 0000000..662c5f7 --- /dev/null +++ b/.vim/colors/mophiaSmoke.vim @@ -0,0 +1,91 @@ +" Vim color file +" Maintainer: Om Narasimhan +" Last Change: Fri Jan 14 14:23:03 PST 2011 +" Version: 0.9a +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +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="mophiaSmoke" + +if has("gui_running") +set background=light +highlight Normal guibg=WhiteSmoke guifg=MidnightBlue +highlight NonText gui=bold guibg=grey90 guifg=Blue +highlight Directory guifg=Blue +highlight ErrorMsg guifg=White guibg=Red +highlight IncSearch gui=reverse +highlight Search guibg=Yellow +highlight LineNr guifg=Brown guibg=lavender +highlight StatusLineNC gui=NONE guibg=LightSteelBlue guifg=MidNightBlue +highlight StatusLine gui=NONE guibg=MediumOrchid guifg=White gui=bold +highlight VertSplit gui=NONE guibg=peachpuff guifg=blue +highlight Visual guibg=LightGrey +highlight Folded guifg=Yellow guibg=RoyalBlue +highlight CursorLine guibg=honeydew +highlight Cursor guibg=DarkViolet guifg=bg +highlight MatchParen guibg=MediumSpringGreen +highlight Comment guifg=RoyalBlue3 gui=italic +highlight Constant guifg=Blue3 +highlight Identifier guifg=DodgerBlue4 +highlight Statement gui=bold guifg=Brown +highlight PreProc guifg=Purple +highlight Type guifg=BlueViolet gui=bold +highlight Underlined gui=underline guifg=SlateBlue +highlight Ignore guifg=grey85 +highlight Error guifg=White guibg=Red +highlight Todo guifg=Blue guibg=Yellow +highlight DiffText gui=bold guibg=DarkOrange +highlight DiffDelete gui=bold guifg=Blue guibg=IndianRed +highlight DiffChange guibg=Orchid +highlight DiffAdd guibg=HotPink +highlight WarningMsg guifg=Red gui=bold +highlight MoreMsg gui=bold guifg=DeepPink4 +highlight String gui=italic guibg=AntiqueWhite guifg=blue1 + +" highlight TabLine gui=underline guibg=LightGrey +" highlight TabLineSel gui=bold +" highlight TabLineFill gui=reverse +" highlight lCursor guifg=bg guibg=fg +" highlight Special guifg=SlateBlue +" +highlight link FoldColumn Folded +highlight link String Constant +highlight link Character Constant +highlight link Number Constant +highlight link Boolean Constant +highlight link Float Number +highlight link Function Identifier +highlight link Conditional Statement +highlight link Repeat Statement +highlight link Label Statement +highlight link Operator Statement +highlight link Keyword Statement +highlight link Exception Statement +highlight link Include PreProc +highlight link Define PreProc +highlight link Macro PreProc +highlight link PreCondit PreProc +highlight link StorageClass Type +highlight link Structure Type +highlight link Typedef Type +highlight link Tag Special +highlight link SpecialChar Special +highlight link Delimiter Special +highlight link SpecialComment Special +highlight link Debug Special +highlight link Title MoreMsg +highlight link ModeMsg Moremsg +highlight link CursorColumn CursorLine +highlight link Question WarningMsg + +endif diff --git a/.vim/colors/moria.vim b/.vim/colors/moria.vim new file mode 100644 index 0000000..6562cb7 --- /dev/null +++ b/.vim/colors/moria.vim @@ -0,0 +1,247 @@ +if exists("g:moria_style") + let s:moria_style = g:moria_style +else + let s:moria_style = &background +endif + +if exists("g:moria_monochrome") + let s:moria_monochrome = g:moria_monochrome +else + let s:moria_monochrome = 0 +endif + +if exists("g:moria_fontface") + let s:moria_fontface = g:moria_fontface +else + let s:moria_fontface = "plain" +endif + +execute "command! -nargs=1 Colo let g:moria_style = \"\" | colo moria" + +if s:moria_style == "black" || s:moria_style == "dark" + set background=dark +elseif s:moria_style == "light" || s:moria_style == "white" + set background=light +else + let s:moria_style = &background +endif + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "moria" + +if &background == "dark" + if s:moria_style == "dark" + hi Normal ctermbg=Black ctermfg=LightGray guibg=#202020 guifg=#d0d0d0 gui=none + + hi CursorColumn ctermbg=DarkGray ctermfg=White guibg=#404040 gui=none + hi CursorLine ctermbg=DarkGray ctermfg=White guibg=#404040 gui=none + elseif s:moria_style == "black" + hi Normal ctermbg=Black ctermfg=LightGray guibg=#000000 guifg=#d0d0d0 gui=none + + hi CursorColumn ctermbg=DarkGray ctermfg=White guibg=#3a3a3a gui=none + hi CursorLine ctermbg=DarkGray ctermfg=White guibg=#3a3a3a gui=none + endif + if s:moria_monochrome == 1 + hi FoldColumn ctermbg=bg guibg=bg guifg=#a0a0a0 gui=none + hi LineNr guifg=#a0a0a0 gui=none + hi MoreMsg guibg=bg guifg=#b6b6b6 gui=bold + hi NonText ctermfg=DarkGray guibg=bg guifg=#a0a0a0 gui=bold + hi Pmenu guibg=#909090 guifg=#000000 gui=none + hi PmenuSbar guibg=#707070 guifg=fg gui=none + hi PmenuThumb guibg=#d0d0d0 guifg=bg gui=none + hi SignColumn ctermbg=bg guibg=bg guifg=#a0a0a0 gui=none + hi StatusLine ctermbg=LightGray ctermfg=Black guibg=#4c4c4c guifg=fg gui=bold + hi StatusLineNC ctermbg=DarkGray ctermfg=Black guibg=#404040 guifg=fg gui=none + hi TabLine guibg=#6e6e6e guifg=fg gui=underline + hi TabLineFill guibg=#6e6e6e guifg=fg gui=underline + hi VertSplit ctermbg=LightGray ctermfg=Black guibg=#404040 guifg=fg gui=none + if s:moria_fontface == "mixed" + hi Folded guibg=#4e4e4e guifg=#c0c0c0 gui=bold + else + hi Folded guibg=#4e4e4e guifg=#c0c0c0 gui=none + endif + else + hi FoldColumn ctermbg=bg guibg=bg guifg=#8fa5d1 gui=none + hi LineNr guifg=#8fa5d1 gui=none + hi MoreMsg guibg=bg guifg=#97abd5 gui=bold + hi NonText ctermfg=DarkGray guibg=bg guifg=#8fa5d1 gui=bold + hi Pmenu guibg=#6381be guifg=#000000 gui=none + hi PmenuSbar guibg=#41609e guifg=fg gui=none + hi PmenuThumb guibg=#bdcae3 guifg=bg gui=none + hi SignColumn ctermbg=bg guibg=bg guifg=#8fa5d1 gui=none + hi StatusLine ctermbg=LightGray ctermfg=Black guibg=#334b7d guifg=fg gui=bold + hi StatusLineNC ctermbg=DarkGray ctermfg=Black guibg=#25365a guifg=fg gui=none + hi TabLine guibg=#41609e guifg=fg gui=underline + hi TabLineFill guibg=#41609e guifg=fg gui=underline + hi VertSplit ctermbg=LightGray ctermfg=Black guibg=#25365a guifg=fg gui=none + if s:moria_fontface == "mixed" + hi Folded guibg=#4e4e4e guifg=#bdcae3 gui=bold + else + hi Folded guibg=#4e4e4e guifg=#bdcae3 gui=none + endif + endif + hi Cursor guibg=#ffa500 guifg=bg gui=none + hi DiffAdd guibg=#008b00 guifg=fg gui=none + hi DiffChange guibg=#00008b guifg=fg gui=none + hi DiffDelete guibg=#8b0000 guifg=fg gui=none + hi DiffText guibg=#0000cd guifg=fg gui=bold + hi Directory guibg=bg guifg=#1e90ff gui=none + hi ErrorMsg guibg=#ee2c2c guifg=#ffffff gui=bold + hi IncSearch guibg=#e0cd78 guifg=#000000 gui=none + hi ModeMsg guibg=bg guifg=fg gui=bold + hi PmenuSel guibg=#e0e000 guifg=#000000 gui=none + hi Question guibg=bg guifg=#e8b87e gui=bold + hi Search guibg=#90e090 guifg=#000000 gui=none + hi SpecialKey guibg=bg guifg=#e8b87e gui=none + if has("spell") + hi SpellBad guisp=#ee2c2c gui=undercurl + hi SpellCap guisp=#2c2cee gui=undercurl + hi SpellLocal guisp=#2ceeee gui=undercurl + hi SpellRare guisp=#ee2cee gui=undercurl + endif + hi TabLineSel guibg=bg guifg=fg gui=bold + hi Title ctermbg=Black ctermfg=White guifg=fg gui=bold + if version >= 700 + hi Visual ctermbg=LightGray ctermfg=Black guibg=#606060 gui=none + else + hi Visual ctermbg=LightGray ctermfg=Black guibg=#606060 guifg=fg gui=none + endif + hi VisualNOS ctermbg=DarkGray ctermfg=Black guibg=bg guifg=#a0a0a0 gui=bold,underline + hi WarningMsg guibg=bg guifg=#ee2c2c gui=bold + hi WildMenu guibg=#e0e000 guifg=#000000 gui=bold + + hi Comment guibg=bg guifg=#d0d0a0 gui=none + hi Constant guibg=bg guifg=#87df71 gui=none + hi Error guibg=bg guifg=#ee2c2c gui=none + hi Identifier guibg=bg guifg=#7ee0ce gui=none + hi Ignore guibg=bg guifg=bg gui=none + hi lCursor guibg=#00e700 guifg=#000000 gui=none + hi MatchParen guibg=#008b8b gui=none + hi PreProc guibg=bg guifg=#d7a0d7 gui=none + hi Special guibg=bg guifg=#e8b87e gui=none + hi Todo guibg=#e0e000 guifg=#000000 gui=none + hi Underlined ctermbg=Black ctermfg=White guibg=bg guifg=#00a0ff gui=underline + + if s:moria_fontface == "mixed" + hi Statement guibg=bg guifg=#7ec0ee gui=bold + hi Type guibg=bg guifg=#f09479 gui=bold + else + hi Statement guibg=bg guifg=#7ec0ee gui=none + hi Type guibg=bg guifg=#f09479 gui=none + endif + + hi htmlBold ctermbg=Black ctermfg=White guibg=bg guifg=fg gui=bold + hi htmlBoldItalic ctermbg=Black ctermfg=White guibg=bg guifg=fg gui=bold,italic + hi htmlBoldUnderline ctermbg=Black ctermfg=White guibg=bg guifg=fg gui=bold,underline + hi htmlBoldUnderlineItalic ctermbg=Black ctermfg=White guibg=bg guifg=fg gui=bold,underline,italic + hi htmlItalic ctermbg=Black ctermfg=White guibg=bg guifg=fg gui=italic + hi htmlUnderline ctermbg=Black ctermfg=White guibg=bg guifg=fg gui=underline + hi htmlUnderlineItalic ctermbg=Black ctermfg=White guibg=bg guifg=fg gui=underline,italic +elseif &background == "light" + if s:moria_style == "light" + hi Normal ctermbg=White ctermfg=Black guibg=#f0f0f0 guifg=#000000 gui=none + + hi CursorColumn ctermbg=LightGray ctermfg=Black guibg=#d8d8d8 gui=none + hi CursorLine ctermbg=LightGray ctermfg=Black guibg=#d8d8d8 gui=none + elseif s:moria_style == "white" + hi Normal ctermbg=White ctermfg=Black guibg=#ffffff guifg=#000000 gui=none + + hi CursorColumn ctermbg=LightGray ctermfg=Black guibg=#dfdfdf gui=none + hi CursorLine ctermbg=LightGray ctermfg=Black guibg=#dfdfdf gui=none + endif + if s:moria_monochrome == 1 + hi FoldColumn ctermbg=bg guibg=bg guifg=#7a7a7a gui=none + hi Folded guibg=#cfcfcf guifg=#404040 gui=bold + hi LineNr guifg=#7a7a7a gui=none + hi MoreMsg guibg=bg guifg=#505050 gui=bold + hi NonText ctermfg=DarkGray guibg=bg guifg=#7a7a7a gui=bold + hi Pmenu guibg=#9a9a9a guifg=#000000 gui=none + hi PmenuSbar guibg=#808080 guifg=fg gui=none + hi PmenuThumb guibg=#c0c0c0 guifg=fg gui=none + hi SignColumn ctermbg=bg guibg=bg guifg=#7a7a7a gui=none + hi StatusLine ctermbg=Black ctermfg=White guibg=#a0a0a0 guifg=fg gui=bold + hi StatusLineNC ctermbg=LightGray ctermfg=Black guibg=#b0b0b0 guifg=fg gui=none + hi TabLine guibg=#cdcdcd guifg=fg gui=underline + hi TabLineFill guibg=#cdcdcd guifg=fg gui=underline + hi VertSplit ctermbg=LightGray ctermfg=Black guibg=#b0b0b0 guifg=fg gui=none + else + hi FoldColumn ctermbg=bg guibg=bg guifg=#375288 gui=none + hi Folded guibg=#cfcfcf guifg=#25365a gui=bold + hi LineNr guifg=#375288 gui=none + hi MoreMsg guibg=bg guifg=#2f4471 gui=bold + hi NonText ctermfg=DarkGray guibg=bg guifg=#375288 gui=bold + hi Pmenu guibg=#708bc5 guifg=#000000 gui=none + hi PmenuSbar guibg=#4a6db5 guifg=fg gui=none + hi PmenuThumb guibg=#a6b7db guifg=fg gui=none + hi SignColumn ctermbg=bg guibg=bg guifg=#375288 gui=none + hi StatusLine ctermbg=Black ctermfg=White guibg=#8fa5d1 guifg=fg gui=bold + hi StatusLineNC ctermbg=LightGray ctermfg=Black guibg=#a6b7db guifg=fg gui=none + hi TabLine guibg=#b8c6e2 guifg=fg gui=underline + hi TabLineFill guibg=#b8c6e2 guifg=fg gui=underline + hi VertSplit ctermbg=LightGray ctermfg=Black guibg=#a6b7db guifg=fg gui=none + endif + hi Cursor guibg=#883400 guifg=bg gui=none + hi DiffAdd guibg=#008b00 guifg=#ffffff gui=none + hi DiffChange guibg=#00008b guifg=#ffffff gui=none + hi DiffDelete guibg=#8b0000 guifg=#ffffff gui=none + hi DiffText guibg=#0000cd guifg=#ffffff gui=bold + hi Directory guibg=bg guifg=#0000f0 gui=none + hi ErrorMsg guibg=#ee2c2c guifg=#ffffff gui=bold + hi IncSearch guibg=#ffcd78 gui=none + hi ModeMsg ctermbg=White ctermfg=Black guibg=bg guifg=fg gui=bold + hi PmenuSel guibg=#ffff00 guifg=#000000 gui=none + hi Question guibg=bg guifg=#813f11 gui=bold + hi Search guibg=#a0f0a0 gui=none + hi SpecialKey guibg=bg guifg=#912f11 gui=none + if has("spell") + hi SpellBad guisp=#ee2c2c gui=undercurl + hi SpellCap guisp=#2c2cee gui=undercurl + hi SpellLocal guisp=#008b8b gui=undercurl + hi SpellRare guisp=#ee2cee gui=undercurl + endif + hi TabLineSel guibg=bg guifg=fg gui=bold + hi Title guifg=fg gui=bold + if version >= 700 + hi Visual ctermbg=LightGray ctermfg=Black guibg=#c4c4c4 gui=none + else + hi Visual ctermbg=LightGray ctermfg=Black guibg=#c4c4c4 guifg=fg gui=none + endif + hi VisualNOS ctermbg=DarkGray ctermfg=Black guibg=bg guifg=#a0a0a0 gui=bold,underline + hi WarningMsg guibg=bg guifg=#ee2c2c gui=bold + hi WildMenu guibg=#ffff00 guifg=fg gui=bold + + hi Comment guibg=bg guifg=#786000 gui=none + hi Constant guibg=bg guifg=#077807 gui=none + hi Error guibg=bg guifg=#ee2c2c gui=none + hi Identifier guibg=bg guifg=#007080 gui=none + hi Ignore guibg=bg guifg=bg gui=none + hi lCursor guibg=#008000 guifg=#ffffff gui=none + hi MatchParen guibg=#00ffff gui=none + hi PreProc guibg=bg guifg=#800090 gui=none + hi Special guibg=bg guifg=#912f11 gui=none + hi Statement guibg=bg guifg=#1f3f81 gui=bold + hi Todo guibg=#ffff00 guifg=fg gui=none + hi Type guibg=bg guifg=#912f11 gui=bold + hi Underlined ctermbg=White ctermfg=Black guibg=bg guifg=#0000cd gui=underline + + hi htmlBold ctermbg=White ctermfg=Black guibg=bg guifg=fg gui=bold + hi htmlBoldItalic ctermbg=White ctermfg=Black guibg=bg guifg=fg gui=bold,italic + hi htmlBoldUnderline ctermbg=White ctermfg=Black guibg=bg guifg=fg gui=bold,underline + hi htmlBoldUnderlineItalic ctermbg=White ctermfg=Black guibg=bg guifg=fg gui=bold,underline,italic + hi htmlItalic ctermbg=White ctermfg=Black guibg=bg guifg=fg gui=italic + hi htmlUnderline ctermbg=White ctermfg=Black guibg=bg guifg=fg gui=underline + hi htmlUnderlineItalic ctermbg=White ctermfg=Black guibg=bg guifg=fg gui=underline,italic +endif + +hi! default link bbcodeBold htmlBold +hi! default link bbcodeBoldItalic htmlBoldItalic +hi! default link bbcodeBoldItalicUnderline htmlBoldUnderlineItalic +hi! default link bbcodeBoldUnderline htmlBoldUnderline +hi! default link bbcodeItalic htmlItalic +hi! default link bbcodeItalicUnderline htmlUnderlineItalic +hi! default link bbcodeUnderline htmlUnderline diff --git a/.vim/colors/moss.vim b/.vim/colors/moss.vim new file mode 100644 index 0000000..c7e617b --- /dev/null +++ b/.vim/colors/moss.vim @@ -0,0 +1,243 @@ +" ------------------------------------------------------------------ +" Vim color file +" Name: moss (苔) +" Maintainer: Li Chunlin +" Last Change: 2010-08-06 +" Version: 2.1 +" URL: http://vim.sourceforge.net/script.php?script_id=2779 +" ------------------------------------------------------------------ + +" Init +" ------------------------------------------------------------------ +set background=dark +highlight clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "moss" + +if has("gui_running") + " Highlighting groups for various occasions + " ------------------------------------------------------------------ + hi SpecialKey guifg=RosyBrown4 + hi NonText guifg=MidnightBlue guibg=#0C2628 + hi Directory gui=BOLD guifg=DarkOliveGreen3 + hi ErrorMsg guifg=LightGoldenRod guibg=Firebrick + hi IncSearch gui=BOLD guifg=Firebrick1 + hi Search gui=REVERSE guifg=NONE guibg=NONE + hi MoreMsg guifg=DarkCyan + hi ModeMsg guifg=OliveDrab2 + hi LineNr guifg=DarkSeaGreen3 guibg=#0C2628 + hi Question guifg=Green + hi StatusLine gui=BOLD guifg=LemonChiffon3 guibg=#334680 + hi StatusLineNC gui=BOLD guifg=Honeydew4 guibg=Gray26 + hi VertSplit gui=BOLD guifg=Gray20 guibg=Gray26 + hi Title gui=BOLD guifg=RoyalBlue3 + hi Visual guifg=PowderBlue guibg=#22364C + hi VisualNOS gui=BOLD,UNDERLINE guifg=SlateGray + hi WarningMsg guifg=Gold + hi WildMenu gui=BOLD guifg=Black guibg=Chartreuse3 + hi Folded guifg=PaleGreen3 guibg=DarkSlateGray + hi FoldColumn gui=BOLD guifg=PaleGreen3 guibg=DarkSlateGray + hi DiffAdd guifg=SandyBrown guibg=DarkOliveGreen + hi DiffChange guibg=#3C444C + hi DiffDelete guifg=Gray20 guibg=Black + hi DiffText guifg=Chocolate guibg=#033B40 + + " new Vim 7.0 items + if v:version >= 700 + hi CursorColumn guibg=#063C36 + hi CursorLine guibg=#063C36 + hi SignColumn guifg=PaleGoldenrod guibg=Turquoise4 + hi TabLine guifg=CornflowerBlue guibg=Gray26 + hi TabLineSel guifg=RoyalBlue guibg=#082926 + hi TabLineFill gui=UNDERLINE guifg=CornflowerBlue guibg=Gray20 + hi Pmenu guifg=White guibg=MediumPurple4 + hi PmenuSel guifg=Wheat guibg=#22364C + hi PmenuSbar guifg=Tan guibg=SeaShell4 + hi PmenuThumb guifg=IndianRed guibg=SeaShell4 + hi MatchParen gui=BOLD guifg=GoldenRod guibg=DarkCyan + endif + + hi Cursor guifg=Black guibg=LimeGreen + hi CursorIM guifg=Black guibg=OrangeRed + + " Syntax highlighting groups + " ------------------------------------------------------------------ + + hi Normal gui=NONE guifg=LightBlue3 guibg=#082926 + hi Comment gui=ITALIC guifg=BurlyWood4 + + hi Constant gui=NONE guifg=CadetBlue3 + hi link String Constant + hi link Character Constant + hi Number gui=NONE guifg=Turquoise3 + hi link Boolean Number + hi link Float Number + + hi Identifier gui=NONE guifg=SteelBlue3 + hi Function gui=NONE guifg=Aquamarine3 + + hi Statement gui=NONE guifg=SpringGreen3 + hi link Conditional Statement + hi link Repeat Statement + hi link Label Statement + hi Operator gui=NONE guifg=SeaGreen3 + hi link Keyword Statement + hi link Exception Statement + + hi PreProc gui=NONE guifg=DodgerBlue3 + hi link Include PreProc + hi link Define PreProc + hi link Macro PreProc + hi link PreCondit PreProc + + hi Type gui=NONE guifg=DeepSkyBlue3 + hi link StorageClass Type + hi link Structure Type + hi link Typedef Type + + hi Special gui=NONE guifg=SlateBlue + hi link Specialchar Special + hi link Tag Special + hi link Delimiter Special + hi link Debug Special + + hi Underlined gui=UNDERLINE guifg=SkyBlue3 + hi Ignore gui=NONE guifg=Gray18 + hi Error gui=NONE guifg=Khaki3 guibg=VioletRed4 + hi Todo gui=BOLD guifg=GoldenRod3 guibg=NONE + +elseif &t_Co == 88 || &t_Co == 256 + + " Highlighting groups for various occasions + " ------------------------------------------------------------------ + hi SpecialKey ctermfg=95 + hi NonText ctermfg=17 + hi Directory cterm=bold ctermfg=149 + hi ErrorMsg ctermfg=228 ctermbg=124 + hi IncSearch cterm=bold ctermfg=203 + hi Search cterm=reverse ctermfg=152 + hi MoreMsg ctermfg=30 + hi ModeMsg ctermfg=191 + hi LineNr ctermfg=151 + hi Question ctermfg=46 + hi StatusLine cterm=bold ctermfg=187 ctermbg=60 + hi StatusLineNC cterm=bold ctermfg=108 ctermbg=238 + hi VertSplit cterm=bold cterm=bold ctermfg=236 ctermbg=238 + hi Title ctermfg=68 + hi Visual ctermfg=152 ctermbg=60 + hi VisualNOS cterm=bold,underline ctermfg=60 + hi WarningMsg ctermfg=220 + hi WildMenu cterm=bold ctermfg=16 ctermbg=76 + hi Folded ctermfg=114 ctermbg=66 + hi FoldColumn cterm=bold ctermfg=114 ctermbg=66 + hi DiffAdd ctermfg=215 ctermbg=107 + hi DiffChange ctermbg=60 + hi DiffDelete ctermfg=236 ctermbg=16 + hi DiffText ctermfg=166 ctermbg=23 + + " new Vim 7.0 items + if v:version >= 700 + hi SignColumn ctermfg=229 ctermbg=30 + hi TabLine ctermfg=69 ctermbg=238 + hi TabLineSel ctermfg=69 + hi TabLineFill cterm=underline ctermfg=69 ctermbg=236 + hi Pmenu ctermfg=231 ctermbg=97 + hi PmenuSel ctermfg=223 ctermbg=60 + hi PmenuSbar ctermfg=180 ctermbg=245 + hi PmenuThumb ctermfg=167 ctermbg=245 + hi MatchParen cterm=bold ctermfg=172 ctermbg=30 + endif + + hi Cursor ctermfg=16 ctermbg=77 + hi CursorIM ctermfg=16 ctermbg=202 + + " Syntax highlighting groups + " ------------------------------------------------------------------ + hi Normal ctermfg=152 ctermbg=232 + hi Comment cterm=NONE ctermfg=101 + + hi Constant ctermfg=116 + hi String ctermfg=116 + hi Character ctermfg=116 + hi Number ctermfg=44 + hi Boolean ctermfg=116 + hi Float ctermfg=116 + + hi Identifier ctermfg=74 + hi Function ctermfg=79 + + hi Statement ctermfg=41 + hi Conditional ctermfg=41 + hi Repeat ctermfg=41 + hi Label ctermfg=41 + hi Operator ctermfg=78 + hi Keyword ctermfg=41 + hi Exception ctermfg=41 + + hi PreProc ctermfg=26 + hi Include ctermfg=26 + hi Define ctermfg=26 + hi Macro ctermfg=26 + hi PreCondit ctermfg=26 + + hi Type ctermfg=38 + hi StorageClass ctermfg=38 + hi Structure ctermfg=38 + hi Typedef ctermfg=38 + + hi Special ctermfg=62 + hi Specialchar ctermfg=62 + hi Tag ctermfg=62 + hi Delimiter ctermfg=62 + hi Debug ctermfg=62 + + hi Underlined cterm=underline ctermfg=74 + hi Ignore ctermfg=236 + hi Error ctermfg=186 ctermbg=89 + hi Todo cterm=bold ctermfg=172 ctermbg=NONE + +else + + " Highlighting groups for various occasions + " ------------------------------------------------------------------ + hi SpecialKey ctermfg=LightMagenta + hi NonText ctermfg=Black + hi Directory cterm=bold ctermfg=LightYellow + hi ErrorMsg ctermfg=Yellow ctermbg=Red + hi IncSearch cterm=bold ctermfg=Red + hi Search cterm=reverse ctermfg=Yellow + hi MoreMsg ctermfg=DarkCyan + hi ModeMsg ctermfg=Yellow + hi LineNr ctermfg=Gray + hi Question ctermfg=Green + hi StatusLine cterm=bold ctermfg=Gray ctermbg=DarkBlue + hi StatusLineNC cterm=bold ctermfg=Black ctermbg=Gray + hi VertSplit cterm=bold cterm=bold ctermfg=DarkGray ctermbg=Gray + hi Title ctermfg=Blue + hi Visual ctermfg=Blue ctermbg=LightGreen + hi VisualNOS cterm=bold,underline ctermfg=DarkBlue + hi WarningMsg ctermfg=Yellow + hi WildMenu cterm=bold ctermfg=Black ctermbg=Green + hi Folded ctermfg=LightGray ctermbg=DarkCyan + hi FoldColumn cterm=bold ctermfg=LightGray ctermbg=DarkCyan + hi Cursor ctermfg=Black ctermbg=Green + hi CursorIM ctermfg=Black ctermbg=Red + + " Syntax highlighting groups + " ------------------------------------------------------------------ + hi Normal ctermfg=White ctermbg=Black + hi Comment cterm=NONE ctermfg=Gray + hi Constant ctermfg=LightCyan + hi Identifier ctermfg=DarkCyan + hi Statement ctermfg=Green + hi PreProc ctermfg=DarkBlue + hi Type ctermfg=DarkCyan + hi Special ctermfg=LightBlue + hi Underlined cterm=underline + hi Ignore ctermfg=Black + hi Error ctermfg=LightYellow ctermbg=DarkMagenta + hi Todo cterm=bold ctermfg=LightYellow + +endif diff --git a/.vim/colors/motus.vim b/.vim/colors/motus.vim new file mode 100644 index 0000000..146e88d --- /dev/null +++ b/.vim/colors/motus.vim @@ -0,0 +1,66 @@ +" Vim color file +" Dark (grey on black) color scheme based on on a popular torte config. +" Maintainer: Sergei Matusevich +" ICQ: 31114346 Yahoo: motus2 +" http://motus.kiev.ua/motus2/Files/motus.vim +" Last Change: 3 November 2005 +" Orinal torte screme maintainer: Thorsten Maerz +" Licence: Public Domain + +" INSTALLATION: copy this file to ~/.vim/colors/ directory +" and add "colorscheme motus" to your ~/.vimrc file + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +"colorscheme default +let g:colors_name = "motus" + +" hardcoded colors : +" GUI Comment : #80a0ff = Light blue + +" GUI +highlight Normal guifg=Grey80 guibg=Black +highlight Search guifg=Grey guibg=DarkBlue +highlight Visual guifg=Black guibg=DarkGrey gui=NONE +" highlight Cursor guifg=Black guibg=Green gui=bold +highlight Special guifg=Orange +highlight Comment guifg=#80a0ff +highlight Statement guifg=Yellow gui=NONE +highlight Type gui=NONE + +highlight VertSplit gui=bold guifg=Grey25 guibg=Black +highlight StatusLine gui=bold guifg=White guibg=Grey25 +highlight StatusLineNC gui=NONE guifg=LightGrey guibg=Grey25 + +highlight FoldColumn gui=bold guifg=White guibg=Black + +" Console +highlight Normal ctermfg=LightGrey ctermbg=Black +highlight Search ctermfg=Grey ctermbg=DarkBlue cterm=NONE +highlight Visual cterm=reverse +" highlight Cursor ctermfg=Black ctermbg=Green cterm=bold +highlight Special ctermfg=Brown +highlight Comment ctermfg=Blue +highlight Statement ctermfg=Yellow cterm=NONE +highlight Type cterm=NONE + +highlight VertSplit ctermfg=DarkGrey ctermbg=Black cterm=bold +highlight StatusLine ctermfg=White ctermbg=Grey cterm=bold +highlight StatusLineNC ctermfg=Black ctermbg=Grey cterm=NONE + +highlight FoldColumn ctermbg=Black ctermfg=White cterm=bold + +" only for vim 5 +if has("unix") + if v:version<600 + highlight Normal ctermfg=Grey ctermbg=Black cterm=NONE guifg=Grey80 guibg=Black gui=NONE + highlight Search ctermfg=Black ctermbg=Red cterm=bold guifg=Black guibg=Red gui=bold + highlight Visual ctermfg=Black ctermbg=yellow cterm=bold guifg=Grey25 gui=bold + highlight Special ctermfg=LightBlue cterm=NONE guifg=LightBlue gui=NONE + highlight Comment ctermfg=Cyan cterm=NONE guifg=LightBlue gui=NONE + endif +endif + diff --git a/.vim/colors/mrkn256.vim b/.vim/colors/mrkn256.vim new file mode 100644 index 0000000..0b9c5ea --- /dev/null +++ b/.vim/colors/mrkn256.vim @@ -0,0 +1,344 @@ +" Vim color file +" Maintainer: Kenta Murata + +" These are the color theme designed by mrkn based on "desert256" theme +" created by Henry So, Jr. This theme is designed to work with with 88- +" and 256-color xterms. +" +" The ancestor version "desert256" theme is available at +" http://www.vim.org/scripts/script.php?script_id=1243 +" +" The real feature of this color scheme, with a wink to the "inkpot" theme, is +" the programmatic approximation of the gui colors to the palettes of 88- and +" 256- color xterms. The functions that do this (folded away, for +" readability) are calibrated to the colors used for Thomas E. Dickey's xterm +" (version 200), which is available at http://dickey.his.com/xterm/xterm.html. +" +" Henry had struggled with trying to parse the rgb.txt file to avoid the +" necessity of converting color names to #rrggbb form, but decided it was just +" not worth the effort. I thank a lot for his results. + +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="mrkn256" + +if has("gui_running") || &t_Co == 88 || &t_Co == 256 + " functions {{{ + " returns an approximate grey index for the given grey level + function! 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 + function! 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 + function! 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 + function! 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 + function! 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 + function! 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 + function! color(r, g, b) + " get the closest grey + let l:gx = grey_number(a:r) + let l:gy = grey_number(a:g) + let l:gz = grey_number(a:b) + + " get the closest color + let l:x = rgb_number(a:r) + let l:y = rgb_number(a:g) + let l:z = rgb_number(a:b) + + if l:gx == l:gy && l:gy == l:gz + " there are two possibilities + let l:dgr = grey_level(l:gx) - a:r + let l:dgg = grey_level(l:gy) - a:g + let l:dgb = grey_level(l:gz) - a:b + let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb) + let l:dr = rgb_level(l:gx) - a:r + let l:dg = rgb_level(l:gy) - a:g + let l:db = 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 grey_color(l:gx) + else + " use the color + return rgb_color(l:x, l:y, l:z) + endif + else + " only one possibility + return rgb_color(l:x, l:y, l:z) + endif + endfun + + " returns the palette index to approximate the 'rrggbb' hex string + function! 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 color(l:r, l:g, l:b) + endfun + + " sets the highlighting for the given group + function! X(group, fg, bg, attr) + if a:fg != "" + exec "hi " . a:group . " guifg=#" . a:fg . " ctermfg=" . rgb(a:fg) + endif + if a:bg != "" + exec "hi " . a:group . " guibg=#" . a:bg . " ctermbg=" . rgb(a:bg) + endif + if a:attr != "" + exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr + endif + endfun + " }}} + + call X("Normal", "cccccc", "000000", "") + + " highlight groups + call X("Cursor", "708090", "f0e68c", "") + "CursorIM + call X("CursorColumn", "", "333333", "none") + call X("CursorLine", "", "333333", "underline") + "Directory + "DiffAdd + "DiffChange + "DiffDelete + "DiffText + "ErrorMsg + call X("VertSplit", "666666", "000000", "none") + call X("Folded", "ffd700", "4d4d4d", "") + call X("FoldColumn", "d2b48c", "4d4d4d", "") + call X("IncSearch", "708090", "f0e68c", "") + call X("LineNr", "666666", "", "none") + call X("ModeMsg", "daa520", "", "") + call X("MoreMsg", "2e8b57", "", "") + call X("NonText", "666699", "", "none") + call X("Question", "00ff7f", "", "") + call X("Search", "f5deb3", "cd853f", "") + call X("SpecialKey", "666699", "", "none") + call X("StatusLine", "ffffff", "666666", "none") + call X("StatusLineNC", "000000", "666666", "none") + call X("Title", "cd5c5c", "", "") + call X("Visual", "6b8e23", "f0e68c", "reverse") + + "VisualNOS + call X("WarningMsg", "fa8072", "", "") + "WildMenu + "Menu + "Scrollbar + "Tooltip + call X("Pmenu", "cccccc", "333333", "none") + call X("PmenuSel", "663333", "cccccc", "bold") + " call X("PmenuSbar", "", "", "") + " call X("PmenuThumb", "", "", "") + + " syntax highlighting groups + call X("Comment", "87ceeb", "", "") + call X("Constant", "ffcc66", "", "") + call X("Identifier", "99ff00", "", "none") + call X("Statement", "6699ff", "", "none") + call X("PreProc", "ff6666", "", "") + call X("Type", "ffcc66", "", "none") + call X("Special", "ffdead", "", "") + "Underlined + call X("Ignore", "666666", "", "") + "Error + call X("Todo", "ff4500", "eeee00", "") + + " delete functions {{{ + delf X + delf rgb + delf color + delf rgb_color + delf rgb_level + delf rgb_number + delf grey_color + delf grey_level + delf grey_number + " }}} +else + " color terminal definitions + hi SpecialKey ctermfg=darkgreen + hi NonText cterm=bold ctermfg=darkblue + hi Directory ctermfg=darkcyan + hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 + hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green + hi Search cterm=NONE ctermfg=grey ctermbg=blue + hi MoreMsg ctermfg=darkgreen + hi ModeMsg cterm=NONE ctermfg=brown + hi LineNr ctermfg=3 + hi Question ctermfg=green + hi StatusLine cterm=bold,reverse + hi StatusLineNC cterm=reverse + hi VertSplit cterm=reverse + hi Title ctermfg=5 + hi Visual cterm=reverse + hi VisualNOS cterm=bold,underline + hi WarningMsg ctermfg=1 + hi WildMenu ctermfg=0 ctermbg=3 + hi Folded ctermfg=darkgrey ctermbg=NONE + hi FoldColumn ctermfg=darkgrey ctermbg=NONE + hi DiffAdd ctermbg=4 + hi DiffChange ctermbg=5 + hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 + hi DiffText cterm=bold ctermbg=1 + hi Comment ctermfg=darkcyan + hi Constant ctermfg=brown + hi Special ctermfg=5 + hi Identifier ctermfg=6 + hi Statement ctermfg=3 + hi PreProc ctermfg=5 + hi Type ctermfg=2 + hi Underlined cterm=underline ctermfg=5 + hi Ignore ctermfg=darkgrey + hi Error cterm=bold ctermfg=7 ctermbg=1 +endif + +" vim: set fdl=0 fdm=marker: diff --git a/.vim/colors/mrpink.vim b/.vim/colors/mrpink.vim new file mode 100644 index 0000000..4820a48 --- /dev/null +++ b/.vim/colors/mrpink.vim @@ -0,0 +1,52 @@ +" Maintainer: mgutz - Mario Gutierrez +" Last Change: 20090705 +" + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "mrpink" + +" Vim >= 7.0 specific colors +if version >= 700 + hi CursorLine guibg=#303030 + hi CursorColumn guibg=#303030 + hi MatchParen guifg=#f6f3e8 guibg=#857b6f gui=bold + hi Pmenu guifg=#f6f3e8 guibg=#444444 + hi PmenuSel guifg=#000000 guibg=#cae682 +endif + +" General colors +hi Cursor guifg=NONE guibg=#666666 gui=none +hi Normal guifg=#e0e0e0 guibg=#242424 gui=none +hi NonText guifg=#383838 guibg=#242424 gui=none +hi LineNr guifg=#383838 guibg=#242424 gui=none +hi StatusLine guifg=#a0a0a0 guibg=#1c1c1c gui=none +hi StatusLineNC guifg=#857b6f guibg=#1c1c1c gui=none +hi VertSplit guifg=#1c1c1c guibg=#1c1c1c gui=none +hi Folded guibg=#384048 guifg=#a0a8b0 gui=none +hi Title guifg=#f6f3e8 guibg=NONE gui=bold +hi Visual guifg=NONE guibg=#000000 gui=none +hi SpecialKey guifg=#808080 guibg=#242424 gui=none +hi Special guifg=#e7f6da gui=none + +" Syntax highlighting +hi Comment guifg=#99968b gui=italic +hi Todo guifg=#8f8f8f gui=italic +hi String guifg=#98FF85 gui=italic + +hi Identifier guifg=#ffff99 gui=none +hi Function guifg=#ffff99 gui=none +hi Type guifg=#ffff99 gui=none + +hi PreProc guifg=#FFA1CF gui=none +hi Number guifg=#FFA1CF gui=none +hi Constant guifg=#FFA1CF gui=none + +hi Statement guifg=#8ac6f2 gui=none +hi Keyword guifg=#8ac6f2 gui=none diff --git a/.vim/colors/mud.vim b/.vim/colors/mud.vim new file mode 100644 index 0000000..8dc2dff --- /dev/null +++ b/.vim/colors/mud.vim @@ -0,0 +1,50 @@ +" Vim color file +" Maintainer: iyerns +" Last Change: 25 August 2005 +" Version:1.0 + + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="mud" + +hi Normal guifg=#ffffcc guibg=#330000 +hi LineNr guifg=white guibg=#330000 +hi Statusline gui=none guibg=#993300 guifg=#ffffff +hi StatuslineNC gui=none guibg=#660000 guifg=#ffffff +hi VertSplit gui=none guibg=#330000 guifg=#ffffff +hi Cursor gui=none guibg=DodgerBlue guifg=#ffffff + +hi Title guifg=black guibg=white gui=BOLD +hi lCursor guibg=Cyan guifg=NONE + +" syntax highlighting groups +hi Comment gui=NONE guifg=#996666 +hi Operator guifg=#ff0000 + +hi Identifier guifg=#33ff99 gui=NONE + +hi Statement guifg=#cc9966 gui=NONE +hi TypeDef guifg=#c000c8 gui=NONE +hi Type guifg=#ccffff gui=NONE +hi Boolean guifg=#ff00aa gui=NONE + +hi String guifg=#99ccff gui=NONE +hi Number guifg=#66ff66 gui=NONE +hi Constant guifg=#f0f000 gui=NONE + +hi Function gui=NONE guifg=#fffcfc +hi PreProc guifg=#cc6600 gui=NONE +hi Define gui=bold guifg=#f0f0f0 +hi Special gui=none guifg=#cccccc +hi BrowseDirectory gui=none guifg=#FFFF00 + +hi Keyword guifg=#ff8088 gui=NONE +hi Search gui=NONE guibg=#ffff00 guifg=#330000 +hi IncSearch gui=NONE guifg=#fcfcfc guibg=#8888ff +hi SpecialKey gui=NONE guifg=#fcfcfc guibg=#8888ff +hi NonText gui=NONE guifg=#fcfcfc +hi Directory gui=NONE guifg=#999900 diff --git a/.vim/colors/mustang.vim b/.vim/colors/mustang.vim new file mode 100644 index 0000000..715605a --- /dev/null +++ b/.vim/colors/mustang.vim @@ -0,0 +1,55 @@ +" Maintainer: Henrique C. Alves (hcarvalhoalves@gmail.com) +" Version: 1.0 +" Last Change: September 25 2008 + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "mustang" + +" Vim >= 7.0 specific colors +if version >= 700 + hi CursorLine guibg=#2d2d2d ctermbg=236 + hi CursorColumn guibg=#2d2d2d ctermbg=236 + hi MatchParen guifg=#d0ffc0 guibg=#2f2f2f gui=bold ctermfg=157 ctermbg=237 cterm=bold + hi Pmenu guifg=#ffffff guibg=#444444 ctermfg=255 ctermbg=238 + hi PmenuSel guifg=#000000 guibg=#b1d631 ctermfg=0 ctermbg=148 +endif + +" General colors +hi Cursor guifg=NONE guibg=#626262 gui=none ctermbg=241 +hi Normal guifg=#e2e2e5 guibg=#202020 gui=none ctermfg=253 ctermbg=234 +hi NonText guifg=#808080 guibg=#303030 gui=none ctermfg=244 ctermbg=235 +hi LineNr guifg=#808080 guibg=#000000 gui=none ctermfg=244 ctermbg=232 +hi StatusLine guifg=#d3d3d5 guibg=#444444 gui=italic ctermfg=253 ctermbg=238 cterm=italic +hi StatusLineNC guifg=#939395 guibg=#444444 gui=none ctermfg=246 ctermbg=238 +hi VertSplit guifg=#444444 guibg=#444444 gui=none ctermfg=238 ctermbg=238 +hi Folded guibg=#384048 guifg=#a0a8b0 gui=none ctermbg=4 ctermfg=248 +hi Title guifg=#f6f3e8 guibg=NONE gui=bold ctermfg=254 cterm=bold +hi Visual guifg=#faf4c6 guibg=#3c414c gui=none ctermfg=254 ctermbg=4 +hi SpecialKey guifg=#808080 guibg=#343434 gui=none ctermfg=244 ctermbg=236 + +" Syntax highlighting +hi Comment guifg=#808080 gui=italic ctermfg=244 +hi Todo guifg=#8f8f8f gui=italic ctermfg=245 +hi Boolean guifg=#b1d631 gui=none ctermfg=148 +hi String guifg=#b1d631 gui=italic ctermfg=148 +hi Identifier guifg=#b1d631 gui=none ctermfg=148 +hi Function guifg=#ffffff gui=bold ctermfg=255 +hi Type guifg=#7e8aa2 gui=none ctermfg=103 +hi Statement guifg=#7e8aa2 gui=none ctermfg=103 +hi Keyword guifg=#ff9800 gui=none ctermfg=208 +hi Constant guifg=#ff9800 gui=none ctermfg=208 +hi Number guifg=#ff9800 gui=none ctermfg=208 +hi Special guifg=#ff9800 gui=none ctermfg=208 +hi PreProc guifg=#faf4c6 gui=none ctermfg=230 +hi Todo guifg=#000000 guibg=#e6ea50 gui=italic + +" Code-specific colors +hi pythonOperator guifg=#7e8aa2 gui=none ctermfg=103 + diff --git a/.vim/colors/native.vim b/.vim/colors/native.vim new file mode 100644 index 0000000..07034ff --- /dev/null +++ b/.vim/colors/native.vim @@ -0,0 +1,55 @@ +" +" Native Vim Color Scheme +" ======================= +" +" author: Armin Ronacher +" +set background=dark + +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "native" + +" Default Colors +hi Normal guifg=#f2f2f2 guibg=#222222 +hi NonText guifg=#444444 guibg=#111111 +hi Cursor guibg=#aaaaaa +hi lCursor guibg=#aaaaaa + +" Search +hi Search guibg=peru guifg=wheat +hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green +hi Search cterm=NONE ctermfg=grey ctermbg=blue + +" Window Elements +hi StatusLine guifg=white guibg=#8090a0 gui=bold +hi StatusLineNC guifg=#506070 guibg=#a0b0c0 +hi VertSplit guifg=#a0b0c0 guibg=#a0b0c0 +hi Folded guifg=#111111 guibg=#8090a0 +hi IncSearch guifg=slategrey guibg=khaki + +" Specials +hi Todo guifg=#e50808 guibg=#520000 gui=bold +hi Title guifg=#ffffff gui=bold + +" Strings +hi String guifg=#ed9d13 +hi Constant guifg=#ed9d13 + +" Syntax +hi Number guifg=#3677a9 +hi Statement guifg=#6ab825 gui=bold +hi Function guifg=#447fcf +hi PreProc guifg=#cd2828 gui=bold +hi Comment guifg=#999999 gui=italic +hi Type guifg=#bbbbbb gui=bold + +" Diff +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 + diff --git a/.vim/colors/nature.vim b/.vim/colors/nature.vim new file mode 100644 index 0000000..beeac2c --- /dev/null +++ b/.vim/colors/nature.vim @@ -0,0 +1,36 @@ +" Vim color file +" Maintainer: Mihai Popescu +" Last Change: 2 March 2010 - v0.4 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name="nature" +hi Normal ctermfg=LightGray ctermbg=Black guifg=#D3D7CF guibg=#000000 +hi NonText ctermfg=DarkGray ctermbg=Black guifg=#555753 guibg=#000000 +hi Comment ctermfg=DarkGray ctermbg=Black guifg=#555753 guibg=#000000 gui=italic +hi Constant ctermfg=DarkCyan ctermbg=Black guifg=#06989A guibg=#000000 +hi Character ctermfg=DarkBlue ctermbg=Black guifg=#3465A4 guibg=#000000 +hi Boolean ctermfg=DarkBlue ctermbg=Black guifg=#3465A4 guibg=#000000 +hi Identifier ctermfg=Cyan ctermbg=Black guifg=#34E2E2 guibg=#000000 +hi Statement ctermfg=Green ctermbg=Black guifg=#8AE234 guibg=#000000 cterm=bold term=bold gui=bold +hi Repeat ctermfg=Yellow ctermbg=Black guifg=#FCE94F guibg=#000000 cterm=bold term=bold gui=bold +hi PreProc ctermfg=White ctermbg=Black guifg=#EEEEEC guibg=#000000 cterm=bold term=bold gui=bold +hi Type ctermfg=DarkGreen ctermbg=Black guifg=#4E9A06 guibg=#000000 cterm=none term=bold +hi Special ctermfg=Blue ctermbg=Black guifg=#729FCF guibg=#000000 +hi Underlined ctermfg=Magenta ctermbg=Black guifg=#AD7FA8 guibg=#000000 cterm=bold,underline gui=bold,underline +hi Error ctermfg=White ctermbg=Red guifg=#FFFFFF guibg=#FF00A0 cterm=bold,underline term=bold gui=bold,underline +" *PINK* is more obvious to the eye than red. It is also somewhat annoying - but that's the point, isn't it? ;-) +hi Visual ctermfg=White ctermbg=DarkGray guifg=#EEEEEC guibg=#555753 +hi ErrorMsg ctermfg=Red ctermbg=Black guifg=#FF0000 guibg=#000000 cterm=bold term=bold gui=bold +hi WarningMsg ctermfg=Yellow ctermbg=Black guifg=#FCE94F guibg=#000000 +hi Title ctermfg=White ctermbg=DarkCyan guifg=#EEEEEC guibg=#06989A +hi VertSplit ctermfg=White ctermbg=Black guifg=#EEEEEC guibg=#000000 +hi Directory ctermfg=Cyan ctermbg=DarkBlue guifg=#34E2E2 guibg=#3465A4 +hi Cursor ctermfg=White ctermbg=White guifg=#000000 guibg=#EEEEEC +hi StatusLine ctermfg=White ctermbg=Black guifg=#EEEEEC guibg=#000000 cterm=bold,underline term=bold gui=bold,underline +hi StatusLineNC ctermfg=Gray ctermbg=Black guifg=#D3D7CF guibg=#000000 cterm=bold,underline term=bold gui=bold,underline +hi LineNr ctermfg=DarkYellow ctermbg=Black guifg=#EDDE5C guibg=#000000 cterm=none term=bold diff --git a/.vim/colors/navajo-night.vim b/.vim/colors/navajo-night.vim new file mode 100644 index 0000000..f0c27f0 --- /dev/null +++ b/.vim/colors/navajo-night.vim @@ -0,0 +1,119 @@ +" Vim colour file +" Maintainer: Matthew Hawkins +" Last Change: Mon, 22 Apr 2002 15:28:04 +1000 +" URI: http://mh.dropbear.id.au/vim/navajo-night.png +" +" This colour scheme uses a "navajo-black" background +" I have added colours for the statusbar and for spell checking +" as taken from Cream (http://cream.sf.net/) + + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "navajo-night" + +" This is the list of colour changes from Navajo that +" weren't a simple mathematical subtraction from 0xffffff +" DarkBlue -> #ffff74 +" DarkRed -> #74ffff +" DarkGreen -> #ff9bff +" DarkCyan -> #ff7474 +" DarkMagenta -> #74ff74 +" DarkYellow -> #7474ff +" DarkGray -> #565656 +" Blue -> Yellow +" Red -> Cyan +" Yellow -> Blue +" Gray -> #414141 +" Brown -> #5ad5d5 +" #ff8060 -> #007f9f +" #f6e8d0 -> #09172f +" #edb5cd -> #124a32 +" #c0c0c0 -> #3f3f3f +" #907050 -> #6f8faf +" #808080 -> #7f7f7f +" #707070 -> #8f8f8f +" SeaGreen -> #d174a8 +" LightRed (assuming #ee9090) -> #116f6f +" LightBlue -> #522719 + +hi Normal ctermfg=White guifg=White guibg=#35536f + +hi SpecialKey term=bold ctermfg=darkblue guifg=Yellow +hi NonText term=bold ctermfg=darkblue cterm=bold gui=bold guifg=#7f7f7f +hi Directory term=bold ctermfg=darkblue guifg=Yellow +hi ErrorMsg term=standout ctermfg=grey ctermbg=darkred cterm=bold gui=bold guifg=Black guibg=Cyan +hi IncSearch term=reverse cterm=reverse gui=reverse +hi Search term=reverse ctermbg=White ctermfg=Black cterm=reverse guibg=Black guifg=Yellow +hi MoreMsg term=bold ctermfg=green gui=bold guifg=#d174a8 +hi ModeMsg term=bold cterm=bold gui=bold +hi LineNr term=underline ctermfg=darkcyan ctermbg=grey guibg=#7f7f7f gui=bold guifg=White +hi Question term=standout ctermfg=darkgreen gui=bold guifg=#d174a8 +hi StatusLine term=bold,reverse cterm=bold,reverse gui=bold guifg=Black guibg=White +hi StatusLineNC term=reverse cterm=reverse gui=bold guifg=#116f6f guibg=#8f8f8f +hi VertSplit term=reverse cterm=reverse gui=bold guifg=Black guibg=#8f8f8f +hi Title term=bold ctermfg=green gui=bold guifg=#74ff74 +"+++ Cream: +"hi Visual term=reverse cterm=reverse gui=reverse guifg=#3f3f3f guibg=White +"+++ +hi VisualNOS term=bold,underline cterm=bold,underline gui=reverse guifg=#414141 guibg=Black +hi WarningMsg term=standout ctermfg=darkred gui=bold guifg=Cyan +hi WildMenu term=standout ctermfg=White ctermbg=darkyellow guifg=White guibg=Blue +hi Folded term=standout ctermfg=darkblue ctermbg=grey guifg=White guibg=NONE guifg=#afcfef +hi FoldColumn term=standout ctermfg=darkblue ctermbg=grey guifg=#ffff74 guibg=#3f3f3f +hi DiffAdd term=bold ctermbg=darkblue guibg=Black +hi DiffChange term=bold ctermbg=darkmagenta guibg=#124a32 +hi DiffDelete term=bold ctermfg=darkblue ctermbg=blue cterm=bold gui=bold guifg=#522719 guibg=#09172f +hi DiffText term=reverse ctermbg=darkblue cterm=bold gui=bold guibg=#007f9f +hi Cursor gui=reverse guifg=#bfbfef guibg=Black +hi lCursor guifg=fg guibg=bg +hi Match term=bold,reverse ctermbg=Blue ctermfg=Yellow cterm=bold,reverse gui=bold,reverse guifg=Blue guibg=Yellow + + +" Colours for syntax highlighting +hi Comment term=bold ctermfg=darkblue guifg=#e7e77f +hi Constant term=underline ctermfg=darkred guifg=#3fffa7 +hi Special term=bold ctermfg=darkgreen guifg=#bfbfef +hi Identifier term=underline ctermfg=darkcyan cterm=NONE guifg=#ef9f9f +hi Statement term=bold ctermfg=darkred cterm=bold gui=bold guifg=#5ad5d5 +hi PreProc term=underline ctermfg=darkmagenta guifg=#74ff74 +hi Type term=underline ctermfg=green gui=bold guifg=#d174a8 +hi Ignore ctermfg=grey cterm=bold guifg=bg + +hi Error term=reverse ctermfg=grey ctermbg=darkred cterm=bold gui=bold guifg=Black guibg=Cyan +hi Todo term=standout ctermfg=darkblue ctermbg=Blue guifg=Yellow guibg=Blue + +"+++ Cream: statusbar +" Colours for statusbar +"hi User1 gui=bold guifg=#565656 guibg=#0c0c0c +"hi User2 gui=bold guifg=White guibg=#0c0c0c +"hi User3 gui=bold guifg=Yellow guibg=#0c0c0c +"hi User4 gui=bold guifg=Cyan guibg=#0c0c0c +highlight User1 gui=bold guifg=#999933 guibg=#45637f +highlight User2 gui=bold guifg=#e7e77f guibg=#45637f +highlight User3 gui=bold guifg=Black guibg=#45637f +highlight User4 gui=bold guifg=#33cc99 guibg=#45637f +"+++ + +"+++ Cream: selection +highlight Visual gui=bold guifg=Black guibg=#aacc77 +"+++ + +"+++ Cream: bookmarks +highlight Cream_ShowMarksHL ctermfg=blue ctermbg=lightblue cterm=bold guifg=Black guibg=#aacc77 gui=bold +"+++ + +"+++ Cream: spell check +" Colour misspelt words +"hi BadWord ctermfg=White ctermbg=darkred cterm=bold guifg=Yellow guibg=#522719 gui=bold +" mathematically correct: +"highlight BadWord ctermfg=black ctermbg=lightblue gui=NONE guifg=White guibg=#003333 +" adjusted: +highlight BadWord ctermfg=black ctermbg=lightblue gui=NONE guifg=#ff9999 guibg=#003333 +"+++ + + diff --git a/.vim/colors/navajo.vim b/.vim/colors/navajo.vim new file mode 100644 index 0000000..e7eebe7 --- /dev/null +++ b/.vim/colors/navajo.vim @@ -0,0 +1,65 @@ +" Vim color file +" Maintainer: R. Edward Ralston +" Last Change: 2002-01-24 09:56:48 +" URI: http://eralston.tripod.com/navajo.png +" +" This color scheme uses a "navajo-white" background +" + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "navajo" + +" looks good on Linux +"hi Normal ctermfg=Black guifg=Black guibg=#b39674 +"hi Normal ctermfg=Black guifg=Black guibg=NavajoWhite3 + +" slightly brighter for w32 +hi Normal ctermfg=Black guifg=Black guibg=#ba9c80 + +hi SpecialKey term=bold ctermfg=DarkBlue guifg=Blue +hi NonText term=bold ctermfg=DarkBlue cterm=bold gui=bold guifg=#808080 +hi Directory term=bold ctermfg=DarkBlue guifg=Blue +hi ErrorMsg term=standout ctermfg=Gray ctermbg=DarkRed cterm=bold gui=bold guifg=White guibg=Red +hi IncSearch term=reverse cterm=reverse gui=reverse +hi Search term=reverse ctermbg=Black ctermfg=White cterm=reverse guibg=White +hi MoreMsg term=bold ctermfg=DarkGreen gui=bold guifg=SeaGreen +hi ModeMsg term=bold cterm=bold gui=bold +hi LineNr term=underline ctermfg=DarkCyan ctermbg=Gray guibg=#808080 gui=bold guifg=black +hi Question term=standout ctermfg=DarkGreen gui=bold guifg=SeaGreen +hi StatusLine term=bold,reverse cterm=bold,reverse gui=bold guifg=White guibg=Black +hi StatusLineNC term=reverse cterm=reverse gui=bold guifg=LightRed guibg=#707070 +hi VertSplit term=reverse cterm=reverse gui=bold guifg=White guibg=#707070 +hi Title term=bold ctermfg=DarkMagenta gui=bold guifg=DarkMagenta +hi Visual term=reverse cterm=reverse gui=reverse guifg=#c0c0c0 guibg=black +hi VisualNOS term=bold,underline cterm=bold,underline gui=reverse guifg=Grey guibg=white +hi WarningMsg term=standout ctermfg=DarkRed gui=bold guifg=Red +hi WildMenu term=standout ctermfg=Black ctermbg=DarkYellow guifg=Black guibg=Yellow +hi Folded term=standout ctermfg=DarkBlue ctermbg=Gray guifg=Black guibg=NONE guifg=#907050 +hi FoldColumn term=standout ctermfg=DarkBlue ctermbg=Gray guifg=DarkBlue guibg=#c0c0c0 +hi DiffAdd term=bold ctermbg=DarkBlue guibg=White +hi DiffChange term=bold ctermbg=DarkMagenta guibg=#edb5cd +hi DiffDelete term=bold ctermfg=DarkBlue ctermbg=6 cterm=bold gui=bold guifg=LightBlue guibg=#f6e8d0 +hi DiffText term=reverse ctermbg=DarkRed cterm=bold gui=bold guibg=#ff8060 +hi Cursor gui=reverse guifg=#404010 guibg=white +hi lCursor guifg=bg guibg=fg +hi Match term=bold,reverse ctermbg=Yellow ctermfg=Blue cterm=bold,reverse gui=bold,reverse guifg=yellow guibg=blue + + +" Colors for syntax highlighting +hi Comment term=bold ctermfg=DarkBlue guifg=#181880 +hi Constant term=underline ctermfg=DarkRed guifg=#c00058 +hi Special term=bold ctermfg=DarkMagenta guifg=#404010 +hi Identifier term=underline ctermfg=DarkCyan cterm=NONE guifg=#106060 +hi Statement term=bold ctermfg=DarkRed cterm=bold gui=bold guifg=Brown +hi PreProc term=underline ctermfg=DarkMagenta guifg=DarkMagenta +hi Type term=underline ctermfg=DarkGreen gui=bold guifg=SeaGreen +hi Ignore ctermfg=Gray cterm=bold guifg=bg +hi Error term=reverse ctermfg=Gray ctermbg=DarkRed cterm=bold gui=bold guifg=White guibg=Red +hi Todo term=standout ctermfg=DarkBlue ctermbg=Yellow guifg=Blue guibg=Yellow + +" vim:set list et: diff --git a/.vim/colors/nazca.vim b/.vim/colors/nazca.vim new file mode 100644 index 0000000..2936a8e --- /dev/null +++ b/.vim/colors/nazca.vim @@ -0,0 +1,252 @@ +"""""""""""""""""""""""" +" Nazca Color Scheme " +"""""""""""""""""""""""" +" By: Jose Elera Campana - https://github.com/jelera +" Based: on ir_black color scheme More at: http://blog.infinitered.com/entries/show/8 +" More about Nazca here : http://en.wikipedia.org/wiki/Nazca +" +" Tweak for Web Development, feel free to modified and share it. +" +" Support for 256 Color Terminal and Full Color graphical Vim +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + +" ******************************************************************************** +" Standard colors used in all ir_black themes: +" Note, x:x:x are RGB values +" +" normal: #f6f3e8 +" +" string: #A8FF60 168:255:96 +" string inner (punc, code, etc): #00A0A0 0:160:160 +" number: #FF73FD 255:115:253 +" comments: #7C7C7C 124:124:124 +" keywords: #96CBFE 150:203:254 +" operators: white +" class: #FFFFB6 255:255:182 +" method declaration name: #FFD2A7 255:210:167 +" regular expression: #E9C062 233:192:98 +" regexp alternate: #FF8000 255:128:0 +" regexp alternate 2: #B18A3D 177:138:61 +" variable: #C6C5FE 198:197:254 +" +" Misc colors: +" red color (used for whatever): #FF6C60 255:108:96 +" light red: #FFB6B0 255:182:176 +" +" brown: #E18964 good for special +" +" lightpurpleish: #FFCCFF +" +" Interface colors: +" background color: black +" cursor (where underscore is used): #FFA560 255:165:96 +" cursor (where block is used): white +" visual selection: #1D1E2C +" current line: #151515 21:21:21 +" search selection: #07281C 7:40:28 +" line number: #3D3D3D 61:61:61 + + +" ******************************************************************************** +" The following are the preferred 16 colors for your terminal +" Colors Bright Colors +" Black #4E4E4E #7C7C7C +" Red #FF6C60 #FFB6B0 +" Green #A8FF60 #CEFFAB +" Yellow #FFFFB6 #FFFFCB +" Blue #96CBFE #FFFFCB +" Magenta #FF73FD #FF9CFE +" Cyan #C6C5FE #DFDFFE +" White #EEEEEE #FFFFFF + + +" ******************************************************************************** +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "nazca" + + +"hi Example guifg=NONE guibg=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE + +" General colors +hi Normal guifg=#f6f3e8 guibg=#161617 gui=NONE ctermfg=7 ctermbg=233 cterm=NONE +hi NonText guifg=#505050 guibg=#000000 gui=NONE ctermfg=239 ctermbg=0 cterm=NONE + +hi Cursor guifg=#000000 guibg=#f0f000 gui=NONE ctermfg=0 ctermbg=11 cterm=reverse +hi LineNr guifg=#3D3D3D guibg=#000000 gui=NONE ctermfg=237 ctermbg=0 cterm=NONE + +hi VertSplit guifg=#202020 guibg=#202020 gui=NONE ctermfg=234 ctermbg=234 cterm=NONE +hi StatusLine guifg=#9cffd3 guibg=#202020 gui=NONE ctermfg=85 ctermbg=234 cterm=NONE +hi StatusLineNC guifg=#000000 guibg=#202020 gui=bold ctermfg=0 ctermbg=234 cterm=BOLD + +hi FoldColumn guifg=#a0a8b0 guibg=#384048 gui=NONE ctermfg=248 ctermbg=238 cterm=NONE +hi Folded guifg=#a0a8b0 guibg=#384048 gui=NONE ctermfg=248 ctermbg=238 cterm=NONE +hi Title guifg=#f6f3e8 guibg=NONE gui=bold ctermfg=7 ctermbg=NONE cterm=BOLD +hi Visual guifg=NONE guibg=#262D51 gui=NONE ctermfg=NONE ctermbg=237 cterm=NONE + +hi SpecialKey guifg=#505050 guibg=#000000 gui=NONE ctermfg=239 ctermbg=0 term=NONE + +hi WildMenu guifg=#28882c guibg=#f0f000 gui=NONE ctermfg=28 ctermbg=11 cterm=NONE +hi PmenuSbar guifg=#000000 guibg=#ffffff gui=NONE ctermfg=0 ctermbg=15 cterm=NONE +"hi Ignore guifg=gray guibg=#000000 ctermbg=0 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE + +hi Error guifg=NONE guibg=NONE gui=undercurl guisp=#FF6C60 ctermfg=15 ctermbg=88 cterm=NONE +hi ErrorMsg guifg=#ffffff guibg=#FF6C60 gui=BOLD ctermfg=15 ctermbg=203 cterm=BOLD +hi WarningMsg guifg=#ffffff guibg=#FF6C60 gui=BOLD ctermfg=15 ctermbg=203 cterm=BOLD + +" Message displayed in lower left, such as --INSERT-- +hi ModeMsg guifg=#000000 guibg=#C6C5FE gui=BOLD ctermfg=0 ctermbg=189 cterm=BOLD + +if version >= 700 " Vim 7.x specific colors + hi CursorLine guifg=NONE guibg=#000000 gui=NONE ctermfg=NONE ctermbg=16 cterm=NONE + hi CursorColumn guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=233 cterm=BOLD + hi MatchParen guifg=#f6f3e8 guibg=#857b6f gui=BOLD ctermfg=7 ctermbg=243 cterm=BOLD + hi Pmenu guifg=#f6f3e8 guibg=#444444 gui=NONE ctermfg=7 ctermbg=238 cterm=NONE + hi PmenuSel guifg=#000000 guibg=#cae682 gui=NONE ctermfg=0 ctermbg=186 cterm=NONE + hi Search guifg=#000000 guibg=#FFFFB6 gui=underline ctermfg=0 ctermbg=229 cterm=underline +endif + +" Syntax highlighting +hi Comment guifg=#7C7C7C guibg=NONE gui=NONE ctermfg=8 ctermbg=NONE cterm=NONE +hi String guifg=#acff82 guibg=NONE gui=NONE ctermfg=156 ctermbg=NONE cterm=NONE +hi Number guifg=#FF73FD guibg=NONE gui=NONE ctermfg=207 ctermbg=NONE cterm=NONE + +hi Keyword guifg=#96CBFE guibg=NONE gui=NONE ctermfg=117 ctermbg=NONE cterm=NONE +hi PreProc guifg=#96CBFE guibg=NONE gui=NONE ctermfg=117 ctermbg=NONE cterm=NONE +hi Conditional guifg=#6699CC guibg=NONE gui=NONE ctermfg=68 ctermbg=NONE cterm=NONE + +hi Todo guifg=#890a0a guibg=#f2f773 gui=BOLD ctermfg=88 ctermbg=227 cterm=BOLD +hi Constant guifg=#99CC99 guibg=NONE gui=ITALIC ctermfg=114 ctermbg=NONE cterm=NONE + +hi Identifier guifg=#C6C5FE guibg=NONE gui=NONE ctermfg=189 ctermbg=NONE cterm=NONE +hi Function guifg=#FFD2A7 guibg=NONE gui=BOLD ctermfg=223 ctermbg=NONE cterm=BOLD +hi Type guifg=#FFFFB6 guibg=NONE gui=BOLD ctermfg=229 ctermbg=NONE cterm=BOLD +hi Statement guifg=#6699CC guibg=NONE gui=NONE ctermfg=68 ctermbg=NONE cterm=NONE + +hi Special guifg=#E18964 guibg=NONE gui=NONE ctermfg=173 ctermbg=NONE cterm=NONE +hi Delimiter guifg=#00A0A0 guibg=NONE gui=NONE ctermfg=37 ctermbg=NONE cterm=NONE +hi Operator guifg=#E8AC6F guibg=NONE gui=NONE ctermfg=179 ctermbg=NONE cterm=NONE + +hi link Character Constant +hi link Boolean Constant +hi link Float Number +hi link Repeat Statement +hi link Label Statement +hi link Exception 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 SpecialComment Special +hi link Debug Special + +" Special for Ruby +hi rubyRegexp guifg=#B18A3D guibg=NONE gui=NONE ctermfg=137 ctermbg=NONE cterm=NONE +hi rubyRegexpDelimiter guifg=#FF8000 guibg=NONE gui=NONE ctermfg=208 ctermbg=NONE cterm=NONE +hi rubyEscape guifg=#ffffff guibg=NONE gui=NONE ctermfg=15 ctermbg=NONE cterm=NONE +hi rubyInterpolationDelimiter guifg=#00A0A0 guibg=NONE gui=NONE ctermfg=37 ctermbg=NONE cterm=NONE +hi rubyControl guifg=#6699CC guibg=NONE gui=NONE ctermfg=68 ctermbg=NONE cterm=NONE +"hi rubyGlobalVariable guifg=#FFCCFF guibg=NONE gui=NONE ctermfg=225 ctermbg=NONE cterm=NONE +hi rubyStringDelimiter guifg=#336633 guibg=NONE gui=NONE ctermfg=238 ctermbg=NONE cterm=NONE +"rubyInclude +"rubySharpBang +"rubyAccess +"rubyPredefinedVariable +"rubyBoolean +"rubyClassVariable +"rubyBeginEnd +"rubyRepeatModifier +"hi link rubyArrayDelimiter Special " [ , , ] +"rubyCurlyBlock { , , } + +hi link rubyClass Keyword +hi link rubyModule Keyword +hi link rubyKeyword Keyword +hi link rubyOperator Operator +hi link rubyIdentifier Identifier +hi link rubyInstanceVariable Identifier +hi link rubyGlobalVariable Identifier +hi link rubyClassVariable Identifier +hi link rubyConstant Type + + +" Special for Java +" hi link javaClassDecl Type +hi link javaScopeDecl Identifier +hi link javaCommentTitle javaDocSeeTag +hi link javaDocTags javaDocSeeTag +hi link javaDocParam javaDocSeeTag +hi link javaDocSeeTagParam javaDocSeeTag + +hi javaDocSeeTag guifg=#CCCCCC guibg=NONE gui=NONE ctermfg=252 ctermbg=NONE cterm=NONE +hi javaDocSeeTag guifg=#CCCCCC guibg=NONE gui=NONE ctermfg=252 ctermbg=NONE cterm=NONE +"hi javaClassDecl guifg=#CCFFCC guibg=NONE gui=NONE ctermfg=194 ctermbg=NONE cterm=NONE + + +" Special for XML +hi link xmlTag Keyword +hi link xmlTagName Conditional +hi link xmlEndTag Identifier + + +" Special for HTML +hi htmlH1 guifg=#de675c gui=underline ctermfg=167 cterm=UNDERLINE +hi htmlLink guifg=#c777ff gui=underline ctermfg=177 cterm=UNDERLINE +hi link htmlTag Keyword +hi link htmlTagName Conditional +hi link htmlEndTag Identifier +hi link htmlH2 htmlH1 +hi link htmlH3 htmlH1 +hi link htmlH4 htmlH1 + +" Special for CSS +hi cssTagName guifg=#70a8dd gui=BOLD ctermfg=74 cterm=BOLD +hi cssBoxProp guifg=#d0af76 gui=NONE ctermfg=180 gui=NONE +hi link cssColorProp cssBoxProp +hi link cssFontProp cssBoxProp +hi link cssTextProp cssBoxProp +hi cssPseudoClassId guifg=#9ccfdd gui=italic ctermfg=152 cterm=NONE +hi cssIdentifier guifg=#a2ddb8 gui=italic ctermfg=151 cterm=NONE + +" Special for Markdown +hi markdownUrl guifg=#e48944 ctermfg=173 +hi markdownCode guifg=#a7bee4 gui=BOLD ctermfg=151 cterm=BOLD +hi markdownCodeBlock guifg=#c5b1e4 ctermfg=182 + +" Special for Javascript +" TODO: - Add colors to the cterm +hi javaScriptBrowserObjects guifg=#DBB6D2 gui=italic ctermfg=182 cterm=NONE + +hi javaScriptDOMObjects guifg=#DBB6D2 gui=BOLD ctermfg=182 cterm=BOLD +hi javaScriptDOMMethods guifg=#D4FA9B ctermfg=192 +hi link javaScriptDOMProperties Keyword + +hi javaScriptAjaxObjects guifg=#5d91d3 gui=underline ctermfg=68 cterm=UNDERLINE +hi javaScriptAjaxMethods guifg=#6699CC ctermfg=68 +hi javaScriptAjaxProperties guifg=#FF9494 ctermfg=210 + +hi javaScriptFuncName guifg=#B5E4F7 ctermfg=153 +hi javaScriptHtmlElemProperties guifg=#FF9494 ctermfg=210 +hi javaScriptEventListenerKeyword guifg=#6699CC ctermfg=68 + +hi link javaScriptNumber Number +hi link javaScriptPropietaryObjects javaScriptAjaxObjects + +" Special for Python +"hi link pythonEscape Keyword + + +" Special for CSharp +hi link csXmlTag Keyword + +" Special for PHP +hi phpDefine guifg=#ffc795 gui=BOLD ctermfg=209 cterm=BOLD diff --git a/.vim/colors/nedit.vim b/.vim/colors/nedit.vim new file mode 100644 index 0000000..652891f --- /dev/null +++ b/.vim/colors/nedit.vim @@ -0,0 +1,26 @@ +" Vim color file +" Maintainer: Vladimir Vrzic +" Last Change: 28. june 2003. +" URL: http://galeb.etf.bg.ac.yu/~random/pub/vim/ + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="nedit" + +hi Normal guifg=Black guibg=grey90 + +hi Comment gui=italic guifg=gray20 guibg=NONE +hi Constant gui=NONE guifg=darkGreen guibg=NONE +hi Identifier gui=bold guifg=red guibg=NONE +hi Statement gui=bold guifg=black guibg=NONE +hi PreProc gui=NONE guifg=RoyalBlue4 guibg=NONE +hi Type gui=bold guifg=brown guibg=NONE +hi Special gui=NONE guifg=darkGreen guibg=NONE +"hi Underlined +"hi Ignore +"hi Error +"hi Todo + diff --git a/.vim/colors/nedit2.vim b/.vim/colors/nedit2.vim new file mode 100644 index 0000000..54811f0 --- /dev/null +++ b/.vim/colors/nedit2.vim @@ -0,0 +1,29 @@ +" Vim color file based on nedit by Vladimir Vrzic +" Maintainer: KraL +" Last Change: Friday 13 february 2004. + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="nedit2" + +hi Normal guifg=Black guibg=grey90 + +hi Cursor guifg=white guibg=black +hi CursorIM guifg=black guibg=black + +hi Comment gui=italic guifg=Purple guibg=NONE +hi Constant gui=NONE guifg=blue guibg=NONE +hi Identifier gui=bold guifg=red guibg=NONE +hi Statement gui=bold guifg=black guibg=NONE +hi PreProc gui=NONE guifg=RoyalBlue4 guibg=NONE +hi Type gui=bold guifg=brown guibg=NONE +hi String gui=NONE guifg=RoyalBlue guibg=NONE +hi Special gui=bold guifg=Magenta3 guibg=NONE +"hi Underlined +"hi Ignore +"hi Error gui=NONE guifg=Red guibg=Linen +"hi Todo + diff --git a/.vim/colors/neon.vim b/.vim/colors/neon.vim new file mode 100644 index 0000000..d0ba309 --- /dev/null +++ b/.vim/colors/neon.vim @@ -0,0 +1,70 @@ +" Vim color file +" Maintainer: Tiza +" Last Change: 2002/10/25 Fri 16:23. +" version: 1.2 +" This color scheme uses a dark background. + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "neon" + +hi Normal guifg=#f0f0f0 guibg=#303030 + +" Search +hi IncSearch gui=UNDERLINE guifg=#80ffff guibg=#0060c0 +hi Search gui=NONE guifg=#ffffa8 guibg=#808000 +" hi Search gui=NONE guifg=#b0ffb0 guibg=#008000 + +" Messages +hi ErrorMsg gui=BOLD guifg=#ffa0ff guibg=NONE +hi WarningMsg gui=BOLD guifg=#ffa0ff guibg=NONE +hi ModeMsg gui=BOLD guifg=#a0d0ff guibg=NONE +hi MoreMsg gui=BOLD guifg=#70ffc0 guibg=#8040ff +hi Question gui=BOLD guifg=#e8e800 guibg=NONE + +" Split area +hi StatusLine gui=NONE guifg=#000000 guibg=#c4c4c4 +hi StatusLineNC gui=NONE guifg=#707070 guibg=#c4c4c4 +hi VertSplit gui=NONE guifg=#707070 guibg=#c4c4c4 +hi WildMenu gui=NONE guifg=#000000 guibg=#ff80c0 + +" Diff +hi DiffText gui=NONE guifg=#ff78f0 guibg=#a02860 +hi DiffChange gui=NONE guifg=#e03870 guibg=#601830 +hi DiffDelete gui=NONE guifg=#a0d0ff guibg=#0020a0 +hi DiffAdd gui=NONE guifg=#a0d0ff guibg=#0020a0 + +" Cursor +hi Cursor gui=NONE guifg=#70ffc0 guibg=#8040ff +hi lCursor gui=NONE guifg=#ffffff guibg=#8800ff +hi CursorIM gui=NONE guifg=#ffffff guibg=#8800ff + +" Fold +hi Folded gui=NONE guifg=#40f0f0 guibg=#006090 +hi FoldColumn gui=NONE guifg=#40c0ff guibg=#404040 + +" Other +hi Directory gui=NONE guifg=#c8c8ff guibg=NONE +hi LineNr gui=NONE guifg=#707070 guibg=NONE +hi NonText gui=BOLD guifg=#d84070 guibg=#383838 +hi SpecialKey gui=BOLD guifg=#8888ff guibg=NONE +hi Title gui=BOLD guifg=fg guibg=NONE +hi Visual gui=NONE guifg=#b0ffb0 guibg=#008000 +hi VisualNOS gui=NONE guifg=#ffe8c8 guibg=#c06800 + +" Syntax group +hi Comment gui=NONE guifg=#c0c0c0 guibg=NONE +hi Constant gui=NONE guifg=#92d4ff guibg=NONE +hi Error gui=BOLD guifg=#ffffff guibg=#8000ff +hi Identifier gui=NONE guifg=#40f8f8 guibg=NONE +hi Ignore gui=NONE guifg=bg guibg=NONE +hi PreProc gui=NONE guifg=#ffa8ff guibg=NONE +hi Special gui=NONE guifg=#ffc890 guibg=NONE +hi Statement gui=NONE guifg=#dcdc78 guibg=NONE +hi Todo gui=BOLD,UNDERLINE guifg=#ff80d0 guibg=NONE +hi Type gui=NONE guifg=#60f0a8 guibg=NONE +hi Underlined gui=UNDERLINE guifg=fg guibg=NONE diff --git a/.vim/colors/neutron.vim b/.vim/colors/neutron.vim new file mode 100644 index 0000000..2d68f84 --- /dev/null +++ b/.vim/colors/neutron.vim @@ -0,0 +1,79 @@ +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name="neutron" + +hi Cursor guibg=#404040 guifg=#a0a0a0 +hi CursorColumn guibg=#e0e0e0 guifg=#202020 +hi CursorLine guibg=#e0e0e0 guifg=#202020 +hi NonText guibg=#d0d0d0 guifg=#606060 gui=none +hi Visual guibg=#fffac8 guifg=#404040 gui=none +hi Folded guibg=#e8e5d0 guifg=#606060 gui=none +hi TabLineFill guibg=#d0d0d0 guifg=#606060 gui=none +hi SpecialKey guibg=#e8e8e8 guifg=#a0a0a0 gui=none +hi Search guibg=#808080 guifg=#ffffff gui=bold +hi ModeMsg guibg=#f2efd5 guifg=#304050 gui=bold +hi MoreMsg guibg=#f2efd5 guifg=#304050 gui=bold +hi StatusLine guibg=#808080 guifg=#f2efd5 gui=bold +hi StatusLineNC guibg=#707070 guifg=#d0d0d0 gui=none +hi VertSplit guibg=#707070 guifg=#909090 gui=none +hi LineNr guibg=#e8e5d0 guifg=#808080 gui=none + +hi DiffAdd guibg=#a67429 guifg=#ffcc7f +hi DiffDelete guibg=#a62910 guifg=#ff7f50 +hi DiffChange guibg=#425c78 guifg=#7fbdff +hi DiffText guibg=#4e9a06 guifg=#8ae234 +hi SpellBad gui=undercurl guisp=#f02020 + + +hi Title guibg=#f2efd5 guifg=#202020 gui=underline +hi Normal guibg=#f2efd5 guifg=#404040 gui=none + +hi Comment guibg=#f2efd5 guifg=#bbbbbb gui=none + +hi Constant guibg=#f2efd5 guifg=#555321 gui=none +hi String guibg=#f2efd5 guifg=#a07060 gui=none +hi Character guibg=#f2efd5 guifg=#bb6245 gui=none +hi Number guibg=#f2efd5 guifg=#ba7222 gui=none +hi Boolean guibg=#f2efd5 guifg=#d4552c gui=none +hi Float guibg=#f2efd5 guifg=#e87a00 gui=none + +hi Identifier guibg=#f2efd5 guifg=#546c48 gui=none +hi Function guibg=#f2efd5 guifg=#6d7181 gui=none + +hi Statement guibg=#f2efd5 guifg=#606060 gui=none +hi Conditional guibg=#f2efd5 guifg=#81ac3a gui=none +hi Repeat guibg=#f2efd5 guifg=#aab844 gui=none +hi Label guibg=#f2efd5 guifg=#969664 gui=underline +hi Operator guibg=#f2efd5 guifg=#a79a39 gui=none +hi Keyword guibg=#f2efd5 guifg=#408077 gui=none +hi Exception guibg=#f2efd5 guifg=#a03020 gui=none + +hi PreProc guibg=#f2efd5 guifg=#7d64af gui=none +hi Include guibg=#f2efd5 guifg=#c5a2d8 gui=none +hi Define guibg=#f2efd5 guifg=#605080 gui=none +hi Macro guibg=#f2efd5 guifg=#79519d gui=none +hi PreCondit guibg=#f2efd5 guifg=#75698c gui=none + +hi Type guibg=#f2efd5 guifg=#7d95ad gui=none +hi StorageClass guibg=#f2efd5 guifg=#678b5b gui=none +hi Structure guibg=#f2efd5 guifg=#5d6da3 gui=none +hi Typedef guibg=#f2efd5 guifg=#5080b0 gui=none + +hi Special guibg=#f2efd5 guifg=#408077 gui=none +hi SpecialChar guibg=#f2efd5 guifg=#603020 gui=none +hi Tag guibg=#f2efd5 guifg=#a6a679 gui=underline +hi Delimiter guibg=#f2efd5 guifg=#808080 gui=none +hi SpecialComment guibg=#f2efd5 guifg=#caacac gui=none +hi Debug guibg=#f2efd5 guifg=#908080 gui=none + +hi Underlined guibg=#f2efd5 guifg=#202020 gui=underline + +hi Error guibg=#faf5cd guifg=#c83c28 gui=none + +hi ToDo guibg=#f2efd5 guifg=#404040 gui=none + + diff --git a/.vim/colors/neverness.vim b/.vim/colors/neverness.vim new file mode 100644 index 0000000..450ea47 --- /dev/null +++ b/.vim/colors/neverness.vim @@ -0,0 +1,141 @@ +" NEVERNESS colour scheme +" Author: Yann GOLANSKI +" Version: 1.2 +" Last Change: 13 Jan 2010 +" url http://web.njit.edu/~kevin/rgb.txt.html + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = 'neverness' + +" Comments: grey +hi Comment ctermfg=DarkCyan guifg=#848484 guibg=#000000 gui=none + +" Constants: SkyBlue +hi Boolean ctermfg=Cyan guifg=#87ceeb guibg=#000000 gui=none +hi Character ctermfg=Cyan guifg=#87ceeb guibg=#000000 gui=none +hi Constant ctermfg=Cyan guifg=#87ceeb guibg=#000000 gui=none +hi Float ctermfg=Cyan guifg=#87ceeb guibg=#000000 gui=none +hi Number ctermfg=Cyan guifg=#87ceeb guibg=#000000 gui=none +hi String ctermfg=Cyan guifg=#87ceeb guibg=#000000 gui=none + +" Identifier: SteelBlue1 +hi Identifier ctermfg=LightCyan guifg=#63b8ff guibg=#000000 gui=none +hi Function ctermfg=LightCyan guifg=#63b8ff guibg=#000000 gui=none + +" Statement: SteelBlue +hi Conditional ctermfg=DarkBlue guifg=#4682b4 guibg=#000000 gui=bold +hi Exception ctermfg=DarkBlue guifg=#4682b4 guibg=#000000 gui=bold +hi Keyword ctermfg=DarkBlue guifg=#4682b4 guibg=#000000 gui=bold +hi Label ctermfg=DarkBlue guifg=#4682b4 guibg=#000000 gui=bold +hi Operator ctermfg=DarkBlue guifg=#4682b4 guibg=#000000 gui=bold +hi Repeat ctermfg=DarkBlue guifg=#4682b4 guibg=#000000 gui=bold +hi Statement ctermfg=DarkBlue guifg=#4682b4 guibg=#000000 gui=bold + +" PreProc: DarkOrchid1 +hi PreProc ctermfg=DarkGreen guifg=#bf3eff guibg=#000000 gui=none +hi Include ctermfg=DarkGreen guifg=#bf3eff guibg=#000000 gui=none +hi Define ctermfg=DarkGreen guifg=#bf3eff guibg=#000000 gui=none +hi Macro ctermfg=DarkGreen guifg=#bf3eff guibg=#000000 gui=none +hi PreCondit ctermfg=DarkGreen guifg=#bf3eff guibg=#000000 gui=none + +" Type: orchid2 +hi Type ctermfg=DarkGreen guifg=#ee7ae9 guibg=#000000 gui=bold +hi StorageClass ctermfg=DarkGreen guifg=#ee7ae9 guibg=#000000 gui=bold +hi Structure ctermfg=DarkGreen guifg=#ee7ae9 guibg=#000000 gui=bold +hi Typedef ctermfg=DarkGreen guifg=#ee7ae9 guibg=#000000 gui=bold + +" Special: cyan2 +hi Special ctermfg=DarkGray guifg=#00eeee guibg=#000000 gui=none +hi SpecialChar ctermfg=DarkGray guifg=#00eeee guibg=#000000 gui=none +hi Tag ctermfg=DarkGray guifg=#00eeee guibg=#000000 gui=none +hi SpecialComment ctermfg=DarkGray guifg=#00eeee guibg=#000000 gui=none +hi Delimiter ctermfg=DarkGray guifg=#00eeee guibg=#000000 gui=none +hi Debug ctermfg=DarkGray guifg=#00eeee guibg=#000000 gui=none + +" Underline: NavajoWhite2 +hi Underlined ctermfg=LightGray guifg=#eecfa1 guibg=#000000 gui=none + +" Ignore: black +hi Ignore ctermfg=LightGray guifg=#ffffff guibg=#000000 gui=none + +" Error: red +hi Error ctermfg=LightGray guifg=#ff0000 guibg=#232323 gui=bold + +" To do: SlateGray3 +hi Todo ctermfg=LightMagenta guifg=#9fb6cd guibg=#232323 gui=none + +" Spelling... +hi SpellBad ctermfg=DarkRed ctermbg=black +hi SpellCap ctermfg=DarkBlue ctermbg=black +hi SpellRare ctermfg=DarkYellow ctermbg=black +hi SpellLocal ctermfg=DarkGreen ctermbg=black + +" "set cursorline" and "set cursorcolumn" options. +hi lCursor guifg=#43705a guibg=#e6fff3 gui=none +hi CursorColumn guibg=#222222 gui=none +hi CursorLine guibg=#222222 gui=none + +" Line number. +"hi LineNr ctermfg=DarkMagenta guifg=#4682b4 guibg=#000000 gui=bold +hi LineNr ctermfg=DarkMagenta guifg=#2b506e guibg=#000000 gui=none + +" Normal colour: just white thank you. +hi Normal guifg=#ffffff guibg=#000000 gui=none + +" Others: These are "highlight-groups" and "highlight-default" in help section. +hi Cursor guifg=#43705a guibg=#e6fff3 gui=none +hi DiffAdd guifg=#e6fff3 guibg=#43705a gui=bold +hi DiffChange guifg=#e6fff3 guibg=#43705a gui=none +hi DiffDelete guifg=#e6fff3 guibg=#43705a gui=none +hi DiffText guifg=#000000 guibg=#e6fff3 gui=bold +hi Directory guifg=#e6fff3 guibg=#000000 gui=none +hi ErrorMsg guifg=#e6fff3 guibg=#61a181 gui=bold +hi FoldColumn guifg=#9bcfb5 guibg=#43705a gui=bold +hi Folded guifg=#9bcfb5 guibg=#43705a gui=bold +hi IncSearch guifg=#1d3026 guibg=#61a181 gui=bold +hi ModeMsg guifg=#4EEE94 guibg=#000000 gui=bold +hi MoreMsg guifg=#4EEE94 guibg=#000000 gui=bold +hi NonText guifg=#c0c0c0 guibg=#000000 gui=bold +hi Question guifg=#9bcfb5 guibg=#000000 gui=bold +hi Search guifg=#1d3026 guibg=#61a181 gui=bold +hi SpecialKey guifg=#9bcfb5 guibg=#000000 gui=none +"hi StatusLine guifg=#e6fff3 guibg=#61a181 gui=bold +"hi StatusLineNC guifg=#1d3026 guibg=#61a181 gui=bold +hi StatusLine guifg=#4EEE94 guibg=#333333 gui=none +hi StatusLineNC guifg=#4EEE94 guibg=#222222 gui=none +hi Title guifg=#e6fff3 guibg=#1d3026 gui=bold +hi VertSplit guifg=#61a181 guibg=#61a181 gui=none +hi Visual guifg=#e6fff3 guibg=#61a181 gui=none +hi VisualNOS guifg=#9bcfb5 guibg=#000000 gui=none +hi WarningMsg guifg=#BF3EFF guibg=#000000 gui=bold +hi WildMenu guifg=#43705a guibg=#e6fff3 gui=none + +" OTL +hi normal guifg=white guibg=black ctermfg=white ctermbg=black +hi VertSplit guifg=white guibg=black ctermfg=white ctermbg=black +hi Folded guifg=darkcyan guibg=bg ctermfg=cyan ctermbg=black +hi FoldColumn guifg=darkcyan guibg=bg ctermfg=cyan ctermbg=black + +hi def OL0 ctermfg=1 cterm=bold gui=bold guifg=#36648B term=reverse +hi def OL1 ctermfg=4 cterm=bold gui=bold guifg=#4682B4 term=reverse +hi def OL2 ctermfg=2 cterm=bold gui=bold guifg=#4F94CD term=reverse +hi def OL3 ctermfg=3 cterm=bold gui=bold guifg=#5CACEE term=reverse +hi def OL4 ctermfg=5 cterm=bold gui=bold guifg=#63B8FF term=reverse +hi def OL5 ctermfg=6 cterm=bold gui=bold guifg=#708090 term=reverse +hi def OL6 ctermfg=1 cterm=bold gui=bold guifg=#6C7B8B term=reverse +hi def OL7 ctermfg=4 cterm=bold gui=bold guifg=#9FB6CD term=reverse +hi def OL8 ctermfg=2 cterm=bold gui=bold guifg=#B9D3EE term=reverse +hi def OL9 ctermfg=3 cterm=bold gui=bold guifg=#C6E2FF term=reverse + + +" PMenu from Sam Grönblom +hi PmenuSel ctermfg=Black ctermbg=Cyan guifg=#000000 guibg=#87ceeb gui=none +hi Pmenu ctermfg=White ctermbg=DarkBlue guifg=#000000 guibg=#4682b4 gui=none +hi PmenuSbar ctermfg=White ctermbg=LightCyan guifg=#ffffff guibg=#848484 gui=none +hi PmenuThumb ctermfg=White ctermbg=DarkGreen guifg=#ffffff guibg=#87ceeb gui=none + diff --git a/.vim/colors/nevfn.vim b/.vim/colors/nevfn.vim new file mode 100644 index 0000000..d4b03eb --- /dev/null +++ b/.vim/colors/nevfn.vim @@ -0,0 +1,79 @@ +" Vim colorscheme: nevfn +" Copyright (C) 2010 kana + + " :colorscheme is preferred for readability, but it cannot be nested. + " See also load_colors() in Vim source for the details. +runtime colors/desert.vim + +let g:colors_name = 'nevfn' + + + + +highlight NonText guifg=#3333cc guibg=#111111 gui=NONE +highlight Normal guifg=#cccccc guibg=#000000 gui=NONE + +highlight Cursor guifg=#000000 guibg=#99ff99 gui=NONE +highlight CursorLine guifg=NONE guibg=#222222 gui=NONE +highlight CursorColumn guifg=NONE guibg=#222222 gui=NONE +highlight CursorIM guifg=#000000 guibg=#cc9999 gui=NONE +highlight MatchParen guifg=#000000 guibg=#339933 gui=NONE + +highlight IncSearch guifg=#000000 guibg=#ffcc00 gui=bold +highlight Search guifg=#000000 guibg=#cccc00 gui=NONE + +highlight LineNr guifg=#666666 guibg=#111111 gui=NONE +highlight SignColumn guifg=#000000 guibg=#111111 gui=NONE + +highlight FoldColumn guifg=#666666 guibg=#111111 gui=NONE +highlight Folded guifg=#999999 guibg=#111111 gui=NONE + +highlight ErrorMsg guifg=#ffffff guibg=#cc0000 gui=NONE +highlight ModeMsg guifg=#ff9900 guibg=NONE gui=NONE +highlight MoreMsg guifg=#000000 guibg=#66cc66 gui=NONE +highlight Question guifg=#66ff33 guibg=#000000 gui=NONE +highlight WarningMsg guifg=#ffffff guibg=#cc6600 gui=NONE + +highlight Directory guifg=#00ffff guibg=NONE gui=NONE +highlight SpecialKey guifg=#66ff66 guibg=#000000 gui=NONE +highlight Title guifg=#000000 guibg=#cc6633 gui=NONE +highlight WildMenu guifg=#000000 guibg=#ffff00 gui=NONE + +highlight Visual guifg=NONE guibg=#665544 gui=bold +highlight VisualNOS guifg=NONE guibg=#556644 gui=bold + +highlight StatusLine guifg=#000000 guibg=#666666 gui=bold +highlight StatusLineNC guifg=#111111 guibg=#666666 gui=NONE +highlight VertSplit guifg=#000000 guibg=#666666 gui=NONE + +highlight Pmenu guifg=#cccccc guibg=#111111 gui=NONE +highlight PmenuSbar guifg=#000000 guibg=#222222 gui=NONE +highlight PmenuSel guifg=#000000 guibg=#ffcc99 gui=NONE +highlight PmenuThumb guifg=#000000 guibg=#444444 gui=NONE + +highlight TabLine guifg=#999999 guibg=#111111 gui=underline +highlight TabLineFill guifg=#999999 guibg=#111111 gui=underline +highlight TabLineSel guifg=#000000 guibg=#cccccc gui=NONE + + + + +" highlight DiffAdd guifg=#000000 guibg=#000000 gui=NONE +" highlight DiffChange guifg=#000000 guibg=#000000 gui=NONE +" highlight DiffDelete guifg=#000000 guibg=#000000 gui=NONE +" highlight DiffText guifg=#000000 guibg=#000000 gui=NONE + +" highlight SpellBad guifg=#000000 guibg=#000000 gui=NONE +" highlight SpellCap guifg=#000000 guibg=#000000 gui=NONE +" highlight SpellLocal guifg=#000000 guibg=#000000 gui=NONE +" highlight SpellRare guifg=#000000 guibg=#000000 gui=NONE + +" highlight Menu guifg=#000000 guibg=#000000 gui=NONE +" highlight Scrollbar guifg=#000000 guibg=#000000 gui=NONE +" highlight Tooltip guifg=#000000 guibg=#000000 gui=NONE + + + + +" __END__ +" vim: foldmethod=marker diff --git a/.vim/colors/newspaper.vim b/.vim/colors/newspaper.vim new file mode 100644 index 0000000..3556efa --- /dev/null +++ b/.vim/colors/newspaper.vim @@ -0,0 +1,147 @@ +" ============================================================================= +" +" File: newspaper.vim +" Description: Vim color scheme file +" Maintainer: Jimmy Paul; Clayton Parker (cterm colors) +" +" ============================================================================= + +set background=light +highlight clear +if exists("syntax_on") + syntax reset +endif +let colors_name = "newspaper" + +" ============================================================================= +hi Normal gui=NONE guifg=#000000 guibg=#dbdbd2 +hi ColorColumn guifg=NONE guibg=#EEEEDD +hi Cursor guifg=bg guibg=fg gui=NONE + +hi CursorColumn guifg=NONE guibg=#FFFDD0 gui=NONE +hi CursorLine guifg=NONE guibg=#a4a061 gui=NONE + +hi CursorIM guifg=bg guibg=fg gui=NONE +hi lCursor guifg=bg guibg=fg gui=NONE +hi DiffAdd guifg=NONE guibg=#6bb269 gui=NONE +hi DiffChange guifg=NONE guibg=#a2c6cc gui=NONE +hi DiffDelete guifg=NONE guibg=#c15e78 gui=NONE +hi DiffText guifg=#000000 guibg=#c7eae9 gui=NONE +hi Directory guifg=#1600FF guibg=bg gui=NONE +hi ErrorMsg guifg=#a22727 guibg=NONE gui=NONE +hi FoldColumn guifg=#40587c guibg=#dcdda8 gui=bold +hi Folded guifg=#40587c guibg=#b3b3ae gui=italic + +hi IncSearch guifg=#000000 guibg=#d3d47a gui=NONE +hi Search guifg=#000000 guibg=#d3d47a gui=NONE +hi LineNr guifg=#666677 guibg=#cccfbf gui=NONE +hi MatchParen guifg=#000000 guibg=#949555 gui=bold +hi ModeMsg guifg=#ffffff guibg=#a15c55 gui=bold +hi MoreMsg guifg=#3c613b guibg=bg gui=bold +hi NonText guifg=#93aaab guibg=bg gui=bold + +hi Pmenu guifg=#866a45 guibg=#b7b7a7 gui=NONE +hi PmenuSel guifg=#a5a5a5 guibg=#716d51 gui=bold +hi PmenuSbar guifg=#ffffff guibg=#999666 gui=NONE +hi PmenuThumb guifg=#ffffff guibg=#7B7939 gui=NONE + +hi Question guifg=#496844 guibg=bg gui=bold +hi SignColumn guifg=#ffffff guibg=#b7b7a7 gui=NONE + +hi SpecialKey guifg=#ffffff guibg=#adadad gui=NONE + +hi SpellBad guisp=#883629 gui=undercurl +hi SpellCap guisp=#1920b2 gui=undercurl +hi SpellLocal guisp=#41796c gui=undercurl +hi SpellRare guisp=#bb36d7 gui=undercurl +hi StatusLine guifg=#FFFEEE guibg=#557788 gui=NONE +hi StatusLineNC guifg=#F4F4EE guibg=#99aabb gui=italic +hi TabLine guifg=fg guibg=#bcbcbc gui=underline +hi TabLineFill guifg=fg guibg=bg gui=reverse +hi TabLineSel guifg=fg guibg=bg gui=bold +hi Title guifg=#124560 guibg=bg gui=NONE +hi VertSplit guifg=#99aabb guibg=#99aabb +hi Visual guifg=#ffffff guibg=#0a7383 gui=NONE +hi WarningMsg guifg=#883629 guibg=bg gui=NONE +hi WildMenu guifg=#000000 guibg=#7ab4cf gui=NONE + +" 256-Color Terminal Colors, by Clayton Parker {{{1 +" ============================================================================= +hi Normal cterm=NONE ctermfg=16 ctermbg=255 +hi Comment ctermfg=110 +hi Constant ctermfg=214 + hi String ctermfg=30 + hi Boolean ctermfg=88 +hi Identifier ctermfg=160 +hi Function ctermfg=132 +hi Statement ctermfg=21 +hi Keyword ctermfg=45 +hi PreProc ctermfg=27 +hi Type ctermfg=147 +hi Special ctermfg=64 +hi Ignore ctermfg=255 +hi Error ctermfg=196 ctermbg=255 term=none +hi Todo ctermfg=136 ctermbg=255 cterm=NONE +hi VimError ctermfg=160 ctermbg=16 +hi VimCommentTitle ctermfg=110 +hi qfLineNr ctermfg=16 ctermbg=46 cterm=NONE +hi pythonDecorator ctermfg=208 ctermbg=255 cterm=NONE +hi Cursor ctermfg=255 ctermbg=16 cterm=NONE +hi CursorColumn ctermfg=NONE ctermbg=255 cterm=NONE +hi CursorIM ctermfg=255 ctermbg=16 cterm=NONE +hi CursorLine ctermfg=NONE ctermbg=254 cterm=NONE +hi lCursor ctermfg=255 ctermbg=16 cterm=NONE +hi DiffAdd ctermfg=16 ctermbg=48 cterm=NONE +hi DiffChange ctermfg=16 ctermbg=153 cterm=NONE +hi DiffDelete ctermfg=16 ctermbg=203 cterm=NONE +hi DiffText ctermfg=16 ctermbg=226 cterm=NONE +hi Directory ctermfg=21 ctermbg=255 cterm=NONE +hi ErrorMsg ctermfg=160 ctermbg=NONE cterm=NONE +hi FoldColumn ctermfg=24 ctermbg=252 cterm=NONE +hi Folded ctermfg=24 ctermbg=252 cterm=NONE +hi IncSearch ctermfg=255 ctermbg=160 cterm=NONE +hi LineNr ctermfg=253 ctermbg=110 cterm=NONE +hi NonText ctermfg=110 ctermbg=255 cterm=NONE +hi Pmenu ctermfg=fg ctermbg=195 cterm=NONE +hi PmenuSbar ctermfg=255 ctermbg=153 cterm=NONE +hi PmenuSel ctermfg=255 ctermbg=21 cterm=NONE +hi PmenuThumb ctermfg=111 ctermbg=255 cterm=NONE +hi SignColumn ctermfg=110 ctermbg=254 cterm=NONE +hi Search ctermfg=255 ctermbg=160 cterm=NONE +hi SpecialKey ctermfg=255 ctermbg=144 cterm=NONE +hi SpellBad ctermfg=16 ctermbg=229 cterm=NONE +hi SpellCap ctermfg=16 ctermbg=231 cterm=NONE +hi SpellLocal ctermfg=16 ctermbg=231 cterm=NONE +hi SpellRare ctermfg=16 ctermbg=226 cterm=NONE +hi StatusLine ctermfg=255 ctermbg=24 cterm=NONE +hi StatusLineNC ctermfg=253 ctermbg=110 cterm=NONE +hi Title ctermfg=75 ctermbg=255 cterm=NONE +hi VertSplit ctermfg=255 ctermbg=24 cterm=NONE +hi Visual ctermfg=255 ctermbg=153 cterm=NONE +hi WildMenu ctermfg=16 ctermbg=117 cterm=NONE +hi Comment guifg=#4e5968 guibg=NONE gui=italic +hi Constant guifg=#881a1a guibg=NONE gui=NONE +hi String guifg=#1e5432 guibg=NONE gui=NONE +hi Boolean guifg=#6f3d3d guibg=NONE gui=NONE +hi Identifier guifg=#7e473a guibg=NONE gui=NONE +hi Function guifg=#590b33 guibg=NONE gui=NONE +hi Statement guifg=#0f58af guibg=NONE gui=NONE +hi Keyword guifg=#2c4869 guibg=NONE gui=NONE +hi PreProc guifg=#2e3081 guibg=NONE gui=NONE +hi Type guifg=#4d69a7 guibg=NONE gui=NONE +hi Special guifg=#2c694a guibg=NONE gui=NONE +hi Ignore guifg=bg guibg=NONE gui=NONE +hi Error guifg=#5a2d2d guibg=NONE gui=undercurl +hi Todo guifg=#675220 guibg=NONE gui=bold +" ----------------------------------------------------------------------------- +hi VimError guifg=#9e3224 guibg=#000000 gui=bold +hi VimCommentTitle guifg=#5a7471 guibg=bg gui=bold,italic +hi qfFileName guifg=#5b7982 guibg=NONE gui=italic +hi qfLineNr guifg=#e87334 guibg=NONE gui=bold +hi qfError guifg=#673420 guibg=NONE gui=bold + +" ----------------------------------------------------------------------------- +hi pythonDecorator guifg=#6c1111 guibg=NONE gui=bold +hi link pythonDecoratorFunction pythonDecorator +" ----------------------------------------------------------------------------- + diff --git a/.vim/colors/newsprint.vim b/.vim/colors/newsprint.vim new file mode 100644 index 0000000..eeabdf8 --- /dev/null +++ b/.vim/colors/newsprint.vim @@ -0,0 +1,88 @@ +" Vim color file +" Maintainer: Steven Stallion +" Contributors: +" Last Change: 2010/10/21 + +set background=light + +highlight clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "newsprint" + +" Console Colors +highlight Comment ctermfg=grey +highlight Constant ctermfg=grey cterm=bold +highlight Error ctermfg=grey ctermbg=black cterm=bold +highlight Identifier ctermfg=black cterm=bold +highlight Normal ctermfg=black +highlight PreProc ctermfg=black +highlight Special ctermfg=black cterm=bold +highlight Statement ctermfg=black cterm=bold,underline +highlight Type ctermfg=black cterm=bold +highlight Visual ctermfg=black ctermbg=grey + +" GUI Colors +highlight Comment guifg=grey +highlight Constant guifg=grey gui=bold +highlight Cursor guibg=black +highlight CursorLine guibg=grey +highlight Error guifg=grey guibg=black gui=bold +highlight Identifier guifg=black gui=bold +highlight Normal guifg=black +highlight PreProc guifg=black gui=italic +highlight Special guifg=black gui=bold +highlight Statement guifg=black gui=bold,underline +highlight Type guifg=black gui=bold +highlight Visual guifg=black guibg=grey + +" Links +highlight! link Search Visual +highlight! link NonText Normal +highlight! link Macro PreProc +highlight! link Boolean Constant +highlight! link Character Constant +highlight! link Conditional Statement +highlight! link CursorColumn CursorLine +highlight! link Debug PreProc +highlight! link Define PreProc +highlight! link Delimiter Identifier +highlight! link Directory Statement +highlight! link ErrorMsg Error +highlight! link Exception Statement +highlight! link Float Constant +highlight! link FoldColumn Folded +highlight! link Function Identifier +highlight! link Function Identifier +highlight! link Ignore Comment +highlight! link Include PreProc +highlight! link IncSearch Search +highlight! link Keyword Identifier +highlight! link Keyword Identifier +highlight! link Label Statement +highlight! link LineNr Comment +highlight! link MatchParen Statement +highlight! link MoreMsg Identifier +highlight! link NonText Comment +highlight! link Number Constant +highlight! link Operator Identifier +highlight! link Question MoreMsg +highlight! link PreCondit PreProc +highlight! link Repeat Statement +highlight! link SignColumn Identifier +highlight! link SpecialChar Special +highlight! link SpecialComment Special +highlight! link SpecialKey Special +highlight! link SpellBad Error +highlight! link SpellCap Error +highlight! link SpellLocal Error +highlight! link SpellRare Error +highlight! link StorageClass Type +highlight! link String Constant +highlight! link Structure Type +highlight! link Title Structure +highlight! link Todo Error +highlight! link Typedef Type +highlight! link WarningMsg Error diff --git a/.vim/colors/nicotine.vim b/.vim/colors/nicotine.vim new file mode 100644 index 0000000..1c4c066 --- /dev/null +++ b/.vim/colors/nicotine.vim @@ -0,0 +1,33 @@ +" Vim color file +" Maintainer: Tuomas Kasmra +" Last Change: 2007 March 28 +" Version: 1.0 + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="nicotine" + +hi Normal guifg=#000000 guibg=#ffffcc +hi Title guifg=#000000 guibg=#ffffcc gui=BOLD +hi lCursor guibg=#000000 guifg=NONE +hi LineNr guifg=#ffffcc guibg=#6f8b17 +hi Comment guifg=#ec0904 gui=NONE +hi Identifier guifg=#000000 gui=NONE +hi Visual guifg=NONE guibg=#00ccff gui=NONE +hi Directory guifg=#8b8b8b +hi NonText guifg=#6f8b17 +hi Special guifg=#ff8100 +hi Operator guifg=#006600 gui=NONE +hi Statement guifg=#006600 gui=NONE +hi TypeDef guifg=#669900 gui=NONE +hi Type guifg=#669900 gui=NONE +hi Boolean guifg=#669900 gui=NONE +hi String guifg=#9d7d4a gui=NONE +hi Number guifg=#9d7d4a gui=NONE +hi Constant guifg=#9d7d4a gui=NONE +hi Function guifg=#6f8b17 gui=NONE +hi PreProc guifg=#6f8b17 gui=NONE +hi Keyword guifg=#6f8b17 gui=NONE diff --git a/.vim/colors/night.vim b/.vim/colors/night.vim new file mode 100644 index 0000000..ffa3024 --- /dev/null +++ b/.vim/colors/night.vim @@ -0,0 +1,79 @@ +" Vim color file +" Maintainer: Tiza +" Last Change: 2002/03/08 Fri 21:39. +" version: 2.0 +" This color scheme uses a dark background. +" GUI only + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "night" + +hi Normal guifg=#f0f0f8 guibg=#303040 + +" Search +hi IncSearch gui=UNDERLINE,BOLD guifg=#f0f0f8 guibg=#d000d0 +hi Search gui=BOLD guifg=#ffd0ff guibg=#c000c0 + +" Messages +hi ErrorMsg gui=BOLD guifg=#ffffff guibg=#f00080 +hi WarningMsg gui=BOLD guifg=#ffffff guibg=#f00080 +hi ModeMsg gui=BOLD guifg=#00e0ff guibg=NONE +hi MoreMsg gui=BOLD guifg=#00ffdd guibg=NONE +hi Question gui=BOLD guifg=#d0d050 guibg=NONE + +" Split area +hi StatusLine gui=NONE guifg=#101018 guibg=#c8c8d8 +hi StatusLineNC gui=NONE guifg=#606080 guibg=#c8c8d8 +hi VertSplit gui=NONE guifg=#606080 guibg=#c8c8d8 +hi WildMenu gui=NONE guifg=#101018 guibg=#ffffff + +" Diff +hi DiffText gui=NONE guifg=#ffffff guibg=#40a060 +hi DiffChange gui=NONE guifg=#ffffff guibg=#007070 +hi DiffDelete gui=NONE guifg=#ffffff guibg=#40a0c0 +hi DiffAdd gui=NONE guifg=#ffffff guibg=#40a0c0 + +" Cursor +hi Cursor gui=NONE guifg=#ffffff guibg=#d86020 +hi lCursor gui=NONE guifg=#ffffff guibg=#e000b0 +hi CursorIM gui=NONE guifg=#ffffff guibg=#e000b0 + +" Fold +hi Folded gui=BOLD guifg=#e8e8ff guibg=#7070c0 +hi FoldColumn gui=NONE guifg=#a0a0b0 guibg=#404050 + +" Other +hi Directory gui=NONE guifg=#00ffff guibg=NONE +hi LineNr gui=NONE guifg=#808098 guibg=NONE +hi NonText gui=BOLD guifg=#8040ff guibg=#383848 +hi SpecialKey gui=BOLD guifg=#60a0ff guibg=NONE +hi Title gui=BOLD guifg=#f0f0f8 guibg=#9000a0 +hi Visual gui=NONE guifg=#ffffff guibg=#d09050 + +" Syntax group +hi Comment gui=BOLD guifg=#f080ff guibg=NONE +hi Constant gui=NONE guifg=#f0f0f8 guibg=#4830a0 +hi Error gui=BOLD guifg=#ffffff guibg=#f00080 +hi Identifier gui=NONE guifg=#90d0ff guibg=NONE +hi Ignore gui=NONE guifg=#303040 guibg=NONE +hi PreProc gui=NONE guifg=#40ffa0 guibg=NONE +hi Special gui=NONE guifg=#40f8f8 guibg=#4830a0 +hi Statement gui=BOLD guifg=#00ccbb guibg=NONE +hi Todo gui=BOLD guifg=#ffe0c8 guibg=#c07038 +hi Type gui=BOLD guifg=#bb99ff guibg=NONE +hi Underlined gui=UNDERLINE,BOLD guifg=#f0f0f8 guibg=NONE + +" HTML +hi htmlLink gui=UNDERLINE,BOLD +hi htmlBold gui=BOLD +hi htmlBoldItalic gui=BOLD,ITALIC +hi htmlBoldUnderline gui=BOLD,UNDERLINE +hi htmlBoldUnderlineItalic gui=BOLD,UNDERLINE,ITALIC +hi htmlItalic gui=ITALIC +hi htmlUnderline gui=UNDERLINE +hi htmlUnderlineItalic gui=UNDERLINE,ITALIC diff --git a/.vim/colors/nightVision.vim b/.vim/colors/nightVision.vim new file mode 100644 index 0000000..7e35de1 --- /dev/null +++ b/.vim/colors/nightVision.vim @@ -0,0 +1,52 @@ +" Vim color - Clarity +" + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="clarity" + +highlight Normal gui=NONE guifg=#A6BFBB guibg=#1D1F42 +highlight Comment gui=NONE guifg=SteelBlue guibg=bg +highlight PreProc gui=NONE guifg=Salmon guibg=bg +highlight Precondit gui=NONE guifg=Khaki3 guibg=bg +highlight Identifier gui=NONE guifg=Khaki3 guibg=bg +highlight Type gui=BOLD guifg=Wheat guibg=bg +highlight StorageClass gui=BOLD guifg=Cornsilk2 guibg=bg +highlight Todo gui=BOLD guifg=#1F3055 guibg=White +highlight NonText gui=NONE guifg=#334C51 guibg=SteelBlue4 +highlight LineNr gui=NONE guifg=HoneyDew2 guibg=Grey25 +highlight StatusLineNC gui=NONE guifg=Grey80 guibg=LightBlue4 +highlight StatusLine gui=NONE guifg=Black guibg=#FFFFCA +highlight IncSearch gui=NONE guifg=Black guibg=#FFE568 +highlight Search gui=UNDERLINE,BOLD guifg=White guibg=bg +highlight Cursor gui=NONE guifg=Grey50 guibg=Cornsilk +highlight CursorIM gui=NONE guifg=Grey50 guibg=#FFE568 +highlight Title gui=BOLD guifg=OliveDrab3 guibg=bg +highlight WarningMsg gui=BOLD guifg=White guibg=Red4 +highlight String gui=NONE guifg=Grey80 guibg=bg +highlight Number gui=NONE guifg=OliveDrab2 guibg=bg +highlight Constant gui=NONE guifg=#ACEDAB guibg=bg +highlight Visual gui=NONE guifg=#ACEDAB guibg=bg +highlight Directory gui=NONE guifg=PeachPuff guibg=bg +highlight DiffAdd gui=NONE guifg=#7897B7 guibg=#334B64 +highlight DiffChange gui=NONE guifg=HoneyDew4 guibg=#153B64 +highlight DiffDelete gui=NONE guifg=Grey40 guibg=Grey20 +highlight DiffText gui=BOLD guifg=HoneyDew1 guibg=#8A5268 +highlight Typedef gui=NONE guifg=Cornsilk guibg=bg +highlight Define gui=NONE guifg=White guibg=bg +highlight Tag gui=NONE guifg=LightBlue2 guibg=bg +highlight Debug gui=BOLD guifg=Green guibg=bg +highlight Special gui=NONE guifg=NavajoWhite guibg=bg +highlight SpecialChar gui=NONE guifg=NavajoWhite guibg=bg +highlight Delimiter gui=NONE guifg=NavajoWhite guibg=bg +highlight SpecialComment gui=NONE guifg=NavajoWhite3 guibg=bg +highlight Conditional gui=BOLD guifg=Cyan3 guibg=bg +highlight Statement gui=BOLD guifg=SeaGreen guibg=bg +highlight WildMenu gui=NONE guifg=White guibg=#1F306F +highlight browseSuffixes gui=NONE guifg=Cornsilk3 guibg=bg + + + diff --git a/.vim/colors/night_vision.vim b/.vim/colors/night_vision.vim new file mode 100644 index 0000000..1b7a88c --- /dev/null +++ b/.vim/colors/night_vision.vim @@ -0,0 +1,47 @@ +" Vim color file +" Maintainer: iyerns +" Last Change: 25 August 2005 +" Version:1.0 + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="night_vision" + +hi Normal guifg=#00cc00 guibg=#003300 +hi LineNr guifg=#009900 guibg=#003300 +hi Statusline gui=none guibg=#339933 guifg=#ffffff +hi StatuslineNC gui=none guibg=#006633 guifg=#ffffff + +hi Title guifg=black guibg=white gui=BOLD +hi lCursor guibg=Cyan guifg=NONE + +" syntax highlighting groups +hi Comment gui=NONE guifg=#009933 +hi Operator guifg=#ff0000 +hi Identifier guifg=#33ff99 gui=NONE + +hi Statement guifg=#ccff00 gui=NONE +hi TypeDef guifg=#c000c8 gui=NONE +hi Type guifg=#ccffff gui=NONE +hi Boolean guifg=#ff00aa gui=NONE + +hi String guifg=#9999cc gui=NONE +hi Number guifg=#66ff66 gui=NONE +hi Constant guifg=#f0f000 gui=NONE + +hi Function gui=NONE guifg=#fffcfc +hi PreProc guifg=#ffffff gui=NONE +hi Define gui=bold guifg=#f0f0f0 +hi Special gui=none guifg=#cccccc +hi BrowseDirectory gui=bold guifg=#FFFF00 + +hi Keyword guifg=#ff8088 gui=NONE +hi Search gui=NONE guibg=#ffff00 guifg=#330000 +hi IncSearch gui=NONE guifg=#fcfcfc guibg=#8888ff +hi SpecialKey gui=NONE guifg=#fcfcfc guibg=#8888ff +hi NonText gui=NONE guifg=#fcfcfc +hi Directory gui=NONE guifg=#999900 +hi Conditional gui=NONE guifg=#ff9900 diff --git a/.vim/colors/nightflight.vim b/.vim/colors/nightflight.vim new file mode 100644 index 0000000..1b6e6ca --- /dev/null +++ b/.vim/colors/nightflight.vim @@ -0,0 +1,74 @@ +" local syntax file - set colors on a per-machine basis: +" vim: tw=0 ts=4 sw=4 +" Vim color file +" Maintainer: Ralf Holly +" Last Change: 2006 Dec 28 + +hi clear +set background=dark +if exists("syntax_on") + syntax reset +endi + +let g:colors_name = "nightflight" +hi Normal cterm=none ctermfg=darkgrey ctermbg=black guifg=#c0c0ff guibg=black +hi Scrollbar cterm=bold ctermfg=darkcyan ctermbg=cyan guifg=darkcyan guibg=cyan +hi Menu guifg=black guibg=cyan +hi SpecialKey term=bold cterm=bold ctermfg=yellow guifg=yellow +hi NonText term=bold cterm=bold ctermfg=yellow gui=none guifg=yellow +hi Directory term=bold cterm=bold ctermfg=cyan guifg=cyan +hi ErrorMsg term=standout cterm=bold ctermfg=white ctermbg=red guifg=white guibg=red +hi Search term=reverse ctermfg=cyan ctermbg=blue guifg=cyan guibg=blue +hi MoreMsg term=bold cterm=bold ctermfg=darkgreen gui=bold guifg=seagreen +hi ModeMsg term=bold cterm=bold gui=bold guifg=white guibg=blue +hi LineNr term=underline cterm=bold ctermfg=darkgrey guifg=darkgrey +hi Question term=standout cterm=bold ctermfg=darkgreen gui=bold guifg=green +hi StatusLine term=bold,reverse cterm=bold ctermfg=black ctermbg=cyan gui=bold guifg=black guibg=cyan +hi StatusLineNC term=reverse ctermfg=black ctermbg=darkcyan guifg=darkcyan guibg=black +hi Title term=bold cterm=bold ctermfg=darkmagenta gui=bold guifg=magenta +hi Visual term=reverse cterm=bold ctermfg=black ctermbg=white guifg=black guibg=white +hi WarningMsg term=standout cterm=bold ctermfg=red guifg=red +hi Cursor guifg=bg guibg=green +hi Comment term=bold cterm=bold ctermfg=lightblue guifg=#0090ff +hi Constant term=underline cterm=bold ctermfg=cyan guifg=cyan +hi Special term=bold cterm=bold ctermfg=cyan guifg=cyan +hi Identifier term=underline ctermfg=cyan guifg=cyan +hi Statement term=bold cterm=bold ctermfg=green gui=none guifg=#60ff60 +hi PreProc term=underline ctermfg=magenta guifg=#e080e0 +hi Type term=underline cterm=bold ctermfg=lightgreen gui=none guifg=#60ff60 +hi Error term=reverse ctermfg=white ctermbg=red guifg=white guibg=red +hi Todo term=standout ctermfg=white ctermbg=magenta guifg=white guibg=magenta + +" If you want to highlight C/Java operators, create c.vim and java.vim files +" in your local $VIM/vimfiles/after/syntax/ directory, containing this statement: +" syntax match _COperators "+\|-\|\*\|;\|:\|,\|<\|>\|&\||\|!\|\~\|%\|=\|)\|(\|{\|}\|\.\|\[\|\]" +hi _COperators ctermfg=white guifg=white gui=none + +" For Vim 7 +hi MatchParen ctermbg=blue guifg=white guibg=blue + +hi link IncSearch Visual +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 Conditional Statement +hi link Repeat Statement +hi link Label Statement +hi link Operator Statement +hi link Keyword Statement +hi link Exception 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 diff --git a/.vim/colors/nightflight2.vim b/.vim/colors/nightflight2.vim new file mode 100644 index 0000000..d5c653b --- /dev/null +++ b/.vim/colors/nightflight2.vim @@ -0,0 +1,47 @@ +" local syntax file - set colors on a per-machine basis: +" vim: tw=0 ts=4 sw=4 +" Vim color file +" Maintainer: Ralf Holly +" Last Change: 2006 Dec 28 + +hi! clear +set background=dark +if exists("syntax_on") + syntax reset +endi + +let g:colors_name = "nightflight2" +"hi! Normal cterm=none ctermfg=darkgrey ctermbg=black guifg=#c0c0ff guibg=#000020 +hi! Normal cterm=none ctermfg=darkgrey ctermbg=black guifg=#c0c0ff guibg=#000025 +hi! Scrollbar cterm=bold ctermfg=darkcyan ctermbg=cyan guifg=darkcyan guibg=cyan +hi! Menu guifg=black guibg=cyan +hi! SpecialKey term=bold cterm=bold ctermfg=yellow guifg=yellow +hi! NonText term=bold cterm=bold ctermfg=yellow gui=none guifg=yellow +hi! Directory term=bold cterm=bold ctermfg=cyan guifg=cyan +hi! ErrorMsg term=standout cterm=bold ctermfg=white ctermbg=red guifg=white guibg=red +hi! Search term=reverse ctermfg=cyan ctermbg=blue guifg=cyan guibg=blue +hi! MoreMsg term=bold cterm=bold ctermfg=darkgreen gui=bold guifg=seagreen +hi! ModeMsg term=bold cterm=bold gui=bold guifg=white guibg=blue +hi! LineNr term=underline cterm=bold ctermfg=darkgrey guifg=#505070 +hi! Question term=standout cterm=bold ctermfg=darkgreen gui=bold guifg=green +hi! StatusLine term=bold,reverse cterm=bold ctermfg=black ctermbg=cyan gui=bold guifg=black guibg=cyan +hi! StatusLineNC term=reverse ctermfg=black ctermbg=darkcyan guifg=darkcyan guibg=black +hi! Title term=bold cterm=bold ctermfg=darkmagenta gui=bold guifg=magenta +hi! Visual term=reverse cterm=bold ctermfg=black ctermbg=white guifg=black guibg=white +hi! WarningMsg term=standout cterm=bold ctermfg=red guifg=red +hi! Cursor guifg=bg guibg=green +hi! Comment term=bold cterm=bold ctermfg=lightblue guifg=darkgrey +hi! Identifier term=bold cterm=bold ctermfg=green gui=none guifg=white +hi! Special term=bold cterm=bold ctermfg=cyan guifg=darkgrey +hi! Constant term=underline cterm=bold ctermfg=cyan guifg=#30df60 +hi! PreProc term=underline ctermfg=magenta guifg=#fcaf3e +hi! Statement term=bold cterm=bold ctermfg=green gui=none guifg=#8387ff +hi! Type term=underline cterm=bold ctermfg=lightgreen gui=none guifg=#8387ff +hi! Error term=reverse ctermfg=white ctermbg=red guifg=white guibg=red +hi! Todo term=standout ctermfg=white ctermbg=magenta guifg=white guibg=brown +" syntax match _COperators "+\|-\|\*\|;\|:\|,\|<\|>\|&\||\|!\|\~\|%\|=\|)\|(\|{\|}\|\.\|\[\|\]" +hi! _COperators ctermfg=white guifg=white gui=none + +" For Vim 7 +hi! MatchParen ctermbg=blue guifg=white guibg=blue + diff --git a/.vim/colors/nightshimmer.vim b/.vim/colors/nightshimmer.vim new file mode 100644 index 0000000..3c5d5fb --- /dev/null +++ b/.vim/colors/nightshimmer.vim @@ -0,0 +1,116 @@ +" Vim colorscheme +" +" Maintainer: Niklas Lindstrm +" Last Change: 2007-11-26 +" Version: 1.1 +" URL: http://www.vim.org/scripts/script.php?script_id=328 + + +""" Init +set background=dark +highlight clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "nightshimmer" + + +""""""""\ Colors \"""""""" + + +"""" GUI Colors + +highlight Cursor gui=None guibg=Green1 guifg=White +highlight CursorIM gui=bold guifg=white guibg=Green1 +hi CursorColumn guifg=NONE guibg=#204050 gui=NONE +hi CursorLine guifg=NONE guibg=#204050 gui=NONE +highlight Directory guifg=LightSeaGreen guibg=bg +highlight DiffAdd gui=None guifg=fg guibg=DarkCyan +highlight DiffChange gui=None guifg=fg guibg=Green4 +highlight DiffDelete gui=None guifg=fg guibg=black +highlight DiffText gui=bold guifg=fg guibg=bg +highlight ErrorMsg guifg=LightYellow guibg=FireBrick +" FillColumn is renamed to VertSplit:" +"highlight FillColumn gui=NONE guifg=black guibg=grey60 +highlight VertSplit gui=NONE guifg=black guibg=grey60 +highlight Folded gui=bold guibg=#305060 guifg=honeydew +highlight FoldColumn gui=bold guibg=#305060 guifg=#b0d0e0 +highlight IncSearch gui=reverse guifg=fg guibg=bg +highlight LineNr gui=bold guibg=grey6 guifg=Purple1 +highlight ModeMsg guibg=DarkGreen guifg=LightGreen +highlight MoreMsg gui=bold guifg=SeaGreen4 guibg=bg +if version < 600 + " same as SpecialKey + highlight NonText guibg=#123A4A guifg=#3D5D6D +else + " Bottom fill (use e.g. same as LineNr) + highlight NonText gui=None guibg=grey6 guifg=Purple +endif +highlight Normal gui=None guibg=#103040 guifg=honeydew2 +highlight Question gui=bold guifg=SeaGreen2 guibg=bg +highlight Search gui=NONE guibg=Purple4 guifg=NONE +highlight SpecialKey guibg=#123A4A guifg=#426272 +highlight StatusLine gui=bold guibg=grey88 guifg=black +highlight StatusLineNC gui=NONE guibg=grey60 guifg=grey10 +highlight Title gui=bold guifg=MediumOrchid1 guibg=bg +highlight Visual gui=reverse guibg=WHITE guifg=SeaGreen +highlight VisualNOS gui=bold,underline guifg=fg guibg=bg +highlight WarningMsg gui=bold guifg=FireBrick1 guibg=bg +highlight WildMenu gui=bold guibg=Chartreuse guifg=Black + + +"""" Syntax Colors + +if exists("colors_nightshimmer_reverse_comment") + \ && colors_nightshimmer_reverse_comment == 1 + highlight Comment gui=reverse guifg=#507080 + highlight Todo guifg=Cyan guibg=#507080 +else + highlight Comment gui=None guifg=#608090 + highlight Todo guifg=Cyan2 guibg=#305060 +endif + +highlight Constant guifg=Cyan3 guibg=bg + hi String gui=None guifg=Cyan2 guibg=#1a3a4a + "hi Character gui=None guifg=Cyan guibg=bg + highlight Number gui=None guifg=Cyan2 guibg=bg + highlight Boolean gui=bold guifg=Cyan1 guibg=bg + "hi Float gui=None guifg=Cyan guibg=bg + +highlight Identifier guifg=orchid1 + "hi Function gui=None guifg=orchid1 guibg=bg + +highlight Statement gui=NONE guifg=LightGreen + highlight Conditional gui=None guifg=LightGreen guibg=bg + highlight Repeat gui=None guifg=SeaGreen2 guibg=bg + "hi Label gui=None guifg=LightGreen guibg=bg + highlight Operator gui=None guifg=Chartreuse guibg=bg + highlight Keyword gui=bold guifg=LightGreen guibg=bg + highlight Exception gui=bold guifg=LightGreen guibg=bg + +highlight PreProc guifg=MediumPurple1 + "hi Include gui=None guifg=MediumPurple1 guibg=bg + "hi Define gui=None guifg=MediumPurple1g guibg=bg + "hi Macro gui=None guifg=MediumPurple1g guibg=bg + "hi PreCondit gui=None guifg=MediumPurple1g guibg=bg + +highlight Type gui=NONE guifg=LightBlue + "hi StorageClass gui=None guifg=LightBlue guibg=bg + "hi Structure gui=None guifg=LightBlue guibg=bg + "hi Typedef gui=None guifg=LightBlue guibg=bg + +highlight Special gui=bold guifg=White + "hi SpecialChar gui=bold guifg=White guibg=bg + "hi Tag gui=bold guifg=White guibg=bg + "hi Delimiter gui=bold guifg=White guibg=bg + "hi SpecialComment gui=bold guifg=White guibg=bg + "hi Debug gui=bold guifg=White guibg=bg + +highlight Underlined gui=underline guifg=honeydew4 guibg=bg +hi TaglistTagName guifg=green1 guibg=bg gui=bold + +highlight Ignore guifg=#204050 + +highlight Error guifg=LightYellow guibg=FireBrick + + diff --git a/.vim/colors/nightsky.vim b/.vim/colors/nightsky.vim new file mode 100644 index 0000000..8560467 --- /dev/null +++ b/.vim/colors/nightsky.vim @@ -0,0 +1,147 @@ +" Vim color file based on nightsky +" Maintainer: Ian Kelling +" Last Change: + + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="northsky" + + +" Search & normal +hi Normal guifg=#eeeeee guibg=black +hi Search guibg=#3D5B8C guifg=yellow gui=bold +hi IncSearch guifg=bg guibg=cyan gui=bold +if &t_Co == "256" + hi Normal ctermfg=255 ctermbg=16 + hi Search ctermfg=226 ctermbg=60 + hi IncSearch ctermfg=16 ctermbg=51 +else + hi Normal ctermfg=lightgray ctermbg=black + hi Search ctermbg=darkblue ctermfg=yellow + hi IncSearch ctermfg=bg ctermbg=cyan +endif + +" highlight groups +hi Cursor guifg=bg guibg=fg +hi VertSplit guibg=#C0FFFF guifg=#075554 gui=none +hi Folded guifg=plum1 guibg=#061A3E +hi FoldColumn guibg=#800080 guifg=tan +hi ModeMsg guifg=#404040 guibg=#C0C0C0 +hi MoreMsg guifg=darkturquoise guibg=#188F90 +hi NonText guibg=#191919 guifg=#9FADC5 +hi Question guifg=#F4BB7E +hi SpecialKey guifg=#BF9261 +hi StatusLine guibg=#222222 guifg=#b0b0b0 gui=none +hi StatusLineNC guibg=#001111 guifg=DimGrey gui=none +hi Title guifg=#8DB8C3 +hi Visual gui=bold guifg=black guibg=#84AF84 +hi WarningMsg guifg=#F60000 gui=underline +if &t_Co == "256" + hi Cursor ctermfg=254 ctermbg=166 + hi VertSplit ctermfg=23 ctermbg=159 + hi Folded ctermfg=219 ctermbg=17 + hi FoldColumn ctermfg=180 ctermbg=90 + hi ModeMsg ctermfg=238 ctermbg=250 + hi MoreMsg ctermfg=44 ctermbg=30 + hi NonText ctermfg=146 ctermbg=234 + hi Question ctermfg=216 + hi SpecialKey ctermfg=137 + hi StatusLine ctermfg=145 ctermbg=235 + hi StatusLineNC ctermfg=242 ctermbg=16 + hi Title ctermfg=109 + hi Visual ctermfg=16 ctermbg=108 + hi WarningMsg ctermfg=196 +else + hi Cursor ctermfg=white ctermbg=red + hi VertSplit ctermfg=darkblue ctermbg=cyan + hi Folded ctermfg=lightmagenta ctermbg=bg + hi FoldColumn ctermfg=lightgray ctermbg=darkmagenta + hi ModeMsg ctermfg=black ctermbg=gray + hi MoreMsg ctermfg=cyan ctermbg=darkcyan + hi NonText ctermfg=gray ctermbg=darkgrey + hi Question ctermfg=yellow + hi SpecialKey ctermfg=brown + hi StatusLine ctermfg=lightgray ctermbg=darkgray + hi StatusLineNC ctermfg=darkgray ctermbg=black + hi Title ctermfg=blue + hi Visual ctermfg=black ctermbg=darkgreen + hi WarningMsg ctermfg=red +endif + +" syntax highlighting groups +hi Comment guifg=DarkGray +hi Constant guifg=#72A5E4 gui=bold +hi Number guifg=chartreuse2 gui=bold +hi Identifier guifg=#ADCBF1 +hi Statement guifg=yellow +hi PreProc guifg=#14967C +hi Type guifg=#FFAE66 +hi Special guifg=#EEBABA +hi Ignore guifg=grey60 +hi Todo guibg=#9C8C84 guifg=#244C0A +hi Label guifg=#ffc0c0 +if &t_Co == "256" + hi Comment ctermfg=248 + hi Constant ctermfg=74 + hi Number ctermfg=118 + hi Identifier ctermfg=153 + hi Statement ctermfg=226 + hi PreProc ctermfg=30 + hi Type ctermfg=215 + hi Special ctermfg=217 + hi Ignore ctermfg=246 + hi Todo ctermfg=22 ctermbg=138 + hi Label ctermfg=217 +else + hi Comment ctermfg=darkgray + hi Constant ctermfg=lightcyan + hi Number ctermfg=green + hi Identifier ctermfg=gray + hi Statement ctermfg=yellow + hi PreProc ctermfg=darkgreen + hi Type ctermfg=white "brown + hi Special ctermfg=brown "darkmagenta + hi Ignore ctermfg=gray + hi Todo ctermfg=darkblue ctermbg=darkgray + hi Label ctermfg=darkmagenta +endif + +" Vim defaults +hi ErrorMsg guifg=White guibg=Red +hi DiffAdd guibg=DarkBlue +hi DiffChange guibg=aquamarine4 +hi DiffDelete gui=bold guifg=Yellow guibg=DarkBlue +hi DiffText gui=bold guibg=#940303 +hi Directory guifg=Cyan +hi LineNr guifg=DarkGreen +hi WildMenu guifg=Black guibg=Yellow +hi lCursor guibg=SeaGreen1 guifg=NONE +hi Underlined gui=underline guifg=#80a0ff +hi Error guifg=White guibg=Red +if &t_Co == "256" + hi ErrorMsg ctermfg=231 ctermbg=196 + hi DiffAdd ctermbg=18 + hi DiffChange ctermbg=66 + hi DiffDelete ctermfg=226 ctermbg=18 + hi DiffText ctermbg=88 + hi Directory ctermfg=51 + hi LineNr ctermfg=22 + hi WildMenu ctermfg=16 ctermbg=226 + hi lCursor ctermbg=85 + hi Underlined ctermfg=111 + hi Error ctermfg=231 ctermbg=196 +else + hi lCursor ctermbg=lightgreen ctermfg=NONE +endif + + +" vim:sw=4 ts=4 sts=4 diff --git a/.vim/colors/nightwish.vim b/.vim/colors/nightwish.vim new file mode 100644 index 0000000..e9bfe55 --- /dev/null +++ b/.vim/colors/nightwish.vim @@ -0,0 +1,59 @@ +" local syntax file - set colors on a per-machine basis: +" vim: tw=0 ts=4 sw=4 +" Vim color file, derived from colorscheme 'murphy' +" Maintainer: Michael Muhler +" Version: 1.0 +" URL: http://home.arcor.de/muhler +" Last Change: 2003 Apr 15 + +"help see colortest.vim + +hi clear +set background=dark +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "nightwish" + + +hi Comment term=bold ctermfg=LightRed guifg=Orange +hi Constant term=underline ctermfg=LightGreen guifg=White gui=NONE +hi Directory term=bold ctermfg=LightCyan guifg=Cyan +hi Error term=reverse ctermbg=Red ctermfg=White guibg=Red guifg=White +hi ErrorMsg term=standout ctermbg=DarkRed ctermfg=White guibg=Red guifg=White +hi Identifier term=underline ctermfg=LightCyan guifg=#00ffff +hi Ignore ctermfg=black guifg=bg +hi IncSearch term=reverse cterm=reverse gui=reverse +hi LineNr term=underline ctermfg=Yellow guifg=Yellow +hi ModeMsg term=bold cterm=bold gui=bold +hi MoreMsg term=bold ctermfg=LightGreen gui=bold guifg=SeaGreen +hi NonText term=bold ctermfg=Blue gui=bold guifg=Blue +hi PreProc term=underline ctermfg=LightBlue guifg=Wheat +hi Question term=standout ctermfg=LightGreen gui=bold guifg=Cyan +hi Search term=reverse guifg=white guibg=Blue +hi Special term=bold ctermfg=LightRed guifg=magenta +hi SpecialKey term=bold ctermfg=LightBlue guifg=Cyan +hi Statement term=bold ctermfg=Yellow guifg=#ffff00 gui=NONE +hi StatusLine term=reverse,bold cterm=reverse gui=NONE guifg=White guibg=darkblue +hi StatusLineNC term=reverse cterm=reverse gui=NONE guifg=white guibg=#333333 +hi Title term=bold ctermfg=LightMagenta gui=bold guifg=Pink +hi Todo term=standout ctermbg=Yellow ctermfg=Black guifg=Blue guibg=Yellow +hi Type ctermfg=LightGreen guifg=grey gui=none +hi Visual term=reverse cterm=reverse gui=NONE guifg=white guibg=darkgreen +hi WarningMsg term=standout ctermfg=LightRed guifg=Red + +hi Normal ctermbg=Black ctermfg=lightgreen guibg=Black guifg=#a0a0ff +hi Cursor guifg=bg guibg=Green +hi String term=underline cterm=bold ctermfg=magenta guifg=#ffa0a0 +hi Repeat term=underline ctermfg=Magenta guifg=Red +hi Delimiter term=standout ctermfg=Blue guifg=#00ff88 +hi Label term=standout ctermfg=DarkYellow guifg=DarkYellow +hi Keyword term=standout ctermfg=Green guifg=Green +hi Operator term=standout ctermfg=Yellow guifg=#ff5555 +hi Exception term=standout ctermfg=Magenta guifg=#ff0dd5 +hi Tag term=standout ctermfg=Green guifg=#55ff0d + +" missing items in murphy +hi Scrollbar guifg=darkcyan guibg=cyan +hi Menu guifg=black guibg=cyan +hi link Conditional Repeat diff --git a/.vim/colors/no_quarter.vim b/.vim/colors/no_quarter.vim new file mode 100644 index 0000000..30a81f9 --- /dev/null +++ b/.vim/colors/no_quarter.vim @@ -0,0 +1,135 @@ +" Vim color file +" Maintainer: Otavio Fernandes +" Last Change: 2010/04/13 Wed 01h 46 +" Version: 1.0.7 +" +" ts=4 +" + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let colors_name = "no_quarter" + +" +" Vim Colors (( Default Options )) +" + +hi Normal guifg=gray90 guibg=gray9 + +hi Comment gui=NONE guifg=#647bcf guibg=NONE +hi Constant gui=NONE guifg=#b07050 guibg=NONE +hi Cursor gui=NONE guifg=#424242 guibg=yellow +hi CursorIM gui=NONE guifg=#ffffff guibg=#8800ff +hi CursorLine gui=NONE guibg=gray10 +hi DiffAdd gui=NONE guifg=#a0d0ff guibg=#0020a0 +hi DiffChange gui=NONE guifg=#e03870 guibg=#601830 +hi DiffDelete gui=NONE guifg=#a0d0ff guibg=#0020a0 +hi DiffText gui=NONE guifg=#ff78f0 guibg=#a02860 +hi Directory gui=NONE guifg=lightmagenta guibg=NONE +hi Error gui=BOLD guifg=white guibg=#8000ff +hi ErrorMsg gui=BOLD guifg=#ffa0ff guibg=NONE +hi FoldColumn gui=NONE guifg=#40c0ff guibg=gray12 +hi Folded gui=NONE guifg=#40f0f0 guibg=#006090 +hi iCursor gui=NONE guifg=white guibg=green +hi Identifier gui=NONE guifg=#90c0c0 guibg=NONE +hi Ignore gui=NONE guifg=bg guibg=NONE +hi IncSearch gui=UNDERLINE guifg=#80ffff guibg=#0060c0 +hi LineNr gui=NONE guifg=gray30 guibg=gray10 +hi ModeMsg gui=BOLD guifg=#a0d0ff guibg=NONE +hi MoreMsg gui=NONE guifg=lightred guibg=bg +hi NonText gui=BOLD guifg=#707070 guibg=bg +hi OverLength gui=NONE guifg=fg guibg=gray30 +hi PreProc gui=NONE guifg=#c090c0 guibg=NONE +hi Question gui=BOLD guifg=#e8e800 guibg=NONE +hi Search gui=NONE guifg=bg guibg=gray60 +hi SignColumn gui=NONE guifg=darkyellow guibg=bg +hi Special gui=NONE guifg=#c090c0 guibg=NONE +hi SpecialKey gui=BOLD guifg=green guibg=NONE +hi Statement gui=NONE guifg=#c0c090 guibg=NONE +hi StatusLine gui=NONE guifg=#000000 guibg=gray90 +hi StatusLineNC gui=NONE guifg=#abac84 guibg=gray12 +hi Title gui=NONE guifg=darkcyan guibg=bg +hi Todo gui=BOLD guifg=#ff80d0 guibg=NONE +hi Type gui=NONE guifg=#60f0a8 guibg=NONE +hi Underlined gui=UNDERLINE guifg=#707070 guibg=NONE +hi VertSplit gui=NONE guifg=#abac84 guibg=gray12 +hi Visual gui=NONE guifg=#b0ffb0 guibg=#008000 +hi VisualNOS gui=NONE guifg=#ffe8c8 guibg=#c06800 +hi WarningMsg gui=BOLD guifg=#ffa0ff guibg=NONE +hi WildMenu gui=NONE guifg=#000000 guibg=#abac84 +hi htmlTagName gui=NONE guifg=grey70 guibg=bg +hi lCursor gui=NONE guifg=#ffffff guibg=#8800ff + +" +" Tag List +" + +hi MyTagListFileName gui=underline guifg=fg guibg=grey25 + +" +" Perl +" + +hi perlControl gui=NONE guifg=#c0c090 guibg=gray15 +hi perlFunctionName gui=NONE guifg=white guibg=bg +hi perlIdentifier gui=NONE guifg=gray75 guibg=NONE +hi perlLabel gui=NONE guifg=#c0c090 guibg=gray15 +hi perlMatchStartEnd gui=NONE guifg=#c0c090 guibg=gray14 +hi perlNumber gui=NONE guifg=#80ac7b guibg=bg +hi perlOperator gui=NONE guifg=#c0c090 guibg=bg +hi perlPackageDecl gui=NONE guifg=#80ac7b guibg=gray15 +hi perlQQ gui=NONE guifg=fg guibg=gray15 +hi perlRepeat gui=NONE guifg=#c0b790 guibg=bg +hi perlSharpBang gui=NONE guifg=#c0c090 guibg=gray10 +hi perlShellCommand gui=NONE guifg=lightred guibg=bg +hi perlSpecialBEOM gui=NONE guifg=fg guibg=gray15 +hi perlSpecialMatch gui=NONE guifg=#c864c7 guibg=bg +hi perlSpecialString gui=NONE guifg=#dc966b guibg=bg +hi perlStatement gui=NONE guifg=#c0c090 guibg=NONE +hi perlStatementControl gui=NONE guifg=#dcdb6b guibg=bg +hi perlStatementFiledesc gui=NONE guifg=#a2c090 guibg=bg +hi perlStatementHash gui=NONE guifg=#c0c090 guibg=gray12 +hi perlStatementInclude gui=NONE guifg=#c0c090 guibg=bg +hi perlStatementNew gui=underline guifg=#c0c090 guibg=bg +hi perlStatementSub gui=NONE guifg=#c0c090 guibg=bg +hi perlStringStartEnd gui=NONE guifg=#b07050 guibg=bg +hi perlVarNotInMatches gui=NONE guifg=#915555 guibg=bg +hi perlVarPlain gui=NONE guifg=#74c5c6 guibg=bg +hi perlVarPlain2 gui=NONE guifg=#74c6a8 guibg=bg +hi perlVarSimpleMember gui=NONE guifg=#c0c090 guibg=bg +hi perlVarSimpleMemberName gui=NONE guifg=grey70 guibg=bg + +" ------------------------------------------------------------------------------------------------- +" perlStatementRegexp perlSpecialDollar perlSpecialStringU perlSubstitutionBracket +" perlTranslationBracket perlType perlStatementStorage perlStatementScalar +" perlStatementNumeric perlStatementList perlStatementIOfunc +" perlStatementVector perlStatementFiles perlStatementFlow perlStatementScope +" perlStatementProc perlStatementSocket perlStatementIPC perlStatementNetwork perlStatementPword +" perlStatementTime perlStatementMisc perlStatementPackage perlList perlMisc +" perlVarSlash perlMethod perlFiledescRead perlFiledescStatement perlFormatName +" perlFloat perlString perlSubstitutionSQ perlSubstitutionDQ +" perlSubstitutionSlash perlSubstitutionHash perlSubstitutionCurly perlSubstitutionPling +" perlTranslationSlash perlTranslationHash perlTranslationCurly perlHereDoc perlFormatField +" perlStringUnexpanded perlCharacter perlSpecialAscii perlConditional perlInclude +" perlStorageClass perlPackageRef perlFunctionPRef +" ------------------------------------------------------------------------------------------------- + +" +" Omni Menu +" + +hi Pmenu guifg=grey10 guibg=grey50 +hi PmenuSel guifg=#abac84 guibg=gray12 +hi PmenuSbar guibg=grey20 +hi PmenuThumb guifg=grey30 + +" +" Right Margin +" + +hi rightMargin guibg=#453030 + +" EOF diff --git a/.vim/colors/northland.vim b/.vim/colors/northland.vim new file mode 100644 index 0000000..3737850 --- /dev/null +++ b/.vim/colors/northland.vim @@ -0,0 +1,149 @@ +" Vim color file - northland +" Maintainer: Luka Djigas +" URL: http://www.vim.org/scripts/script.php?script_id=2200 + +" Version: 0.2 +" Last Change: 24.11.2008. 19:13 +" ===== +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="northland" +" ===== :he highlight-groups +hi Normal gui=NONE guifg=White guibg=#001020 guisp=NONE + +hi StatusLine gui=NONE guifg=Black guibg=DarkRed +hi StatusLineNC gui=NONE guifg=Black guibg=DarkGray + hi VertSplit gui=NONE guifg=Black guibg=DarkGray + +hi Cursor gui=NONE guifg=White guibg=PaleTurquoise3 + hi CursorIM gui=NONE guifg=White guibg=PaleTurquoise3 +hi CursorLine guibg=#003853 + hi CursorColumn guibg=#003853 + +hi ErrorMsg gui=NONE guifg=Yellow guibg=NONE + hi WarningMsg gui=NONE guifg=Yellow guibg=NONE + hi MoreMsg gui=NONE guifg=Yellow guibg=NONE + hi Question gui=NONE guifg=Yellow guibg=NONE +hi ModeMsg gui=bold guifg=White guibg=DarkRed + +"hi Directory gui=NONE guifg=DarkGreen guibg=NONE +"hi Directory gui=bold guifg=#0475B9 "---lighter blue +hi Directory gui=bold guifg=#035587 "---darker blue + +hi Search gui=NONE guifg=White guibg=DarkRed + hi IncSearch gui=NONE guifg=White guibg=DarkRed + +hi NonText gui=NONE guifg=DarkRed guibg=NONE +hi SpecialKey gui=NONE guifg=#999999 guibg=NONE + +hi Pmenu gui=NONE guifg=Black guibg=DarkRed +hi PmenuSel gui=NONE guifg=#507080 guibg=Black +hi PmenuSbar guibg=#003853 +hi PmenuThumb gui=NONE guibg=Black +hi WildMenu gui=NONE guifg=#507080 guibg=Black + +hi MatchParen gui=bold guifg=DarkRed guibg=NONE + +hi LineNr gui=bold guifg=#507080 guibg=Black + +hi Visual gui=NONE guifg=NONE guibg=DarkRed +hi VisualNOS gui=underline guifg=NONE guibg=DarkRed + +hi DiffAdd gui=NONE guifg=White guibg=DarkGreen +hi DiffChange gui=NONE guifg=White guibg=DarkGray +hi DiffDelete gui=NONE guifg=White guibg=DarkRed +hi DiffText gui=NONE guifg=White guibg=NONE + +hi Folded gui=bold guifg=DarkGreen guibg=Black +hi FoldColumn gui=NONE guifg=#507080 guibg=Black +hi SignColumn gui=bold guifg=DarkRed guibg=Black + +hi SpellBad gui=undercurl guisp=Red +hi SpellCap gui=undercurl guisp=White +hi SpellLocal gui=undercurl guisp=Orange + hi SpellRare gui=undercurl guisp=Orange + +hi TabLine gui=NONE guifg=#507080 guibg=Black +hi TabLineSel gui=bold guifg=Black guibg=#507080 +hi TabLineFill gui=NONE guifg=White guibg=Black + +hi Title gui=bold guifg=#507080 guibg=NONE + +"hi Menu +"hi Scrollbar +"hi Tooltip +"hi User1 ... User9 +" ===== :he group-name +hi Comment gui=italic guifg=DarkGray +"*Comment any comment +"hi Constant gui=none guifg=#0475B9 "---lighter blue +hi Constant gui=none guifg=#035587 "---darker blue +"*Constant any constant +" String a string constant: "this is a string" +" Character a character constant: 'c', '\n' +" Number a number constant: 234, 0xff +" Boolean a boolean constant: TRUE, false +" Float a floating point constant: 2.3e10 +"hi Identifier gui=bold,italic guifg=#FB000A "---lighter +hi Identifier gui=bold,italic guifg=#BC0007 "---darker +"*Identifier any variable name +" Function function name (also: methods for classes) +"hi Statement gui=bold guifg=#FF9500 "---lighter +hi Statement gui=bold guifg=#BF6F00 "---darker +"*Statement any statement +" Conditional if, then, else, endif, switch, etc. +" Repeat for, do, while, etc. +" Label case, default, etc. +" Operator "sizeof", "+", "*", etc. +" Keyword any other keyword +" Exception try, catch, throw +"hi PreProc gui=bold,italic guifg=#640A9B "--- +"hi PreProc gui=bold,italic guifg=#576D02 "--- +hi PreProc gui=bold,italic guifg=#AD6141 +"*PreProc generic Preprocessor +" Include preprocessor #include +" Define preprocessor #define +" Macro same as Define +" PreCondit preprocessor #if, #else, #endif, etc. +"hi Type gui=none guifg=#14AE00 "---lighter +hi Type gui=none guifg=#0F8200 "---darker +"*Type int, long, char, etc. +" StorageClass static, register, volatile, etc. +" Structure struct, union, enum, etc. +" Typedef A typedef +"hi! link Special Constant +hi! link Special Type +"*Special any special symbol +" SpecialChar special character in a constant +" Tag you can use CTRL-] on this +" Delimiter character that needs attention +" SpecialComment special things inside a comment +" Debug debugging statements +hi clear Underlined +"*Underlined text that stands out, HTML links +hi! link Ignore Constant +"*Ignore left blank, hidden +hi Error gui=bold guifg=Black guibg=Yellow +"*Error any erroneous construct +hi! link Todo LineNr +"*Todo anything that needs extra attention; mostly the +" keywords TODO FIXME and XXX +" ===== fortran +hi fortranUnitHeader gui=bold guifg=Purple +hi fortranType gui=none guifg=#0F8200 +hi! link fortranTypeR fortranType +hi! link fortranStructure fortranType +hi! link fortranOperator Normal "/// +hi! link fortranNumber Normal "/// + + + +hi fortranLabelNumber guifg=DarkRed + + + +"hi fortranTodo guifg=Black guibg=#507080 +"hi fortranContinueMark guifg=White guibg=DarkRed diff --git a/.vim/colors/northsky.vim b/.vim/colors/northsky.vim new file mode 100644 index 0000000..ffed1b1 --- /dev/null +++ b/.vim/colors/northsky.vim @@ -0,0 +1,217 @@ +" Vim color file, started as a fork of bluegreen and changed beyond any recognition +" Maintainer: Sergey Khorev +" Last Change: Jan 27 2010 +" URL: http://www.vim.org/scripts/script.php?script_id=586 +" http://sites.google.com/site/khorser/opensource/vim +" vim: sw=2:sts=2:ff=unix +" if your text terminal supports font attributes like bold you might want +" to set g:CtermAttrs = 1 for better results +" TODO update terminal colors + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="northsky" + +hi Normal guifg=white guibg=#061a3e gui=none + +hi Search guifg=NONE guibg=#3d5b8c gui=none +hi IncSearch guifg=NONE guibg=NONE gui=inverse + +hi Cursor guifg=#e3e3e3 guibg=#d74141 gui=none +hi lCursor guifg=NONE guibg=SeaGreen1 gui=none + +hi VertSplit guifg=tan guibg=#800080 gui=none + +hi Folded guifg=plum1 guibg=#061a3e gui=none +hi FoldColumn guifg=DimGrey guibg=#241572 gui=none +hi ModeMsg guifg=#404040 guibg=#c0c0c0 gui=bold +hi MoreMsg guifg=darkturquoise guibg=#188f90 gui=bold +hi NonText guifg=#9fadc5 guibg=#334c75 gui=none +hi Question guifg=#f4bb7e guibg=NONE gui=bold + +hi SpecialKey guifg=#bf9261 guibg=NONE gui=none +hi StatusLine guifg=cyan guibg=#067c7b gui=none +hi StatusLineNC guifg=DimGrey guibg=#004443 gui=none +hi Title guifg=#8db8c3 gui=bold +hi Visual guifg=NONE guibg=#2b5547 gui=none +hi VisualNOS guibg=#628262 gui=bold +hi WarningMsg guifg=#f60000 gui=underline + +hi Comment guifg=DarkGray guibg=NONE gui=none +hi Constant guifg=#72a5e4 guibg=NONE gui=none +hi Number guifg=chartreuse2 guibg=NONE gui=none +hi Identifier guifg=#72c8e4 guibg=NONE gui=none +hi Statement guifg=yellow guibg=NONE gui=none +hi PreProc guifg=#14a87c guibg=NONE gui=none +hi Type guifg=#ffae66 guibg=NONE gui=none +hi Special guifg=#ffc0c0 guibg=NONE gui=none +hi Ignore guifg=grey60 guibg=NONE gui=none +hi Todo guifg=#244c0a guibg=#9c8c84 gui=none +hi Label guifg=HotPink2 guibg=NONE gui=none + +hi WildMenu guifg=Black guibg=Yellow gui=none + +hi Error guifg=Red guibg=NONE gui=none +hi ErrorMsg guifg=White guibg=DarkRed gui=none +hi DiffAdd guifg=NONE guibg=DarkBlue gui=none +hi DiffDelete guifg=Yellow guibg=DarkBlue gui=none +hi DiffChange guifg=NONE guibg=#0b2349 gui=none +hi DiffText guifg=NONE guibg=#565076 gui=none + +hi Directory guifg=Cyan guibg=NONE gui=none +hi LineNr guifg=DarkSeaGreen guibg=NONE gui=none + +hi SignColumn guifg=Cyan guibg=gray39 gui=none + +hi PmenuThumb guifg=gray20 gui=none +hi PmenuSbar guibg=gray39 gui=none +hi PmenuSel guifg=lightcyan guibg=blue gui=bold +hi PMenu guifg=black guibg=darkgray gui=none + +hi Underlined gui=underline guifg=#80a0ff guibg=NONE + +hi MatchParen guifg=bg guibg=#2365B6 gui=none + +hi CursorColumn guifg=NONE guibg=#102F54 gui=none +hi CursorLine guifg=NONE guibg=#071F49 gui=none + +hi TabLine guifg=white guibg=gray20 gui=none +hi TabLineSel guifg=black guibg=white gui=bold +hi TabLineFill guibg=gray20 gui=none + +" terminal with bold, italic etc attrs +" use t_Co? +if exists('g:CtermAttrs') && g:CtermAttrs + hi Normal ctermfg=lightgray ctermbg=black cterm=none + + hi Search ctermfg=yellow ctermbg=darkblue cterm=bold + hi IncSearch ctermfg=bg ctermbg=cyan cterm=bold + + hi Cursor ctermfg=white ctermbg=red cterm=none + hi lCursor ctermfg=NONE ctermbg=lightgreen " cterm=none + + hi VertSplit ctermfg=darkblue ctermbg=cyan cterm=none + hi Folded ctermfg=magenta ctermbg=bg cterm=none + hi FoldColumn ctermfg=lightgray ctermbg=darkmagenta cterm=none + hi ModeMsg ctermfg=black ctermbg=gray cterm=bold + hi MoreMsg ctermfg=darkblue ctermbg=darkcyan cterm=none + hi NonText ctermfg=gray ctermbg=darkblue cterm=none + hi Question ctermfg=yellow cterm=none + + hi SpecialKey ctermfg=brown cterm=none + hi StatusLine ctermfg=darkblue ctermbg=darkcyan cterm=bold + hi StatusLineNC ctermfg=black ctermbg=darkgray cterm=bold + hi Title ctermfg=blue cterm=none + hi Visual ctermfg=black ctermbg=darkgreen cterm=none + hi WarningMsg ctermfg=red cterm=none + + hi Comment ctermfg=darkgray cterm=none + hi Constant ctermfg=cyan term=none + hi Number ctermfg=green cterm=bold + hi Identifier ctermfg=white cterm=bold + hi Statement ctermfg=yellow cterm=bold + hi PreProc ctermfg=darkgreen cterm=none + hi Type ctermfg=darkmagenta cterm=bold + hi Special ctermfg=darkmagenta cterm=none + hi Ignore ctermfg=gray cterm=none + hi Todo ctermfg=darkblue ctermbg=lightgray cterm=none + hi Label ctermfg=yellow cterm=none + + hi WildMenu cterm=bold + + hi ErrorMsg ctermfg=white ctermbg=darkred cterm=none + hi DiffAdd ctermfg=white ctermbg=DarkBlue cterm=none + hi DiffDelete ctermfg=yellow ctermbg=darkblue cterm=bold + hi DiffChange ctermbg=DarkMagenta cterm=none + hi DiffText cterm=bold ctermbg=Red + + hi Directory ctermfg=darkcyan cterm=none + hi LineNr ctermfg=blue cterm=none + + hi VisualNOS cterm=underline,bold + hi SignColumn ctermfg=Cyan ctermbg=DarkGrey + + hi Pmenu ctermfg=black ctermbg=darkgray cterm=bold + hi PmenuSel ctermfg=white ctermbg=darkblue cterm=bold + hi PmenuSbar ctermbg=lightgray cterm=none + hi PmenuThumb ctermbg=black cterm=none + + hi Error ctermfg=white ctermbg=red cterm=bold + hi Underlined ctermfg=lightblue cterm=bold,underline + + hi MatchParen ctermfg=bg ctermbg=DarkGray + + hi TabLine ctermfg=82 ctermbg=15 cterm=underline + hi TabLineSel ctermbg=15 ctermbg=82 cterm=bold + hi TabLineFill cterm=reverse +else " usual terminal + + hi Normal ctermfg=7 ctermbg=0 + + hi Search ctermfg=3 ctermbg=4 cterm=NONE + hi IncSearch ctermfg=7 ctermbg=5 cterm=NONE + + "hi Cursor ctermfg=1 cterm=NONE + "hi lCursor ctermfg=0 ctermbg=2* + + hi VertSplit ctermfg=0 ctermbg=7 cterm=NONE + hi Folded ctermfg=5 cterm=NONE + hi FoldColumn ctermfg=7 ctermbg=5 cterm=NONE + hi ModeMsg ctermfg=0 ctermbg=7 cterm=NONE + hi MoreMsg ctermfg=0 ctermbg=6 cterm=NONE + hi NonText ctermfg=6 cterm=bold + hi Question ctermfg=3 cterm=bold + + hi SpecialKey ctermfg=5 cterm=NONE + hi StatusLine ctermfg=0 ctermbg=6 cterm=NONE + hi StatusLineNC ctermfg=4 ctermbg=7 cterm=NONE + hi Title ctermfg=6 cterm=bold + hi Visual ctermfg=4 ctermbg=3 cterm=NONE + hi WarningMsg ctermfg=1 cterm=NONE + + hi Comment ctermfg=0 cterm=bold + hi Constant ctermfg=4 cterm=bold + hi Number ctermfg=2 cterm=bold + hi Identifier ctermfg=6 cterm=NONE + hi Statement ctermfg=3 cterm=bold + hi PreProc ctermfg=2 cterm=NONE + hi Type ctermfg=3 cterm=NONE + hi Special ctermfg=5 cterm=bold + hi Ignore ctermfg=4 cterm=NONE + hi Todo ctermfg=4 ctermbg=3 cterm=NONE + hi Label ctermfg=1 cterm=bold + + hi WildMenu ctermbg=3 cterm=NONE + + hi ErrorMsg ctermfg=7 ctermbg=1 cterm=bold + hi DiffAdd ctermfg=3 ctermbg=4 cterm=bold + hi DiffDelete ctermfg=3 ctermbg=1 cterm=bold + hi DiffChange ctermfg=4 ctermbg=2 cterm=NONE + hi DiffText ctermfg=3 ctermbg=1 cterm=bold + + hi Directory ctermfg=3 cterm=NONE + hi LineNr ctermfg=4 cterm=NONE + + hi VisualNOS cterm=underline,bold + hi SignColumn ctermfg=6 ctermbg=0 cterm=bold + + hi Pmenu ctermfg=0 ctermbg=4* cterm=none + hi PmenuSel ctermfg=7* ctermbg=5* cterm=none + hi PmenuSbar ctermbg=7 cterm=none + hi PmenuThumb ctermbg=0 cterm=none + + hi Error ctermfg=7 ctermbg=1 cterm=bold + hi Underlined ctermfg=4 cterm=bold,underline + + hi MatchParen ctermfg=0 ctermbg=7 cterm=bold + + hi TabLine ctermfg=4 ctermbg=7 cterm=none + hi TabLineSel ctermfg=7 ctermbg=4 cterm=none + hi TabLineFill cterm=reverse +endif + +hi User1 guifg=black guibg=#004443 gui=none +hi User2 ctermfg=darkblue ctermbg=blue cterm=bold guifg=blue guibg=lightblue gui=bold diff --git a/.vim/colors/norwaytoday.vim b/.vim/colors/norwaytoday.vim new file mode 100644 index 0000000..13a6b26 --- /dev/null +++ b/.vim/colors/norwaytoday.vim @@ -0,0 +1,97 @@ +" Vim color scheme +" +" Name: norwaytoday.vim +" Maintainer: Josh O'Rourke +" Last Change: 10 Feb 2009 +" License: public domain +" Version: 0.8 +" +" This theme is based on the Netbeans "Norway Today" theme. + +set background=dark +hi clear + +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "norwaytoday" + +if has("gui_running") + highlight Normal guifg=#FFFFFF guibg=#121E31 + highlight Cursor guibg=#FFFF00 + highlight LineNr guifg=#FFFFFF guibg=#121E31 + highlight Search guibg=#685D9C + highlight Visual guibg=#685D9C + + " Auto-Completion Menu + highlight Pmenu guifg=grey80 guibg=grey20 + highlight PmenuSel guifg=#dcdccc guifg=grey10 + highlight PmenuSbar guibg=#dcdccc + highlight PmenuThumb guifg=#dcdccc + + " Folds + highlight Folded guifg=white guibg=black + + "rubyComment + highlight Comment guifg=#428BDD gui=italic + + "rubyPseudoVariable + "nil, self, symbols, etc + highlight Constant guifg=#B53B3C + + "rubyClass, rubyModule, rubyDefine + "def, end, include, etc + highlight Define guifg=#F8BB00 gui=none + + "rubyError, rubyInvalidVariable + highlight Error guifg=#FFFFFF guibg=#990000 + + "rubyFunction + highlight Function guifg=#FFFFFF gui=italic + + "rubyIdentifier + "@var, @@var, $var, etc + highlight Identifier guifg=#EDDD3D gui=bold + + "rubyInclude + "include, autoload, extend, load, require + highlight Include guifg=#F8BB00 gui=none + + "rubyKeyword, rubyKeywordAsMethod + "alias, undef, super, yield, callcc, caller, lambda, proc + highlight Keyword guifg=#F8BB00 gui=none + + "rubyInteger + highlight Number guifg=#EDDD3D + + "rubyControl, rubyAccess, rubyEval + "case, begin, do, for, if, unless, while, until, else, etc... + highlight Statement guifg=#F8BB00 gui=none + + "rubyString + highlight String guifg=#E2CE00 + + "rubyConstant + highlight Type guifg=#8AA6C1 gui=none + + highlight Title guifg=#FFFFFF + + "highlight DiffAdd guifg=#990000 + "highlight DiffDelete guifg=#990000 + + highlight xmlTag guifg=#F8BB00 + highlight xmlTagName guifg=#F8BB00 + highlight xmlEndTag guifg=#F8BB00 + highlight xmlComment guifg=#7F7F7F + highlight xmlAttrib guifg=#007C00 + highlight xmlEntity guifg=#99006B + + hi link htmlTag xmlTag + hi link htmlTagName xmlTagName + hi link htmlEndTag xmlEndTag + hi link htmlComment xmlComment + hi link htmlArg xmlAttrib + "hi link htmlPreAttr xmlEntity + hi link htmlString xmlEntity +endif diff --git a/.vim/colors/nour.vim b/.vim/colors/nour.vim new file mode 100644 index 0000000..05eb518 --- /dev/null +++ b/.vim/colors/nour.vim @@ -0,0 +1,165 @@ +hi clear +if exists("syntax_on") + syntax reset +endif + +"begin dw_green copy/paste +"-------------------------------------------------------------------- + +" Name Of File: dw_green.vim. + +" Description: Gvim colorscheme, designed against VIM 7.0 GUI + +" By: Steve Cadwallader + +" Contact: demwiz@gmail.com + +" Credits: Inspiration from the brookstream and redblack schemes. + +" Last Change: Saturday, September 17, 2006. + +" Installation: Drop this file in your $VIMRUNTIME/colors/ directory. + +"-------------------------------------------------------------------- + + + +set background=dark + +hi clear + +if exists("syntax_on") + + syntax reset + +endif + +let g:colors_name="dw_green" + + + +"-------------------------------------------------------------------- + + + +hi Boolean guifg=#00ff00 + +hi cDefine guifg=#00ff00 + +hi cInclude guifg=#ffffff + +hi Comment guifg=#696969 + +hi Constant guifg=#00ff00 + +hi Cursor guibg=#444444 guifg=#ffffff + +hi CursorColumn guibg=#001100 + +hi CursorLine guibg=#001800 + +hi DiffAdd guibg=#333333 guifg=#00ff00 + +hi DiffChange guibg=#333333 guifg=#00ff00 + +hi DiffDelete guibg=#333333 guifg=#00ff00 + +hi DiffText guibg=#333333 guifg=#ffffff + +hi Directory guibg=#000000 guifg=#00ff00 + +hi ErrorMsg guibg=#ffffff guifg=#000000 + +hi FoldColumn guibg=#222222 guifg=#ff0000 + +hi Folded guibg=#222222 guifg=#ff0000 + +hi Function guibg=#000000 guifg=#00ff00 + +hi Identifier guibg=#000000 guifg=#00bb00 + +hi IncSearch gui=none guibg=#00bb00 guifg=#000000 + +hi LineNr guibg=#000000 guifg=#008800 + +hi MatchParen gui=none guibg=#222222 guifg=#00ff00 + +hi ModeMsg guibg=#000000 guifg=#00ff00 + +hi MoreMsg guibg=#000000 guifg=#00ff00 + +hi NonText guibg=#000000 guifg=#ffffff + +hi Normal gui=none guibg=#000000 guifg=#c0c0c0 + +hi Operator gui=none guifg=#696969 + +hi PreProc gui=none guifg=#ffffff + +hi Question guifg=#00ff00 + +hi Search gui=none guibg=#00ff00 guifg=#000000 + +hi SignColumn guibg=#111111 guifg=#ffffff + +hi Special gui=none guibg=#000000 guifg=#ffffff + +hi SpecialKey guibg=#000000 guifg=#00ff00 + +hi Statement gui=bold guifg=#00ff00 + +hi StatusLine gui=none guibg=#008800 guifg=#000000 + +hi StatusLineNC gui=none guibg=#444444 guifg=#000000 + +hi String gui=none guifg=#00bb00 + +hi TabLine gui=none guibg=#444444 guifg=#000000 + +hi TabLineFill gui=underline guibg=#000000 guifg=#ffffff + +hi TabLineSel gui=none guibg=#00aa00 guifg=#000000 + +hi Title gui=none guifg=#00ff00 + +hi Todo gui=none guibg=#000000 guifg=#ff0000 + +hi Type gui=none guifg=#ffffff + +hi VertSplit gui=none guibg=#000000 guifg=#ffffff + +hi Visual guibg=#00dd00 guifg=#000000 + +hi WarningMsg guibg=#888888 guifg=#000000 + + + +"- end of colorscheme ----------------------------------------------- + + +" begin mods to dw_green +highlight Identifier guifg=#aaff00 +highlight Normal guifg=#efefff +highlight Type guifg=white +highlight Special guifg=#ffffee +highlight PreProc guifg=#99ff99 +highlight Statement guifg=#66ff33 gui=NONE +highlight SpecialKey guifg=yellow +highlight Function guifg=#99bbff +highlight String guifg=#ffcc33 +highlight Search gui=reverse guifg=NONE guibg=NONE +highlight StatusLine guibg=#99ff00 guifg=black +highlight StatusLineNC guifg=black guibg=#ff9900 +highlight Cursor guibg=#444444 +highlight CursorLine guibg=#222222 +highlight CursorColumn guibg=#222222 +highlight LineNr guifg=#0099ff +highlight MBENormal guibg=#000000 guifg=#99ff00 +highlight MBEVisibleNormal guibg=#121212 guifg=#33ff00 +highlight MBEVisibleChanged guifg=yellow +highlight myAssignments guifg=#99ff00 +highlight myDots guifg=#0099ff +highlight mySemis guifg=#99ff00 +match myAssignments /\(=\)\|\(:\)\|\( \* \)\|\( - \)\|\( + \)\|\( < \)\|\( >= \)\|\( <= \)/ +2match myDots /\(\$\)\|\(\.\)/ +3match mySemis /(\|)\|\(;\)\|\(,\)/ diff --git a/.vim/colors/nuvola.vim b/.vim/colors/nuvola.vim new file mode 100644 index 0000000..f9a608a --- /dev/null +++ b/.vim/colors/nuvola.vim @@ -0,0 +1,107 @@ +" local syntax file - set colors on a per-machine basis: +" vim: tw=0 ts=4 sw=4 +" Vim color file +" Maintainer: Dr. J. Pfefferl +" Source: $Source: /MISC/projects/cvsroot/user/pfefferl/vim/colors/nuvola.vim,v $ +" Id: $Id: nuvola.vim,v 1.14 2003/08/11 14:03:28 pfefferl Exp $ +" Last Change: $Date: 2003/08/11 14:03:28 $ + +" Intro {{{1 +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "nuvola" + +" Normal {{{1 +hi Normal ctermfg=black ctermbg=NONE guifg=black guibg=#F9F5F9 + +" Search {{{1 +hi IncSearch cterm=UNDERLINE ctermfg=Black ctermbg=brown gui=UNDERLINE guifg=Black guibg=#FFE568 +hi Search term=reverse cterm=UNDERLINE ctermfg=Black ctermbg=brown gui=NONE guifg=Black guibg=#FFE568 + +" Messages {{{1 +hi ErrorMsg gui=BOLD guifg=#EB1513 guibg=NONE +hi! link WarningMsg ErrorMsg +hi ModeMsg gui=BOLD guifg=#0070ff guibg=NONE +hi MoreMsg guibg=NONE guifg=seagreen +hi! link Question MoreMsg + +" Split area {{{1 +hi StatusLine term=BOLD,reverse cterm=NONE ctermfg=Yellow ctermbg=DarkGray gui=BOLD guibg=#56A0EE guifg=white +hi StatusLineNC gui=NONE guibg=#56A0EE guifg=#E9E9F4 +hi! link VertSplit StatusLineNC +hi WildMenu gui=UNDERLINE guifg=#56A0EE guibg=#E9E9F4 + +" Diff {{{1 +hi DiffText gui=NONE guifg=#f83010 guibg=#ffeae0 +hi DiffChange gui=NONE guifg=#006800 guibg=#d0ffd0 +hi DiffDelete gui=NONE guifg=#2020ff guibg=#c8f2ea +hi! link DiffAdd DiffDelete + +" Cursor {{{1 +hi Cursor gui=none guifg=black guibg=orange +"hi lCursor gui=NONE guifg=#f8f8f8 guibg=#8000ff +hi CursorIM gui=NONE guifg=#f8f8f8 guibg=#8000ff + +" Fold {{{1 +hi Folded gui=NONE guibg=#B5EEB5 guifg=black +"hi FoldColumn gui=NONE guibg=#9FD29F guifg=black +hi! link FoldColumn Folded + +" Other {{{1 +hi Directory gui=NONE guifg=#0000ff guibg=NONE +hi LineNr gui=NONE guifg=#8080a0 guibg=NONE +hi NonText gui=BOLD guifg=#4000ff guibg=#EFEFF7 +"hi SpecialKey gui=NONE guifg=#A35B00 guibg=NONE +hi Title gui=BOLD guifg=#1014AD guibg=NONE +hi Visual term=reverse ctermfg=yellow ctermbg=black gui=NONE guifg=Black guibg=#BDDFFF +hi VisualNOS term=reverse ctermfg=yellow ctermbg=black gui=UNDERLINE guifg=Black guibg=#BDDFFF + +" Syntax group {{{1 +hi Comment term=BOLD ctermfg=darkgray guifg=#3F6B5B +hi Constant term=UNDERLINE ctermfg=red guifg=#B91F49 +hi Error term=REVERSE ctermfg=15 ctermbg=9 guibg=Red guifg=White +hi Identifier term=UNDERLINE ctermfg=Blue guifg=Blue +hi Number term=UNDERLINE ctermfg=red gui=NONE guifg=#00C226 +hi PreProc term=UNDERLINE ctermfg=darkblue guifg=#1071CE +hi Special term=BOLD ctermfg=darkmagenta guifg=red2 +hi Statement term=BOLD ctermfg=DarkRed gui=NONE guifg=#F06F00 +hi Tag term=BOLD ctermfg=DarkGreen guifg=DarkGreen +hi Todo term=STANDOUT ctermbg=Yellow ctermfg=blue guifg=Blue guibg=Yellow +hi Type term=UNDERLINE ctermfg=Blue gui=NONE guifg=Blue +hi! link String Constant +hi! link Character Constant +hi! link Boolean Constant +hi! link Float Number +hi! link Function Identifier +hi! link Conditional Statement +hi! link Repeat Statement +hi! link Label Statemengreen +hi! link Operator Statement +hi! link Keyword Statement +hi! link Exception 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 SpecialChar Special +hi! link Delimiter Special +hi! link SpecialComment Special +hi! link Debug Special + +" HTML {{{1 +hi htmlLink gui=UNDERLINE guifg=#0000ff guibg=NONE +hi htmlBold gui=BOLD +hi htmlBoldItalic gui=BOLD,ITALIC +hi htmlBoldUnderline gui=BOLD,UNDERLINE +hi htmlBoldUnderlineItalic gui=BOLD,UNDERLINE,ITALIC +hi htmlItalic gui=ITALIC +hi htmlUnderline gui=UNDERLINE +hi htmlUnderlineItalic gui=UNDERLINE,ITALIC + +" vim600:foldmethod=marker diff --git a/.vim/colors/obsidian.vim b/.vim/colors/obsidian.vim new file mode 100644 index 0000000..9288e6f --- /dev/null +++ b/.vim/colors/obsidian.vim @@ -0,0 +1,341 @@ +" Vim color file +" Maintainer: Daniel Bolton +" Last Modified: 2010-07-04 +" Version: 0.1 +" +" This scheme is based on the excellent lucius scheme. The cfterm colors are +" in fact exactly the same, and exist simply because I was too lazy to remove +" them yet. + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let colors_name="obsidian" + +" Some other colors to save +" blue: 3eb8e5 +" green: 92d400 +" c green: d5f876, cae682 +" new blue: 002D62 +" new gray: CCCCCC + + +" Base color +" ---------- +hi Normal guifg=#D4D2CF guibg=#201F1F +hi Normal ctermfg=253 ctermbg=235 + + +" Comment Group +" ------------- +" any comment +hi Comment guifg=#787775 gui=italic +hi Comment ctermfg=240 cterm=none + + +" Constant Group +" -------------- +" any constant +hi Constant guifg=#ff0000 gui=none +hi Constant ctermfg=116 cterm=none +" strings +hi String guifg=#E85848 gui=none +hi String ctermfg=110 cterm=none +" character constant +hi Character guifg=#96BFF0 gui=none +hi Character ctermfg=110 cterm=none +" numbers decimal/hex +hi Number guifg=#C0A25F gui=none +hi Number ctermfg=116 cterm=none +" true, false +hi Boolean guifg=#C0A25F gui=none +hi Boolean ctermfg=116 cterm=none +" float +hi Float guifg=#C0A25F gui=none +hi Float ctermfg=116 cterm=none + + +" Identifier Group +" ---------------- +" any variable name +hi Identifier guifg=#508ED8 gui=none +hi Identifier ctermfg=216 cterm=none +" function, method, class +hi Function guifg=#8E79A5 gui=none +hi Function ctermfg=216 cterm=none + + +" Statement Group +" --------------- +" any statement +hi Statement guifg=#8E79A5 gui=none +hi Statement ctermfg=150 cterm=none +" if, then, else +hi Conditional guifg=#00A000 gui=none +hi Conditional ctermfg=150 cterm=none +" try, catch, throw, raise +hi Exception guifg=#4A5704 gui=none +hi Exception ctermfg=150 cterm=none +" for, while, do +hi Repeat guifg=#DBA716 gui=none +hi Repeat ctermfg=150 cterm=none +" case, default +hi Label guifg=#8E79A5 gui=none +hi Label ctermfg=150 cterm=none +" sizeof, +, * +hi Operator guifg=#FF9FEC gui=none +hi Operator ctermfg=150 cterm=none +" any other keyword, e.g. 'sub' +hi Keyword guifg=#AA3000 gui=none +hi Keyword ctermfg=150 cterm=none + + +" Preprocessor Group +" ------------------ +" generic preprocessor +hi PreProc guifg=#78B753 gui=none +hi PreProc ctermfg=223 cterm=none +" #include +hi Include guifg=#78B753 gui=none +hi Include ctermfg=223 cterm=none +" #define +hi Define guifg=#78B753 gui=none +hi Define ctermfg=223 cterm=none +" same as define +hi Macro guifg=#78B753 gui=none +hi Macro ctermfg=223 cterm=none +" #if, #else, #endif +hi PreCondit guifg=#78B753 gui=none +hi PreCondit ctermfg=223 cterm=none + + +" Type Group +" ---------- +" int, long, char +hi Type guifg=#508ED8 gui=none +hi Type ctermfg=115 cterm=none +" static, register, volative +hi StorageClass guifg=#508ED8 gui=none +hi StorageClass ctermfg=115 cterm=none +" struct, union, enum +hi Structure guifg=#508ED8 gui=none +hi Structure ctermfg=115 cterm=none +" typedef +hi Typedef guifg=#508ED8 gui=none +hi Typedef ctermfg=115 cterm=none + + +" Special Group +" ------------- +" any special symbol +hi Special guifg=#C00000 gui=none +hi Special ctermfg=181 cterm=none +" special character in a constant +hi SpecialChar guifg=#C00000 gui=none +hi SpecialChar ctermfg=181 cterm=none +" things you can CTRL-] +hi Tag guifg=#C00000 gui=none +hi Tag ctermfg=181 cterm=none +" character that needs attention +hi Delimiter guifg=#C00000 gui=none +hi Delimiter ctermfg=181 cterm=none +" special things inside a comment +hi SpecialComment guifg=#C00000 gui=none +hi SpecialComment ctermfg=181 cterm=none +" debugging statements +hi Debug guifg=#C00000 guibg=NONE gui=none +hi Debug ctermfg=181 ctermbg=NONE cterm=none + + +" Underlined Group +" ---------------- +" text that stands out, html links +hi Underlined guifg=fg gui=underline +hi Underlined ctermfg=fg cterm=underline + + +" Ignore Group +" ------------ +" left blank, hidden +hi Ignore guifg=bg +hi Ignore ctermfg=bg + + +" Error Group +" ----------- +" any erroneous construct +hi Error guifg=#E85848 guibg=#451E1A gui=none +hi Error ctermfg=167 ctermbg=52 cterm=none + + +" Todo Group +" ---------- +" todo, fixme, note, xxx +hi Todo guifg=#C0A25F guibg=NONE gui=underline +hi Todo ctermfg=228 ctermbg=NONE cterm=underline + + +" Spelling +" -------- +" word not recognized +hi SpellBad guisp=#ee0000 gui=undercurl +hi SpellBad ctermbg=9 cterm=undercurl +" word not capitalized +hi SpellCap guisp=#eeee00 gui=undercurl +hi SpellCap ctermbg=12 cterm=undercurl +" rare word +hi SpellRare guisp=#ffa500 gui=undercurl +hi SpellRare ctermbg=13 cterm=undercurl +" wrong spelling for selected region +hi SpellLocal guisp=#ffa500 gui=undercurl +hi SpellLocal ctermbg=14 cterm=undercurl + + +" Cursor +" ------ +" character under the cursor +hi Cursor guifg=fg guibg=#0078FF +hi Cursor ctermfg=bg ctermbg=153 +" like cursor, but used when in IME mode +hi CursorIM guifg=bg guibg=#96cdcd +hi CursorIM ctermfg=bg ctermbg=116 +" cursor column +hi CursorColumn guifg=NONE guibg=#202438 gui=none +hi CursorColumn ctermfg=NONE ctermbg=236 cterm=none +" cursor line/row +hi CursorLine gui=NONE guibg=#202438 gui=none +hi CursorLine cterm=NONE ctermbg=236 cterm=none + + +" Misc +" ---- +" directory names and other special names in listings +hi Directory guifg=#c0e0b0 gui=none +hi Directory ctermfg=151 cterm=none +" error messages on the command line +hi ErrorMsg guifg=#E85848 guibg=#461E1A gui=none +hi ErrorMsg ctermfg=196 ctermbg=NONE cterm=none +" column separating vertically split windows +hi VertSplit guifg=#777777 guibg=#363946 gui=none +hi VertSplit ctermfg=242 ctermbg=237 cterm=none +" columns where signs are displayed (used in IDEs) +hi SignColumn guifg=#9fafaf guibg=#181818 gui=none +hi SignColumn ctermfg=145 ctermbg=233 cterm=none +" line numbers +hi LineNr guifg=#B4D3B1 guibg=#323232 +hi LineNr ctermfg=102 ctermbg=237 +" match parenthesis, brackets +hi MatchParen guifg=#00ff00 guibg=NONE gui=bold +hi MatchParen ctermfg=46 ctermbg=NONE cterm=bold +" the 'more' prompt when output takes more than one line +hi MoreMsg guifg=#2e8b57 gui=none +hi MoreMsg ctermfg=29 cterm=none +" text showing what mode you are in +hi ModeMsg guifg=fg guibg=NONE gui=bold +hi ModeMsg ctermfg=117 ctermbg=NONE cterm=none +" the '~' and '@' and showbreak, '>' double wide char doesn't fit on line +hi NonText guifg=#404040 gui=none +hi NonText ctermfg=235 cterm=none +" the hit-enter prompt (show more output) and yes/no questions +hi Question guifg=fg gui=none +hi Question ctermfg=fg cterm=none +" meta and special keys used with map, unprintable characters +hi SpecialKey guifg=#404040 +hi SpecialKey ctermfg=237 +" titles for output from :set all, :autocmd, etc +hi Title guifg=#62bdde gui=none +hi Title ctermfg=74 cterm=none +"hi Title guifg=#5ec8e5 gui=none +" warning messages +hi WarningMsg guifg=#e5786d gui=none +hi WarningMsg ctermfg=173 cterm=none +" current match in the wildmenu completion +hi WildMenu guifg=#cae682 guibg=#363946 gui=bold,underline +hi WildMenu ctermfg=16 ctermbg=186 cterm=bold + + +" Diff +" ---- +" added line +hi DiffAdd guifg=#0000FF guibg=#201F1F gui=none +hi DiffAdd ctermfg=108 ctermbg=22 cterm=none +" changed line +hi DiffChange guifg=NONE guibg=#4a343a gui=none +hi DiffChange ctermfg=fg ctermbg=52 cterm=none +" deleted line +hi DiffDelete guifg=#FF0000 guibg=#3c3631 gui=none +hi DiffDelete ctermfg=59 ctermbg=58 cterm=none +" changed text within line +hi DiffText guifg=#f05060 guibg=#4a343a gui=bold +hi DiffText ctermfg=203 ctermbg=52 cterm=bold + + +" Folds +" ----- +" line used for closed folds +hi Folded guifg=#91d6f8 guibg=#363946 gui=none +hi Folded ctermfg=117 ctermbg=238 cterm=none +" column on side used to indicated open and closed folds +hi FoldColumn guifg=#91d6f8 guibg=#363946 gui=none +hi FoldColumn ctermfg=117 ctermbg=238 cterm=none + + +" Search +" ------ +" highlight incremental search text; also highlight text replaced with :s///c +hi IncSearch guifg=#302F2F guibg=#C0A25F gui=none +hi IncSearch ctermfg=87 cterm=reverse +" hlsearch (last search pattern), also used for quickfix +hi Search guibg=#C0A25F gui=none +hi Search ctermbg=214 cterm=none + + +" Popup Menu +" ---------- +" normal item in popup +hi Pmenu guifg=#e0e0e0 guibg=#303840 gui=none +hi Pmenu ctermfg=253 ctermbg=233 cterm=none +" selected item in popup +hi PmenuSel guifg=#cae682 guibg=#505860 gui=none +hi PmenuSel ctermfg=186 ctermbg=237 cterm=none +" scrollbar in popup +hi PMenuSbar guibg=#505860 gui=none +hi PMenuSbar ctermbg=59 cterm=none +" thumb of the scrollbar in the popup +hi PMenuThumb guibg=#808890 gui=none +hi PMenuThumb ctermbg=102 cterm=none + + +" Status Line +" ----------- +" status line for current window +hi StatusLine guifg=#508ED8 guibg=#1C2C3F gui=bold +hi StatusLine ctermfg=254 ctermbg=237 cterm=bold +" status line for non-current windows +hi StatusLineNC guifg=#78777f guibg=#302F2F gui=none +hi StatusLineNC ctermfg=244 ctermbg=237 cterm=none + + +" Tab Lines +" --------- +" tab pages line, not active tab page label +hi TabLine guifg=#b6bf98 guibg=#363946 gui=none +hi TabLine ctermfg=244 ctermbg=236 cterm=none +" tab pages line, where there are no labels +hi TabLineFill guifg=#cfcfaf guibg=#363946 gui=none +hi TabLineFill ctermfg=187 ctermbg=236 cterm=none +" tab pages line, active tab page label +hi TabLineSel guifg=#efefef guibg=#414658 gui=bold +hi TabLineSel ctermfg=254 ctermbg=236 cterm=bold + + +" Visual +" ------ +" visual mode selection +hi Visual guifg=NONE guibg=#1A2B40 +hi Visual ctermfg=NONE ctermbg=24 +" visual mode selection when vim is not owning the selection (x11 only) +hi VisualNOS guifg=fg gui=underline +hi VisualNOS ctermfg=fg cterm=underline diff --git a/.vim/colors/obsidian2.vim b/.vim/colors/obsidian2.vim new file mode 100644 index 0000000..ad7f64d --- /dev/null +++ b/.vim/colors/obsidian2.vim @@ -0,0 +1,74 @@ +" Vim color file +" Name: Obsidian +" Maintainer: Aydar Khabibullin +" Version: 0.5 +" Date: 01/30/2011 12:35:30 AM + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="obsidian2" + +let s:Colors = [ +\'#a082bd','#e0e2e4','#93c763', +\'#ffcd22','#ec7600','#ff8409', +\'#e8e2b7','#d39745','#66747b', +\'#678cb1','#5899c0','#5ab9be', +\'#293134','#2f393c','#f3db2e'] + +" Syntax +execute "hi Normal guifg=" . s:Colors[1] . " guibg=" . s:Colors[12] +execute "hi Comment guifg=" . s:Colors[8] . " guibg=" . s:Colors[12] . " gui=italic" +execute "hi Conditional guifg=" . s:Colors[2] . " guibg=" . s:Colors[12] +execute "hi Constant guifg=" . s:Colors[1] . " guibg=" . s:Colors[12] +execute "hi Error guifg=" . s:Colors[7] . " guibg=" . s:Colors[12] +execute "hi Identifier guifg=" . s:Colors[9] . " guibg=" . s:Colors[12] +execute "hi Ignore guifg=" . s:Colors[1] +execute "hi Operator guifg=" . s:Colors[6] . " guibg=" . s:Colors[12] +execute "hi PreProc guifg=" . s:Colors[0] . " guibg=" . s:Colors[12] +execute "hi Repeat guifg=" . s:Colors[2] . " guibg=" . s:Colors[12] +execute "hi Special guifg=" . s:Colors[2] . " guibg=" . s:Colors[12] +execute "hi Statement guifg=" . s:Colors[2] . " guibg=" . s:Colors[12] +execute "hi Number guifg=" . s:Colors[3] . " guibg=" . s:Colors[12] +execute "hi Boolean guifg=" . s:Colors[11] . " guibg=" . s:Colors[12] +execute "hi String guifg=" . s:Colors[5] . " guibg=" . s:Colors[12] +execute "hi Character guifg=" . s:Colors[5] . " guibg=" . s:Colors[12] +execute "hi Title guifg=" . s:Colors[1] . " guibg=" . s:Colors[12] +execute "hi Todo guifg=" . s:Colors[12] . " guibg=" . s:Colors[0] . " gui=bold guisp=NONE" +execute "hi Type guifg=" . s:Colors[9] . " guibg=" . s:Colors[12] +execute "hi Underline guifg=" . s:Colors[10] . " guibg=" . s:Colors[12] + +" Groups +execute "hi Cursor guifg=" . s:Colors[8] . " guibg=" . s:Colors[4] +execute "hi CursorIM guifg=" . s:Colors[7] . " guibg=" . s:Colors[4] +execute "hi CursorLine guifg=NONE guibg=" . s:Colors[13] +execute "hi CursorColumn guifg=". s:Colors[1] . " guibg=" . s:Colors[13] +execute "hi Directory guifg=" . s:Colors[10] . " guibg=" . s:Colors[12] +execute "hi ErrorMsg guifg=" . s:Colors[13] . " guibg=" . s:Colors[7] +execute "hi FoldColumn guifg=" . s:Colors[13] . " guibg=" . s:Colors[12] +execute "hi Folded guifg=" . s:Colors[12] . " guibg=" . s:Colors[11] +execute "hi IncSearch guifg=" . s:Colors[1] . " guibg=" . s:Colors[12] . " gui=none" +execute "hi LineNr guifg=" . s:Colors[8] . " guibg=" . s:Colors[12] . " gui=none" +execute "hi MatchParen guifg=" . s:Colors[12] . " guibg=" . s:Colors[4] . " gui=bold" +execute "hi ModeMsg guifg=" . s:Colors[5] . " guibg=" . s:Colors[12] +execute "hi MoreMsg guifg=" . s:Colors[5] . " guibg=" . s:Colors[12] +execute "hi NonText guifg=" . s:Colors[1] . " guibg=" . s:Colors[12] +execute "hi Pmenu guifg=" . s:Colors[1] . " guibg=" . s:Colors[8] +execute "hi PmenuSel guifg=" . s:Colors[13] . " guibg=" . s:Colors[9] +execute "hi Question guifg=" . s:Colors[0] . " guibg=" . s:Colors[12] +execute "hi Search guifg=" . s:Colors[0] . " guibg=" . s:Colors[12] +execute "hi SpecialKey guifg=" . s:Colors[10] . " guibg=" . s:Colors[12] +execute "hi StatusLine guifg=" . s:Colors[1] . " guibg=" . s:Colors[9] . " gui=none" +execute "hi StatusLineNC guifg=" . s:Colors[1] . " guibg=" . s:Colors[8] . " gui=none" +execute "hi TabLine guifg=" . s:Colors[8] . " guibg=" . s:Colors[12] . " gui=none" +execute "hi TabLineFill guifg=" . s:Colors[12] . " guibg=" . s:Colors[13] . " gui=none" +execute "hi TabLineSel guifg=" . s:Colors[1] . " guibg=" . s:Colors[13] . " gui=none" +execute "hi Tooltip guifg=" . s:Colors[9] . " guibg=" . s:Colors[8] . " gui=none" +execute "hi VertSplit guifg=" . s:Colors[0] . " guibg=" . s:Colors[13] . " gui=none" +execute "hi Visual guifg=" . s:Colors[1] . " guibg=" . s:Colors[0] . " gui=none" +hi VisualNOS gui=none guibg=black +execute "hi WarningMsg guifg=" . s:Colors[5] . " guibg=" . s:Colors[12] . " gui=none" +execute "hi WildMenu guifg=" . s:Colors[14] . " guibg=" . s:Colors[5] . " gui=none" + diff --git a/.vim/colors/oceanblack.vim b/.vim/colors/oceanblack.vim new file mode 100644 index 0000000..e6e6be3 --- /dev/null +++ b/.vim/colors/oceanblack.vim @@ -0,0 +1,115 @@ +" Vim color file +" Maintainer: Chris Vertonghen +" Last Change: 2003-03-25 +" Version: 0.1 +" based on Tom Regner's oceanblue.vim + +""" Init +set background=dark +highlight clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "oceanblack" + + +""""""""\ Colors \"""""""" + + +"""" GUI Colors + +highlight Cursor gui=None guibg=PaleTurquoise3 guifg=White +highlight CursorIM gui=bold guifg=white guibg=PaleTurquoise3 +highlight Directory guifg=LightSeaGreen guibg=bg +highlight DiffAdd gui=None guifg=fg guibg=DarkCyan +highlight DiffChange gui=None guifg=fg guibg=Green4 +highlight DiffDelete gui=None guifg=fg guibg=black +highlight DiffText gui=bold guifg=fg guibg=bg +highlight ErrorMsg guifg=LightYellow guibg=FireBrick +" previously 'FillColumn': +"highlight FillColumn gui=NONE guifg=black guibg=grey60 +highlight VertSplit gui=NONE guifg=black guibg=grey60 +highlight Folded gui=bold guibg=#305060 guifg=#b0d0e0 +highlight FoldColumn gui=None guibg=#305060 guifg=#b0d0e0 +highlight IncSearch gui=reverse guifg=fg guibg=bg +"highlight LineNr guibg=grey6 guifg=LightSkyBlue3 +highlight LineNr guibg=grey6 guifg=#777777 +highlight ModeMsg guibg=DarkGreen guifg=LightGreen +highlight MoreMsg gui=bold guifg=SeaGreen4 guibg=bg +if version < 600 + " same as SpecialKey + highlight NonText guibg=#123A4A guifg=#3D5D6D +else + " Bottom fill (use e.g. same as LineNr) + highlight NonText gui=None guibg=#000000 guifg=LightSkyBlue +endif +highlight Normal gui=None guibg=#000000 guifg=honeydew2 +highlight Question gui=bold guifg=SeaGreen2 guibg=bg +highlight Search gui=NONE guibg=LightSkyBlue4 guifg=NONE +highlight SpecialKey guibg=#103040 guifg=#324262 +highlight StatusLine gui=bold guibg=grey88 guifg=black +highlight StatusLineNC gui=NONE guibg=grey60 guifg=grey10 +highlight Title gui=bold guifg=MediumOrchid1 guibg=bg +highlight Visual gui=reverse guibg=WHITE guifg=SeaGreen +highlight VisualNOS gui=bold,underline guifg=fg guibg=bg +highlight WarningMsg gui=bold guifg=FireBrick1 guibg=bg +highlight WildMenu gui=bold guibg=Chartreuse guifg=Black + + +"""" Syntax Colors + +"highlight Comment gui=reverse guifg=#507080 +"highlight Comment gui=None guifg=#507080 +highlight Comment gui=None guifg=#7C7268 + +highlight Constant guifg=cyan3 guibg=bg +"hi String gui=None guifg=turquoise2 guibg=bg +hi String gui=None guifg=#80a0ff guibg=bg + "hi Character gui=None guifg=Cyan guibg=bg + "highlight Number gui=None guifg=Cyan guibg=bg + highlight Number gui=None guifg=Cyan guibg=black + highlight Boolean gui=bold guifg=Cyan guibg=bg + "hi Float gui=None guifg=Cyan guibg=bg + +highlight Identifier guifg=LightSkyBlue3 +hi Function gui=None guifg=DarkSeaGreen3 guibg=bg + +highlight Statement gui=NONE guifg=LightGreen + highlight Conditional gui=None guifg=LightGreen guibg=bg + highlight Repeat gui=None guifg=SeaGreen2 guibg=bg + "hi Label gui=None guifg=LightGreen guibg=bg + highlight Operator gui=None guifg=Chartreuse guibg=bg + highlight Keyword gui=None guifg=LightGreen guibg=bg + highlight Exception gui=None guifg=LightGreen guibg=bg + +highlight PreProc guifg=SkyBlue1 +hi Include gui=None guifg=LightSteelBlue3 guibg=bg +hi Define gui=None guifg=LightSteelBlue2 guibg=bg +hi Macro gui=None guifg=LightSkyBlue3 guibg=bg +hi PreCondit gui=None guifg=LightSkyBlue2 guibg=bg + +highlight Type gui=NONE guifg=LightBlue +hi StorageClass gui=None guifg=LightBlue guibg=bg +hi Structure gui=None guifg=LightBlue guibg=bg +hi Typedef gui=None guifg=LightBlue guibg=bg + +"highlight Special gui=bold guifg=aquamarine3 +highlight Special guifg=#999999 + "hi SpecialChar gui=bold guifg=White guibg=bg + "hi Tag gui=bold guifg=White guibg=bg + "hi Delimiter gui=bold guifg=White guibg=bg + "hi SpecialComment gui=bold guifg=White guibg=bg + "hi Debug gui=bold guifg=White guibg=bg + +highlight Underlined gui=underline guifg=honeydew4 guibg=bg + +highlight Ignore guifg=#204050 + +highlight Error guifg=LightYellow guibg=FireBrick + +highlight Todo guifg=Cyan guibg=#507080 + +""" OLD COLORS + + + diff --git a/.vim/colors/oceanblack256.vim b/.vim/colors/oceanblack256.vim new file mode 100644 index 0000000..a04dc78 --- /dev/null +++ b/.vim/colors/oceanblack256.vim @@ -0,0 +1,125 @@ +" Vim color file +" Maintainer: Juan frias +" Last Change: 2007 Mar 29 +" Version: 1.0.0 +" URL: http://www.axisym3.net/jdany/vim-the-editor/#oceanblack256 +" +" These are the colors of the "OceanBlack" theme by Chris Vertonghen modified +" to work on 256-color xterms. +" +set background=dark + +highlight clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "oceanblack256" + +highlight Normal cterm=none ctermfg=7 ctermbg=0 +highlight NonText cterm=none ctermfg=117 ctermbg=0 + +highlight Visual cterm=reverse ctermfg=72 ctermbg=15 +highlight VisualNOS cterm=bold,underline ctermfg=151 ctermbg=0 + +highlight Cursor cterm=none ctermfg=15 ctermbg=152 +highlight CursorIM cterm=bold ctermfg=15 ctermbg=152 +"highlight CursorColumn +"highlight CursorLine + +highlight Directory ctermfg=5 ctermbg=0 + +highlight DiffAdd cterm=none ctermfg=15 ctermbg=22 +highlight DiffChange cterm=none ctermfg=207 ctermbg=90 +highlight DiffDelete cterm=none ctermfg=19 ctermbg=17 +highlight DiffText cterm=bold ctermfg=226 ctermbg=90 + +highlight Question cterm=bold ctermfg=85 ctermbg=0 +highlight ErrorMsg ctermfg=230 ctermbg=167 +highlight ModeMsg ctermfg=77 ctermbg=22 +highlight MoreMsg cterm=bold ctermfg=72 ctermbg=0 +highlight WarningMsg cterm=bold ctermfg=203 ctermbg=0 + +highlight LineNr ctermfg=243 ctermbg=233 +highlight Folded cterm=none ctermfg=152 ctermbg=66 +highlight FoldColumn cterm=none ctermfg=152 ctermbg=66 +"highlight SignColumn + +highlight Search cterm=none ctermfg=16 ctermbg=66 +highlight IncSearch cterm=reverse ctermfg=151 ctermbg=0 +"highlight MatchParen + +"highlight PMenu +"highlight PMenuSBar +"highlight PMenuSel +"highlight PMenuThumb + +highlight SpecialKey ctermfg=60 ctermbg=0 + +"highlight SpellBad +"highlight SpellCap +"highlight SpellLocal +"highlight SpellRare + +highlight StatusLine cterm=none ctermfg=0 ctermbg=254 +highlight StatusLineNC cterm=none ctermfg=234 ctermbg=247 +highlight VertSplit cterm=none ctermfg=0 ctermbg=247 + +highlight WildMenu cterm=bold ctermfg=0 ctermbg=118 + +"highlight TabLine +"highlight TabLineFill +"highlight TabLineSel + +highlight Title cterm=bold ctermfg=171 ctermbg=0 + +"highlight Menu +"highlight Scrollbar +"highlight Tooltip + +" Syntax Groups +highlight Comment cterm=none ctermfg=95 + +highlight Constant ctermfg=6 ctermbg=0 +highlight String cterm=none ctermfg=111 ctermbg=0 +"highlight Character +highlight Number cterm=none ctermfg=51 ctermbg=0 +highlight Boolean cterm=none ctermfg=51 ctermbg=0 +"highlight Float + +highlight Identifier ctermfg=152 +highlight Function cterm=none ctermfg=151 ctermbg=0 + +highlight Statement cterm=none ctermfg=77 +highlight Conditional cterm=none ctermfg=77 ctermbg=0 +highlight Repeat cterm=none ctermfg=85 ctermbg=0 +"highlight Label +highlight Operator cterm=none ctermfg=118 ctermbg=0 +highlight Keyword cterm=none ctermfg=77 ctermbg=0 +highlight Exception cterm=none ctermfg=77 ctermbg=0 + +highlight PreProc ctermfg=117 +highlight Include cterm=none ctermfg=146 ctermbg=0 +highlight Define cterm=none ctermfg=110 ctermbg=0 +highlight Macro cterm=none ctermfg=152 ctermbg=0 +highlight PreCondit cterm=none ctermfg=74 ctermbg=0 + +highlight Type cterm=none ctermfg=110 +highlight StorageClass cterm=none ctermfg=110 ctermbg=0 +highlight Structure cterm=none ctermfg=110 ctermbg=0 +highlight Typedef cterm=none ctermfg=110 ctermbg=0 + +highlight Special ctermfg=247 +"highlight SpecialChar +"highlight Tag +"highlight Delimiter +"highlight SpecialComment +"highlight Debug + +highlight Underlined cterm=underline ctermfg=102 ctermbg=0 + +highlight Ignore ctermfg=67 + +highlight Error ctermfg=230 ctermbg=167 + +highlight Todo ctermfg=51 ctermbg=66 diff --git a/.vim/colors/oceandeep.vim b/.vim/colors/oceandeep.vim new file mode 100644 index 0000000..08923d0 --- /dev/null +++ b/.vim/colors/oceandeep.vim @@ -0,0 +1,140 @@ +" Vim color file +" Maintainer: Tom Regner +" Last Change: +" +" 2007-10-16 change by Alexei Alexandrov +" - highlight CursorColumn +" +" 2007-08-20 change by Diederick Niehorster +" - highlight CursorLine +" +" 2007-02-05 +" - included changes from Keffin Barnaby +" (vim>=7.0 PMenu and Spellchecking) +" +" 2006-09-06 +" - changed String to DarkCyan, Macro to DarkRed +" +" 2006-09-05 +" - more console-colors +" - added console-colors, clean-up +" +" Version: 1.2.5 +" URL: http://vim.sourceforge.net/script.php?script_id=368 + + +""" Init +set background=dark +highlight clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "oceandeep" + +"""" GUI + +highlight Cursor gui=None guibg=PaleTurquoise3 guifg=White +highlight CursorIM gui=bold guifg=white guibg=PaleTurquoise3 +highlight CursorLine gui=None guibg=#003853 +highlight CursorColumn gui=None guibg=#003853 +highlight Directory guifg=LightSeaGreen guibg=bg +highlight DiffAdd gui=None guifg=fg guibg=DarkCyan +highlight DiffChange gui=None guifg=fg guibg=Green4 +highlight DiffDelete gui=None guifg=fg guibg=black +highlight DiffText gui=bold guifg=fg guibg=bg +highlight ErrorMsg guifg=LightYellow guibg=FireBrick +highlight VertSplit gui=NONE guifg=black guibg=grey60 +highlight Folded gui=bold guibg=#305060 guifg=#b0d0e0 +highlight FoldColumn gui=bold guibg=#305060 guifg=#b0d0e0 +highlight IncSearch gui=reverse guifg=fg guibg=bg +highlight LineNr gui=bold guibg=grey6 guifg=LightSkyBlue3 +highlight ModeMsg guibg=DarkGreen guifg=LightGreen +highlight MoreMsg gui=bold guifg=SeaGreen4 guibg=bg +if version < 600 + " same as SpecialKey + highlight NonText guibg=#123A4A guifg=#3D5D6D +else + " Bottom fill (use e.g. same as LineNr) + highlight NonText gui=None guibg=#103040 guifg=LightSkyBlue +endif +highlight Normal gui=None guibg=#103040 guifg=honeydew2 +highlight Question gui=bold guifg=SeaGreen2 guibg=bg +highlight Search gui=NONE guibg=LightSkyBlue4 guifg=NONE +highlight SpecialKey guibg=#103040 guifg=#324262 +highlight StatusLine gui=bold guibg=grey88 guifg=black +highlight StatusLineNC gui=NONE guibg=grey60 guifg=grey10 +highlight Title gui=bold guifg=MediumOrchid1 guibg=bg +highlight Visual gui=reverse guibg=WHITE guifg=SeaGreen +highlight VisualNOS gui=bold,underline guifg=fg guibg=bg +highlight WarningMsg gui=bold guifg=FireBrick1 guibg=bg +highlight WildMenu gui=bold guibg=Chartreuse guifg=Black + +highlight Comment gui=None guifg=#507080 +highlight Constant guifg=cyan3 guibg=bg +highlight String gui=None guifg=turquoise2 guibg=bg +highlight Number gui=None guifg=Cyan guibg=bg +highlight Boolean gui=bold guifg=Cyan guibg=bg +highlight Identifier guifg=LightSkyBlue3 +highlight Function gui=None guifg=DarkSeaGreen3 guibg=bg + +highlight Statement gui=NONE guifg=LightGreen +highlight Conditional gui=None guifg=LightGreen guibg=bg +highlight Repeat gui=None guifg=SeaGreen2 guibg=bg +highlight Operator gui=None guifg=Chartreuse guibg=bg +highlight Keyword gui=bold guifg=LightGreen guibg=bg +highlight Exception gui=bold guifg=LightGreen guibg=bg + +highlight PreProc guifg=SkyBlue1 +highlight Include gui=None guifg=LightSteelBlue3 guibg=bg +highlight Define gui=None guifg=LightSteelBlue2 guibg=bg +highlight Macro gui=None guifg=LightSkyBlue3 guibg=bg +highlight PreCondit gui=None guifg=LightSkyBlue2 guibg=bg + +highlight Type gui=NONE guifg=LightBlue +highlight StorageClass gui=None guifg=LightBlue guibg=bg +highlight Structure gui=None guifg=LightBlue guibg=bg +highlight Typedef gui=None guifg=LightBlue guibg=bg + +highlight Special gui=bold guifg=aquamarine3 +highlight Underlined gui=underline guifg=honeydew4 guibg=bg +highlight Ignore guifg=#204050 +highlight Error guifg=LightYellow guibg=FireBrick +highlight Todo guifg=Cyan guibg=#507080 +if v:version >= 700 + highlight PMenu gui=bold guibg=LightSkyBlue4 guifg=honeydew2 + highlight PMenuSel gui=bold guibg=DarkGreen guifg=honeydew2 + highlight PMenuSbar gui=bold guibg=LightSkyBlue4 + highlight PMenuThumb gui=bold guibg=DarkGreen + highlight SpellBad gui=undercurl guisp=Red + highlight SpellRare gui=undercurl guisp=Orange + highlight SpellLocal gui=undercurl guisp=Orange + highlight SpellCap gui=undercurl guisp=Yellow +endif + +""" Console +if v:version >= 700 + highlight PMenu cterm=bold ctermbg=DarkGreen ctermfg=Gray + highlight PMenuSel cterm=bold ctermbg=Yellow ctermfg=Gray + highlight PMenuSbar cterm=bold ctermbg=DarkGreen + highlight PMenuThumb cterm=bold ctermbg=Yellow + highlight SpellBad ctermbg=Red + highlight SpellRare ctermbg=Red + highlight SpellLocal ctermbg=Red + highlight SpellCap ctermbg=Yellow +endif + +highlight Normal ctermfg=Gray ctermbg=None +highlight Search ctermfg=Black ctermbg=Red cterm=NONE +highlight Visual cterm=reverse +highlight Cursor ctermfg=Black ctermbg=Green cterm=bold +highlight Special ctermfg=Brown +highlight Comment ctermfg=DarkGray +highlight StatusLine ctermfg=Blue ctermbg=White +highlight Statement ctermfg=Yellow cterm=NONE +highlight Type cterm=NONE +highlight Macro ctermfg=DarkRed +highlight Identifier ctermfg=DarkYellow +highlight Structure ctermfg=DarkGreen +highlight String ctermfg=DarkCyan + +" vim: sw=4 ts=4 et diff --git a/.vim/colors/oceanlight.vim b/.vim/colors/oceanlight.vim new file mode 100644 index 0000000..22958e3 --- /dev/null +++ b/.vim/colors/oceanlight.vim @@ -0,0 +1,105 @@ +" Vim color file +" Maintainer: Håkan Wikström +" Last Change: 2005-01-06 +" Version: 0.1 +" URL: +" Originally based on oceandeep by Tom Regner (Vim script #368) + + +""" Init +set background=light +highlight clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "oceanlight" + + +""""""""\ Colors \"""""""" + + +"""" GUI Colors + +highlight Cursor gui=None guibg=PaleTurquoise3 guifg=White +highlight CursorIM gui=none guifg=white guibg=PaleTurquoise3 +highlight Directory guifg=SeaGreen guibg=bg +highlight DiffAdd gui=None guifg=SteelBlue guibg=LightGray +highlight DiffChange gui=None guifg=fg guibg=CadetBlue +highlight DiffDelete gui=None guifg=LightGray guibg=SteelBlue +highlight DiffText gui=none guifg=fg guibg=bg +highlight ErrorMsg guifg=FireBrick guibg=bg +highlight VertSplit gui=NONE guifg=black guibg=grey60 +highlight Folded gui=none guibg=LightSteelBlue guifg=SteelBlue +highlight FoldColumn gui=none guibg=LightSteelBLue guifg=SteelBlue +highlight IncSearch gui=reverse guifg=fg guibg=bg +highlight LineNr gui=none guibg=#d3d3d3 guifg=#5daf83 +highlight ModeMsg guibg=CadetBlue guifg=LightGrey +highlight MoreMsg gui=none guifg=CadetBlue guibg=bg +if version < 600 + " same as SpecialKey + highlight NonText guibg=#d3d3d3 guifg=#3D5D6D +else + " Bottom fill (use e.g. same as LineNr) + highlight NonText gui=None guibg=#d3d3d3 guifg=#5daf83 +endif +highlight Normal gui=None guibg=#f5f5f5 guifg=DimGray +highlight Question gui=none guifg=SeaGreen2 guibg=bg +highlight Search gui=NONE guibg=SlateGray2 guifg=NONE +highlight SpecialKey guibg=LightGray guifg=CadetBlue +highlight StatusLine gui=none guibg=SlateGrey guifg=LightGrey +highlight StatusLineNC gui=NONE guibg=LightGrey guifg=SlateGrey +highlight Title gui=none guifg=MediumOrchid1 guibg=bg +highlight Visual gui=reverse guibg=slategray4 guifg=SlateGray2 +highlight VisualNOS gui=none,underline guifg=fg guibg=bg +highlight WarningMsg gui=none guifg=FireBrick1 guibg=bg +highlight WildMenu gui=none guibg=Chartreuse guifg=Black + + +"""" Syntax Colors + +"highlight Comment gui=reverse guifg=#507080 +highlight Comment gui=None guifg=LightSteelBlue + +highlight Constant guifg=#483d8b guibg=bg +hi String gui=None guifg=MediumAquamarine guibg=bg +"hi Character gui=None guifg=Cyan guibg=bg +highlight Number gui=None guifg=MediumSeaGreen guibg=bg +highlight Boolean gui=none guifg=DarkSeaGreen guibg=bg +"hi Float gui=None guifg=Cyan guibg=bg + +highlight Identifier guifg=CornflowerBlue +hi Function gui=None guifg=DarkSeaGreen guibg=bg + +highlight Statement gui=NONE guifg=SeaGreen +highlight Conditional gui=None guifg=#5daf83 guibg=bg +highlight Repeat gui=None guifg=#5daf83 guibg=bg +"hi Label gui=None guifg=seagreen guibg=bg +highlight Operator gui=None guifg=LightSlateBlue guibg=bg +highlight Keyword gui=none guifg=SeaGreen guibg=bg +highlight Exception gui=none guifg=SeaGreen guibg=bg + +highlight PreProc guifg=SkyBlue1 +hi Include gui=None guifg=SteelBlue guibg=bg +hi Define gui=None guifg=LightSteelBlue2 guibg=bg +hi Macro gui=None guifg=LightSkyBlue3 guibg=bg +hi PreCondit gui=None guifg=LightSkyBlue2 guibg=bg + +highlight Type gui=NONE guifg=SteelBlue +hi StorageClass gui=None guifg=SteelBlue guibg=bg +hi Structure gui=None guifg=SteelBlue guibg=bg +hi Typedef gui=None guifg=SteelBlue guibg=bg + +highlight Special gui=none guifg=aquamarine3 +"hi SpecialChar gui=none guifg=White guibg=bg +"hi Tag gui=none guifg=White guibg=bg +"hi Delimiter gui=none guifg=White guibg=bg +"hi SpecialComment gui=none guifg=White guibg=bg +"hi Debug gui=none guifg=White guibg=bg + +highlight Underlined gui=underline guifg=honeydew4 guibg=bg + +highlight Ignore guifg=#204050 + +highlight Error guifg=FireBrick gui=Bold guibg=bg + +highlight Todo guifg=LightSkyBlue guibg=SlateGray diff --git a/.vim/colors/olive.vim b/.vim/colors/olive.vim new file mode 100644 index 0000000..26dcd2c --- /dev/null +++ b/.vim/colors/olive.vim @@ -0,0 +1,119 @@ +" Vim color file +" Maintainer: Charles +" Last Change: 11 June 2004 +" URL: http:// + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="olive" + +"======================================================= +hi Normal guifg=#D9D9C3 guibg=#333300 +hi Cursor guifg=black guibg=white +hi CursorIM guifg=black guibg=green +hi Directory guifg=gold gui=underline +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +hi ErrorMsg guibg=indianred +"hi VertSplit guifg=gold +hi Folded guifg=khaki guibg=darkolivegreen gui=underline +hi FoldColumn guifg=khaki guibg=darkolivegreen gui=none +hi IncSearch guifg=black guibg=khaki +hi LineNr guifg=gray80 +hi ModeMsg guifg=greenyellow gui=bold +hi MoreMsg guifg=greenyellow gui=bold +"hi NonText guibg=black +hi Question guifg=yellowgreen gui=NONE +hi Search guifg=black guibg=khaki gui=NONE +hi SpecialKey guifg=black guibg=darkkhaki +hi StatusLine guifg=palegoldenrod guibg=#808000 gui=none +hi StatusLineNC guifg=gray guibg=darkolivegreen gui=none +hi Title guifg=gold gui=bold +hi Visual guifg=black guibg=darkkhaki gui=NONE +"hi VisualNOS +hi WarningMsg guifg=palevioletred +"hi WildMenu +"hi Menu +"hi Scrollbar +"hi Tooltip + + +" ============================================================ +" syntax highlighting groups +" ============================================================ +hi Comment guifg=darkkhaki guibg=#4C4C00 gui=underline + +hi Constant guifg=navajowhite +hi String guifg=greenyellow +"hi Character +"hi Number +"hi Boolean +"hi Float + +hi Identifier guifg=lightsteelblue +" hi Function guibg=gray60 + +hi Statement guifg=darkseagreen gui=bold +"hi Conditional +"hi Repeat +"hi Label +hi Operator guifg=gold +"hi Keyword +"hi Exception + +hi PreProc guifg=sandybrown gui=bold +"hi Include +"hi Define +"hi Macro +"hi PreCondit + +hi Type guifg=goldenrod +"hi StorageClass +"hi Structure +"hi Typedef + +hi Special guifg=navajowhite gui=underline +"hi SpecialChar +"hi Tag +"hi Delimiter +"hi SpecialComment +"hi Debug + +hi Underlined gui=underline + +hi Ignore guifg=black + +hi Error guifg=white + +hi Todo guifg=black guibg=gold gui=NONE + +" ================================================================= +" Language specific color +" ================================================================= + +" C / C++ +hi cIncluded guifg=yellowgreen + +" HTML +hi Title guifg=palegoldenrod + +" VIM +hi VimError guifg=red gui=bold +hi VimOption guifg=gold + +" TeX / LaTeX +hi texSection guifg=greenyellow +" tex between { and } +hi texMatcher guifg=yellowgreen gui=none +hi texMath gui=none + diff --git a/.vim/colors/orange.vim b/.vim/colors/orange.vim new file mode 100644 index 0000000..ffa0019 --- /dev/null +++ b/.vim/colors/orange.vim @@ -0,0 +1,94 @@ +"Name: orange +"Maintainer: wuchuanren gmail.com +"Last Change: 2010 Mär 28 + +set background=light +if version > 580 + highlight clear + if exists("syntax_on") + syntax reset + endif +endif +let g:colors_name = "orange" + +if v:version >= 700 + highlight CursorColumn guibg=Grey90 gui=NONE + highlight CursorLine guibg=Grey90 gui=NONE + highlight Pmenu gui=NONE + highlight link PmenuSel Title + highlight PmenuSbar gui=NONE + highlight PmenuThumb gui=NONE + highlight TabLine guibg=LightGrey gui=underline + highlight TabLineFill gui=reverse + highlight TabLineSel gui=bold + if has('spell') + highlight SpellBad gui=undercurl + highlight SpellCap gui=undercurl + highlight SpellLocal gui=undercurl + highlight SpellRare gui=undercurl + endif +endif +highlight Cursor guifg=bg guibg=fg gui=NONE +highlight CursorIM gui=NONE +highlight DiffAdd guibg=LightBlue gui=NONE +highlight DiffChange guibg=LightMagenta gui=NONE +highlight DiffDelete guifg=Blue guibg=LightCyan gui=bold +highlight DiffText guibg=Red gui=bold +highlight Directory guifg=Blue gui=NONE +highlight ErrorMsg guifg=White guibg=Red gui=NONE +highlight FoldColumn guifg=#000AFF guibg=#0013FF gui=NONE +highlight Folded guifg=#000AFF guibg=#FF6A00 gui=NONE +highlight IncSearch gui=reverse +highlight LineNr guifg=#0C00B4 guibg=#FF9D3B gui=NONE +highlight MatchParen guifg=#FFFFFF guibg=#0400FF gui=NONE +highlight ModeMsg gui=bold +highlight MoreMsg guifg=SeaGreen gui=bold +highlight NonText guifg=Blue gui=bold +highlight Normal guifg=#000000 guibg=#FFB469 gui=NONE +highlight Question guifg=#1100FF guibg=#12F303 gui=bold +highlight Search guibg=Yellow gui=NONE +highlight SignColumn guifg=DarkBlue guibg=Grey gui=NONE +highlight SpecialKey guifg=Blue gui=NONE +highlight StatusLine guifg=#0029FF gui=bold,reverse +highlight StatusLineNC guifg=#000000 gui=reverse +highlight Title guifg=Magenta gui=bold +highlight VertSplit guifg=#E78D24 guibg=bg gui=reverse +highlight Visual guibg=#FD6B5B gui=underline +highlight VisualNOS gui=bold,underline +highlight WarningMsg guifg=Red gui=NONE +highlight WildMenu guifg=Black guibg=Yellow gui=NONE +highlight link Boolean Constant +highlight link Character Constant +highlight Comment guifg=#0C9800 gui=NONE +highlight link Conditional Statement +highlight Constant guifg=#FF0003 gui=NONE +highlight link Debug Special +highlight link Define PreProc +highlight link Delimiter Special +highlight Error guifg=White guibg=Red gui=NONE +highlight link Exception Statement +highlight link Float Number +highlight link Function Identifier +highlight Identifier guifg=DarkCyan gui=NONE +highlight Ignore guifg=#0600FF gui=NONE +highlight link Include PreProc +highlight link Keyword Statement +highlight link Label Statement +highlight link Macro PreProc +highlight link Number Constant +highlight link Operator Statement +highlight link PreCondit PreProc +highlight PreProc guifg=#159E00 gui=bold,reverse +highlight link Repeat Statement +highlight Special guifg=#E100B8 gui=NONE +highlight link SpecialChar Special +highlight link SpecialComment Special +highlight Statement guifg=#0600FF gui=bold +highlight link StorageClass Type +highlight link String Constant +highlight link Structure Type +highlight link Tag Special +highlight Todo guifg=#FFFFFF guibg=#EE6B29 gui=bold +highlight Type guifg=#0097B3 gui=bold +highlight link Typedef Type +highlight Underlined guifg=#888888 gui=underline diff --git a/.vim/colors/osx_like.vim b/.vim/colors/osx_like.vim new file mode 100644 index 0000000..36e8213 --- /dev/null +++ b/.vim/colors/osx_like.vim @@ -0,0 +1,69 @@ +" Vim colour scheme +" Maintainer: Martin Winkler +" Last Change: 29 February 2009 +" Version: 1.0 +" +" This colorscheme tries to fit nicely into a MacOS X style window +" I am using GTK and Metacity themes from the Mac4Lin project. +" See http://sourceforge.net/projects/mac4lin + +hi clear +set background=light +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = 'osx_like' + +hi Normal gui=none guifg=Black guibg=White + +hi Cursor guifg=White guibg=Black +hi LineNr gui=bold guifg=#828c95 guibg=#bbbbbb +hi NonText gui=bold guifg=DarkGray guibg=#bbbbbb +hi SpecialKey gui=none guifg=RoyalBlue4 +hi Title gui=bold guifg=Black +hi Visual gui=none guifg=White guibg=#829db9 + +hi FoldColumn gui=none guifg=Black guibg=#979797 +hi Folded gui=none guifg=#666666 guibg=#bbbbbb +hi StatusLine gui=bold guifg=#829db9 guibg=Black +hi StatusLineNC gui=bold guifg=#829db9 guibg=#666666 +hi VertSplit gui=bold guifg=#9ca6af guibg=DimGray +hi Wildmenu gui=bold guifg=Black guibg=White + +hi Pmenu guibg=Grey65 guifg=Black gui=none +hi PmenuSbar guibg=Grey50 guifg=fg gui=none +hi PmenuSel guibg=Yellow guifg=Black gui=none +hi PmenuThumb guibg=Grey75 guifg=fg gui=none + +hi IncSearch gui=none guifg=White guibg=Black +hi Search gui=none guifg=Black guibg=Yellow + +hi MoreMsg gui=bold guifg=ForestGreen +hi Question gui=bold guifg=ForestGreen +hi WarningMsg gui=bold guifg=Red + +hi Comment gui=italic guifg=RoyalBlue3 +hi Error gui=none guifg=White guibg=Red +hi Identifier gui=none guifg=Sienna4 +hi Special gui=none guifg=RoyalBlue4 +hi PreProc gui=none guifg=RoyalBlue3 +hi Todo gui=bold guifg=Black guibg=Yellow +hi Type gui=bold guifg=RoyalBlue4 +hi Underlined gui=underline guifg=Blue + +hi Boolean gui=bold guifg=ForestGreen +hi Constant gui=none guifg=ForestGreen +hi Number gui=bold guifg=ForestGreen +hi String gui=none guifg=ForestGreen + +hi Label gui=bold,underline guifg=Sienna4 +hi Statement gui=bold guifg=Sienna4 + +hi htmlBold gui=bold +hi htmlItalic gui=italic +hi htmlUnderline gui=underline +hi htmlBoldItalic gui=bold,italic +hi htmlBoldUnderline gui=bold,underline +hi htmlBoldUnderlineItalic gui=bold,underline,italic +hi htmlUnderlineItalic gui=underline,italic diff --git a/.vim/colors/pacific.vim b/.vim/colors/pacific.vim new file mode 100644 index 0000000..19ac332 --- /dev/null +++ b/.vim/colors/pacific.vim @@ -0,0 +1,66 @@ +" Vim color file +" pacific v1.0 +" Maintainer: Rob Valentine + +" Pacific +" +" This theme is supposed to be remiscent of an oceany or beachy place +" that is neither the ocean or the beach. +" +" useful help screens & commands +" :syntax +" :he group-name +" :he highlight-groups +" :he cterm-colors +" +" useful online resource +" http://www.colorpicker.com + +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="pacific" + +hi Normal guibg=#101D23 guifg=#FFFFFF + +" syntax highlighting +hi Comment guifg=#A59B9B +hi Title guifg=#0CFFFC +hi Underlined guifg=#20b0eF gui=none +hi Statement guifg=#7BD3D4 +hi Type guifg=#6CD69A +hi PreProc guifg=#FED678 +hi Constant guifg=#EFECCA +hi Identifier guifg=#ABD585 + +"highlight groups +hi Ignore guifg=grey40 +hi Todo guifg=#102E3C guibg=#DEFF89 +hi Cursor guibg=#00C1A2 guifg=#EC2626 +hi MatchParen guibg=#EC2626 guifg=#00C1A2 +hi Special guifg=#B692C1 +hi Directory guifg=#FED678 +hi DiffAdd guifg=#07AF07 guibg=#FFFFFF +hi DiffChange guifg=#333333 guibg=#FFFFFF +hi DiffDelete guifg=#FF0000 guibg=#FFFFFF +hi DiffText guifg=#000000 guibg=#A8FFFE +hi ErrorMsg guifg=#FFFFFF guibg=#FF0000 +hi VertSplit guibg=#555555 guifg=#FFFFFF gui=none +hi Folded guibg=#A6D5F6 guifg=#0B1317 +hi FoldColumn guibg=#A6D5F6 guifg=#0B1317 +hi LineNr guifg=#A6D5F6 guibg=#555555 +hi NonText guifg=#A6A6A6 guibg=#102E3C +hi Search guibg=slategrey guifg=#FFDABB +hi IncSearch guifg=slategrey guibg=#FFDFB0 +hi StatusLine guibg=#A6D5F6 guifg=#0B1317 gui=none +hi StatusLineNC guibg=#1079B0 guifg=#272334 gui=none +hi Visual guifg=#6D4039 guibg=#009192 +hi Pmenu guifg=#5A5A5A guibg=#A8FF97 +hi PmenuSel guifg=#2E2E2E guibg=#62FB44 +"vim: sw=4 diff --git a/.vim/colors/paintbox.vim b/.vim/colors/paintbox.vim new file mode 100644 index 0000000..73c42af --- /dev/null +++ b/.vim/colors/paintbox.vim @@ -0,0 +1,96 @@ +" Description: A colourful, happy scheme with high contrast +" Maintainer: kamil.stachowski@gmail.com +" License: gpl 3+ +" Version: 0.1 (2008.12.05) + +" Changelog: +" 0.1: 2008.12.05 +" initial version + + +set background=dark + +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "paintbox" + + +" black 19191d +" blue 238bcc +" green 9fc439 +" grey 5a5a5a +" raspberry bd0d74 +" orange e08a1f +" violet 904ca8 + +" diff* +" pmenu + +hi Comment guifg=#5a5a5a guibg=#19191d gui=none +hi Cursor guifg=#19191d guibg=#dddddd gui=bold +hi Constant guifg=#238bcc guibg=#19191d gui=none +hi CursorLine guibg=#343434 gui=none +hi Folded guifg=#dddddd guibg=#5a5a5a gui=italic +hi MatchParen guifg=#bd0d74 guibg=#19191d gui=reverse +hi ModeMsg guifg=#bd0d74 guibg=#19191d gui=bold +hi Normal guifg=#dddddd guibg=#19191d gui=none +hi PreProc guifg=#bd0d74 guibg=#19191d gui=none +hi Search guifg=#19191d guibg=#d9c900 gui=none +hi Special guifg=#904ca8 guibg=#19191d gui=none +hi Statement guifg=#9fc439 guibg=#19191d gui=none +hi StatusLine guifg=#bd0d74 guibg=#dddddd gui=bold +hi StatusLineNC guifg=#dddddd guibg=#585858 gui=bold +hi Todo guifg=#cf310c guibg=#19191d gui=bold +hi Type guifg=#e08a1f guibg=#19191d gui=none +hi Underlined guifg=#dddddd guibg=#19191d gui=underline +hi Visual guifg=#19191d guibg=#d9c900 gui=none + +hi! link Boolean Constant +hi! link Character Constant +hi! link Conditional Statement +hi! link CursorColumn CursorLine +hi! link Debug Special +hi! link Define PreProc +hi! link Delimiter Special +hi! link Directory Type +hi! link Error Todo +hi! link ErrorMsg Error +hi! link Exception Statement +hi! link Float Constant +hi! link FoldColumn Folded +hi! link Function Normal +hi! link Identifier Special +hi! link Ignore Comment +hi! link IncSearch Search +hi! link Include PreProc +hi! link Keyword Statement +hi! link Label Statement +hi! link LineNr Comment +hi! link Macro PreProc +hi! link MoreMsg ModeMsg +hi! link NonText Comment +hi! link Number Constant +hi! link Operator Special +hi! link PreCondit PreProc +hi! link Question MoreMsg +hi! link Repeat Statement +hi! link SignColumn FoldColumn +hi! link SpecialChar Special +hi! link SpecialComment Special +hi! link SpecialKey Special +hi! link SpellBad Error +hi! link SpellCap Error +hi! link SpellLocal Error +hi! link SpellRare Error +hi! link StorageClass Type +hi! link String Constant +hi! link Structure Type +hi! link Tag Special +hi! link Title ModeMsg +hi! link Typedef Type +hi! link VertSplit StatusLineNC +hi! link WarningMsg Error + diff --git a/.vim/colors/peaksea.vim b/.vim/colors/peaksea.vim new file mode 100644 index 0000000..2466360 --- /dev/null +++ b/.vim/colors/peaksea.vim @@ -0,0 +1,601 @@ +" Vim color file --- psc (peak sea color) "Lite version" +" Maintainer: Pan, Shi Zhu +" URL: http://vim.sourceforge.net/scripts/script.php?script_id=760 +" Last Change: 5 Feb 2010 +" Version: 3.4 +" +" Comments and e-mails are welcomed, thanks. +" +" The peaksea color is simply a colorscheme with the default settings of +" the original ps_color. Lite version means there's no custom settings +" and fancy features such as integration with reloaded.vim +" +" The full version of ps_color.vim will be maintained until Vim 8. +" By then there will be only the lite version: peaksea.vim +" +" Note: Please set the background option in your .vimrc and/or .gvimrc +" +" It is much better *not* to set 'background' option inside +" a colorscheme file. because ":set background" improperly +" may cause colorscheme be sourced twice +" +" Color Scheme Overview: +" :ru syntax/hitest.vim +" +" Relevant Help: +" :h highlight-groups +" :h psc-cterm-color-table +" +" Colors Order: +" #rrggbb +" + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = expand(":t:r") + +" I don't want to abuse folding, but here folding is used to avoid confusion. +if &background=='light' + " for background=light {{{2 + " LIGHT COLOR DEFINE START + + hi Normal guifg=#000000 guibg=#e0e0e0 gui=NONE + hi Search guifg=NONE guibg=#f8f8f8 gui=NONE + hi Visual guifg=NONE guibg=#a6caf0 gui=NONE + hi Cursor guifg=#f0f0f0 guibg=#008000 gui=NONE + " The idea of CursorIM is pretty good, however, the feature is still buggy + " in the current version (Vim 7.0). + " The following line will be kept commented until the bug fixed. + " + " hi CursorIM guifg=#f0f0f0 guibg=#800080 + hi Special guifg=#907000 guibg=NONE gui=NONE + hi Comment guifg=#606000 guibg=NONE gui=NONE + hi Number guifg=#907000 guibg=NONE gui=NONE + hi Constant guifg=#007068 guibg=NONE gui=NONE + hi StatusLine guifg=fg guibg=#a6caf0 gui=NONE + hi LineNr guifg=#686868 guibg=NONE gui=NONE + hi Question guifg=fg guibg=#d0d090 gui=NONE + hi PreProc guifg=#009030 guibg=NONE gui=NONE + hi Statement guifg=#2060a8 guibg=NONE gui=NONE + hi Type guifg=#0850a0 guibg=NONE gui=NONE + hi Todo guifg=#800000 guibg=#e0e090 gui=NONE + " NOTE THIS IS IN THE WARM SECTION + hi Error guifg=#c03000 guibg=NONE gui=NONE + hi Identifier guifg=#a030a0 guibg=NONE gui=NONE + hi ModeMsg guifg=fg guibg=#b0b0e0 gui=NONE + hi VisualNOS guifg=fg guibg=#b0b0e0 gui=NONE + hi SpecialKey guifg=#1050a0 guibg=NONE gui=NONE + hi NonText guifg=#002090 guibg=#d0d0d0 gui=NONE + hi Directory guifg=#a030a0 guibg=NONE gui=NONE + hi ErrorMsg guifg=fg guibg=#f0b090 gui=NONE + hi MoreMsg guifg=#489000 guibg=NONE gui=NONE + hi Title guifg=#a030a0 guibg=NONE gui=NONE + hi WarningMsg guifg=#b02000 guibg=NONE gui=NONE + hi WildMenu guifg=fg guibg=#d0d090 gui=NONE + hi Folded guifg=NONE guibg=#b0e0b0 gui=NONE + hi FoldColumn guifg=fg guibg=#90e090 gui=NONE + hi DiffAdd guifg=NONE guibg=#b0b0e0 gui=NONE + hi DiffChange guifg=NONE guibg=#e0b0e0 gui=NONE + hi DiffDelete guifg=#002090 guibg=#d0d0d0 gui=NONE + hi DiffText guifg=NONE guibg=#c0e080 gui=NONE + hi SignColumn guifg=fg guibg=#90e090 gui=NONE + + hi IncSearch guifg=#f0f0f0 guibg=#806060 gui=NONE + hi StatusLineNC guifg=fg guibg=#c0c0c0 gui=NONE + hi VertSplit guifg=fg guibg=#c0c0c0 gui=NONE + hi Underlined guifg=#6a5acd guibg=NONE gui=underline + hi Ignore guifg=bg guibg=NONE + " NOTE THIS IS IN THE WARM SECTION + if v:version >= 700 + if has('spell') + hi SpellBad guifg=NONE guibg=NONE guisp=#c03000 + hi SpellCap guifg=NONE guibg=NONE guisp=#2060a8 + hi SpellRare guifg=NONE guibg=NONE guisp=#a030a0 + hi SpellLocal guifg=NONE guibg=NONE guisp=#007068 + endif + hi Pmenu guifg=fg guibg=#e0b0e0 + hi PmenuSel guifg=#f0f0f0 guibg=#806060 gui=NONE + hi PmenuSbar guifg=fg guibg=#c0c0c0 gui=NONE + hi PmenuThumb guifg=fg guibg=#c0e080 gui=NONE + hi TabLine guifg=fg guibg=#c0c0c0 gui=NONE + hi TabLineFill guifg=fg guibg=#c0c0c0 gui=NONE + hi TabLineSel guifg=fg guibg=NONE gui=NONE + hi CursorColumn guifg=NONE guibg=#f0b090 + hi CursorLine guifg=NONE guibg=NONE gui=underline + hi MatchParen guifg=NONE guibg=#c0e080 + endif + + " LIGHT COLOR DEFINE END + + " Vim 7 added stuffs + if v:version >= 700 + hi Ignore gui=NONE + + " the gui=undercurl guisp could only support in Vim 7 + if has('spell') + hi SpellBad gui=undercurl + hi SpellCap gui=undercurl + hi SpellRare gui=undercurl + hi SpellLocal gui=undercurl + endif + hi TabLine gui=underline + hi TabLineFill gui=underline + hi CursorLine gui=underline + endif + + " For reversed stuffs, clear the reversed prop and set the bold prop again + hi IncSearch gui=bold + hi StatusLine gui=bold + hi StatusLineNC gui=bold + hi VertSplit gui=bold + hi Visual gui=bold + + " Enable the bold property + hi Question gui=bold + hi DiffText gui=bold + hi Statement gui=bold + hi Type gui=bold + hi MoreMsg gui=bold + hi ModeMsg gui=bold + hi NonText gui=bold + hi Title gui=bold + hi DiffDelete gui=bold + hi TabLineSel gui=bold + + " gui define for background=light end here + + " generally, a dumb terminal is dark, we assume the light terminal has 256 + " color support. + if &t_Co==8 || &t_Co==16 + set t_Co=256 + endif + if &t_Co==256 + " 256color light terminal support here + + hi Normal ctermfg=16 ctermbg=254 cterm=NONE + " Comment/Uncomment the following line to disable/enable transparency + "hi Normal ctermfg=16 ctermbg=NONE cterm=NONE + hi Search ctermfg=NONE ctermbg=231 cterm=NONE + hi Visual ctermfg=NONE ctermbg=153 cterm=NONE + hi Cursor ctermfg=255 ctermbg=28 cterm=NONE + " hi CursorIM ctermfg=255 ctermbg=90 + hi Special ctermfg=94 ctermbg=NONE cterm=NONE + hi Comment ctermfg=58 ctermbg=NONE cterm=NONE + hi Number ctermfg=94 ctermbg=NONE cterm=NONE + hi Constant ctermfg=23 ctermbg=NONE cterm=NONE + hi StatusLine ctermfg=fg ctermbg=153 cterm=NONE + hi LineNr ctermfg=242 ctermbg=NONE cterm=NONE + hi Question ctermfg=fg ctermbg=186 cterm=NONE + hi PreProc ctermfg=29 ctermbg=NONE cterm=NONE + hi Statement ctermfg=25 ctermbg=NONE cterm=NONE + hi Type ctermfg=25 ctermbg=NONE cterm=NONE + hi Todo ctermfg=88 ctermbg=186 cterm=NONE + " NOTE THIS IS IN THE WARM SECTION + hi Error ctermfg=130 ctermbg=NONE cterm=NONE + hi Identifier ctermfg=133 ctermbg=NONE cterm=NONE + hi ModeMsg ctermfg=fg ctermbg=146 cterm=NONE + hi VisualNOS ctermfg=fg ctermbg=146 cterm=NONE + hi SpecialKey ctermfg=25 ctermbg=NONE cterm=NONE + hi NonText ctermfg=18 ctermbg=252 cterm=NONE + " Comment/Uncomment the following line to disable/enable transparency + "hi NonText ctermfg=18 ctermbg=NONE cterm=NONE + hi Directory ctermfg=133 ctermbg=NONE cterm=NONE + hi ErrorMsg ctermfg=fg ctermbg=216 cterm=NONE + hi MoreMsg ctermfg=64 ctermbg=NONE cterm=NONE + hi Title ctermfg=133 ctermbg=NONE cterm=NONE + hi WarningMsg ctermfg=124 ctermbg=NONE cterm=NONE + hi WildMenu ctermfg=fg ctermbg=186 cterm=NONE + hi Folded ctermfg=NONE ctermbg=151 cterm=NONE + hi FoldColumn ctermfg=fg ctermbg=114 cterm=NONE + hi DiffAdd ctermfg=NONE ctermbg=146 cterm=NONE + hi DiffChange ctermfg=NONE ctermbg=182 cterm=NONE + hi DiffDelete ctermfg=18 ctermbg=252 cterm=NONE + hi DiffText ctermfg=NONE ctermbg=150 cterm=NONE + hi SignColumn ctermfg=fg ctermbg=114 cterm=NONE + + hi IncSearch ctermfg=255 ctermbg=95 cterm=NONE + hi StatusLineNC ctermfg=fg ctermbg=250 cterm=NONE + hi VertSplit ctermfg=fg ctermbg=250 cterm=NONE + hi Underlined ctermfg=62 ctermbg=NONE cterm=underline + hi Ignore ctermfg=bg ctermbg=NONE + " NOTE THIS IS IN THE WARM SECTION + if v:version >= 700 + if has('spell') + if 0 + " ctermsp is not supported in Vim7, we ignore it. + hi SpellBad cterm=undercurl ctermbg=NONE ctermfg=130 + hi SpellCap cterm=undercurl ctermbg=NONE ctermfg=25 + hi SpellRare cterm=undercurl ctermbg=NONE ctermfg=133 + hi SpellLocal cterm=undercurl ctermbg=NONE ctermfg=23 + else + hi SpellBad cterm=undercurl ctermbg=NONE ctermfg=NONE + hi SpellCap cterm=undercurl ctermbg=NONE ctermfg=NONE + hi SpellRare cterm=undercurl ctermbg=NONE ctermfg=NONE + hi SpellLocal cterm=undercurl ctermbg=NONE ctermfg=NONE + endif + endif + hi Pmenu ctermfg=fg ctermbg=182 + hi PmenuSel ctermfg=255 ctermbg=95 cterm=NONE + hi PmenuSbar ctermfg=fg ctermbg=250 cterm=NONE + hi PmenuThumb ctermfg=fg ctermbg=150 cterm=NONE + hi TabLine ctermfg=fg ctermbg=250 cterm=NONE + hi TabLineFill ctermfg=fg ctermbg=250 cterm=NONE + hi TabLineSel ctermfg=fg ctermbg=NONE cterm=NONE + hi CursorColumn ctermfg=NONE ctermbg=216 + hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline + hi MatchParen ctermfg=NONE ctermbg=150 + endif + + hi TabLine cterm=underline + hi TabLineFill cterm=underline + hi CursorLine cterm=underline + + " For reversed stuffs, clear the reversed prop and set the bold prop again + hi IncSearch cterm=bold + hi StatusLine cterm=bold + hi StatusLineNC cterm=bold + hi VertSplit cterm=bold + hi Visual cterm=bold + + hi NonText cterm=bold + hi Question cterm=bold + hi Title cterm=bold + hi DiffDelete cterm=bold + hi DiffText cterm=bold + hi Statement cterm=bold + hi Type cterm=bold + hi MoreMsg cterm=bold + hi ModeMsg cterm=bold + hi TabLineSel cterm=bold + + "hi lCursor ctermfg=bg ctermbg=fg cterm=NONE + endif " t_Co==256 + " }}}2 +elseif &background=='dark' + " for background=dark {{{2 + " DARK COLOR DEFINE START + + hi Normal guifg=#d0d0d0 guibg=#202020 gui=NONE + hi Comment guifg=#d0d090 guibg=NONE gui=NONE + hi Constant guifg=#80c0e0 guibg=NONE gui=NONE + hi Number guifg=#e0c060 guibg=NONE gui=NONE + hi Identifier guifg=#f0c0f0 guibg=NONE gui=NONE + hi Statement guifg=#c0d8f8 guibg=NONE gui=NONE + hi PreProc guifg=#60f080 guibg=NONE gui=NONE + hi Type guifg=#b0d0f0 guibg=NONE gui=NONE + hi Special guifg=#e0c060 guibg=NONE gui=NONE + hi Error guifg=#f08060 guibg=NONE gui=NONE + hi Todo guifg=#800000 guibg=#d0d090 gui=NONE + hi Search guifg=NONE guibg=#800000 gui=NONE + hi Visual guifg=#000000 guibg=#a6caf0 gui=NONE + hi Cursor guifg=#000000 guibg=#00f000 gui=NONE + " NOTE THIS IS IN THE COOL SECTION + " hi CursorIM guifg=#000000 guibg=#f000f0 gui=NONE + hi StatusLine guifg=#000000 guibg=#a6caf0 gui=NONE + hi LineNr guifg=#b0b0b0 guibg=NONE gui=NONE + hi Question guifg=#000000 guibg=#d0d090 gui=NONE + hi ModeMsg guifg=fg guibg=#000080 gui=NONE + hi VisualNOS guifg=fg guibg=#000080 gui=NONE + hi SpecialKey guifg=#b0d0f0 guibg=NONE gui=NONE + hi NonText guifg=#6080f0 guibg=#101010 gui=NONE + hi Directory guifg=#80c0e0 guibg=NONE gui=NONE + hi ErrorMsg guifg=#d0d090 guibg=#800000 gui=NONE + hi MoreMsg guifg=#c0e080 guibg=NONE gui=NONE + hi Title guifg=#f0c0f0 guibg=NONE gui=NONE + hi WarningMsg guifg=#f08060 guibg=NONE gui=NONE + hi WildMenu guifg=#000000 guibg=#d0d090 gui=NONE + hi Folded guifg=NONE guibg=#004000 gui=NONE + hi FoldColumn guifg=#e0e0e0 guibg=#008000 gui=NONE + hi DiffAdd guifg=NONE guibg=#000080 gui=NONE + hi DiffChange guifg=NONE guibg=#800080 gui=NONE + hi DiffDelete guifg=#6080f0 guibg=#202020 gui=NONE + hi DiffText guifg=#000000 guibg=#c0e080 gui=NONE + hi SignColumn guifg=#e0e0e0 guibg=#008000 gui=NONE + hi IncSearch guifg=#000000 guibg=#d0d0d0 gui=NONE + hi StatusLineNC guifg=#000000 guibg=#c0c0c0 gui=NONE + hi VertSplit guifg=#000000 guibg=#c0c0c0 gui=NONE + hi Underlined guifg=#80a0ff guibg=NONE gui=underline + hi Ignore guifg=#000000 guibg=NONE + " NOTE THIS IS IN THE COOL SECTION + if v:version >= 700 + if has('spell') + " the guisp= could only support in Vim 7 + hi SpellBad guifg=NONE guibg=NONE guisp=#f08060 + hi SpellCap guifg=NONE guibg=NONE guisp=#6080f0 + hi SpellRare guifg=NONE guibg=NONE guisp=#f0c0f0 + hi SpellLocal guifg=NONE guibg=NONE guisp=#c0d8f8 + endif + hi Pmenu guifg=fg guibg=#800080 + hi PmenuSel guifg=#000000 guibg=#d0d0d0 gui=NONE + hi PmenuSbar guifg=fg guibg=#000080 gui=NONE + hi PmenuThumb guifg=fg guibg=#008000 gui=NONE + hi TabLine guifg=fg guibg=#008000 gui=NONE + hi TabLineFill guifg=fg guibg=#008000 gui=NONE + hi TabLineSel guifg=fg guibg=NONE gui=NONE + hi CursorColumn guifg=NONE guibg=#800000 gui=NONE + hi CursorLine guifg=NONE guibg=NONE gui=underline + hi MatchParen guifg=NONE guibg=#800080 + endif + + " DARK COLOR DEFINE END + + " Vim 7 added stuffs + if v:version >= 700 + hi Ignore gui=NONE + + " the gui=undercurl could only support in Vim 7 + if has('spell') + hi SpellBad gui=undercurl + hi SpellCap gui=undercurl + hi SpellRare gui=undercurl + hi SpellLocal gui=undercurl + endif + hi TabLine gui=underline + hi TabLineFill gui=underline + hi Underlined gui=underline + hi CursorLine gui=underline + endif + + " gui define for background=dark end here + + if &t_Co==8 || &t_Co==16 + " for 8-color and 16-color term + hi Normal ctermfg=LightGrey ctermbg=Black + hi Special ctermfg=Yellow ctermbg=bg + hi Comment ctermfg=DarkYellow ctermbg=bg + hi Constant ctermfg=Blue ctermbg=bg + hi Number ctermfg=Yellow ctermbg=bg + hi LineNr ctermfg=DarkGrey ctermbg=bg + hi PreProc ctermfg=Green ctermbg=bg + hi Statement ctermfg=Cyan ctermbg=bg + hi Type ctermfg=Cyan ctermbg=bg + hi Error ctermfg=Red ctermbg=bg + hi Identifier ctermfg=Magenta ctermbg=bg + hi SpecialKey ctermfg=Cyan ctermbg=bg + hi NonText ctermfg=Blue ctermbg=bg + hi Directory ctermfg=Blue ctermbg=bg + hi MoreMsg ctermfg=Green ctermbg=bg + hi Title ctermfg=Magenta ctermbg=bg + hi WarningMsg ctermfg=Red ctermbg=bg + hi DiffDelete ctermfg=Blue ctermbg=bg + + hi Search ctermfg=NONE ctermbg=DarkRed + hi Visual ctermfg=Black ctermbg=DarkCyan + hi Cursor ctermfg=Black ctermbg=Green + hi StatusLine ctermfg=Black ctermbg=DarkCyan + hi Question ctermfg=Black ctermbg=DarkYellow + hi Todo ctermfg=DarkRed ctermbg=DarkYellow + hi Folded ctermfg=White ctermbg=DarkGreen + hi ModeMsg ctermfg=Grey ctermbg=DarkBlue + hi VisualNOS ctermfg=Grey ctermbg=DarkBlue + hi ErrorMsg ctermfg=DarkYellow ctermbg=DarkRed + hi WildMenu ctermfg=Black ctermbg=DarkYellow + hi FoldColumn ctermfg=White ctermbg=DarkGreen + hi SignColumn ctermfg=White ctermbg=DarkGreen + hi DiffText ctermfg=Black ctermbg=DarkYellow + + if v:version >= 700 + if has('spell') + hi SpellBad ctermfg=NONE ctermbg=DarkRed + hi SpellCap ctermfg=NONE ctermbg=DarkBlue + hi SpellRare ctermfg=NONE ctermbg=DarkMagenta + hi SpellLocal ctermfg=NONE ctermbg=DarkGreen + endif + hi Pmenu ctermfg=fg ctermbg=DarkMagenta + hi PmenuSel ctermfg=Black ctermbg=fg + hi PmenuSbar ctermfg=fg ctermbg=DarkBlue + hi PmenuThumb ctermfg=fg ctermbg=DarkGreen + hi TabLine ctermfg=fg ctermbg=DarkGreen cterm=underline + hi TabLineFill ctermfg=fg ctermbg=DarkGreen cterm=underline + hi CursorColumn ctermfg=NONE ctermbg=DarkRed + + hi TabLineSel ctermfg=fg ctermbg=bg + hi CursorLine ctermfg=NONE ctermbg=bg cterm=underline + + hi MatchParen ctermfg=NONE ctermbg=DarkMagenta + endif + if &t_Co==8 + " 8 colour terminal support, this assumes 16 colour is available through + " setting the 'bold' attribute, will get bright foreground colour. + " However, the bright background color is not available for 8-color terms. + " + " You can manually set t_Co=16 in your .vimrc to see if your terminal + " supports 16 colours, + hi DiffText cterm=none + hi Visual cterm=none + hi Cursor cterm=none + hi Comment cterm=none + hi Todo cterm=none + hi StatusLine cterm=none + hi Question cterm=none + hi DiffChange cterm=none + hi ModeMsg cterm=none + hi VisualNOS cterm=none + hi ErrorMsg cterm=none + hi WildMenu cterm=none + hi DiffAdd cterm=none + hi Folded cterm=none + hi DiffDelete cterm=none + hi Normal cterm=none + hi PmenuThumb cterm=none + hi Search cterm=bold + hi Special cterm=bold + hi Constant cterm=bold + hi Number cterm=bold + hi LineNr cterm=bold + hi PreProc cterm=bold + hi Statement cterm=bold + hi Type cterm=bold + hi Error cterm=bold + hi Identifier cterm=bold + hi SpecialKey cterm=bold + hi NonText cterm=bold + hi MoreMsg cterm=bold + hi Title cterm=bold + hi WarningMsg cterm=bold + hi FoldColumn cterm=bold + hi SignColumn cterm=bold + hi Directory cterm=bold + hi DiffDelete cterm=bold + else + " Background > 7 is only available with 16 or more colors + + hi WarningMsg cterm=none + hi Search cterm=none + hi Visual cterm=none + hi Cursor cterm=none + hi Special cterm=none + hi Comment cterm=none + hi Constant cterm=none + hi Number cterm=none + hi LineNr cterm=none + hi PreProc cterm=none + hi Todo cterm=none + hi Error cterm=none + hi Identifier cterm=none + hi Folded cterm=none + hi SpecialKey cterm=none + hi Directory cterm=none + hi ErrorMsg cterm=none + hi Normal cterm=none + hi PmenuThumb cterm=none + hi WildMenu cterm=none + hi FoldColumn cterm=none + hi SignColumn cterm=none + hi DiffAdd cterm=none + hi DiffChange cterm=none + hi Question cterm=none + hi StatusLine cterm=none + hi DiffText cterm=none + hi IncSearch cterm=reverse + hi StatusLineNC cterm=reverse + hi VertSplit cterm=reverse + + " Well, well, bold font with color 0-7 is not possible. + " So, the Question, StatusLine, DiffText cannot act as expected. + + hi Statement cterm=none + hi Type cterm=none + hi MoreMsg cterm=none + hi ModeMsg cterm=none + hi NonText cterm=none + hi Title cterm=none + hi VisualNOS cterm=none + hi DiffDelete cterm=none + hi TabLineSel cterm=none + + endif + elseif &t_Co==256 + " 256color dark terminal support here + hi Normal ctermfg=252 ctermbg=234 cterm=NONE + " Comment/Uncomment the following line to disable/enable transparency + "hi Normal ctermfg=252 ctermbg=NONE cterm=NONE + hi Comment ctermfg=186 ctermbg=NONE cterm=NONE + hi Constant ctermfg=110 ctermbg=NONE cterm=NONE + hi Number ctermfg=179 ctermbg=NONE cterm=NONE + hi Identifier ctermfg=219 ctermbg=NONE cterm=NONE + hi Statement ctermfg=153 ctermbg=NONE cterm=NONE + hi PreProc ctermfg=84 ctermbg=NONE cterm=NONE + hi Type ctermfg=153 ctermbg=NONE cterm=NONE + hi Special ctermfg=179 ctermbg=NONE cterm=NONE + hi Error ctermfg=209 ctermbg=NONE cterm=NONE + hi Todo ctermfg=88 ctermbg=186 cterm=NONE + hi Search ctermfg=NONE ctermbg=88 cterm=NONE + hi Visual ctermfg=16 ctermbg=153 cterm=NONE + hi Cursor ctermfg=16 ctermbg=46 cterm=NONE + " NOTE THIS IS IN THE COOL SECTION + " hi CursorIM ctermfg=16 ctermbg=201 cterm=NONE + hi StatusLine ctermfg=16 ctermbg=153 cterm=NONE + hi LineNr ctermfg=249 ctermbg=NONE cterm=NONE + hi Question ctermfg=16 ctermbg=186 cterm=NONE + hi ModeMsg ctermfg=fg ctermbg=18 cterm=NONE + hi VisualNOS ctermfg=fg ctermbg=18 cterm=NONE + hi SpecialKey ctermfg=153 ctermbg=NONE cterm=NONE + hi NonText ctermfg=69 ctermbg=233 cterm=NONE + " Comment/Uncomment the following line to disable/enable transparency + "hi NonText ctermfg=69 ctermbg=NONE cterm=NONE + hi Directory ctermfg=110 ctermbg=NONE cterm=NONE + hi ErrorMsg ctermfg=186 ctermbg=88 cterm=NONE + hi MoreMsg ctermfg=150 ctermbg=NONE cterm=NONE + hi Title ctermfg=219 ctermbg=NONE cterm=NONE + hi WarningMsg ctermfg=209 ctermbg=NONE cterm=NONE + hi WildMenu ctermfg=16 ctermbg=186 cterm=NONE + hi Folded ctermfg=NONE ctermbg=22 cterm=NONE + hi FoldColumn ctermfg=254 ctermbg=28 cterm=NONE + hi DiffAdd ctermfg=NONE ctermbg=18 cterm=NONE + hi DiffChange ctermfg=NONE ctermbg=90 cterm=NONE + hi DiffDelete ctermfg=69 ctermbg=234 cterm=NONE + hi DiffText ctermfg=16 ctermbg=150 cterm=NONE + hi SignColumn ctermfg=254 ctermbg=28 cterm=NONE + hi IncSearch ctermfg=16 ctermbg=252 cterm=NONE + hi StatusLineNC ctermfg=16 ctermbg=250 cterm=NONE + hi VertSplit ctermfg=16 ctermbg=250 cterm=NONE + hi Underlined ctermfg=111 ctermbg=NONE cterm=underline + hi Ignore ctermfg=16 ctermbg=NONE + " NOTE THIS IS IN THE COOL SECTION + if v:version >= 700 + if has('spell') + " the ctermsp= is not supported in Vim 7 we simply ignored + if 0 + hi SpellBad cterm=undercurl ctermbg=NONE ctermfg=209 + hi SpellCap cterm=undercurl ctermbg=NONE ctermfg=69 + hi SpellRare cterm=undercurl ctermbg=NONE ctermfg=219 + hi SpellLocal cterm=undercurl ctermbg=NONE ctermfg=153 + else + hi SpellBad cterm=undercurl ctermbg=NONE ctermfg=NONE + hi SpellCap cterm=undercurl ctermbg=NONE ctermfg=NONE + hi SpellRare cterm=undercurl ctermbg=NONE ctermfg=NONE + hi SpellLocal cterm=undercurl ctermbg=NONE ctermfg=NONE + endif + endif + hi Pmenu ctermfg=fg ctermbg=90 + hi PmenuSel ctermfg=16 ctermbg=252 cterm=NONE + hi PmenuSbar ctermfg=fg ctermbg=18 cterm=NONE + hi PmenuThumb ctermfg=fg ctermbg=28 cterm=NONE + hi TabLine ctermfg=fg ctermbg=28 cterm=NONE + hi TabLineFill ctermfg=fg ctermbg=28 cterm=NONE + hi TabLineSel ctermfg=fg ctermbg=NONE cterm=NONE + hi CursorColumn ctermfg=NONE ctermbg=88 cterm=NONE + hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline + hi MatchParen ctermfg=NONE ctermbg=90 + hi TabLine cterm=underline + hi TabLineFill cterm=underline + hi Underlined cterm=underline + hi CursorLine cterm=underline + endif + + endif " t_Co + + " }}}2 +endif + +" Links: +" +" COLOR LINKS DEFINE START + +hi link String Constant +" Character must be different from strings because in many languages +" (especially C, C++) a 'char' variable is scalar while 'string' is pointer, +" mistaken a 'char' for a 'string' will cause disaster! +hi link Character Number +hi link SpecialChar LineNr +hi link Tag Identifier +hi link cCppOut LineNr +" The following are not standard hi links, +" these are used by DrChip +hi link Warning MoreMsg +hi link Notice Constant +" these are used by Calendar +hi link CalToday PreProc +" these are used by TagList +hi link MyTagListTagName IncSearch +hi link MyTagListTagScope Constant + +" COLOR LINKS DEFINE END + +" vim:et:nosta:sw=2:ts=8: +" vim600:fdm=marker:fdl=1: diff --git a/.vim/colors/peppers.vim b/.vim/colors/peppers.vim new file mode 100644 index 0000000..c2ffeff --- /dev/null +++ b/.vim/colors/peppers.vim @@ -0,0 +1,62 @@ +" Vim color file +" Maintainer: iyerns +" +" Comments are welcome ! +" Spammers will be shot. Survivors will be shot again +" +" Last Change: 21 Sep 2005 +" Version:1.0 +" Changes: Recolored comments and Statement +" + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="peppers" + +hi Normal guibg=black guifg=#90c009 +hi Statusline gui=none guibg=SteelBlue guifg=PowderBlue +hi VertSplit gui=none guibg=black guifg=SkyBlue +hi StatuslineNC gui=none guibg=LightSlateGray guifg=MistyRose +hi LineNr guifg=SlateGray2 gui=none +hi Cursor guibg=IndianRed guifg=Snow gui=none +hi Visual guibg=Yellow guifg=Black gui=none + +hi Title guifg=black guibg=white gui=BOLD +hi lCursor guibg=Cyan guifg=NONE +"guibg=#8c9bfa + +" syntax highlighting groups +hi Comment gui=NONE guifg=SteelBlue +hi Operator guifg=LightCoral + +hi Identifier guifg=OliveDrab gui=NONE + +hi Statement guifg=#f0f0ff gui=NONE +hi TypeDef guifg=#ff00c8 gui=NONE +hi Type guifg=#ffffc8 gui=NONE +hi Boolean guifg=#ff00aa gui=NONE + +hi String guifg=Gray75 gui=NONE +hi Number guifg=PeachPuff gui=NONE +hi Constant guifg=#ff8080 gui=NONE +hi Folded guifg=PowderBlue guibg=SteelBlue gui=BOLD +hi FoldColumn guifg=#ff8080 guibg=black gui=italic + +hi Function gui=NONE guifg=#6666ff +hi PreProc guifg=#ffff00 gui=italic +hi Define gui=bold guifg=Red + +hi Keyword guifg=Tomato gui=NONE +hi Search gui=NONE guibg=DodgerBlue guifg=snow +"guibg=#339900 +hi IncSearch gui=NONE guifg=FireBrick4 guibg=AntiqueWhite1 +hi Conditional gui=none guifg=DeepSkyBlue1 +hi browseDirectory gui=none guifg=DarkSlateGray1 +hi DiffText gui=italic guifg=black guibg=yellow +hi DiffAdd gui=none guifg=yellow guibg=#006000 +hi DiffChange gui=none guifg=yellow guibg=#000060 +hi DiffDelete gui=none guifg=black guibg=#600000 + diff --git a/.vim/colors/perfect.vim b/.vim/colors/perfect.vim new file mode 100644 index 0000000..d665d06 --- /dev/null +++ b/.vim/colors/perfect.vim @@ -0,0 +1,141 @@ +" Maintainer: Sasha Koss +" Version: 0.1 +" Last Change: 31 Dec 2010 +" Credits: Vim color scheme "perfect" + +set background=light + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "perfect" + +"————————————————+———————————————————————————————————————————————+———+———————————————————————————————————————————————" +" | GUI | | TERMINAL " +" TYPE +———————————————+———————————————+———————————————+———+———————————————+———————————————+———————————————" +" | foreground | background | | | foreground | background | " +"————————————————+———————————————+———————————————+———————————————+———+———————————————+———————————————+———————————————" + +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" +" Full colors reset +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" + +" Base colors + +hi ColorColumn guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Conceal guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Cursor guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi CursorIM guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi CursorColumn guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi CursorLine guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Directory guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi DiffAdd guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi DiffChange guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi DiffDelete guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi DiffText guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi ErrorMsg guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi VertSplit guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Folded guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi FoldColumn guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi SignColumn guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi IncSearch guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi LineNr guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi MatchParen guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi ModeMsg guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi MoreMsg guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi NonText guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Normal guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Pmenu guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi PmenuSel guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi PmenuSbar guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi PmenuThumb guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Question guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Search guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi SpecialKey guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi SpellBad guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi SpellCap guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi SpellLocal guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi SpellRare guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi StatusLine guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi StatusLineNC guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi TabLine guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi TabLineFill guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi TabLineSel guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Title guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi VisualNOS guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi WarningMsg guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi WildMenu guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none + +" Syntax related colors + +hi Comment guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Constant guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi String guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Character guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Number guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Boolean guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Float guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Identifier guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Function guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Statement guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Conditional guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Repeat guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Label guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Operator guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Keyword guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Exception guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi PreProc guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Include guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Define guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Macro guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi PreCondit guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Type guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi StorageClass guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Structure guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Typedef guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Special guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi SpecialChar guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Tag guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Delimiter guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi SpecialComment guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Debug guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Underlined guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Ignore guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Error guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none +hi Todo guifg=#000000 guibg=#ffffff gui=none ctermfg=16 ctermbg=231 cterm=none + +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" +" Interface " +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" + +hi ColorColumn guibg=#f7f7f7 +hi Cursor guifg=#ffffff guibg=#000000 +hi CursorLine guibg=#f7f7f7 +hi Directory guifg=#1d5a88 +hi VertSplit guifg=#eeeeee guibg=#eeeeee +hi Folded guifg=#bbbbbb guibg=#fbfbfb +hi IncSearch guibg=#ffdfce +hi LineNr guifg=#bbbbbb +hi NonText guifg=#eeeeee +hi Search guibg=#feffec +hi StatusLine guifg=#ffffff guibg=#000000 +hi StatusLineNC guifg=#ffffff guibg=#eeeeee + +" Syntax related colors + +hi Comment guifg=#bbbbbb +hi Constant guifg=#56882c +hi String guifg=#56882c +hi Number guifg=#56882c +hi Boolean guifg=#56882c +hi Float guifg=#56882c +hi Function guifg=#a9082f +hi Statement guifg=#1d5a88 +hi Conditional guifg=#1d5a88 +hi Operator guifg=#1d5a88 +hi Keyword guifg=#1d5a88 +hi Define guifg=#1d5a88 +hi Delimiter guifg=#56882c diff --git a/.vim/colors/pf_earth.vim b/.vim/colors/pf_earth.vim new file mode 100644 index 0000000..fc155bb --- /dev/null +++ b/.vim/colors/pf_earth.vim @@ -0,0 +1,186 @@ +" Vim color file +" Name: pf_earch + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "pf_earth" + +" map a urxvt cube number to an xterm-256 cube number +fun! M(a) + return strpart("0135", a:a, 1) + 0 +endfun + +" map a urxvt colour to an xterm-256 colour +fun! X(a) + if &t_Co == 88 + return a:a + else + if a:a == 8 + return 237 + elseif a:a < 16 + return a:a + elseif a:a > 79 + return 232 + (3 * (a:a - 80)) + else + let l:b = a:a - 16 + let l:x = l:b % 4 + let l:y = (l:b / 4) % 4 + let l:z = (l:b / 16) + return 16 + M(l:x) + (6 * M(l:y)) + (36 * M(l:z)) + endif + endif +endfun + +if has("gui_running") + hi Normal gui=NONE guifg=#E7FFD8 guibg=#262320 + hi IncSearch guifg=#66ffff gui=reverse + hi Search guifg=#000000 guibg=#cae682 ctermfg=0 ctermbg=195 + hi ErrorMsg gui=BOLD guifg=#ffffff guibg=#ff3300 + hi WarningMsg gui=BOLD guifg=#ffffff guibg=#ff6600 + hi ModeMsg gui=BOLD guifg=#7e7eae guibg=NONE + hi MoreMsg gui=BOLD guifg=#7e7eae guibg=NONE + hi Question gui=BOLD guifg=#ffcd00 guibg=NONE + hi StatusLine gui=NONE guifg=#b9b9b9 guibg=#2F2A26 + hi StatusLineNC gui=NONE guifg=#474A39 guibg=#2F2A26 + hi VertSplit gui=NONE guifg=#b9b9b9 guibg=#3e3e5e + hi WildMenu gui=BOLD guifg=#ffcd00 guibg=#1e1e2e + + hi DiffText gui=NONE guifg=#ffffcd guibg=#00cd00 + hi DiffChange gui=NONE guifg=#ffffcd guibg=#008bff + hi DiffDelete gui=NONE guifg=#ffffcd guibg=#cd0000 + hi DiffAdd gui=NONE guifg=#ffffcd guibg=#00cd00 + + hi Cursor gui=NONE guifg=#404040 guibg=#D78332 + hi lCursor gui=NONE guifg=#404040 guibg=#8b8bff + hi CursorIM gui=NONE guifg=#404040 guibg=#8b8bff + hi CursorLine gui=NONE guibg=#222725 gui=none + + hi Folded gui=NONE guifg=#cfcfcd guibg=#4b208f + hi FoldColumn gui=NONE guifg=#8b8bcd guibg=#2e2e2e + + hi Directory gui=NONE guifg=#00ff8b guibg=NONE + hi LineNr gui=NONE guifg=#595A48 guibg=#2E2A26 + hi NonText gui=BOLD guifg=#8b8bcd guibg=NONE + hi SpecialKey gui=BOLD guifg=#8b00cd guibg=NONE + hi Title gui=BOLD guifg=#af4f4b guibg=#1e1e27 + hi Visual guifg=NONE guibg=#364458 + + hi Comment gui=italic guifg=#4F4B42 + hi Constant gui=NONE guifg=#ffcd8b guibg=NONE + hi Boolean gui=italic guifg=#B15A40 guibg=NONE + hi String guifg=#B99B74 gui=none + hi Error gui=NONE guifg=#ffffff guibg=#ff0000 + hi Identifier gui=NONE guifg=#CEB429 guibg=NONE + hi Ignore gui=NONE guifg=#8b8bcd guibg=NONE + "hi Number gui=NONE guifg=#506dbd guibg=NONE + hi Number guifg=#C0E06C ctermfg=207 + " def/end + hi PreProc gui=NONE guifg=#838861 guibg=NONE + hi Special gui=NONE guifg=#c080d0 guibg=NONE + " do/end + hi Statement gui=NONE guifg=#5FE8D0 guibg=NONE + hi Operator gui=NONE guifg=#828A66 guibg=NONE + "hi Todo gui=BOLD guifg=#303030 guibg=#c080d0 + "hi Todo guifg=#efef8f guibg=NONE gui=underline + hi Todo guifg=#FFFFFF guibg=bg gui=bold + hi Type gui=NONE guifg=#ff8bff guibg=NONE + hi Underlined gui=BOLD guifg=#ffffcd guibg=NONE + hi TaglistTagName gui=BOLD guifg=#808bed guibg=NONE + + " match parenthesis, brackets + hi MatchParen guifg=#00ff00 guibg=NONE gui=bold + hi MatchParen ctermfg=46 ctermbg=NONE cterm=bold + + " Popup Menu + " ---------- + " normal item in popup + hi Pmenu guifg=#e0e0e0 guibg=#303840 gui=none + hi Pmenu ctermfg=253 ctermbg=233 cterm=none + " selected item in popup + hi PmenuSel guifg=#cae682 guibg=#505860 gui=none + hi PmenuSel ctermfg=186 ctermbg=237 cterm=none + " scrollbar in popup + hi PMenuSbar guibg=#505860 gui=none + hi PMenuSbar ctermbg=59 cterm=none + " thumb of the scrollbar in the popup + hi PMenuThumb guibg=#808890 gui=none + hi PMenuThumb ctermbg=102 cterm=none + + " Ruby Highlighting + hi rubySymbol guifg=#DA8332 gui=italic + hi rubyClass guifg=#b3d38c gui=italic + hi rubyGlobalVariable guifg=#45B6DC + hi rubyClassVariable guifg=#CB9064 + hi rubyInstanceVariable guifg=#C3BF55 + hi rubyConstant guifg=#8EB564 gui=italic + hi rubyBlockParameter guifg=#CC6BDC + hi link rubyClass Keyword + hi link rubyModule Keyword + hi link rubyOperator Operator + hi link rubyIdentifier Identifier + hi rubyRegexp guifg=#B18A3D ctermfg=brown + hi rubyRegexpDelimiter guifg=#FF8000 ctermfg=brown + "hi rubyFunction guifg=#0066bb gui=bold + "hi rubyKeyword guifg=#66cd66 + "hi rubyIndentifier guifg=#008aff + "hi rubyGlobalVariable guifg=#dd7700 + "hi rubyPredefinedIdentifier guifg=#555555 gui=bold + "hi rubyString guifg=#0086d2 + "hi rubyStringDelimiter guifg=#dd7700 + "hi rubySpaceError guibg=#270000 + "hi rubyDocumentation guifg=#aaaaaa + "hi rubyData guifg=#555555 +else + exec "hi Normal cterm=NONE ctermfg=" . X("78") . " ctermbg=" . X(80) . "" + exec "hi IncSearch cterm=BOLD ctermfg=" . X("80") . " ctermbg=" . X(73) . "" + exec "hi Search cterm=NONE ctermfg=" . X("80") . " ctermbg=" . X(73) . "" + exec "hi ErrorMsg cterm=BOLD ctermfg=" . X("79") . " ctermbg=" . X(64) . "" + exec "hi WarningMsg cterm=BOLD ctermfg=" . X("79") . " ctermbg=" . X(68) . "" + exec "hi ModeMsg cterm=BOLD ctermfg=" . X("39") . "" + exec "hi MoreMsg cterm=BOLD ctermfg=" . X("39") . "" + exec "hi Question cterm=BOLD ctermfg=" . X("72") . "" + exec "hi StatusLine cterm=BOLD ctermfg=" . X("84") . " ctermbg=" . X(81) . "" + exec "hi StatusLineNC cterm=NONE ctermfg=" . X("84") . " ctermbg=" . X(81) . "" + exec "hi VertSplit cterm=NONE ctermfg=" . X("84") . " ctermbg=" . X(82) . "" + exec "hi WildMenu cterm=BOLD ctermfg=" . X("72") . " ctermbg=" . X(80) . "" + + exec "hi DiffText cterm=NONE ctermfg=" . X("78") . " ctermbg=" . X(24) . "" + exec "hi DiffChange cterm=NONE ctermfg=" . X("78") . " ctermbg=" . X(23) . "" + exec "hi DiffDelete cterm=NONE ctermfg=" . X("78") . " ctermbg=" . X(48) . "" + exec "hi DiffAdd cterm=NONE ctermfg=" . X("78") . " ctermbg=" . X(24) . "" + + exec "hi Cursor cterm=NONE ctermfg=" . X("8") . " ctermbg=" . X(39) . "" + exec "hi lCursor cterm=NONE ctermfg=" . X("8") . " ctermbg=" . X(39) . "" + exec "hi CursorIM cterm=NONE ctermfg=" . X("8") . " ctermbg=" . X(39) . "" + + exec "hi Folded cterm=NONE ctermfg=" . X("78") . " ctermbg=" . X(35) . "" + exec "hi FoldColumn cterm=NONE ctermfg=" . X("38") . " ctermbg=" . X(80) . "" + + exec "hi Directory cterm=NONE ctermfg=" . X("29") . " ctermbg=NONE" + exec "hi LineNr cterm=NONE ctermfg=" . X("38") . " ctermbg=" . X(80) . "" + exec "hi NonText cterm=BOLD ctermfg=" . X("38") . " ctermbg=NONE" + exec "hi SpecialKey cterm=BOLD ctermfg=" . X("34") . " ctermbg=NONE" + exec "hi Title cterm=BOLD ctermfg=" . X("52") . " ctermbg=" . X(80) . "" + exec "hi Visual cterm=NONE ctermfg=" . X("80") . " ctermbg=" . X(73) . "" + + exec "hi Comment cterm=NONE ctermfg=" . X("52") . " ctermbg=NONE" + exec "hi Constant cterm=NONE ctermfg=" . X("73") . " ctermbg=NONE" + exec "hi String cterm=NONE ctermfg=" . X("73") . " ctermbg=" . X(8) . "" + exec "hi Error cterm=NONE ctermfg=" . X("79") . " ctermbg=" . X(64) . "" + exec "hi Identifier cterm=NONE ctermfg=" . X("71") . " ctermbg=NONE" + exec "hi Ignore cterm=NONE ctermfg=" . X("38") . " ctermbg=NONE" + exec "hi Number cterm=NONE ctermfg=" . X("22") . " ctermbg=NONE" + exec "hi PreProc cterm=NONE ctermfg=" . X("10") . " ctermbg=NONE" + exec "hi Special cterm=NONE ctermfg=" . X("39") . " ctermbg=NONE" + exec "hi Statement cterm=NONE ctermfg=" . X("26") . " ctermbg=NONE" + exec "hi Todo cterm=BOLD ctermfg=" . X("08") . " ctermbg=" . X(39) . "" + exec "hi Type cterm=NONE ctermfg=" . X("71") . " ctermbg=NONE" + exec "hi Underlined cterm=BOLD ctermfg=" . X("78") . " ctermbg=NONE" + exec "hi TaglistTagName cterm=BOLD ctermfg=" . X("26") . " ctermbg=NONE" +endif + +" vim: set et : diff --git a/.vim/colors/phd.vim b/.vim/colors/phd.vim new file mode 100644 index 0000000..1dadc69 --- /dev/null +++ b/.vim/colors/phd.vim @@ -0,0 +1,134 @@ + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "phd" + +" Very aggressive +"let s:orange = '#f0a000' +"let s:orange = '#b08060' +let s:violet = '#99699c' +let s:light_violet = '#a989ac' +let s:yellow = '#e3d756' +let s:red = '#d07346' +let s:darkgreen = '#80a050' +let s:green = '#99bf52' +let s:lightgreen = '#e2e9af' +let s:darkblue = '#32698f' +let s:blue = '#5299bf' +let s:lightblue = '#72b9bf' +let s:light_orange = '#fbd461' +let s:orange = '#bba401' +let s:grey = '#808080' + +let s:text = '#e0e0e0' +let s:text_hl = '#ffffff' +let s:text_minor = '#909090' +let s:text_very_minor = '#304050' + +let s:greyed = '#687898' + +let s:popup_bg = '#101010' +let s:popup_bg_hl = '#000000' +let s:popup_fg = s:text +let s:popup_fg_hl = s:text_hl + +let s:bg = '#061229' +let s:bg_hl_soft = '#1e293e' +let s:bg_hl = '#324454' +let s:bg_minor = '#030a17' + +let s:structure = '#76cc68' +let s:constant1 = '#c08040' +let s:constant2 = '#d2852b' +let s:constant3 = '#f2a54b' +let s:control1 = '#f9f7a4' +let s:control2 = '#c9b794' +" '#76cc68' +let s:border1_bg = s:bg_hl +let s:border1_fg = s:text_minor +let s:func = '#96b2cc' + + + +if version >= 700 + "Tabpages + exe 'hi TabLineSel guifg='.s:text_hl .' guibg='.s:border1_bg .' gui=underline' + exe 'hi TabLine guifg='.s:text_minor .' guibg='.s:bg .' gui=underline' + exe 'hi TabLineFill guifg='.s:text_minor .' guibg='.s:bg .' gui=none' + + "P-Menu (auto-completion) + "hi Pmenu guifg=#605958 guibg=#101418 gui=none + "hi PmenuSel guifg=#a09998 guibg=#404040 gui=underline + exe 'hi CursorLine guibg='.s:bg_hl_soft .' gui=none' + exe 'hi CursorColumn guibg='.s:bg_hl_soft .' gui=none' + exe 'hi MatchParen guifg='.s:text_hl .' guibg='.s:bg_hl .' gui=bold' + + exe 'hi Pmenu guifg='.s:text .' guibg='.s:popup_bg .' gui=none' + exe 'hi PmenuSel guifg='.s:text_hl .' guibg='.s:popup_bg_hl .' gui=bold' + exe 'hi PmenuSbar guibg='.s:popup_bg_hl + exe 'hi PmenuThumb guifg='.s:text +endif + +exe 'hi Visual guibg='.s:bg_hl + +"hi Cursor guifg=NONE guibg=#586068 +hi Cursor guibg=#b0d0f0 + +exe 'hi Normal guifg='.s:text .' guibg='.s:bg +"exe 'hi Underlined guifg='.s:white .' guibg='.s:darkgrey .' gui=underline' +exe 'hi NonText guifg='.s:text_very_minor .' guibg='.s:bg +exe 'hi SpecialKey guifg='.s:text_very_minor .' guibg='.s:bg + +exe 'hi LineNr guifg='.s:border1_fg .' guibg='.s:border1_bg .' gui=none' +exe 'hi StatusLine guifg='.s:text_hl .' guibg='.s:border1_bg .' gui=underline' +exe 'hi StatusLineNC guifg='.s:text_minor .' guibg='.s:border1_bg .' gui=underline' +exe 'hi VertSplit guifg='.s:border1_bg .' guibg='.s:border1_bg .' gui=none' + +exe 'hi Folded guifg='.s:text_minor .' guibg='.s:border1_bg .' gui=none' +exe 'hi FoldColumn guifg='.s:text_minor .' guibg='.s:border1_bg .' gui=none' +exe 'hi SignColumn guifg='.s:text_minor .' guibg='.s:border1_bg .' gui=none' + +exe 'hi Comment guifg='.s:greyed .' guibg='.s:bg .' gui=none' +exe 'hi TODO guifg='.s:greyed .' guibg='.s:bg .' gui=bold' + +exe 'hi Title guifg='.s:red .' guibg='.s:bg .' gui=underline' + +exe 'hi Constant guifg='.s:constant1 .' guibg='.s:bg .' gui=none' +exe 'hi String guifg='.s:constant2 .' guibg='.s:bg .' gui=none' +exe 'hi Special guifg='.s:constant3 .' guibg='.s:bg .' gui=none' + +exe 'hi Identifier guifg='.s:control1 .' guibg='.s:bg .' gui=none' +exe 'hi Statement guifg='.s:control2 .' guibg='.s:bg .' gui=none' +"exe 'hi Conditional guifg='.s:grey .' guibg='.s:bg .' gui=bold' +"exe 'hi Repeat guifg='.s:light_orange .' guibg='.s:bg .' gui=bold' +exe 'hi Structure guifg='.s:structure .' guibg='.s:bg .' gui=none' +exe 'hi Function guifg='.s:func .' guibg='.s:bg .' gui=none' + +exe 'hi PreProc guifg='.s:light_violet .' guibg='.s:bg .' gui=none' +exe 'hi Define guifg='.s:light_violet .' guibg='.s:bg .' gui=none' +exe 'hi Operator guifg='.s:light_orange .' guibg='.s:bg .' gui=none' +exe 'hi Type guifg='.s:yellow .' guibg='.s:bg .' gui=none' + +"hi Macro guifg=#a0b0c0 gui=underline + +"Tabs, trailing spaces, etc (lcs) +"hi SpecialKey guifg=#808080 guibg=#343434 + +"hi TooLong guibg=#ff0000 guifg=#f8f8f8 + +hi Search guifg=#606000 guibg=#c0c000 gui=bold + +hi Directory guifg=#dad085 gui=NONE +hi Error guibg=#602020 + +" Plugins + +"exe 'hi TagListFileName guifg='.s:lightgrey .' guibg='.s:darkgrey .' gui=underline' +"exe 'hi TagListTitle guifg='.s:mid_grey_blue .' guibg='.s:darkgrey .' gui=italic' + diff --git a/.vim/colors/phphaxor.vim b/.vim/colors/phphaxor.vim new file mode 100644 index 0000000..5ecd062 --- /dev/null +++ b/.vim/colors/phphaxor.vim @@ -0,0 +1,173 @@ +" PHPHaxor vim color file +" Maintainer: Bram Rohde +" Version: 0.9 +" Last Changed: 2007-06-05 +" Description: +" PHP Haxor vim color file +" Is a dark minimalistic syntax highlighting theme. +" Specially made to light out your PHP code in between HTML/JS. +" I made this file mainly for my own use, but feel free +" to contact me if you run into any problems/bugs. + +hi clear +set background=dark +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "phphaxor" + +hi Normal term=none ctermfg=7 ctermbg=0 gui=none guifg=White guibg=Gray9 +hi Directory term=bold cterm=bold ctermfg=DarkCyan guifg=LightBlue +hi Search term=reverse ctermfg=10 guifg=Green guibg=Black +hi MoreMsg term=bold cterm=bold ctermfg=darkgreen gui=bold guifg=Yellow +hi ModeMsg term=bold cterm=bold ctermfg=lightred gui=bold guifg=DeepPink guibg=Black +hi LineNr term=underline cterm=bold ctermfg=darkgrey guifg=Cadetblue4 +hi Question term=standout cterm=bold ctermfg=lightgreen gui=bold guifg=Yellow +hi Comment term=bold cterm=bold ctermfg=darkcyan gui=none guifg=Cadetblue3 +hi Constant term=bold cterm=none ctermfg=7 gui=none guifg=LightGray +hi Special term=bold cterm=none ctermfg=2 gui=none guifg=DarkOliveGreen1 +hi Identifier term=none cterm=none ctermfg=7 gui=none guifg=LightGray +hi PreProc term=underline cterm=bold ctermfg=7 gui=none guifg=Yellow +hi Error term=reverse cterm=bold ctermfg=7 ctermbg=1 gui=bold guifg=Red guibg=Black +hi Todo term=standout cterm=none ctermfg=0 ctermbg=7 guifg=Black guibg=White +hi String term=none cterm=none ctermfg=7 gui=none guifg=LightYellow +hi Function term=bold cterm=bold ctermfg=14 gui=bold guifg=White +hi Statement term=bold cterm=bold ctermfg=14 gui=bold guifg=White +hi Include term=bold cterm=bold ctermfg=12 gui=none guifg=LightBlue +hi StorageClass term=bold cterm=bold ctermfg=13 gui=none guifg=LightMagenta +hi Type term=none cterm=none ctermfg=7 gui=none guifg=LightGray +hi Defined term=bold cterm=bold ctermfg=14 gui=none guifg=LightCyan +hi MatchParen term=bold cterm=bold ctermbg=8 ctermfg=13 gui=none guifg=DeepPink guibg=Black +hi Cursorline guibg=Black +hi Cursor term=bold cterm=bold ctermfg=0 ctermbg=10 guibg=GreenYellow guifg=Black +hi Visual guifg=White guibg=MediumPurple4 + +hi htm ctermfg=8 guifg=Gray56 +hi js ctermfg=8 guifg=IndianRed + + + +hi link Character String +hi link Number Constant +hi link Boolean Constant +hi link Float Number +hi link Conditional Statement +hi link Repeat Statement +hi link Label Statement +hi link Operator Statement +hi link Keyword Statement +hi link Exception Statement +hi link Macro Include +hi link PreCondit PreProc +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 + + +"HTML HTML HTML + +"Title +hi link Title htm +hi link htmlH1 htm +hi link htmlH2 htm +hi link htmlH3 htm +hi link htmlH4 htm +hi link htmlH5 htm +hi link htmlH6 htm +hi link htmlTitle htm + +"HTML Comment +hi link htmlCommentPart htm +hi link htmlComment htm + +"HTML Special +hi link htmlCssStyleComment htm +hi link htmlSpecialChar htm +hi link htmlCssDefinition htm +hi link htmlSpecial htm +hi link htmlTagN htm +hi link htmlEvent js +hi link htmlEventSQ js +hi link htmlEventDQ js + +"HTML Identifier +hi link htmlEndTag htm +hi link htmlTag htm +hi link htmlScriptTag htm + +"HTML Statement +hi link htmlSpecialTagName htm +hi link htmlStatement htm +hi link htmlTagName htm + +"HTML PreProc +hi link htmlPreStmt htm +hi link htmlPreProc htm +hi link htmlPreProcAttrName htm +hi link htmlHead htm + +"HTML Type +hi link htmlArg htm + +"HTML Link +hi link htmlLink htm + +"HTML String +hi link htmlString htm +hi link htmlValue htm +hi link htmlPreAttr htm +hi link htmlStyleArg htm +"HTML VIM emulate the simple statements turn it off +hi link htmlBold htm +hi link htmlBoldItalic htm +hi link htmlBoldUnderline htm +hi link htmlUnderlineBold htm +hi link htmlUnderline htm +hi link htmlUnderlineItalic htm +hi link htmlItalic htm +hi link htmlItalicBold htm +hi link htmlBoldItalicUnderline htm +hi link htmlBoldUnderlineItalic htm +hi link htmlItalicBoldUnderline htm +hi link htmlUnderlineBoldItalic htm +hi link htmlUnderlineItalicBold htm +hi link htmlItalicUnderlineBold htm + +"JS +hi link javaScript js +hi link javaScriptConditional js +hi link javaScriptRepeat js +hi link javaScriptBranch js +hi link javaScriptOperator js +hi link javaScriptStatement js +hi link javaScriptNull js +hi link javaScriptLabel js +hi link javaScriptException js +hi link javaScriptMessage js +hi link javaScriptGlobal js +hi link javaScriptMember js +hi link javaScriptDeprecated js +hi link javaScriptReserved js +hi link javaScriptConstant js +hi link javaScriptFunction js +hi link javaScriptBraces js +hi link javaScriptExpression js +hi link javaScriptSpecial js +hi link javaScriptSpecialCharacter js +hi link javaScriptDebug js +hi link javaScriptLineComment js +hi link javaScriptComment js +hi link javaScriptValue js +hi link javaScriptParens js +hi link javaScriptNumber js +hi link javaScriptType js +hi link javaScriptIdentifier js +hi link javaScriptBoolean js +hi link javaScriptCommentSkip js + + + diff --git a/.vim/colors/phpx.vim b/.vim/colors/phpx.vim new file mode 100644 index 0000000..e86318c --- /dev/null +++ b/.vim/colors/phpx.vim @@ -0,0 +1,166 @@ +" Vim color file +"Version 1.1 +" Last Change: 2006 August 1 +"Modified to work with reloaded.vim AKA ps_color.vim +"as :color phpx +" :color reloaded +" :Reload 360 100 100 180 0 0 1 0 0 phpx.vim +" +/- +/- +/- +/- ? brite bg ? de template +" Hue Sat lt Hu2 sat 1-lt ? bug file +" ura dk ura 0-dk ? 0-n +" tion tion 1-y +" +" Light experiments +" :Reload 360 100 110 550 0 0 1 0 0 phpx.vim +" :Reload 360 80 110 400 0 0 1 0 0 phpx.vim +" :Reload 360 60 110 300 0 60 1 0 0 phpx.vim +" +" Dark experiment +" :Reload 360 100 100 200 0 200 0 0 0 phpx.vim +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "phpx" + +if exists("&t_Co") && &t_Co > 2 && &t_Co <= 8 + "Not much on the linux (text)console, unless anybody would document. + hi Normal ctermfg=4 ctermbg=7 + hi Comment ctermfg=3 + hi Constant ctermfg=1 + hi Special ctermfg=3 + hi Identifier ctermfg=4 + hi Statement ctermfg=0 + hi PreProc ctermfg=2 + hi Type ctermfg=2 + finish +endif + +" LIGHT COLOR DEFINE START +hi Normal guifg=#0000af guibg=#e4e4e4 ctermfg=19 ctermbg=254 +hi Cursor guifg=#ffffff guibg=#0000af +hi Comment guifg=#ff8700 guibg=#e4e4e4 ctermfg=208 +hi Constant guifg=#d70000 guibg=bg term=underline ctermfg=160 +hi Special guifg=#d75f00 guibg=bg term=bold ctermfg=166 +hi Identifier guifg=#0000af guibg=bg term=underline cterm=NONE ctermfg=19 +hi Statement guifg=#008700 guibg=bg gui=NONE term=bold ctermfg=28 cterm=NONE +hi PreProc guifg=#00af00 guibg=bg term=underline cterm=bold ctermfg=34 gui=bold +hi Type guifg=#00af00 guibg=bg term=underline ctermfg=34 +hi Underlined guifg=#80a0ff guibg=bg term=underline cterm=underline ctermfg=9 gui=underline +hi Ignore guifg=bg guibg=fg cterm=bold ctermfg=0 +hi Error guifg=#ffffff guibg=#ff0000 term=reverse cterm=bold ctermfg=15 ctermbg=12 +hi Todo guifg=#0000ff guibg=#ffff00 term=standout ctermfg=0 ctermbg=14 +hi Pmenu guibg=#ff00ff guifg=fg ctermbg=13 +hi PmenuSel guibg=#a9a9a9 guifg=fg ctermbg=8 +hi PmenuSbar guibg=#bebebe guifg=fg ctermbg=7 +hi PmenuThumb guifg=fg guibg=bg gui=reverse cterm=reverse +hi TabLine guibg=#a9a9a9 guifg=fg gui=underline term=underline cterm=underline ctermfg=15 ctermbg=8 +hi TabLineSel guifg=fg guibg=bg gui=bold term=bold cterm=bold +hi TabLineFill guifg=fg guibg=bg gui=reverse term=reverse cterm=reverse +hi MatchParen guifg=#cecb00 guibg=#ffffaf term=reverse ctermfg=3 ctermbg=229 +hi SpecialKey guifg=#00ffff guibg=bg term=bold ctermfg=9 +hi NonText guifg=#0000ff guibg=bg gui=bold term=bold ctermfg=9 +hi Directory guifg=#00ffff guibg=bg term=bold ctermfg=11 +hi ErrorMsg guifg=#ffffff guibg=#ff0000 term=standout cterm=bold ctermfg=15 ctermbg=4 +hi IncSearch guifg=#708090 guibg=#f0e68c gui=reverse term=reverse cterm=reverse ctermfg=11 ctermbg=10 +hi Search guifg=#000087 guibg=#87ffd7 term=reverse ctermfg=18 ctermbg=122 +hi MoreMsg term=bold ctermfg=29 gui=bold guifg=#00875f guibg=bg +hi ModeMsg term=bold cterm=bold ctermfg=178 gui=bold guifg=#d7af00 guibg=bg +hi LineNr guifg=#d7d787 guibg=bg term=underline ctermfg=186 +hi Question guifg=#00ffff guibg=bg gui=bold term=standout ctermfg=14 +hi StatusLine guifg=#000087 guibg=#ffffff gui=bold,reverse term=bold,reverse cterm=bold,reverse ctermfg=18 ctermbg=15 +hi StatusLineNC guifg=#949494 guibg=#ffffff gui=bold,reverse term=bold,reverse cterm=bold,reverse ctermfg=246 ctermbg=15 +hi VertSplit guifg=#000087 guibg=#c6c6c6 gui=reverse ctermfg=18 ctermbg=251 term=reverse cterm=reverse +hi Title guifg=#d700af guibg=bg gui=bold term=bold ctermfg=163 +hi Visual guifg=#ffffaf guibg=#005f00 gui=reverse term=reverse cterm=reverse ctermfg=229 ctermbg=22 +hi VisualNOS guifg=fg guibg=bg gui=bold,underline term=bold,underline cterm=bold,underline +hi WarningMsg guifg=#ff0000 guibg=bg term=standout ctermfg=9 +hi WildMenu guifg=#000000 guibg=#ffff00 guifg=fg term=standout ctermfg=0 ctermbg=11 +hi Folded guifg=#00ffff guibg=#a8a8a8 term=standout ctermfg=14 ctermbg=248 +hi FoldColumn guifg=#00ffff guibg=#bcbcbc term=standout ctermfg=14 ctermbg=250 +hi DiffAdd guibg=#000087 guifg=#e4e4e4 term=bold ctermbg=1 ctermbg=18 ctermfg=254 +hi DiffChange guibg=#870087 guifg=#87afff term=bold ctermbg=90 +hi DiffDelete guifg=#0000ff guibg=#008787 gui=bold term=bold cterm=bold ctermfg=21 ctermbg=30 ctermbg=3 +hi DiffText guibg=#ff0000 guifg=fg gui=bold term=reverse cterm=bold ctermbg=9 +hi SignColumn guifg=#00ffff guibg=#bcbcbc term=standout ctermfg=14 ctermbg=250 +hi lCursor guifg=#d7ffd7 guibg=#0000af +" LIGHT COLOR DEFINE END + +finish + +" DARK COLOR DEFINE START +hi Normal guifg=#e4e4e4 guibg=#000000 ctermfg=19 ctermbg=254 +hi Cursor guifg=#0000af guibg=#ffffff +hi Comment guifg=#e4e4e4 guifg=#ff8700 ctermfg=208 +hi Constant guifg=#d70000 guibg=bg term=underline ctermfg=160 +hi Special guifg=#d75f00 guibg=bg term=bold ctermfg=166 +hi Identifier guifg=#0000af guibg=bg term=underline cterm=NONE ctermfg=19 +hi Statement guifg=#008700 guibg=bg gui=NONE term=bold ctermfg=28 cterm=NONE +hi PreProc guifg=#00af00 guibg=bg term=underline cterm=bold ctermfg=34 gui=bold +hi Type guifg=#00af00 guibg=bg term=underline ctermfg=34 +hi Underlined guifg=#80a0ff guibg=bg term=underline cterm=underline ctermfg=9 gui=underline +hi Ignore guifg=bg guibg=fg cterm=bold ctermfg=0 +hi Error guifg=#ffffff guibg=#ff0000 term=reverse cterm=bold ctermfg=15 ctermbg=12 +hi Todo guifg=#0000ff guibg=#ffff00 term=standout ctermfg=0 ctermbg=14 +hi Pmenu guibg=#ff00ff guifg=fg ctermbg=13 +hi PmenuSel guibg=#a9a9a9 guifg=fg ctermbg=8 +hi PmenuSbar guibg=#bebebe guifg=fg ctermbg=7 +hi PmenuThumb guifg=fg guibg=bg gui=reverse cterm=reverse +hi TabLine guibg=#a9a9a9 guifg=fg gui=underline term=underline cterm=underline ctermfg=15 ctermbg=8 +hi TabLineSel guifg=fg guibg=bg gui=bold term=bold cterm=bold +hi TabLineFill guifg=fg guibg=bg gui=reverse term=reverse cterm=reverse +hi MatchParen guifg=#cecb00 guibg=#ffffaf term=reverse ctermfg=3 ctermbg=229 +hi SpecialKey guifg=#00ffff guibg=bg term=bold ctermfg=9 +hi NonText guifg=#0000ff guibg=bg gui=bold term=bold ctermfg=9 +hi Directory guifg=#00ffff guibg=bg term=bold ctermfg=11 +hi ErrorMsg guifg=#ffffff guibg=#ff0000 term=standout cterm=bold ctermfg=15 ctermbg=4 +hi IncSearch guifg=#708090 guibg=#f0e68c gui=reverse term=reverse cterm=reverse ctermfg=11 ctermbg=10 +hi Search guifg=#000087 guibg=#87ffd7 term=reverse ctermfg=18 ctermbg=122 +hi MoreMsg term=bold ctermfg=29 gui=bold guifg=#00875f guibg=bg +hi ModeMsg term=bold cterm=bold ctermfg=178 gui=bold guifg=#d7af00 guibg=bg +hi LineNr guifg=#d7d787 guibg=bg term=underline ctermfg=186 +hi Question guifg=#00ffff guibg=bg gui=bold term=standout ctermfg=14 +hi StatusLine guifg=#000087 guibg=#ffffff gui=bold,reverse term=bold,reverse cterm=bold,reverse ctermfg=18 ctermbg=15 +hi StatusLineNC guifg=#949494 guibg=#ffffff gui=bold,reverse term=bold,reverse cterm=bold,reverse ctermfg=246 ctermbg=15 +hi VertSplit guifg=#000087 guibg=#c6c6c6 gui=reverse ctermfg=18 ctermbg=251 term=reverse cterm=reverse +hi Title guifg=#d700af guibg=bg gui=bold term=bold ctermfg=163 +hi Visual guifg=#ffffaf guibg=#005f00 gui=reverse term=reverse cterm=reverse ctermfg=229 ctermbg=22 +hi VisualNOS guifg=fg guibg=bg gui=bold,underline term=bold,underline cterm=bold,underline +hi WarningMsg guifg=#ff0000 guibg=bg term=standout ctermfg=9 +hi WildMenu guifg=#000000 guibg=#ffff00 guifg=fg term=standout ctermfg=0 ctermbg=11 +hi Folded guifg=#00ffff guibg=#a8a8a8 term=standout ctermfg=14 ctermbg=248 +hi FoldColumn guifg=#00ffff guibg=#bcbcbc term=standout ctermfg=14 ctermbg=250 +hi DiffAdd guibg=#000087 guifg=#e4e4e4 term=bold ctermbg=1 ctermbg=18 ctermfg=254 +hi DiffChange guibg=#870087 guifg=#87afff term=bold ctermbg=90 +hi DiffDelete guifg=#0000ff guibg=#008787 gui=bold term=bold cterm=bold ctermfg=21 ctermbg=30 ctermbg=3 +hi DiffText guibg=#ff0000 guifg=fg gui=bold term=reverse cterm=bold ctermbg=9 +hi SignColumn guifg=#00ffff guibg=#bcbcbc term=standout ctermfg=14 ctermbg=250 +hi lCursor guifg=#d7ffd7 guibg=#0000af +" DARK COLOR DEFINE END + +" COLOR LINKS DEFINE START +" COLOR LINKS DEFINE END + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.vim/colors/pic.vim b/.vim/colors/pic.vim new file mode 100644 index 0000000..cfa51a9 --- /dev/null +++ b/.vim/colors/pic.vim @@ -0,0 +1,245 @@ +" Vim syntax file +" Language: PIC16F84 Assembler (Microchip's microcontroller) +" Maintainer: Aleksandar Veselinovic +" Last Change: 2001 May 10 +" URL: http://SOLAIR.EUnet.yu/~aleksav/vim/syntax/pic.vim +" Revision: 1.0 + +" Modifications +" Language: Add support to PIC18fxx2 Assembler (Microchip's microcontroller) +" Modifications:Diego Belotti +" Last Change: 2003 Ago 26 +" Revision: 2.0 + + +" For version 5.x: Clear all syntax items +" For version 6.x: Quit when a syntax file was already loaded +if version < 600 + syntax clear +elseif exists("b:current_syntax") + finish +endif + +syn case match +syn keyword picTodo NOTE TODO XXX contained + + +syn case ignore + +syn match picIdentifier "[a-z_$][a-z0-9_$]*" +syn match picLabel "^[A-Z_$][A-Z0-9_$]*" +syn match picLabel "^[A-Z_$][A-Z0-9_$]*:"me=e-1 + +syn match picASCII "A\='.'" +syn match picBinary "B'[0-1]\+'" +syn match picDecimal "D'\d\+'" +syn match picDecimal "\d\+" +syn match picHexadecimal "0x\x\+" +syn match picHexadecimal "H'\x\+'" +syn match picHexadecimal "[0-9]\x*h" +syn match picOctal "O'[0-7]\o*'" + + +syn match picComment ";.*" contains=picTodo + +syn region picString start=+"+ end=+"+ + +" Inicio del 16f84 +syn keyword picRegister INDF TMR0 PCL STATUS FSR PORTA PORTB +syn keyword picRegister EEDATA EEADR PCLATH INTCON INDF OPTION_REG PCL +syn keyword picRegister FSR TRISA TRISB EECON1 EECON2 INTCON OPTION + +" Register --- bits + +" STATUS +syn keyword picRegisterPart IRP RP1 RP0 TO PD Z DC C + +" PORTA +syn keyword picRegisterPart T0CKI +syn match picRegisterPart "RA[0-4]" + +" PORTB +syn keyword picRegisterPart INT +syn match picRegisterPart "RB[0-7]" + +" INTCON +syn keyword picRegisterPart GIE EEIE T0IE INTE RBIE T0IF INTF RBIF + +" OPTION +syn keyword picRegisterPart RBPU INTEDG T0CS T0SE PSA PS2 PS1 PS0 + +" EECON2 +syn keyword picRegisterPart EEIF WRERR WREN WR RD + +" INTCON +syn keyword picRegisterPart GIE EEIE T0IE INTE RBIE T0IF INTF RBIF + + +" OpCodes... +syn keyword picOpcode ADDWF ANDWF CLRF CLRW COMF DECF DECFSZ INCF INCFSZ +syn keyword picOpcode IORWF MOVF MOVWF NOP RLF RRF SUBWF SWAPF XORWF +syn keyword picOpcode BCF BSF BTFSC BTFSS +syn keyword picOpcode ADDLW ANDLW CALL CLRWDT GOTO IORLW MOVLW RETFIE +syn keyword picOpcode RETLW RETURN SLEEP SUBLW XORLW +syn keyword picOpcode GOTO + + +" Directives +syn keyword picDirective __BADRAM BANKISEL BANKSEL CBLOCK CODE __CONFIG +syn keyword picDirective CONSTANT DATA DB DE DT DW ELSE END ENDC +syn keyword picDirective ENDIF ENDM ENDW EQU ERROR ERRORLEVEL EXITM EXPAND +syn keyword picDirective EXTERN FILL GLOBAL IDATA __IDLOCS IF IFDEF IFNDEF +syn keyword picDirective INCLUDE LIST LOCAL MACRO __MAXRAM MESSG NOEXPAND +syn keyword picDirective NOLIST ORG PAGE PAGESEL PROCESSOR RADIX RES SET +syn keyword picDirective SPACE SUBTITLE TITLE UDATA UDATA_OVR UDATA_SHR +syn keyword picDirective VARIABLE WHILE INCLUDE +syn match picDirective "#\=UNDEFINE" +syn match picDirective "#\=INCLUDE" +syn match picDirective "#\=DEFINE" +" Fin del 16f84 + +" Inicio del PIC 18Fxx2 +" Regisers +syn keyword picRegister TOSU TOSH TOSL STKPTR PCLATU PCLATH PCL TBLPTRU TBLPTRH TBLPTRL TABLAT +syn keyword picRegister PRODH PRODL INTCON INTCON2 INTCON3 INDF0 POSTINC0 POSTDEC0 PREINC0 PLUSW0 +syn keyword picRegister FSR0H FSR0L WREG INDF1 POSTINC1 POSTDEC1 PREINC1 PLUSw1 FSR1H FSR1L BSR +syn keyword picRegister INDF2 POSTINC2 POSTDEC2 PREINC2 PLUSw2 FSR2H FSR2L STATUS TMR0H TMR0L +syn keyword picRegister T0CON OSCCON LVDCON WDTCON RCON TMR1H TMR1L T1CON TMR2 PR2 T2CON SSPBUF +syn keyword picRegister SSPADD SSPSTAT SSPCON1 SSPCON2 ADRESH ADRESL ADCON0 ADCON1 CCPR1H CCPR1L +syn keyword picRegister CCP1CON CCPR2H CCPR2L CCP2CON TMR3H TMR3L T3CON SPBRG RCREG TXREG TXSTA +syn keyword picRegister RCSTA EEADR EEDATA EECON2 EECON1 IPR2 PIR2 PIE2 IPR1 PIR1 PIE1 TRISE +syn keyword picRegister TRISD TRISC TRISB TRISA LATC LATD LATB LATA PORTE PORTD PORTC PORTB PORTA +"Register BITS +" STKPTR +syn keyword picRegisterPart STKFUL STKUNF +" INTCON +syn keyword picRegisterPart GIE GIEH PEIE GIEL TMR0IE T0IE INT0IE INT0E RBIE TMR0IF T0IF INT0IF INT0F RBIF +" INTCON2 +syn keyword picRegisterPart NOT_RBPU RBPU INTEDG0 INTEDG1 INTEDG2 TMR0IP T0IP RBIP +" INTCON3 +syn keyword picRegisterPart INT2IP INT1IP INT2IE INT2IP INT2IF INT1IF +" STATUS +syn keyword picRegisterPart N OV Z DC C +" T0CON +syn keyword picRegisterPart TMR0ON T08BIT T0CS T0SE PSA T0PS2 T0PS1 T0PS0 +" OSCCON +syn keyword picRegisterPart SCS +" LVDCON +syn keyword picRegisterPart IRVST LVDEN LVDL3 LVDL2 LVDL1 LVDL0 +" WDTCON +syn keyword picRegisterPart SWDTE SWDTEN +" RCON +syn keyword picRegisterPart IPEN NOT_RI RI NOT_TO TO NOT_PD PD NOT_POR POR NOT_BOR BOR +" T1CON +syn keyword picRegisterPart RD16 T1CKPS1 T1CKPS0 T1OSCEN NO_T1SYNC T1SYNC T1INSYNC TMR1CS TMR1ON +" T2CON +syn keyword picRegisterPart TOUTPS3 TOUTPS2 TOUTPS1 TOUTPS0 TMR2ON T2CKPS1 T2CKPS0 +" SSPSTAT +syn keyword picRegisterPart SMP CKE D I2C_DAT NOT_A NOT_ADDRESS D_A DATA_ADDRESS P I2C_STOP S I2C_START R I2C_READ NOT_W NOT_WRITE R_W READ_WRITE UA BF +" SSPCON1 +syn keyword picRegisterPart WCOL SSPOV SSPEN CKP SSPM3 SSPM2 SSPM1 SSPM0 +" SSPCIN2 +syn keyword picRegisterPart GCEN ACKSTAT ACKDT ACKEN RCEN PEN RSEN SEN +" ADCON0 +syn keyword picRegisterPart ADCS1 ADCS0 CHS2 CHS1 CHS0 GO NOT_DONE DONE GO_DONE ADON +" ADCON1 +syn keyword picRegisterPart ADFM ADCS2 PCFG3 PCFG2 PCFG1 PCFG0 +" CCP1CON +syn keyword picRegisterPart DC1B1 CCP1X DC1BC0 CCP1Y CCP1M3 CCP1M2 CCP1M1 CCP1M0 +" CCP2CON +syn keyword picRegisterPart DC2B1 CCP2X DC2B0 CCP2Y CCP2M3 CCP2M2 CCP2M1 CCP2M0 +" T3CON +syn keyword picRegisterPart RD16 T3CCP2 T3CKPS1 T3CKPS0 T3CCP1 NOT_T3SYNC T3SYNC T3INSYNC TMR3CS TMR3ON +" TXSTA +syn keyword picRegisterPart CSRC TX9 NOT_TX8 TX8_9 TXEN SYNC BRGH TMRT TX9D TXD8 +" RCSTA +syn keyword picRegisterPart SPEN RX9 RC9 NOT_RC8 RC8_9 SREN CREN ADDEN FERR OERR RX9D RCD8 +" IPR2 +syn keyword picRegisterPart EEIP BCLIP LVDIP TMR3IP CCP2IP +" PIR2 +syn keyword picRegisterPart EEIF BCLIF LVDIF TMR3IF CCP2IF +" PIE2 +syn keyword picRegisterPart EEIE BCLIE LVDIE TMR3IE CCP2IE +" IPR1 +syn keyword picRegisterPart PSPIP ADIP RCIP TXIP SSPIP CCP1IP TMR2IP TMR1IP +" PIR1 +syn keyword picRegisterPart PSPIF ADIF RCIF TXIF SSPIF CCP1IF TMR2IF TMR1IF +" PIE1 +syn keyword picRegisterPart PSPIE ADIE RCIE TXIE SSPIE CCP1IE TMR2IE TMR1IE +" TRISE +syn keyword picRegisterPart IBF OBF IBOV PSPMODE TRISE2 TRISE1 TRISE0 +" EECON1 +syn keyword picRegisterPart EEPGD CFGS FREE WRERR WREN WR RD +" PORTA +syn match picRegisterPart "RA[0-6]" +syn match picRegisterPart "AN[0-4]" +syn keyword picRegisterPart VREFM VREFP T0CKI SS LVDIN OSC2 CLKO +" PORTB +syn match picRegisterPart "RB[0-7]" +syn keyword picRegisterPart INT0 INT1 INT2 CCP2A +" PORTC +syn match picRegisterPart "RC[0-7]" +syn keyword picRegisterPart T1OSO T1CKI T1OSI CCP2 CCP1 SCK SCL SDI SDA SDO TX CK RX +" PORTD +syn match picRegisterPart "RD[0-7]" +syn match picRegisterPart "PSP[0-7]" +" PORTE +syn match picRegisterPart "RE[0-2]" +syn match picRegisterPart "AN[5-7]" +syn keyword picRegisterPart RD WR CS + +" CONFIG +syn match picDirective "_CONFIG[1-7]L" +syn match picDirective "_CONFIG[1-7]H" +syn keyword picDirective _DEVID1 _DEVID2 +syn match picDirective "_IDLOC[0-7]" + +" OPCODES +syn keyword picOpcode ADDWF ADDWFC ANDWF CLRF COMF CPFSEQ CPFSGT CPFSLT DECF DECFSZ DCFSNZ INCF +syn keyword picOpcode INCFSZ INFSNZ IORWF MOVF MOVFF MOVWF MULWF NEGF RLCF RLNCF RRCF RRNCF SETF +syn keyword picOpcode SUBFWB SWAPF TSTFSZ XORWF BCF BSF BTFSC BTFSS BTG BC BN BNC BNN BNOV BNZ +syn keyword picOpcode BOV BRA BZ CALL CLRWDT DAW GOTO NOP POP PUSH RCALL RESET RETFIE RETLW RETURN +syn keyword picOpcode SLEEP ADDLW ANDLW IORLW LFSR MOVLB MOVLW MULLW RETLW SUBLW XORLW +syn keyword picOpcode TBLRD* TBLRD*+ TBLRD*- TBLRD +* TBLWT* TBLWT*+ TBLWT*- TBLWT+* + +" DIRECTIVES +" The same as the 16f84 + + +" Fin del 18fxx2 + +" Define the default highlighting. +" For version 5.7 and earlier: only when not done already +" For version 5.8 and later: only when an item doesn't have highlighting yet +if version >= 508 || !exists("did_pic16f84_syntax_inits") + if version < 508 + let did_pic16f84_syntax_inits = 1 + command -nargs=+ HiLink hi link + else + command -nargs=+ HiLink hi def link + endif + + HiLink picTodo Todo + HiLink picComment Comment + HiLink picDirective Statement + HiLink picLabel Label + HiLink picString String + + HiLink picOpcode Keyword + HiLink picRegister Structure + HiLink picRegisterPart Special + + HiLink picASCII String + HiLink picBinary Number + HiLink picDecimal Number + HiLink picHexadecimal Number + HiLink picOctal Number + + HiLink picIdentifier Identifier + + delcommand HiLink +endif + +let b:current_syntax = "pic" + +" vim: ts=8 diff --git a/.vim/colors/pink.vim b/.vim/colors/pink.vim new file mode 100644 index 0000000..bcdf33b --- /dev/null +++ b/.vim/colors/pink.vim @@ -0,0 +1,168 @@ +" Maintainer: paddynewman@gmail.com +" License: BSD + +if &t_Co != 256 && !has("gui_running") + echomsg "" + echomsg "write 'set t_Co=256' in your .vimrc or this file won't load" + echomsg "" + finish +endif + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "pink" +let s:save_cpo = &cpo +set cpo&vim + +let s:colors256 = [ + \ ["Normal", "NONE", "238", "225" ], + \ ["Cursor", "NONE", "NONE", "160" ], + \ ["CursorLine", "NONE", "NONE", "222" ], + \ ["CursorColumn", "NONE", "NONE", "223" ], + \ ["Incsearch", "NONE", "NONE", "11" ], + \ ["Search", "NONE", "NONE", "11" ], + \ ["ErrorMsg", "BOLD", "16", "9" ], + \ ["WarningMsg", "BOLD", "16", "11" ], + \ ["ModeMsg", "BOLD", "NONE", "11" ], + \ ["MoreMsg", "BOLD", "16", "11" ], + \ ["Question", "BOLD", "27", "NONE" ], + \ ["StatusLine", "NONE", "0", "219" ], + \ ["StatusLineNC", "NONE", "238", "219" ], + \ ["User1", "BOLD", "28", "NONE" ], + \ ["User2", "BOLD", "39", "NONE" ], + \ ["VertSplit", "NONE", "84", "22" ], + \ ["WildMenu", "BOLD", "87", "35" ], + \ ["DiffText", "NONE", "16", "190" ], + \ ["DiffChange", "NONE", "16", "83" ], + \ ["DiffDelete", "NONE", "79", "124" ], + \ ["DiffAdd", "NONE", "79", "21" ], + \ ["Folded", "NONE", "238", "255" ], + \ ["FoldedColumn", "NONE", "238", "255" ], + \ ["FoldColumn", "NONE", "225", "255" ], + \ ["Directory", "NONE", "28", "NONE" ], + \ ["LineNr", "NONE", "238", "255" ], + \ ["NonText", "NONE", "238", "225" ], + \ ["SpecialKey", "NONE", "9", "NONE" ], + \ ["Title", "BOLD", "18", "NONE" ], + \ ["Visual", "NONE", "NONE", "220" ], + \ ["Comment", "NONE", "238", "255" ], + \ ["Costant", "NONE", "58", "NONE" ], + \ ["String", "NONE", "160", "NONE" ], + \ ["Error", "NONE", "130", "NONE" ], + \ ["Identifier", "NONE", "31", "NONE" ], + \ ["Ignore", "NONE", "NONE", "NONE" ], + \ ["Number", "NONE", "23", "NONE" ], + \ ["PreProc", "NONE", "26", "255" ], + \ ["Special", "NONE", "238", "NONE" ], + \ ["SpecialChar", "NONE", "22", "NONE" ], + \ ["Statement", "NONE", "36", "NONE" ], + \ ["Todo", "NONE", "NONE", "229" ], + \ ["Type", "NONE", "20", "NONE" ], + \ ["Underlined", "BOLD", "25", "NONE" ], + \ ["TaglistTagName","BOLD", "29", "118" ]] + +let s:colorvim7 = [ + \ ["Pmenu", "NONE", "238", "219" ], + \ ["PmenuSel", "NONE", "238", "11" ], + \ ["PmenuSbar", "NONE", "238", "11" ], + \ ["PmenuThumb", "NONE", "238", "11" ], + \ ["SpellBad", "NONE", "238", "9" ], + \ ["SpellRare", "NONE", "NONE", "228" ], + \ ["SpellLocal", "NONE", "NONE", "224" ], + \ ["SpellCap", "NONE", "NONE", "247" ], + \ ["MatchParen", "NONE", "NONE", "11" ], + \ ["TabLine", "NONE", "238", "219" ], + \ ["TabLineSel", "NONE", "0", "225" ], + \ ["TabLineFill", "NONE", "219", "219" ]] + +function! s:checkargs(arg) + if a:arg+0 == 0 && a:arg != "0" "its a string + return a:arg + else + return s:cmap[a:arg+0] "get rgb color based on the number + endif +endfunction + +if !has("gui_running") + for s:col in s:colors256 + exec "hi " . s:col[0] . " cterm=" . s:col[1] . + \ " ctermfg=" . s:col[2] . " ctermbg=" . s:col[3] + endfor + if v:version >= 700 + for s:col in s:colorvim7 + exec "hi " .s:col[0] . " cterm=" . s:col[1] . + \ " ctermfg=" . s:col[2] . " ctermbg=" . s:col[3] + endfor + endif +else + let s:cmap = [ + \ "#000000", "#800000", "#008000", "#808000", + \ "#000080", "#800080", "#008080", "#c0c0c0", + \ "#808080", "#ff0000", "#00ff00", "#ffff00", + \ "#0000ff", "#ff00ff", "#00ffff", "#ffffff", + \ + \ "#000000", "#00005f", "#00008f", "#0000af", "#0000d7", "#0000ff", + \ "#005f00", "#005f5f", "#005f8f", "#005faf", "#005fd7", "#005fff", + \ "#008f00", "#008f5f", "#008f8f", "#008faf", "#008fd7", "#008fff", + \ "#00af00", "#00af5f", "#00af8f", "#00afaf", "#00afd7", "#00afff", + \ "#00d700", "#00d75f", "#00d78f", "#00d7af", "#00d7d7", "#00d7ff", + \ "#00ff00", "#00ff5f", "#00ff8f", "#00ffaf", "#00ffd7", "#00ffff", + \ "#5f0000", "#5f005f", "#5f008f", "#5f00af", "#5f00d7", "#5f00ff", + \ "#5f5f00", "#5f5f5f", "#5f5f8f", "#5f5faf", "#5f5fd7", "#5f5fff", + \ "#5f8f00", "#5f8f5f", "#5f8f8f", "#5f8faf", "#5f8fd7", "#5f8fff", + \ "#5faf00", "#5faf5f", "#5faf8f", "#5fafaf", "#5fafd7", "#5fafff", + \ "#5fd700", "#5fd75f", "#5fd78f", "#5fd7af", "#5fd7d7", "#5fd7ff", + \ "#5fff00", "#5fff5f", "#5fff8f", "#5fffaf", "#5fffd7", "#5fffff", + \ "#8f0000", "#8f005f", "#8f008f", "#8f00af", "#8f00d7", "#8f00ff", + \ "#8f5f00", "#8f5f5f", "#8f5f8f", "#8f5faf", "#8f5fd7", "#8f5fff", + \ "#8f8f00", "#8f8f5f", "#8f8f8f", "#8f8faf", "#8f8fd7", "#8f8fff", + \ "#8faf00", "#8faf5f", "#8faf8f", "#8fafaf", "#8fafd7", "#8fafff", + \ "#8fd700", "#8fd75f", "#8fd78f", "#8fd7af", "#8fd7d7", "#8fd7ff", + \ "#8fff00", "#8fff5f", "#8fff8f", "#8fffaf", "#8fffd7", "#8fffff", + \ "#af0000", "#af005f", "#af008f", "#af00af", "#af00d7", "#af00ff", + \ "#af5f00", "#af5f5f", "#af5f8f", "#af5faf", "#af5fd7", "#af5fff", + \ "#af8f00", "#af8f5f", "#af8f8f", "#af8faf", "#af8fd7", "#af8fff", + \ "#afaf00", "#afaf5f", "#afaf8f", "#afafaf", "#afafd7", "#afafff", + \ "#afd700", "#afd75f", "#afd78f", "#afd7af", "#afd7d7", "#afd7ff", + \ "#afff00", "#afff5f", "#afff8f", "#afffaf", "#afffd7", "#afffff", + \ "#d70000", "#d7005f", "#d7008f", "#d700af", "#d700d7", "#d700ff", + \ "#d75f00", "#d75f5f", "#d75f8f", "#d75faf", "#d75fd7", "#d75fff", + \ "#d78f00", "#d78f5f", "#d78f8f", "#d78faf", "#d78fd7", "#d78fff", + \ "#d7af00", "#d7af5f", "#d7af8f", "#d7afaf", "#d7afd7", "#d7afff", + \ "#d7d700", "#d7d75f", "#d7d78f", "#d7d7af", "#d7d7d7", "#d7d7ff", + \ "#d7ff00", "#d7ff5f", "#d7ff8f", "#d7ffaf", "#d7ffd7", "#d7ffff", + \ "#ff0000", "#ff005f", "#ff008f", "#ff00af", "#ff00d7", "#ff00ff", + \ "#ff5f00", "#ff5f5f", "#ff5f8f", "#ff5faf", "#ff5fd7", "#ff5fff", + \ "#ff8f00", "#ff8f5f", "#ff8f8f", "#ff8faf", "#ff8fd7", "#ff8fff", + \ "#ffaf00", "#ffaf5f", "#ffaf8f", "#ffafaf", "#ffafd7", "#ffafff", + \ "#ffd700", "#ffd75f", "#ffd78f", "#ffd7af", "#ffd7d7", "#ffd7ff", + \ "#ffff00", "#ffff5f", "#ffff8f", "#ffffaf", "#ffffd7", "#ffffff", + \ + \ "#080808", "#121212", "#1c1c1c", "#262626", "#303030", "#3a3a3a", + \ "#444444", "#4e4e4e", "#585858", "#606060", "#666666", "#767676", + \ "#808080", "#8a8a8a", "#949494", "#9e9e9e", "#a8a8a8", "#b2b2b2", + \ "#bcbcbc", "#c6c6c6", "#d0d0d0", "#dadada", "#e4e4e4", "#eeeeee" ] + + for s:col in s:colors256 + let fg = s:checkargs(s:col[2]) + let bg = s:checkargs(s:col[3]) + exec "hi " .s:col[0] . " gui=" . s:col[1] . " guifg=" . + \ fg . " guibg=" .bg + endfor + + if v:version >= 700 + for s:col in s:colorvim7 + let fg = s:checkargs(s:col[2]) + let bg = s:checkargs(s:col[3]) + exec "hi " . s:col[0] . " gui=" . s:col[1] . + \ " guifg=" . fg . " guibg=" . bg + endfor + endif +endif + +let &cpo = s:save_cpo " restoring &cpo value + diff --git a/.vim/colors/pleasant.vim b/.vim/colors/pleasant.vim new file mode 100644 index 0000000..e327bc9 --- /dev/null +++ b/.vim/colors/pleasant.vim @@ -0,0 +1,37 @@ +" Vim color file +" Maintainer: iyerns +" Last Change: 25 August 2005 +" Version:1.0 +" Comment: A bright and colorful scheme for gui + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="pleasant" + +hi Normal guifg=black guibg=white +hi Title guifg=black guibg=white gui=BOLD +hi lCursor guibg=Cyan guifg=NONE + +hi LineNr guifg=white guibg=#8c9bfa + +" syntax highlighting groups +hi Comment ctermfg=Red guifg=#c80000 gui=NONE +hi Operator term=None cterm=None gui=None + +hi Identifier guifg=#008000 gui=NONE + +hi Statement guifg=#0000c8 gui=NONE +hi TypeDef guifg=#c000c8 gui=NONE +hi Type guifg=#0000c8 gui=NONE +hi Boolean guifg=#0000aa gui=NONE + +hi String guifg=#808055 gui=NONE +hi Number guifg=#808880 gui=NONE +hi Constant guifg=#888080 gui=NONE + +hi Function guifg=#008040 gui=NONE guibg=#cccccc +hi PreProc guifg=#808040 gui=NONE +hi Keyword guifg=#008088 gui=NONE diff --git a/.vim/colors/potts.vim b/.vim/colors/potts.vim new file mode 100644 index 0000000..79bc5e9 --- /dev/null +++ b/.vim/colors/potts.vim @@ -0,0 +1,53 @@ +" -*- vim -*- +" FILE: "/home/dp/.vim/colors/potts2.vim" {{{ +" LAST MODIFICATION: "Fri, 08 Feb 2002 09:47:10 (dp)" +" (C) 2001 by Douglas L. Potts, +" $Id: potts2.vim,v 1.3 2002/02/18 20:25:27 dp Exp $ }}} + +set background=dark +highlight clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="potts2" + +highlight SpecialKey term=bold ctermfg=9 guifg=Cyan +highlight NonText term=bold ctermfg=9 gui=bold guifg=green +highlight Directory term=bold ctermfg=11 guifg=Cyan +highlight ErrorMsg term=standout ctermfg=15 ctermbg=4 guifg=White guibg=Red +highlight IncSearch term=reverse cterm=reverse gui=reverse +highlight Search term=reverse ctermfg=15 ctermbg=12 guifg=white guibg=Red +highlight MoreMsg term=bold ctermfg=10 gui=bold guifg=SeaGreen +highlight ModeMsg term=bold cterm=bold gui=bold +highlight LineNr term=underline ctermfg=14 guifg=Yellow +highlight Question term=standout ctermfg=10 gui=bold guifg=Green +highlight StatusLine term=bold,reverse cterm=bold,reverse gui=bold,reverse +highlight StatusLineNC term=reverse cterm=reverse gui=reverse +highlight VertSplit term=reverse cterm=reverse gui=reverse +highlight Title term=bold ctermfg=13 gui=bold guifg=Magenta +highlight Visual term=reverse cterm=reverse gui=reverse guifg=gray guibg=black +highlight VisualNOS term=bold,underline cterm=bold,underline gui=bold,underline +highlight WarningMsg term=standout ctermfg=12 guifg=Red +highlight WildMenu term=standout ctermfg=0 ctermbg=14 guifg=Black guibg=Yellow +highlight Folded term=standout cterm=bold ctermfg=11 guifg=cyan guibg=bg +highlight FoldColumn term=standout cterm=bold ctermfg=11 guifg=cyan guibg=bg +highlight DiffAdd term=bold ctermfg=10 ctermbg=9 guifg=Green guibg=Black +highlight DiffChange term=bold ctermfg=15 ctermbg=9 guifg=White guibg=Blue +highlight DiffDelete term=bold ctermfg=13 ctermbg=11 gui=bold guifg=Magenta guibg=Black +highlight DiffText term=reverse cterm=bold ctermfg=15 ctermbg=12 gui=bold guifg=White guibg=Red +highlight Cursor guifg=bg guibg=fg +highlight lCursor guifg=bg guibg=fg +highlight Normal guifg=gray guibg=black font='6x13' +highlight Comment term=bold ctermfg=11 guifg=#80a0ff +highlight Constant term=underline ctermfg=13 guifg=#ffa0a0 +highlight Special term=bold ctermfg=12 guifg=Orange +highlight Identifier term=underline cterm=bold ctermfg=11 guifg=#40ffff +highlight Statement term=bold ctermfg=14 gui=bold guifg=#ffff60 +highlight PreProc term=underline ctermfg=9 guifg=#ff80ff +highlight Type term=underline ctermfg=10 gui=bold guifg=#60ff60 +highlight Underlined term=underline cterm=underline ctermfg=9 gui=underline guifg=#80a0ff +highlight Ignore ctermfg=0 guifg=bg +highlight Error term=reverse ctermfg=15 ctermbg=12 guifg=White guibg=Red +highlight Todo term=standout ctermfg=0 ctermbg=14 guifg=Blue guibg=Yellow +highlight DebugBreak ctermfg=15 ctermbg=4 guifg=white guibg=darkred +highlight DebugStop ctermfg=15 ctermbg=10 guifg=white guibg=lightgreen diff --git a/.vim/colors/print_bw.vim b/.vim/colors/print_bw.vim new file mode 100644 index 0000000..4be35f4 --- /dev/null +++ b/.vim/colors/print_bw.vim @@ -0,0 +1,65 @@ +" Vim color file +" Maintainer: Mike Williams +" Last Change: 2nd June 2003 +" Version: 1.1 + +" Remove all existing highlighting. +set background=light + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "print_bw" + +highlight Normal cterm=NONE ctermfg=black ctermbg=white gui=NONE guifg=black guibg=white +highlight NonText ctermfg=black ctermbg=white guifg=black guibg=white +highlight LineNr cterm=italic ctermfg=black ctermbg=white gui=italic guifg=black guibg=white + +" Syntax highlighting scheme +highlight Comment cterm=italic ctermfg=black ctermbg=white gui=italic guifg=black guibg=white + +highlight Constant ctermfg=black ctermbg=white guifg=black guibg=white +highlight String ctermfg=black ctermbg=white guifg=black guibg=white +highlight Character ctermfg=black ctermbg=white guifg=black guibg=white +highlight Number ctermfg=black ctermbg=white guifg=black guibg=white +" Boolean defaults to Constant +highlight Float ctermfg=black ctermbg=white guifg=black guibg=white + +highlight Identifier ctermfg=black ctermbg=white guifg=black guibg=white +highlight Function ctermfg=black ctermbg=white guifg=black guibg=white + +highlight Statement ctermfg=black ctermbg=white guifg=black guibg=white +highlight Conditional ctermfg=black ctermbg=white guifg=black guibg=white +highlight Repeat ctermfg=black ctermbg=white guifg=black guibg=white +highlight Label ctermfg=black ctermbg=white guifg=black guibg=white +highlight Operator ctermfg=black ctermbg=white guifg=black guibg=white +" Keyword defaults to Statement +" Exception defaults to Statement + +highlight PreProc cterm=bold ctermfg=black ctermbg=white gui=bold guifg=black guibg=white +" Include defaults to PreProc +" Define defaults to PreProc +" Macro defaults to PreProc +" PreCondit defaults to PreProc + +highlight Type cterm=bold ctermfg=black ctermbg=white gui=bold guifg=black guibg=white +" StorageClass defaults to Type +" Structure defaults to Type +" Typedef defaults to Type + +highlight Special cterm=italic ctermfg=black ctermbg=white gui=italic guifg=black guibg=white +" SpecialChar defaults to Special +" Tag defaults to Special +" Delimiter defaults to Special +highlight SpecialComment cterm=italic ctermfg=black ctermbg=white gui=italic guifg=black guibg=white +" Debug defaults to Special + +highlight Todo cterm=italic,bold ctermfg=black ctermbg=white gui=italic,bold guifg=black guibg=white +" Ideally, the bg color would be white but VIM cannot print white on black! +highlight Error cterm=bold,reverse ctermfg=black ctermbg=grey gui=bold,reverse guifg=black guibg=grey + +" vim:et:ff=unix:tw=0:ts=4:sw=4 +" EOF print_bw.vim diff --git a/.vim/colors/prmths.vim b/.vim/colors/prmths.vim new file mode 100644 index 0000000..605dbfb --- /dev/null +++ b/.vim/colors/prmths.vim @@ -0,0 +1,78 @@ +" local syntax file - set colors on a per-machine basis: +" vim: tw=0 ts=4 sw=4 +" Vim color file +" Maintainer: Greg Maculo +" Last Change: 2008 February 08 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "prmths" +hi Normal ctermfg=LightBlue ctermbg=black guifg=#6666CC guibg=#000011 +hi NonText ctermfg=DarkGray ctermbg=black guifg=#555555 guibg=#000000 +hi Comment term=italic ctermfg=DarkGray ctermbg=black guifg=#555555 gui=italic +hi Constant term=bold gui=bold ctermfg=DarkRed ctermbg=black guifg=#880000 +hi Identifer guifg=#99AAAA ctermbg=black ctermfg=Gray +hi Boolean ctermfg=LightRed ctermbg=black guifg=LightRed +hi String ctermfg=DarkRed ctermbg=black guifg=#FF0000 +hi Character ctermfg=DarkRed ctermbg=black guifg=#660000 +hi Number ctermfg=DarkMagenta ctermbg=black guifg=#AA0088 +hi Float ctermfg=Magenta ctermbg=black guifg=#FF00FF +hi Special term=bold ctermfg=LightCyan ctermbg=black guifg=#99FFFF gui=bold +hi SpecialChar term=bold ctermfg=LightCyan ctermbg=black guifg=#55BBBB gui=bold +hi SpecialComment term=bold ctermfg=DarkGray ctermbg=black guifg=#555555 gui=bold +hi Delimiter term=bold ctermfg=LightBlue ctermbg=Black guifg=#33AAFF gui=bold +hi Debug ctermbg=LightBlue guibg=#9999FF ctermfg=black guifg=Black gui=italic +hi Statement term=bold ctermfg=Yellow ctermbg=black gui=bold guifg=#FFFF66 +hi Exception term=bold ctermfg=Yellow ctermbg=black gui=bold guifg=#BBBB22 +hi Keyword ctermfg=White ctermbg=black guifg=#FFFFBB gui=bold +hi Label ctermfg=white ctermbg=black guifg=#FFFF99 gui=bold +hi PreProc term=bold gui=bold ctermbg=black ctermfg=LightCyan guifg=#33CCFF +hi Include term=bold gui=bold ctermbg=black ctermfg=LightCyan guifg=#00AAFF +hi Define term=bold gui=bold ctermbg=black ctermfg=LightCyan guifg=#0099FF +hi Macro term=bold gui=bold ctermbg=black ctermfg=LightCyan guifg=#0077FF +hi PreCondit term=bold gui=bold ctermbg=black ctermfg=LightCyan guifg=#0066FF +hi Type ctermfg=DarkBlue ctermbg=black guifg=#0000FF gui=bold +hi StorageClass ctermfg=DarkBlue ctermbg=black guifg=#0000DD gui=bold +hi Structure ctermfg=DarkBlue ctermbg=black guifg=#0000BB gui=bold +hi Typedef ctermfg=DarkBlue ctermbg=black guifg=#000099 gui=bold +hi Function ctermfg=DarkCyan ctermbg=black guifg=#22AADD +hi Repeat ctermfg=White ctermbg=black guifg=#BBBBFF gui=bold +hi Conditional gui=Bold ctermbg=black term=Bold guifg=#FFCCEE ctermfg=White +hi Operator ctermfg=LightGray ctermbg=black guifg=#99AAFF gui=bold +hi MatchParen ctermfg=black guifg=black guibg=orange ctermbg=darkyellow +hi lCursor term=bold ctermbg=Red ctermfg=black guibg=#990000 guifg=black +hi Ignore term=italic gui=italic ctermfg=DarkGray ctermbg=black guifg=DarkGray + +hi Directory term=bold ctermfg=lightblue ctermbg=black guifg=#8787FE +hi Error term=reverse ctermbg=Red ctermfg=White guibg=Red guifg=White +hi ErrorMsg term=reverse ctermbg=Red ctermfg=White guibg=Red guifg=White +hi WarningMsg term=reverse ctermbg=DarkYellow ctermfg=White guibg=DarkOrange guifg=White +hi ModeMsg term=reverse ctermbg=Blue ctermfg=White guibg=Blue guifg=White +hi MoreMsg term=reverse ctermbg=Cyan ctermfg=White guibg=Cyan guifg=White +hi Todo term=standout ctermbg=Yellow ctermfg=DarkBlue guifg=Blue guibg=Yellow +hi LineNr ctermfg=DarkGray ctermbg=black guifg=#333333 guibg=#050505 gui=italic +hi Tag ctermfg=Yellow ctermbg=black guifg=#FFFF00 gui=italic +hi Cursor term=bold ctermbg=Brown ctermfg=black guibg=#999900 guifg=black +hi Underlined guifg=white ctermbg=black ctermfg=white gui=underline cterm=underline +hi Visual term=reverse ctermbg=black gui=reverse guibg=Black +hi VertSplit gui=none guifg=#444444 guibg=#333333 ctermfg=DarkGray ctermbg=Gray +hi Search guifg=black guibg=#EEFF22 ctermfg=black ctermbg=darkYellow +hi IncSearch guifg=DarkGray guibg=orange ctermfg=black ctermbg=darkYellow +hi Title guifg=DarkGray ctermbg=Black ctermfg=Gray guifg=Gray gui=bold cterm=bold +hi StatusLineNC gui=bold guifg=black guibg=#444499 ctermfg=Black ctermbg=blue +hi StatusLine gui=bold guifg=black guibg=#444499 ctermfg=Black ctermbg=blue + +hi DiffChange guibg=#000055 guifg=black ctermbg=Blue ctermfg=black +hi DiffText guibg=#555555 guifg=black ctermbg=White ctermfg=black +hi DiffAdd guibg=#555500 guifg=black ctermbg=Yellow ctermfg=black +hi DiffDelete guibg=#550000 guifg=black ctermbg=Red ctermfg=black + +hi Folded guibg=#223355 guifg=black ctermbg=DarkCyan ctermfg=black +hi FoldColumn guibg=Gray30 guifg=black ctermbg=Gray ctermfg=black +hi cIf0 guifg=Gray ctermfg=Gray ctermbg=black + + + diff --git a/.vim/colors/professional.vim b/.vim/colors/professional.vim new file mode 100644 index 0000000..a12c81c --- /dev/null +++ b/.vim/colors/professional.vim @@ -0,0 +1,62 @@ +" Vim color file +" Maintainer: iyerns +" +" Comments are welcome ! +" Spammers will be shot. Survivors will be shot again +" +" Last Change: 10 Sep 2005 +" Version:1.4 +" Changes:Changed background color for better tone +" Comment: Atlast, a professional colorscheme for Vim +" Released by popular demand. in case other highlighting +" terms are to be included, please feel free to add those +" and send me your updated .vim file :) to be included in +" the next version.If there are enough requests, I will +" release a cterm version also. +" Recolored comments and Statement +" Uses only safe HTML colors +" + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="professional" + +hi Normal guifg=black guibg=#ffffdd +hi Statusline gui=none guibg=#006666 guifg=#ffffff +hi VertSplit gui=none guibg=#006666 guifg=#ffffff +hi StatuslineNC gui=none guibg=#666633 guifg=#ffffff + +hi Title guifg=black guibg=white gui=BOLD +hi lCursor guibg=Cyan guifg=NONE +hi LineNr guifg=white guibg=#006666 +"guibg=#8c9bfa + +" syntax highlighting groups +hi Comment gui=NONE guifg=SteelBlue +hi Operator guifg=#ff0000 + +hi Identifier guifg=#339900 gui=NONE + +hi Statement guifg=orange gui=NONE +hi TypeDef guifg=#c000c8 gui=NONE +hi Type guifg=#0000c8 gui=NONE +hi Boolean guifg=#0000aa gui=NONE + +hi String guifg=#006600 gui=NONE +hi Number guifg=#9933ff gui=NONE +hi Constant guifg=#ff8080 gui=NONE + +hi Function gui=NONE guifg=#6600ff +hi PreProc guifg=#993300 gui=NONE +hi Define gui=bold guifg=#ff0000 + +hi Keyword guifg=#ff8088 gui=NONE +hi Search gui=NONE guibg=#ffff00 +"guibg=#339900 +hi IncSearch gui=NONE guifg=#ffff00 guibg=#990000 +hi Conditional gui=none guifg=#660000 guibg=#ffffff +hi browseDirectory gui=none guifg=#660000 guibg=#ffffff + diff --git a/.vim/colors/proton.vim b/.vim/colors/proton.vim new file mode 100644 index 0000000..83e62a1 --- /dev/null +++ b/.vim/colors/proton.vim @@ -0,0 +1,63 @@ + +hi Normal guibg=#f0f0f0 guifg=#404040 gui=none +hi Comment guibg=#f0f0f0 guifg=#9098a0 gui=none +hi ToDo guibg=#f0f0f0 guifg=#9098a0 gui=bold + +hi Cursor guibg=#404040 guifg=#a0a0a0 +hi CursorColumn guibg=#e0e0e0 guifg=#202020 +hi CursorLine guibg=#e0e0e0 guifg=#202020 + +hi NonText guibg=#d0d0d0 guifg=#606060 gui=none +hi Visual guibg=#d0d0d0 guifg=#606060 gui=none +hi Folded guibg=#d0d0d0 guifg=#606060 gui=none +hi TabLineFill guibg=#d0d0d0 guifg=#606060 gui=none +hi SpecialKey guibg=#e8e8e8 guifg=#a0a0a0 gui=none +hi Search guibg=#808080 guifg=#ffffff gui=bold + +hi ModeMsg guibg=#f0f0f0 guifg=#304050 gui=bold +hi MoreMsg guibg=#f0f0f0 guifg=#304050 gui=bold + +hi StatusLine guibg=#808080 guifg=#f0f0f0 gui=bold,italic +hi StatusLineNC guibg=#707070 guifg=#d0d0d0 gui=italic +hi VertSplit guibg=#707070 guifg=#909090 gui=none + +hi LineNr guibg=#d0d0d0 guifg=#606060 gui=none + +hi Underlined guifg=#202020 guibg=#f0f0f0 gui=underline + +hi Statement guibg=#e0e0e0 guifg=#606060 gui=none +hi Label guibg=#e0e0e0 guifg=#606060 gui=underline +hi Operator guifg=#a77039 guibg=#f0f0f0 gui=none + +hi Title guibg=#f0f0f0 guifg=#202020 gui=underline + +" Python: @ in front of decorators +"hi Define guifg=#906000 guibg=#f0e8c0 gui=bold +hi Define guifg=#605080 guibg=#ece8f0 gui=italic,bold +hi Include guifg=#605080 guibg=#dcd8e0 gui=none + +hi Function guifg=#b08020 guibg=#f0e8c0 gui=underline + +hi Conditional guibg=#e0e8f0 guifg=#5080b0 gui=bold +hi Repeat guibg=#e0e8d8 guifg=#509030 gui=bold +hi Exception guibg=#f0f0f0 guifg=#a03020 gui=bold + +hi Type guifg=#607080 guibg=#f0f0f0 gui=underline +hi PreProc guifg=#605080 guibg=#dcd8e0 gui=italic +hi Identifier guifg=#608050 guibg=#c0e0c0 gui=none + + +hi Constant guifg=#508040 guibg=#f0f0f0 +hi Number guifg=#508040 guibg=#f0f0f0 +hi String guifg=#a07060 guibg=#f0ece8 gui=italic +hi Special guifg=#603020 guibg=#f0ece8 gui=italic + + +hi DiffAdd guifg=#ffcc7f guibg=#a67429 +hi DiffDelete guifg=#ff7f50 guibg=#a62910 +hi DiffChange guifg=#7fbdff guibg=#425c78 +hi DiffText guifg=#8ae234 guibg=#4e9a06 + +hi SpellBad gui=undercurl guisp=#f02020 + + diff --git a/.vim/colors/pspad.vim b/.vim/colors/pspad.vim new file mode 100644 index 0000000..a504746 --- /dev/null +++ b/.vim/colors/pspad.vim @@ -0,0 +1,37 @@ +" local syntax file - set colors on a per-machine basis: +" vim: tw=0 ts=4 sw=4 +" Vim color file +" +" Created using ColorSchemeCreator +" by Jose Quesada, PhD (quesada@gmail.com) (2007 Dec) +" NOTE: only good for non-terminal version +" Maintainer: Jose Quesada +" Last Change: 2007 Dec + +" mimic PSPad rajat colors, but with much improved syntax highlighting +" For example +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "pspad" +hi Normal guifg=#111111 guibg=#DCF0FF +hi comment guifg=#00B000 gui=italic "green +hi String guifg=#FF0D00 "red +hi constant guifg=#FF0D00 "red +hi conditional guifg=#0000B0 gui=bold "dark blue "former statement +hi preProc guifg=#FF0D00 gui=italic "red +hi Function guifg=#008040 gui=bold "dark green,functions not not in standard lib +hi Keyword guifg=#0000B0 gui=bold "dark blue "former statement +hi special guifg=#DC5B00 "orange, ahkKeyword (ahkclass). also scales +hi Macro guifg=#FF6400 gui=bold "orange, built-in variable +hi operator guifg=#FF0D00 "not used in ahk +hi Label guifg=#FF0D00 gui=bold,underline "this is important. Return is also marked +hi Typedef guifg=#804040 gui=bold "dark red, other keywords + + + +hi clear Visual +hi Visual term=reverse cterm=reverse gui=reverse + diff --git a/.vim/colors/psql.vim b/.vim/colors/psql.vim new file mode 100644 index 0000000..167dfe8 --- /dev/null +++ b/.vim/colors/psql.vim @@ -0,0 +1,1182 @@ +" Vim syntax file +" Language: SQL, PLPGSQL (PostgreSQL) +" Maintainer: Devdas Bhagat +" Derived from the syntax file for plsql maintained by +" Paul Moore +" Last Change: 2004 April 17 +" Version: 0.04 + +" For version 5.x: Clear all syntax items +" For version 6.x: Quit when a syntax file was already loaded +if version < 600 + syntax clear +elseif exists("b:current_syntax") + finish +endif + +syn case ignore + +" The SQL reserved words, defined as keywords. + +syn keyword psqlSpecial false null true + +syn keyword psqlKeyword access add as asc begin by case check cluster column +syn keyword psqlKeyword compress connect current cursor decimal default desc +syn keyword psqlKeyword else elsif end exception exclusive file for from +syn keyword psqlKeyword function group having identified if immediate increment +syn keyword psqlKeyword index initial into is level loop maxextents mode modify +syn keyword psqlKeyword nocompress nowait of offline on online start +syn keyword psqlKeyword successful synonym table then to trigger uid +syn keyword psqlKeyword unique user validate values view whenever +syn keyword psqlKeyword where with option order privileges procedural +syn keyword psqlKeyword public resource return row rowlabel rownum rows +syn keyword psqlKeyword session share size type using close open +syn keyword psqlKeyword declare constraint join temporary sequence +syn keyword psqlKeyword inner outer cross natural full left right +syn keyword psqlKeyword language handler trusted untrusted validator + +syn keyword psqlOperator not and or primary key +syn keyword psqlOperator in any some all between exists +syn keyword psqlOperator ilike like escape cast +syn keyword psqlOperator union intersect minus +syn keyword psqlOperator prior distinct references + +syn match psqlOperator "\(+\|%\|-\|=\|\/\|!\|!!\|!!=\|!\~\|!\~\*\)" +syn match psqlOperator "\(!\~\~\|!\~\~\*\|#\|##\|#<\|#<>\|?||\)" +syn match psqlOperator "\(#<=\|#=\|#>\|#>=\|&\|&&\|&<\|&>\|?|\)" +syn match psqlOperator "\(\*\|>\|<\|<=\|>=\|<->\|<<\|>>\|?-|\)" +syn match psqlOperator "\(<<=\|<>\|<^\|>^\|>>=\|?#\|?-\|@\)" +syn match psqlOperator "\(@@\|@-@\|^\||\|||\|||\/\|\~\|\~\*\)" +syn match psqlOperator "\(\~=\|\~\~\|\~\~\*\|:=\)" + +syn keyword psqlStatement alter analyze audit comment commit create +syn keyword psqlStatement delete drop execute explain grant insert lock +syn keyword psqlStatement rename revoke rollback savepoint select set +syn keyword psqlStatement truncate update analyze vacuum replace + +syn keyword psqlType boolean char character date float integer long +syn keyword psqlType mlslabel number raw rowid varchar varchar2 varray +syn keyword psqlType int int4 int8 float4 float8 line interval lseq +syn keyword psqlType smallint bigint serial bigserial inet cidr macaddr +syn keyword psqlType bit varbit bool box bytea circle numeric decimal +syn keyword psqlType path point polygon text time timetz timestamp +syn keyword psqlType timestamptz real name int2vector regproc +syn keyword psqlType oid tid xid cid oidvector smgr lseg double +syn keyword psqlType abstime reltime tinterval aclitem void opaque +syn keyword psqlType refcursor regprocedure regoper regoperator regclass +syn keyword psqlType regtype record cstring anyarray array +syn keyword psqlType language_handler + +syn keyword psqlAggregate avg count max min stddev sum variance + +" Strings and characters: +syn region psqlString start=+"+ skip=+\\\\\|\\"+ end=+"+ +syn region psqlString start=+'+ skip=+\\\\\|\\'+ end=+'+ + +" Numbers: +syn match psqlNumber "-\=\<\d*\.\=[0-9_]\>" + +" Comments: +syn region psqlComment start="/\*" end="\*/" +syn match psqlComment "--.*" + +syn sync ccomment psqlComment + +syn region psqlFunction start="abbrev(" end=")" contains=ALL +syn region psqlFunction start="abs(" end=")" contains=ALL +syn region psqlFunction start="abstime(" end=")" contains=ALL +syn region psqlFunction start="abstimeeq(" end=")" contains=ALL +syn region psqlFunction start="abstimege(" end=")" contains=ALL +syn region psqlFunction start="abstimegt(" end=")" contains=ALL +syn region psqlFunction start="abstimele(" end=")" contains=ALL +syn region psqlFunction start="abstimelt(" end=")" contains=ALL +syn region psqlFunction start="abstimene(" end=")" contains=ALL +syn region psqlFunction start="aclcontains(" end=")" contains=ALL +syn region psqlFunction start="aclinsert(" end=")" contains=ALL +syn region psqlFunction start="aclremove(" end=")" contains=ALL +syn region psqlFunction start="acos(" end=")" contains=ALL +syn region psqlFunction start="age(" end=")" contains=ALL +syn region psqlFunction start="alt_to_iso(" end=")" contains=ALL +syn region psqlFunction start="alt_to_koi8r(" end=")" contains=ALL +syn region psqlFunction start="alt_to_mic(" end=")" contains=ALL +syn region psqlFunction start="alt_to_utf8(" end=")" contains=ALL +syn region psqlFunction start="alt_to_win1251(" end=")" contains=ALL +syn region psqlFunction start="area(" end=")" contains=ALL +syn region psqlFunction start="areajoinsel(" end=")" contains=ALL +syn region psqlFunction start="areasel(" end=")" contains=ALL +syn region psqlFunction start="array_dims(" end=")" contains=ALL +syn region psqlFunction start="array_eq(" end=")" contains=ALL +syn region psqlFunction start="array_length_coerce(" end=")" contains=ALL +syn region psqlFunction start="ascii(" end=")" contains=ALL +syn region psqlFunction start="ascii_to_mic(" end=")" contains=ALL +syn region psqlFunction start="ascii_to_utf8(" end=")" contains=ALL +syn region psqlFunction start="asin(" end=")" contains=ALL +syn region psqlFunction start="atan2(" end=")" contains=ALL +syn region psqlFunction start="atan(" end=")" contains=ALL +syn region psqlFunction start="big5_to_euc_tw(" end=")" contains=ALL +syn region psqlFunction start="big5_to_mic(" end=")" contains=ALL +syn region psqlFunction start="big5_to_utf8(" end=")" contains=ALL +syn region psqlFunction start="bitand(" end=")" contains=ALL +syn region psqlFunction start="bitcat(" end=")" contains=ALL +syn region psqlFunction start="bitcmp(" end=")" contains=ALL +syn region psqlFunction start="bit(" end=")" contains=ALL +syn region psqlFunction start="biteq(" end=")" contains=ALL +syn region psqlFunction start="bitge(" end=")" contains=ALL +syn region psqlFunction start="bitgt(" end=")" contains=ALL +syn region psqlFunction start="bitle(" end=")" contains=ALL +syn region psqlFunction start="bit_length(" end=")" contains=ALL +syn region psqlFunction start="bitlt(" end=")" contains=ALL +syn region psqlFunction start="bitne(" end=")" contains=ALL +syn region psqlFunction start="bitnot(" end=")" contains=ALL +syn region psqlFunction start="bitor(" end=")" contains=ALL +syn region psqlFunction start="bitshiftleft(" end=")" contains=ALL +syn region psqlFunction start="bitshiftright(" end=")" contains=ALL +syn region psqlFunction start="bitxor(" end=")" contains=ALL +syn region psqlFunction start="booleq(" end=")" contains=ALL +syn region psqlFunction start="boolge(" end=")" contains=ALL +syn region psqlFunction start="boolgt(" end=")" contains=ALL +syn region psqlFunction start="boolle(" end=")" contains=ALL +syn region psqlFunction start="boollt(" end=")" contains=ALL +syn region psqlFunction start="boolne(" end=")" contains=ALL +syn region psqlFunction start="box_above(" end=")" contains=ALL +syn region psqlFunction start="box_add(" end=")" contains=ALL +syn region psqlFunction start="box_below(" end=")" contains=ALL +syn region psqlFunction start="box_center(" end=")" contains=ALL +syn region psqlFunction start="box_contained(" end=")" contains=ALL +syn region psqlFunction start="box_contain(" end=")" contains=ALL +syn region psqlFunction start="box_distance(" end=")" contains=ALL +syn region psqlFunction start="box_div(" end=")" contains=ALL +syn region psqlFunction start="box(" end=")" contains=ALL +syn region psqlFunction start="box_eq(" end=")" contains=ALL +syn region psqlFunction start="box_ge(" end=")" contains=ALL +syn region psqlFunction start="box_gt(" end=")" contains=ALL +syn region psqlFunction start="box_intersect(" end=")" contains=ALL +syn region psqlFunction start="box_le(" end=")" contains=ALL +syn region psqlFunction start="box_left(" end=")" contains=ALL +syn region psqlFunction start="box_lt(" end=")" contains=ALL +syn region psqlFunction start="box_mul(" end=")" contains=ALL +syn region psqlFunction start="box_overlap(" end=")" contains=ALL +syn region psqlFunction start="box_overleft(" end=")" contains=ALL +syn region psqlFunction start="box_overright(" end=")" contains=ALL +syn region psqlFunction start="box_right(" end=")" contains=ALL +syn region psqlFunction start="box_same(" end=")" contains=ALL +syn region psqlFunction start="box_sub(" end=")" contains=ALL +syn region psqlFunction start="bpcharcmp(" end=")" contains=ALL +syn region psqlFunction start="bpchar(" end=")" contains=ALL +syn region psqlFunction start="bpchareq(" end=")" contains=ALL +syn region psqlFunction start="bpcharge(" end=")" contains=ALL +syn region psqlFunction start="bpchargt(" end=")" contains=ALL +syn region psqlFunction start="bpcharle(" end=")" contains=ALL +syn region psqlFunction start="bpcharlt(" end=")" contains=ALL +syn region psqlFunction start="bpcharne(" end=")" contains=ALL +syn region psqlFunction start="broadcast(" end=")" contains=ALL +syn region psqlFunction start="btabstimecmp(" end=")" contains=ALL +syn region psqlFunction start="btbeginscan(" end=")" contains=ALL +syn region psqlFunction start="btboolcmp(" end=")" contains=ALL +syn region psqlFunction start="btbuild(" end=")" contains=ALL +syn region psqlFunction start="btbulkdelete(" end=")" contains=ALL +syn region psqlFunction start="btcharcmp(" end=")" contains=ALL +syn region psqlFunction start="btcostestimate(" end=")" contains=ALL +syn region psqlFunction start="btendscan(" end=")" contains=ALL +syn region psqlFunction start="btfloat4cmp(" end=")" contains=ALL +syn region psqlFunction start="btfloat8cmp(" end=")" contains=ALL +syn region psqlFunction start="btgettuple(" end=")" contains=ALL +syn region psqlFunction start="btinsert(" end=")" contains=ALL +syn region psqlFunction start="btint2cmp(" end=")" contains=ALL +syn region psqlFunction start="btint4cmp(" end=")" contains=ALL +syn region psqlFunction start="btint8cmp(" end=")" contains=ALL +syn region psqlFunction start="btmarkpos(" end=")" contains=ALL +syn region psqlFunction start="btnamecmp(" end=")" contains=ALL +syn region psqlFunction start="btoidcmp(" end=")" contains=ALL +syn region psqlFunction start="btoidvectorcmp(" end=")" contains=ALL +syn region psqlFunction start="btrescan(" end=")" contains=ALL +syn region psqlFunction start="btrestrpos(" end=")" contains=ALL +syn region psqlFunction start="btrim(" end=")" contains=ALL +syn region psqlFunction start="bttextcmp(" end=")" contains=ALL +syn region psqlFunction start="byteacat(" end=")" contains=ALL +syn region psqlFunction start="byteacmp(" end=")" contains=ALL +syn region psqlFunction start="byteaeq(" end=")" contains=ALL +syn region psqlFunction start="byteage(" end=")" contains=ALL +syn region psqlFunction start="byteagt(" end=")" contains=ALL +syn region psqlFunction start="byteale(" end=")" contains=ALL +syn region psqlFunction start="bytealike(" end=")" contains=ALL +syn region psqlFunction start="bytealt(" end=")" contains=ALL +syn region psqlFunction start="byteane(" end=")" contains=ALL +syn region psqlFunction start="byteanlike(" end=")" contains=ALL +syn region psqlFunction start="cash_div_flt4(" end=")" contains=ALL +syn region psqlFunction start="cash_div_flt8(" end=")" contains=ALL +syn region psqlFunction start="cash_div_int2(" end=")" contains=ALL +syn region psqlFunction start="cash_div_int4(" end=")" contains=ALL +syn region psqlFunction start="cash_eq(" end=")" contains=ALL +syn region psqlFunction start="cash_ge(" end=")" contains=ALL +syn region psqlFunction start="cash_gt(" end=")" contains=ALL +syn region psqlFunction start="cashlarger(" end=")" contains=ALL +syn region psqlFunction start="cash_le(" end=")" contains=ALL +syn region psqlFunction start="cash_lt(" end=")" contains=ALL +syn region psqlFunction start="cash_mi(" end=")" contains=ALL +syn region psqlFunction start="cash_mul_flt4(" end=")" contains=ALL +syn region psqlFunction start="cash_mul_flt8(" end=")" contains=ALL +syn region psqlFunction start="cash_mul_int2(" end=")" contains=ALL +syn region psqlFunction start="cash_mul_int4(" end=")" contains=ALL +syn region psqlFunction start="cash_ne(" end=")" contains=ALL +syn region psqlFunction start="cash_pl(" end=")" contains=ALL +syn region psqlFunction start="cashsmaller(" end=")" contains=ALL +syn region psqlFunction start="cash_words(" end=")" contains=ALL +syn region psqlFunction start="cbrt(" end=")" contains=ALL +syn region psqlFunction start="ceil(" end=")" contains=ALL +syn region psqlFunction start="center(" end=")" contains=ALL +syn region psqlFunction start="character_length(" end=")" contains=ALL +syn region psqlFunction start="chardiv(" end=")" contains=ALL +syn region psqlFunction start="char(" end=")" contains=ALL +syn region psqlFunction start="chareq(" end=")" contains=ALL +syn region psqlFunction start="charge(" end=")" contains=ALL +syn region psqlFunction start="chargt(" end=")" contains=ALL +syn region psqlFunction start="charle(" end=")" contains=ALL +syn region psqlFunction start="char_length(" end=")" contains=ALL +syn region psqlFunction start="charlt(" end=")" contains=ALL +syn region psqlFunction start="charmi(" end=")" contains=ALL +syn region psqlFunction start="charmul(" end=")" contains=ALL +syn region psqlFunction start="charne(" end=")" contains=ALL +syn region psqlFunction start="charpl(" end=")" contains=ALL +syn region psqlFunction start="chr(" end=")" contains=ALL +syn region psqlFunction start="cideq(" end=")" contains=ALL +syn region psqlFunction start="cidr(" end=")" contains=ALL +syn region psqlFunction start="circle_above(" end=")" contains=ALL +syn region psqlFunction start="circle_add_pt(" end=")" contains=ALL +syn region psqlFunction start="circle_below(" end=")" contains=ALL +syn region psqlFunction start="circle_center(" end=")" contains=ALL +syn region psqlFunction start="circle_contained(" end=")" contains=ALL +syn region psqlFunction start="circle_contain(" end=")" contains=ALL +syn region psqlFunction start="circle_contain_pt(" end=")" contains=ALL +syn region psqlFunction start="circle_distance(" end=")" contains=ALL +syn region psqlFunction start="circle_div_pt(" end=")" contains=ALL +syn region psqlFunction start="circle(" end=")" contains=ALL +syn region psqlFunction start="circle_eq(" end=")" contains=ALL +syn region psqlFunction start="circle_ge(" end=")" contains=ALL +syn region psqlFunction start="circle_gt(" end=")" contains=ALL +syn region psqlFunction start="circle_le(" end=")" contains=ALL +syn region psqlFunction start="circle_left(" end=")" contains=ALL +syn region psqlFunction start="circle_lt(" end=")" contains=ALL +syn region psqlFunction start="circle_mul_pt(" end=")" contains=ALL +syn region psqlFunction start="circle_ne(" end=")" contains=ALL +syn region psqlFunction start="circle_overlap(" end=")" contains=ALL +syn region psqlFunction start="circle_overleft(" end=")" contains=ALL +syn region psqlFunction start="circle_overright(" end=")" contains=ALL +syn region psqlFunction start="circle_right(" end=")" contains=ALL +syn region psqlFunction start="circle_same(" end=")" contains=ALL +syn region psqlFunction start="circle_sub_pt(" end=")" contains=ALL +syn region psqlFunction start="close_lb(" end=")" contains=ALL +syn region psqlFunction start="close_lseg(" end=")" contains=ALL +syn region psqlFunction start="close_ls(" end=")" contains=ALL +syn region psqlFunction start="close_pb(" end=")" contains=ALL +syn region psqlFunction start="close_pl(" end=")" contains=ALL +syn region psqlFunction start="close_ps(" end=")" contains=ALL +syn region psqlFunction start="close_sb(" end=")" contains=ALL +syn region psqlFunction start="close_sl(" end=")" contains=ALL +syn region psqlFunction start="col_description(" end=")" contains=ALL +syn region psqlFunction start="contjoinsel(" end=")" contains=ALL +syn region psqlFunction start="contsel(" end=")" contains=ALL +syn region psqlFunction start="convert(" end=")" contains=ALL +syn region psqlFunction start="convert_using(" end=")" contains=ALL +syn region psqlFunction start="cos(" end=")" contains=ALL +syn region psqlFunction start="cot(" end=")" contains=ALL +syn region psqlFunction start="current_database(" end=")" contains=ALL +syn region psqlFunction start="current_schema(" end=")" contains=ALL +syn region psqlFunction start="current_schemas(" end=")" contains=ALL +syn region psqlFunction start="current_setting(" end=")" contains=ALL +syn region psqlFunction start="current_user(" end=")" contains=ALL +syn region psqlFunction start="currtid2(" end=")" contains=ALL +syn region psqlFunction start="currtid(" end=")" contains=ALL +syn region psqlFunction start="currval(" end=")" contains=ALL +syn region psqlFunction start="date_cmp(" end=")" contains=ALL +syn region psqlFunction start="date(" end=")" contains=ALL +syn region psqlFunction start="date_eq(" end=")" contains=ALL +syn region psqlFunction start="date_ge(" end=")" contains=ALL +syn region psqlFunction start="date_gt(" end=")" contains=ALL +syn region psqlFunction start="date_larger(" end=")" contains=ALL +syn region psqlFunction start="date_le(" end=")" contains=ALL +syn region psqlFunction start="date_lt(" end=")" contains=ALL +syn region psqlFunction start="date_mi(" end=")" contains=ALL +syn region psqlFunction start="date_mii(" end=")" contains=ALL +syn region psqlFunction start="date_mi_interval(" end=")" contains=ALL +syn region psqlFunction start="date_ne(" end=")" contains=ALL +syn region psqlFunction start="date_part(" end=")" contains=ALL +syn region psqlFunction start="date_pli(" end=")" contains=ALL +syn region psqlFunction start="date_pl_interval(" end=")" contains=ALL +syn region psqlFunction start="date_smaller(" end=")" contains=ALL +syn region psqlFunction start="datetime_pl(" end=")" contains=ALL +syn region psqlFunction start="datetimetz_pl(" end=")" contains=ALL +syn region psqlFunction start="date_trunc(" end=")" contains=ALL +syn region psqlFunction start="dcbrt(" end=")" contains=ALL +syn region psqlFunction start="decode(" end=")" contains=ALL +syn region psqlFunction start="degrees(" end=")" contains=ALL +syn region psqlFunction start="dexp(" end=")" contains=ALL +syn region psqlFunction start="diagonal(" end=")" contains=ALL +syn region psqlFunction start="diameter(" end=")" contains=ALL +syn region psqlFunction start="dist_cpoly(" end=")" contains=ALL +syn region psqlFunction start="dist_lb(" end=")" contains=ALL +syn region psqlFunction start="dist_pb(" end=")" contains=ALL +syn region psqlFunction start="dist_pc(" end=")" contains=ALL +syn region psqlFunction start="dist_pl(" end=")" contains=ALL +syn region psqlFunction start="dist_ppath(" end=")" contains=ALL +syn region psqlFunction start="dist_ps(" end=")" contains=ALL +syn region psqlFunction start="dist_sb(" end=")" contains=ALL +syn region psqlFunction start="dist_sl(" end=")" contains=ALL +syn region psqlFunction start="dlog10(" end=")" contains=ALL +syn region psqlFunction start="dlog1(" end=")" contains=ALL +syn region psqlFunction start="dpow(" end=")" contains=ALL +syn region psqlFunction start="dround(" end=")" contains=ALL +syn region psqlFunction start="dsqrt(" end=")" contains=ALL +syn region psqlFunction start="dtrunc(" end=")" contains=ALL +syn region psqlFunction start="encode(" end=")" contains=ALL +syn region psqlFunction start="eqjoinsel(" end=")" contains=ALL +syn region psqlFunction start="eqsel(" end=")" contains=ALL +syn region psqlFunction start="euc_cn_to_mic(" end=")" contains=ALL +syn region psqlFunction start="euc_cn_to_utf8(" end=")" contains=ALL +syn region psqlFunction start="euc_jp_to_mic(" end=")" contains=ALL +syn region psqlFunction start="euc_jp_to_sjis(" end=")" contains=ALL +syn region psqlFunction start="euc_jp_to_utf8(" end=")" contains=ALL +syn region psqlFunction start="euc_kr_to_mic(" end=")" contains=ALL +syn region psqlFunction start="euc_kr_to_utf8(" end=")" contains=ALL +syn region psqlFunction start="euc_tw_to_big5(" end=")" contains=ALL +syn region psqlFunction start="euc_tw_to_mic(" end=")" contains=ALL +syn region psqlFunction start="euc_tw_to_utf8(" end=")" contains=ALL +syn region psqlFunction start="exp(" end=")" contains=ALL +syn region psqlFunction start="factorial(" end=")" contains=ALL +syn region psqlFunction start="float48div(" end=")" contains=ALL +syn region psqlFunction start="float48eq(" end=")" contains=ALL +syn region psqlFunction start="float48ge(" end=")" contains=ALL +syn region psqlFunction start="float48gt(" end=")" contains=ALL +syn region psqlFunction start="float48le(" end=")" contains=ALL +syn region psqlFunction start="float48lt(" end=")" contains=ALL +syn region psqlFunction start="float48mi(" end=")" contains=ALL +syn region psqlFunction start="float48mul(" end=")" contains=ALL +syn region psqlFunction start="float48ne(" end=")" contains=ALL +syn region psqlFunction start="float48pl(" end=")" contains=ALL +syn region psqlFunction start="float4abs(" end=")" contains=ALL +syn region psqlFunction start="float4_accum(" end=")" contains=ALL +syn region psqlFunction start="float4div(" end=")" contains=ALL +syn region psqlFunction start="float4(" end=")" contains=ALL +syn region psqlFunction start="float4eq(" end=")" contains=ALL +syn region psqlFunction start="float4ge(" end=")" contains=ALL +syn region psqlFunction start="float4gt(" end=")" contains=ALL +syn region psqlFunction start="float4larger(" end=")" contains=ALL +syn region psqlFunction start="float4le(" end=")" contains=ALL +syn region psqlFunction start="float4lt(" end=")" contains=ALL +syn region psqlFunction start="float4mi(" end=")" contains=ALL +syn region psqlFunction start="float4mul(" end=")" contains=ALL +syn region psqlFunction start="float4ne(" end=")" contains=ALL +syn region psqlFunction start="float4pl(" end=")" contains=ALL +syn region psqlFunction start="float4smaller(" end=")" contains=ALL +syn region psqlFunction start="float4um(" end=")" contains=ALL +syn region psqlFunction start="float4up(" end=")" contains=ALL +syn region psqlFunction start="float84div(" end=")" contains=ALL +syn region psqlFunction start="float84eq(" end=")" contains=ALL +syn region psqlFunction start="float84ge(" end=")" contains=ALL +syn region psqlFunction start="float84gt(" end=")" contains=ALL +syn region psqlFunction start="float84le(" end=")" contains=ALL +syn region psqlFunction start="float84lt(" end=")" contains=ALL +syn region psqlFunction start="float84mi(" end=")" contains=ALL +syn region psqlFunction start="float84mul(" end=")" contains=ALL +syn region psqlFunction start="float84ne(" end=")" contains=ALL +syn region psqlFunction start="float84pl(" end=")" contains=ALL +syn region psqlFunction start="float8abs(" end=")" contains=ALL +syn region psqlFunction start="float8_accum(" end=")" contains=ALL +syn region psqlFunction start="float8_avg(" end=")" contains=ALL +syn region psqlFunction start="float8div(" end=")" contains=ALL +syn region psqlFunction start="float8(" end=")" contains=ALL +syn region psqlFunction start="float8eq(" end=")" contains=ALL +syn region psqlFunction start="float8ge(" end=")" contains=ALL +syn region psqlFunction start="float8gt(" end=")" contains=ALL +syn region psqlFunction start="float8larger(" end=")" contains=ALL +syn region psqlFunction start="float8le(" end=")" contains=ALL +syn region psqlFunction start="float8lt(" end=")" contains=ALL +syn region psqlFunction start="float8mi(" end=")" contains=ALL +syn region psqlFunction start="float8mul(" end=")" contains=ALL +syn region psqlFunction start="float8ne(" end=")" contains=ALL +syn region psqlFunction start="float8pl(" end=")" contains=ALL +syn region psqlFunction start="float8smaller(" end=")" contains=ALL +syn region psqlFunction start="float8_stddev(" end=")" contains=ALL +syn region psqlFunction start="float8um(" end=")" contains=ALL +syn region psqlFunction start="float8up(" end=")" contains=ALL +syn region psqlFunction start="float8_variance(" end=")" contains=ALL +syn region psqlFunction start="floor(" end=")" contains=ALL +syn region psqlFunction start="flt4_mul_cash(" end=")" contains=ALL +syn region psqlFunction start="flt8_mul_cash(" end=")" contains=ALL +syn region psqlFunction start="fmgr_c_validator(" end=")" contains=ALL +syn region psqlFunction start="fmgr_internal_validator(" end=")" contains=ALL +syn region psqlFunction start="fmgr_sql_validator(" end=")" contains=ALL +syn region psqlFunction start="format_type(" end=")" contains=ALL +syn region psqlFunction start="gb18030_to_utf8(" end=")" contains=ALL +syn region psqlFunction start="gbk_to_utf8(" end=")" contains=ALL +syn region psqlFunction start="get_bit(" end=")" contains=ALL +syn region psqlFunction start="get_byte(" end=")" contains=ALL +syn region psqlFunction start="getdatabaseencoding(" end=")" contains=ALL +syn region psqlFunction start="getpgusername(" end=")" contains=ALL +syn region psqlFunction start="gistbeginscan(" end=")" contains=ALL +syn region psqlFunction start="gistbuild(" end=")" contains=ALL +syn region psqlFunction start="gistbulkdelete(" end=")" contains=ALL +syn region psqlFunction start="gistcostestimate(" end=")" contains=ALL +syn region psqlFunction start="gistendscan(" end=")" contains=ALL +syn region psqlFunction start="gistgettuple(" end=")" contains=ALL +syn region psqlFunction start="gistinsert(" end=")" contains=ALL +syn region psqlFunction start="gistmarkpos(" end=")" contains=ALL +syn region psqlFunction start="gistrescan(" end=")" contains=ALL +syn region psqlFunction start="gistrestrpos(" end=")" contains=ALL +syn region psqlFunction start="has_database_privilege(" end=")" contains=ALL +syn region psqlFunction start="has_function_privilege(" end=")" contains=ALL +syn region psqlFunction start="hashbeginscan(" end=")" contains=ALL +syn region psqlFunction start="hashbpchar(" end=")" contains=ALL +syn region psqlFunction start="hashbuild(" end=")" contains=ALL +syn region psqlFunction start="hashbulkdelete(" end=")" contains=ALL +syn region psqlFunction start="hashchar(" end=")" contains=ALL +syn region psqlFunction start="hashcostestimate(" end=")" contains=ALL +syn region psqlFunction start="hashendscan(" end=")" contains=ALL +syn region psqlFunction start="hashfloat4(" end=")" contains=ALL +syn region psqlFunction start="hashfloat8(" end=")" contains=ALL +syn region psqlFunction start="hashgettuple(" end=")" contains=ALL +syn region psqlFunction start="hashinsert(" end=")" contains=ALL +syn region psqlFunction start="hashint2(" end=")" contains=ALL +syn region psqlFunction start="hashint4(" end=")" contains=ALL +syn region psqlFunction start="hashint8(" end=")" contains=ALL +syn region psqlFunction start="hashmacaddr(" end=")" contains=ALL +syn region psqlFunction start="hashmarkpos(" end=")" contains=ALL +syn region psqlFunction start="hashname(" end=")" contains=ALL +syn region psqlFunction start="hashoid(" end=")" contains=ALL +syn region psqlFunction start="hashoidvector(" end=")" contains=ALL +syn region psqlFunction start="hashrescan(" end=")" contains=ALL +syn region psqlFunction start="hashrestrpos(" end=")" contains=ALL +syn region psqlFunction start="hashvarlena(" end=")" contains=ALL +syn region psqlFunction start="has_language_privilege(" end=")" contains=ALL +syn region psqlFunction start="has_schema_privilege(" end=")" contains=ALL +syn region psqlFunction start="has_table_privilege(" end=")" contains=ALL +syn region psqlFunction start="height(" end=")" contains=ALL +syn region psqlFunction start="host(" end=")" contains=ALL +syn region psqlFunction start="iclikejoinsel(" end=")" contains=ALL +syn region psqlFunction start="iclikesel(" end=")" contains=ALL +syn region psqlFunction start="icnlikejoinsel(" end=")" contains=ALL +syn region psqlFunction start="icnlikesel(" end=")" contains=ALL +syn region psqlFunction start="icregexeqjoinsel(" end=")" contains=ALL +syn region psqlFunction start="icregexeqsel(" end=")" contains=ALL +syn region psqlFunction start="icregexnejoinsel(" end=")" contains=ALL +syn region psqlFunction start="icregexnesel(" end=")" contains=ALL +syn region psqlFunction start="inet(" end=")" contains=ALL +syn region psqlFunction start="initcap(" end=")" contains=ALL +syn region psqlFunction start="int24div(" end=")" contains=ALL +syn region psqlFunction start="int24eq(" end=")" contains=ALL +syn region psqlFunction start="int24ge(" end=")" contains=ALL +syn region psqlFunction start="int24gt(" end=")" contains=ALL +syn region psqlFunction start="int24le(" end=")" contains=ALL +syn region psqlFunction start="int24lt(" end=")" contains=ALL +syn region psqlFunction start="int24mi(" end=")" contains=ALL +syn region psqlFunction start="int24mod(" end=")" contains=ALL +syn region psqlFunction start="int24mul(" end=")" contains=ALL +syn region psqlFunction start="int24ne(" end=")" contains=ALL +syn region psqlFunction start="int24pl(" end=")" contains=ALL +syn region psqlFunction start="int28eq(" end=")" contains=ALL +syn region psqlFunction start="int28ge(" end=")" contains=ALL +syn region psqlFunction start="int28gt(" end=")" contains=ALL +syn region psqlFunction start="int28le(" end=")" contains=ALL +syn region psqlFunction start="int28lt(" end=")" contains=ALL +syn region psqlFunction start="int28ne(" end=")" contains=ALL +syn region psqlFunction start="int2abs(" end=")" contains=ALL +syn region psqlFunction start="int2_accum(" end=")" contains=ALL +syn region psqlFunction start="int2and(" end=")" contains=ALL +syn region psqlFunction start="int2_avg_accum(" end=")" contains=ALL +syn region psqlFunction start="int2div(" end=")" contains=ALL +syn region psqlFunction start="int2(" end=")" contains=ALL +syn region psqlFunction start="int2eq(" end=")" contains=ALL +syn region psqlFunction start="int2fac(" end=")" contains=ALL +syn region psqlFunction start="int2ge(" end=")" contains=ALL +syn region psqlFunction start="int2gt(" end=")" contains=ALL +syn region psqlFunction start="int2larger(" end=")" contains=ALL +syn region psqlFunction start="int2le(" end=")" contains=ALL +syn region psqlFunction start="int2lt(" end=")" contains=ALL +syn region psqlFunction start="int2mi(" end=")" contains=ALL +syn region psqlFunction start="int2mod(" end=")" contains=ALL +syn region psqlFunction start="int2_mul_cash(" end=")" contains=ALL +syn region psqlFunction start="int2mul(" end=")" contains=ALL +syn region psqlFunction start="int2ne(" end=")" contains=ALL +syn region psqlFunction start="int2not(" end=")" contains=ALL +syn region psqlFunction start="int2or(" end=")" contains=ALL +syn region psqlFunction start="int2pl(" end=")" contains=ALL +syn region psqlFunction start="int2shl(" end=")" contains=ALL +syn region psqlFunction start="int2shr(" end=")" contains=ALL +syn region psqlFunction start="int2smaller(" end=")" contains=ALL +syn region psqlFunction start="int2_sum(" end=")" contains=ALL +syn region psqlFunction start="int2um(" end=")" contains=ALL +syn region psqlFunction start="int2up(" end=")" contains=ALL +syn region psqlFunction start="int2vectoreq(" end=")" contains=ALL +syn region psqlFunction start="int2xor(" end=")" contains=ALL +syn region psqlFunction start="int42div(" end=")" contains=ALL +syn region psqlFunction start="int42eq(" end=")" contains=ALL +syn region psqlFunction start="int42ge(" end=")" contains=ALL +syn region psqlFunction start="int42gt(" end=")" contains=ALL +syn region psqlFunction start="int42le(" end=")" contains=ALL +syn region psqlFunction start="int42lt(" end=")" contains=ALL +syn region psqlFunction start="int42mi(" end=")" contains=ALL +syn region psqlFunction start="int42mod(" end=")" contains=ALL +syn region psqlFunction start="int42mul(" end=")" contains=ALL +syn region psqlFunction start="int42ne(" end=")" contains=ALL +syn region psqlFunction start="int42pl(" end=")" contains=ALL +syn region psqlFunction start="int48div(" end=")" contains=ALL +syn region psqlFunction start="int48eq(" end=")" contains=ALL +syn region psqlFunction start="int48ge(" end=")" contains=ALL +syn region psqlFunction start="int48gt(" end=")" contains=ALL +syn region psqlFunction start="int48le(" end=")" contains=ALL +syn region psqlFunction start="int48lt(" end=")" contains=ALL +syn region psqlFunction start="int48mi(" end=")" contains=ALL +syn region psqlFunction start="int48mul(" end=")" contains=ALL +syn region psqlFunction start="int48ne(" end=")" contains=ALL +syn region psqlFunction start="int48pl(" end=")" contains=ALL +syn region psqlFunction start="int4abs(" end=")" contains=ALL +syn region psqlFunction start="int4_accum(" end=")" contains=ALL +syn region psqlFunction start="int4and(" end=")" contains=ALL +syn region psqlFunction start="int4_avg_accum(" end=")" contains=ALL +syn region psqlFunction start="int4div(" end=")" contains=ALL +syn region psqlFunction start="int4(" end=")" contains=ALL +syn region psqlFunction start="int4eq(" end=")" contains=ALL +syn region psqlFunction start="int4fac(" end=")" contains=ALL +syn region psqlFunction start="int4ge(" end=")" contains=ALL +syn region psqlFunction start="int4gt(" end=")" contains=ALL +syn region psqlFunction start="int4inc(" end=")" contains=ALL +syn region psqlFunction start="int4larger(" end=")" contains=ALL +syn region psqlFunction start="int4le(" end=")" contains=ALL +syn region psqlFunction start="int4lt(" end=")" contains=ALL +syn region psqlFunction start="int4mi(" end=")" contains=ALL +syn region psqlFunction start="int4mod(" end=")" contains=ALL +syn region psqlFunction start="int4_mul_cash(" end=")" contains=ALL +syn region psqlFunction start="int4mul(" end=")" contains=ALL +syn region psqlFunction start="int4ne(" end=")" contains=ALL +syn region psqlFunction start="int4not(" end=")" contains=ALL +syn region psqlFunction start="int4notin(" end=")" contains=ALL +syn region psqlFunction start="int4or(" end=")" contains=ALL +syn region psqlFunction start="int4pl(" end=")" contains=ALL +syn region psqlFunction start="int4shl(" end=")" contains=ALL +syn region psqlFunction start="int4shr(" end=")" contains=ALL +syn region psqlFunction start="int4smaller(" end=")" contains=ALL +syn region psqlFunction start="int4_sum(" end=")" contains=ALL +syn region psqlFunction start="int4um(" end=")" contains=ALL +syn region psqlFunction start="int4up(" end=")" contains=ALL +syn region psqlFunction start="int4xor(" end=")" contains=ALL +syn region psqlFunction start="int82eq(" end=")" contains=ALL +syn region psqlFunction start="int82ge(" end=")" contains=ALL +syn region psqlFunction start="int82gt(" end=")" contains=ALL +syn region psqlFunction start="int82le(" end=")" contains=ALL +syn region psqlFunction start="int82lt(" end=")" contains=ALL +syn region psqlFunction start="int82ne(" end=")" contains=ALL +syn region psqlFunction start="int84div(" end=")" contains=ALL +syn region psqlFunction start="int84eq(" end=")" contains=ALL +syn region psqlFunction start="int84ge(" end=")" contains=ALL +syn region psqlFunction start="int84gt(" end=")" contains=ALL +syn region psqlFunction start="int84le(" end=")" contains=ALL +syn region psqlFunction start="int84lt(" end=")" contains=ALL +syn region psqlFunction start="int84mi(" end=")" contains=ALL +syn region psqlFunction start="int84mul(" end=")" contains=ALL +syn region psqlFunction start="int84ne(" end=")" contains=ALL +syn region psqlFunction start="int84pl(" end=")" contains=ALL +syn region psqlFunction start="int8abs(" end=")" contains=ALL +syn region psqlFunction start="int8_accum(" end=")" contains=ALL +syn region psqlFunction start="int8and(" end=")" contains=ALL +syn region psqlFunction start="int8_avg(" end=")" contains=ALL +syn region psqlFunction start="int8div(" end=")" contains=ALL +syn region psqlFunction start="int8(" end=")" contains=ALL +syn region psqlFunction start="int8eq(" end=")" contains=ALL +syn region psqlFunction start="int8fac(" end=")" contains=ALL +syn region psqlFunction start="int8ge(" end=")" contains=ALL +syn region psqlFunction start="int8gt(" end=")" contains=ALL +syn region psqlFunction start="int8inc(" end=")" contains=ALL +syn region psqlFunction start="int8larger(" end=")" contains=ALL +syn region psqlFunction start="int8le(" end=")" contains=ALL +syn region psqlFunction start="int8lt(" end=")" contains=ALL +syn region psqlFunction start="int8mi(" end=")" contains=ALL +syn region psqlFunction start="int8mod(" end=")" contains=ALL +syn region psqlFunction start="int8mul(" end=")" contains=ALL +syn region psqlFunction start="int8ne(" end=")" contains=ALL +syn region psqlFunction start="int8not(" end=")" contains=ALL +syn region psqlFunction start="int8or(" end=")" contains=ALL +syn region psqlFunction start="int8pl(" end=")" contains=ALL +syn region psqlFunction start="int8shl(" end=")" contains=ALL +syn region psqlFunction start="int8shr(" end=")" contains=ALL +syn region psqlFunction start="int8smaller(" end=")" contains=ALL +syn region psqlFunction start="int8_sum(" end=")" contains=ALL +syn region psqlFunction start="int8um(" end=")" contains=ALL +syn region psqlFunction start="int8up(" end=")" contains=ALL +syn region psqlFunction start="int8xor(" end=")" contains=ALL +syn region psqlFunction start="inter_lb(" end=")" contains=ALL +syn region psqlFunction start="inter_sb(" end=")" contains=ALL +syn region psqlFunction start="inter_sl(" end=")" contains=ALL +syn region psqlFunction start="interval_accum(" end=")" contains=ALL +syn region psqlFunction start="interval_avg(" end=")" contains=ALL +syn region psqlFunction start="interval_cmp(" end=")" contains=ALL +syn region psqlFunction start="interval_div(" end=")" contains=ALL +syn region psqlFunction start="interval(" end=")" contains=ALL +syn region psqlFunction start="interval_eq(" end=")" contains=ALL +syn region psqlFunction start="interval_ge(" end=")" contains=ALL +syn region psqlFunction start="interval_gt(" end=")" contains=ALL +syn region psqlFunction start="interval_hash(" end=")" contains=ALL +syn region psqlFunction start="interval_larger(" end=")" contains=ALL +syn region psqlFunction start="interval_le(" end=")" contains=ALL +syn region psqlFunction start="interval_lt(" end=")" contains=ALL +syn region psqlFunction start="interval_mi(" end=")" contains=ALL +syn region psqlFunction start="interval_mi_time(" end=")" contains=ALL +syn region psqlFunction start="interval_mi_timetz(" end=")" contains=ALL +syn region psqlFunction start="interval_mul(" end=")" contains=ALL +syn region psqlFunction start="interval_ne(" end=")" contains=ALL +syn region psqlFunction start="interval_pl(" end=")" contains=ALL +syn region psqlFunction start="interval_pl_time(" end=")" contains=ALL +syn region psqlFunction start="interval_smaller(" end=")" contains=ALL +syn region psqlFunction start="interval_um(" end=")" contains=ALL +syn region psqlFunction start="intinterval(" end=")" contains=ALL +syn region psqlFunction start="isclosed(" end=")" contains=ALL +syn region psqlFunction start="isfalse(" end=")" contains=ALL +syn region psqlFunction start="isfinite(" end=")" contains=ALL +syn region psqlFunction start="ishorizontal(" end=")" contains=ALL +syn region psqlFunction start="isnotfalse(" end=")" contains=ALL +syn region psqlFunction start="isnottrue(" end=")" contains=ALL +syn region psqlFunction start="iso8859_1_to_utf8(" end=")" contains=ALL +syn region psqlFunction start="iso8859_to_utf8(" end=")" contains=ALL +syn region psqlFunction start="isopen(" end=")" contains=ALL +syn region psqlFunction start="iso_to_alt(" end=")" contains=ALL +syn region psqlFunction start="iso_to_koi8r(" end=")" contains=ALL +syn region psqlFunction start="iso_to_mic(" end=")" contains=ALL +syn region psqlFunction start="iso_to_win1251(" end=")" contains=ALL +syn region psqlFunction start="isparallel(" end=")" contains=ALL +syn region psqlFunction start="isperp(" end=")" contains=ALL +syn region psqlFunction start="istrue(" end=")" contains=ALL +syn region psqlFunction start="isvertical(" end=")" contains=ALL +syn region psqlFunction start="johab_to_utf8(" end=")" contains=ALL +syn region psqlFunction start="koi8r_to_alt(" end=")" contains=ALL +syn region psqlFunction start="koi8r_to_iso(" end=")" contains=ALL +syn region psqlFunction start="koi8r_to_mic(" end=")" contains=ALL +syn region psqlFunction start="koi8r_to_utf8(" end=")" contains=ALL +syn region psqlFunction start="koi8r_to_win1251(" end=")" contains=ALL +syn region psqlFunction start="latin1_to_mic(" end=")" contains=ALL +syn region psqlFunction start="latin2_to_mic(" end=")" contains=ALL +syn region psqlFunction start="latin2_to_win1250(" end=")" contains=ALL +syn region psqlFunction start="latin3_to_mic(" end=")" contains=ALL +syn region psqlFunction start="latin4_to_mic(" end=")" contains=ALL +syn region psqlFunction start="length(" end=")" contains=ALL +syn region psqlFunction start="like(" end=")" contains=ALL +syn region psqlFunction start="like_escape(" end=")" contains=ALL +syn region psqlFunction start="likejoinsel(" end=")" contains=ALL +syn region psqlFunction start="likesel(" end=")" contains=ALL +syn region psqlFunction start="line_distance(" end=")" contains=ALL +syn region psqlFunction start="line(" end=")" contains=ALL +syn region psqlFunction start="line_eq(" end=")" contains=ALL +syn region psqlFunction start="line_horizontal(" end=")" contains=ALL +syn region psqlFunction start="line_interpt(" end=")" contains=ALL +syn region psqlFunction start="line_intersect(" end=")" contains=ALL +syn region psqlFunction start="line_parallel(" end=")" contains=ALL +syn region psqlFunction start="line_perp(" end=")" contains=ALL +syn region psqlFunction start="line_vertical(" end=")" contains=ALL +syn region psqlFunction start="ln(" end=")" contains=ALL +syn region psqlFunction start="lo_close(" end=")" contains=ALL +syn region psqlFunction start="lo_creat(" end=")" contains=ALL +syn region psqlFunction start="lo_export(" end=")" contains=ALL +syn region psqlFunction start="log(" end=")" contains=ALL +syn region psqlFunction start="lo_import(" end=")" contains=ALL +syn region psqlFunction start="lo_lseek(" end=")" contains=ALL +syn region psqlFunction start="lo_open(" end=")" contains=ALL +syn region psqlFunction start="loread(" end=")" contains=ALL +syn region psqlFunction start="lo_tell(" end=")" contains=ALL +syn region psqlFunction start="lo_unlink(" end=")" contains=ALL +syn region psqlFunction start="lower(" end=")" contains=ALL +syn region psqlFunction start="lowrite(" end=")" contains=ALL +syn region psqlFunction start="lpad(" end=")" contains=ALL +syn region psqlFunction start="lseg_center(" end=")" contains=ALL +syn region psqlFunction start="lseg_distance(" end=")" contains=ALL +syn region psqlFunction start="lseg(" end=")" contains=ALL +syn region psqlFunction start="lseg_eq(" end=")" contains=ALL +syn region psqlFunction start="lseg_ge(" end=")" contains=ALL +syn region psqlFunction start="lseg_gt(" end=")" contains=ALL +syn region psqlFunction start="lseg_horizontal(" end=")" contains=ALL +syn region psqlFunction start="lseg_interpt(" end=")" contains=ALL +syn region psqlFunction start="lseg_intersect(" end=")" contains=ALL +syn region psqlFunction start="lseg_le(" end=")" contains=ALL +syn region psqlFunction start="lseg_length(" end=")" contains=ALL +syn region psqlFunction start="lseg_lt(" end=")" contains=ALL +syn region psqlFunction start="lseg_ne(" end=")" contains=ALL +syn region psqlFunction start="lseg_parallel(" end=")" contains=ALL +syn region psqlFunction start="lseg_perp(" end=")" contains=ALL +syn region psqlFunction start="lseg_vertical(" end=")" contains=ALL +syn region psqlFunction start="ltrim(" end=")" contains=ALL +syn region psqlFunction start="macaddr_cmp(" end=")" contains=ALL +syn region psqlFunction start="macaddr(" end=")" contains=ALL +syn region psqlFunction start="macaddr_eq(" end=")" contains=ALL +syn region psqlFunction start="macaddr_ge(" end=")" contains=ALL +syn region psqlFunction start="macaddr_gt(" end=")" contains=ALL +syn region psqlFunction start="macaddr_le(" end=")" contains=ALL +syn region psqlFunction start="macaddr_lt(" end=")" contains=ALL +syn region psqlFunction start="macaddr_ne(" end=")" contains=ALL +syn region psqlFunction start="masklen(" end=")" contains=ALL +syn region psqlFunction start="mic_to_alt(" end=")" contains=ALL +syn region psqlFunction start="mic_to_ascii(" end=")" contains=ALL +syn region psqlFunction start="mic_to_big5(" end=")" contains=ALL +syn region psqlFunction start="mic_to_euc_cn(" end=")" contains=ALL +syn region psqlFunction start="mic_to_euc_jp(" end=")" contains=ALL +syn region psqlFunction start="mic_to_euc_kr(" end=")" contains=ALL +syn region psqlFunction start="mic_to_euc_tw(" end=")" contains=ALL +syn region psqlFunction start="mic_to_iso(" end=")" contains=ALL +syn region psqlFunction start="mic_to_koi8r(" end=")" contains=ALL +syn region psqlFunction start="mic_to_latin1(" end=")" contains=ALL +syn region psqlFunction start="mic_to_latin2(" end=")" contains=ALL +syn region psqlFunction start="mic_to_latin3(" end=")" contains=ALL +syn region psqlFunction start="mic_to_latin4(" end=")" contains=ALL +syn region psqlFunction start="mic_to_sjis(" end=")" contains=ALL +syn region psqlFunction start="mic_to_win1250(" end=")" contains=ALL +syn region psqlFunction start="mic_to_win1251(" end=")" contains=ALL +syn region psqlFunction start="mktinterval(" end=")" contains=ALL +syn region psqlFunction start="mod(" end=")" contains=ALL +syn region psqlFunction start="mul_d_interval(" end=")" contains=ALL +syn region psqlFunction start="name(" end=")" contains=ALL +syn region psqlFunction start="nameeq(" end=")" contains=ALL +syn region psqlFunction start="namege(" end=")" contains=ALL +syn region psqlFunction start="namegt(" end=")" contains=ALL +syn region psqlFunction start="nameiclike(" end=")" contains=ALL +syn region psqlFunction start="nameicnlike(" end=")" contains=ALL +syn region psqlFunction start="nameicregexeq(" end=")" contains=ALL +syn region psqlFunction start="nameicregexne(" end=")" contains=ALL +syn region psqlFunction start="namele(" end=")" contains=ALL +syn region psqlFunction start="namelike(" end=")" contains=ALL +syn region psqlFunction start="namelt(" end=")" contains=ALL +syn region psqlFunction start="namene(" end=")" contains=ALL +syn region psqlFunction start="namenlike(" end=")" contains=ALL +syn region psqlFunction start="nameregexeq(" end=")" contains=ALL +syn region psqlFunction start="nameregexne(" end=")" contains=ALL +syn region psqlFunction start="neqjoinsel(" end=")" contains=ALL +syn region psqlFunction start="neqsel(" end=")" contains=ALL +syn region psqlFunction start="netmask(" end=")" contains=ALL +syn region psqlFunction start="network_cmp(" end=")" contains=ALL +syn region psqlFunction start="network(" end=")" contains=ALL +syn region psqlFunction start="network_eq(" end=")" contains=ALL +syn region psqlFunction start="network_ge(" end=")" contains=ALL +syn region psqlFunction start="network_gt(" end=")" contains=ALL +syn region psqlFunction start="network_le(" end=")" contains=ALL +syn region psqlFunction start="network_lt(" end=")" contains=ALL +syn region psqlFunction start="network_ne(" end=")" contains=ALL +syn region psqlFunction start="network_sub(" end=")" contains=ALL +syn region psqlFunction start="network_subeq(" end=")" contains=ALL +syn region psqlFunction start="network_sup(" end=")" contains=ALL +syn region psqlFunction start="network_supeq(" end=")" contains=ALL +syn region psqlFunction start="nextval(" end=")" contains=ALL +syn region psqlFunction start="nlikejoinsel(" end=")" contains=ALL +syn region psqlFunction start="nlikesel(" end=")" contains=ALL +syn region psqlFunction start="nonnullvalue(" end=")" contains=ALL +syn region psqlFunction start="notlike(" end=")" contains=ALL +syn region psqlFunction start="now(" end=")" contains=ALL +syn region psqlFunction start="npoints(" end=")" contains=ALL +syn region psqlFunction start="nullvalue(" end=")" contains=ALL +syn region psqlFunction start="numeric_abs(" end=")" contains=ALL +syn region psqlFunction start="numeric_accum(" end=")" contains=ALL +syn region psqlFunction start="numeric_add(" end=")" contains=ALL +syn region psqlFunction start="numeric_avg(" end=")" contains=ALL +syn region psqlFunction start="numeric_cmp(" end=")" contains=ALL +syn region psqlFunction start="numeric_div(" end=")" contains=ALL +syn region psqlFunction start="numeric(" end=")" contains=ALL +syn region psqlFunction start="numeric_eq(" end=")" contains=ALL +syn region psqlFunction start="numeric_exp(" end=")" contains=ALL +syn region psqlFunction start="numeric_ge(" end=")" contains=ALL +syn region psqlFunction start="numeric_gt(" end=")" contains=ALL +syn region psqlFunction start="numeric_inc(" end=")" contains=ALL +syn region psqlFunction start="numeric_larger(" end=")" contains=ALL +syn region psqlFunction start="numeric_le(" end=")" contains=ALL +syn region psqlFunction start="numeric_ln(" end=")" contains=ALL +syn region psqlFunction start="numeric_log(" end=")" contains=ALL +syn region psqlFunction start="numeric_lt(" end=")" contains=ALL +syn region psqlFunction start="numeric_mod(" end=")" contains=ALL +syn region psqlFunction start="numeric_mul(" end=")" contains=ALL +syn region psqlFunction start="numeric_ne(" end=")" contains=ALL +syn region psqlFunction start="numeric_power(" end=")" contains=ALL +syn region psqlFunction start="numeric_smaller(" end=")" contains=ALL +syn region psqlFunction start="numeric_sqrt(" end=")" contains=ALL +syn region psqlFunction start="numeric_stddev(" end=")" contains=ALL +syn region psqlFunction start="numeric_sub(" end=")" contains=ALL +syn region psqlFunction start="numeric_uminus(" end=")" contains=ALL +syn region psqlFunction start="numeric_uplus(" end=")" contains=ALL +syn region psqlFunction start="numeric_variance(" end=")" contains=ALL +syn region psqlFunction start="obj_description(" end=")" contains=ALL +syn region psqlFunction start="octet_length(" end=")" contains=ALL +syn region psqlFunction start="oid(" end=")" contains=ALL +syn region psqlFunction start="oideq(" end=")" contains=ALL +syn region psqlFunction start="oidge(" end=")" contains=ALL +syn region psqlFunction start="oidgt(" end=")" contains=ALL +syn region psqlFunction start="oidlarger(" end=")" contains=ALL +syn region psqlFunction start="oidle(" end=")" contains=ALL +syn region psqlFunction start="oidlt(" end=")" contains=ALL +syn region psqlFunction start="oidne(" end=")" contains=ALL +syn region psqlFunction start="oidnotin(" end=")" contains=ALL +syn region psqlFunction start="oidrand(" end=")" contains=ALL +syn region psqlFunction start="oidsmaller(" end=")" contains=ALL +syn region psqlFunction start="oidsrand(" end=")" contains=ALL +syn region psqlFunction start="oidvectoreq(" end=")" contains=ALL +syn region psqlFunction start="oidvectorge(" end=")" contains=ALL +syn region psqlFunction start="oidvectorgt(" end=")" contains=ALL +syn region psqlFunction start="oidvectorle(" end=")" contains=ALL +syn region psqlFunction start="oidvectorlt(" end=")" contains=ALL +syn region psqlFunction start="oidvectorne(" end=")" contains=ALL +syn region psqlFunction start="oidvectortypes(" end=")" contains=ALL +syn region psqlFunction start="on_pb(" end=")" contains=ALL +syn region psqlFunction start="on_pl(" end=")" contains=ALL +syn region psqlFunction start="on_ppath(" end=")" contains=ALL +syn region psqlFunction start="on_ps(" end=")" contains=ALL +syn region psqlFunction start="on_sb(" end=")" contains=ALL +syn region psqlFunction start="on_sl(" end=")" contains=ALL +syn region psqlFunction start="overlaps(" end=")" contains=ALL +syn region psqlFunction start="overlay(" end=")" contains=ALL +syn region psqlFunction start="path_add(" end=")" contains=ALL +syn region psqlFunction start="path_add_pt(" end=")" contains=ALL +syn region psqlFunction start="path_center(" end=")" contains=ALL +syn region psqlFunction start="path_contain_pt(" end=")" contains=ALL +syn region psqlFunction start="path_distance(" end=")" contains=ALL +syn region psqlFunction start="path_div_pt(" end=")" contains=ALL +syn region psqlFunction start="path(" end=")" contains=ALL +syn region psqlFunction start="path_inter(" end=")" contains=ALL +syn region psqlFunction start="path_length(" end=")" contains=ALL +syn region psqlFunction start="path_mul_pt(" end=")" contains=ALL +syn region psqlFunction start="path_n_eq(" end=")" contains=ALL +syn region psqlFunction start="path_n_ge(" end=")" contains=ALL +syn region psqlFunction start="path_n_gt(" end=")" contains=ALL +syn region psqlFunction start="path_n_le(" end=")" contains=ALL +syn region psqlFunction start="path_n_lt(" end=")" contains=ALL +syn region psqlFunction start="path_npoints(" end=")" contains=ALL +syn region psqlFunction start="path_sub_pt(" end=")" contains=ALL +syn region psqlFunction start="pclose(" end=")" contains=ALL +syn region psqlFunction start="pg_backend_pid(" end=")" contains=ALL +syn region psqlFunction start="pg_char_to_encoding(" end=")" contains=ALL +syn region psqlFunction start="pg_client_encoding(" end=")" contains=ALL +syn region psqlFunction start="pg_encoding_to_char(" end=")" contains=ALL +syn region psqlFunction start="pg_function_is_visible(" end=")" contains=ALL +syn region psqlFunction start="pg_get_constraintdef(" end=")" contains=ALL +syn region psqlFunction start="pg_get_expr(" end=")" contains=ALL +syn region psqlFunction start="pg_get_indexdef(" end=")" contains=ALL +syn region psqlFunction start="pg_get_ruledef(" end=")" contains=ALL +syn region psqlFunction start="pg_get_userbyid(" end=")" contains=ALL +syn region psqlFunction start="pg_get_viewdef(" end=")" contains=ALL +syn region psqlFunction start="pg_lock_status(" end=")" contains=ALL +syn region psqlFunction start="pg_opclass_is_visible(" end=")" contains=ALL +syn region psqlFunction start="pg_operator_is_visible(" end=")" contains=ALL +syn region psqlFunction start="pg_show_all_settings(" end=")" contains=ALL +syn region psqlFunction start="pg_stat_get_backend_activity(" end=")" contains=ALL +syn region psqlFunction start="pg_stat_get_backend_dbid(" end=")" contains=ALL +syn region psqlFunction start="pg_stat_get_backend_idset(" end=")" contains=ALL +syn region psqlFunction start="pg_stat_get_backend_pid(" end=")" contains=ALL +syn region psqlFunction start="pg_stat_get_backend_userid(" end=")" contains=ALL +syn region psqlFunction start="pg_stat_get_blocks_fetched(" end=")" contains=ALL +syn region psqlFunction start="pg_stat_get_blocks_hit(" end=")" contains=ALL +syn region psqlFunction start="pg_stat_get_db_blocks_fetched(" end=")" contains=ALL +syn region psqlFunction start="pg_stat_get_db_blocks_hit(" end=")" contains=ALL +syn region psqlFunction start="pg_stat_get_db_numbackends(" end=")" contains=ALL +syn region psqlFunction start="pg_stat_get_db_xact_commit(" end=")" contains=ALL +syn region psqlFunction start="pg_stat_get_db_xact_rollback(" end=")" contains=ALL +syn region psqlFunction start="pg_stat_get_numscans(" end=")" contains=ALL +syn region psqlFunction start="pg_stat_get_tuples_deleted(" end=")" contains=ALL +syn region psqlFunction start="pg_stat_get_tuples_fetched(" end=")" contains=ALL +syn region psqlFunction start="pg_stat_get_tuples_inserted(" end=")" contains=ALL +syn region psqlFunction start="pg_stat_get_tuples_returned(" end=")" contains=ALL +syn region psqlFunction start="pg_stat_get_tuples_updated(" end=")" contains=ALL +syn region psqlFunction start="pg_stat_reset(" end=")" contains=ALL +syn region psqlFunction start="pg_table_is_visible(" end=")" contains=ALL +syn region psqlFunction start="pg_type_is_visible(" end=")" contains=ALL +syn region psqlFunction start="pi(" end=")" contains=ALL +syn region psqlFunction start="plpgsql_call_handler(" end=")" contains=ALL +syn region psqlFunction start="point_above(" end=")" contains=ALL +syn region psqlFunction start="point_add(" end=")" contains=ALL +syn region psqlFunction start="point_below(" end=")" contains=ALL +syn region psqlFunction start="point_distance(" end=")" contains=ALL +syn region psqlFunction start="point_div(" end=")" contains=ALL +syn region psqlFunction start="point(" end=")" contains=ALL +syn region psqlFunction start="point_eq(" end=")" contains=ALL +syn region psqlFunction start="point_horiz(" end=")" contains=ALL +syn region psqlFunction start="point_left(" end=")" contains=ALL +syn region psqlFunction start="point_mul(" end=")" contains=ALL +syn region psqlFunction start="point_ne(" end=")" contains=ALL +syn region psqlFunction start="point_right(" end=")" contains=ALL +syn region psqlFunction start="point_sub(" end=")" contains=ALL +syn region psqlFunction start="point_vert(" end=")" contains=ALL +syn region psqlFunction start="poly_center(" end=")" contains=ALL +syn region psqlFunction start="poly_contained(" end=")" contains=ALL +syn region psqlFunction start="poly_contain(" end=")" contains=ALL +syn region psqlFunction start="poly_contain_pt(" end=")" contains=ALL +syn region psqlFunction start="poly_distance(" end=")" contains=ALL +syn region psqlFunction start="polygon(" end=")" contains=ALL +syn region psqlFunction start="poly_left(" end=")" contains=ALL +syn region psqlFunction start="poly_npoints(" end=")" contains=ALL +syn region psqlFunction start="poly_overlap(" end=")" contains=ALL +syn region psqlFunction start="poly_overleft(" end=")" contains=ALL +syn region psqlFunction start="poly_overright(" end=")" contains=ALL +syn region psqlFunction start="poly_right(" end=")" contains=ALL +syn region psqlFunction start="poly_same(" end=")" contains=ALL +syn region psqlFunction start="popen(" end=")" contains=ALL +syn region psqlFunction start="position(" end=")" contains=ALL +syn region psqlFunction start="positionjoinsel(" end=")" contains=ALL +syn region psqlFunction start="positionsel(" end=")" contains=ALL +syn region psqlFunction start="pow(" end=")" contains=ALL +syn region psqlFunction start="pt_contained_circle(" end=")" contains=ALL +syn region psqlFunction start="pt_contained_poly(" end=")" contains=ALL +syn region psqlFunction start="quote_ident(" end=")" contains=ALL +syn region psqlFunction start="quote_literal(" end=")" contains=ALL +syn region psqlFunction start="radians(" end=")" contains=ALL +syn region psqlFunction start="radius(" end=")" contains=ALL +syn region psqlFunction start="random(" end=")" contains=ALL +syn region psqlFunction start="regexeqjoinsel(" end=")" contains=ALL +syn region psqlFunction start="regexeqsel(" end=")" contains=ALL +syn region psqlFunction start="regexnejoinsel(" end=")" contains=ALL +syn region psqlFunction start="regexnesel(" end=")" contains=ALL +syn region psqlFunction start="reltime(" end=")" contains=ALL +syn region psqlFunction start="reltimeeq(" end=")" contains=ALL +syn region psqlFunction start="reltimege(" end=")" contains=ALL +syn region psqlFunction start="reltimegt(" end=")" contains=ALL +syn region psqlFunction start="reltimele(" end=")" contains=ALL +syn region psqlFunction start="reltimelt(" end=")" contains=ALL +syn region psqlFunction start="reltimene(" end=")" contains=ALL +syn region psqlFunction start="repeat(" end=")" contains=ALL +syn region psqlFunction start="replace(" end=")" contains=ALL +syn region psqlFunction start="RI_FKey_cascade_del(" end=")" contains=ALL +syn region psqlFunction start="RI_FKey_cascade_upd(" end=")" contains=ALL +syn region psqlFunction start="RI_FKey_check_ins(" end=")" contains=ALL +syn region psqlFunction start="RI_FKey_check_upd(" end=")" contains=ALL +syn region psqlFunction start="RI_FKey_noaction_del(" end=")" contains=ALL +syn region psqlFunction start="RI_FKey_noaction_upd(" end=")" contains=ALL +syn region psqlFunction start="RI_FKey_restrict_del(" end=")" contains=ALL +syn region psqlFunction start="RI_FKey_restrict_upd(" end=")" contains=ALL +syn region psqlFunction start="RI_FKey_setdefault_del(" end=")" contains=ALL +syn region psqlFunction start="RI_FKey_setdefault_upd(" end=")" contains=ALL +syn region psqlFunction start="RI_FKey_setnull_del(" end=")" contains=ALL +syn region psqlFunction start="RI_FKey_setnull_upd(" end=")" contains=ALL +syn region psqlFunction start="round(" end=")" contains=ALL +syn region psqlFunction start="rpad(" end=")" contains=ALL +syn region psqlFunction start="rtbeginscan(" end=")" contains=ALL +syn region psqlFunction start="rt_bigbox_size(" end=")" contains=ALL +syn region psqlFunction start="rt_box_inter(" end=")" contains=ALL +syn region psqlFunction start="rt_box_size(" end=")" contains=ALL +syn region psqlFunction start="rt_box_union(" end=")" contains=ALL +syn region psqlFunction start="rtbuild(" end=")" contains=ALL +syn region psqlFunction start="rtbulkdelete(" end=")" contains=ALL +syn region psqlFunction start="rtcostestimate(" end=")" contains=ALL +syn region psqlFunction start="rtendscan(" end=")" contains=ALL +syn region psqlFunction start="rtgettuple(" end=")" contains=ALL +syn region psqlFunction start="rtinsert(" end=")" contains=ALL +syn region psqlFunction start="rtmarkpos(" end=")" contains=ALL +syn region psqlFunction start="rt_poly_inter(" end=")" contains=ALL +syn region psqlFunction start="rt_poly_size(" end=")" contains=ALL +syn region psqlFunction start="rt_poly_union(" end=")" contains=ALL +syn region psqlFunction start="rtrescan(" end=")" contains=ALL +syn region psqlFunction start="rtrestrpos(" end=")" contains=ALL +syn region psqlFunction start="rtrim(" end=")" contains=ALL +syn region psqlFunction start="scalargtjoinsel(" end=")" contains=ALL +syn region psqlFunction start="scalargtsel(" end=")" contains=ALL +syn region psqlFunction start="scalarltjoinsel(" end=")" contains=ALL +syn region psqlFunction start="scalarltsel(" end=")" contains=ALL +syn region psqlFunction start="session_user(" end=")" contains=ALL +syn region psqlFunction start="set_bit(" end=")" contains=ALL +syn region psqlFunction start="set_byte(" end=")" contains=ALL +syn region psqlFunction start="set_config(" end=")" contains=ALL +syn region psqlFunction start="seteval(" end=")" contains=ALL +syn region psqlFunction start="set_masklen(" end=")" contains=ALL +syn region psqlFunction start="setseed(" end=")" contains=ALL +syn region psqlFunction start="setval(" end=")" contains=ALL +syn region psqlFunction start="sign(" end=")" contains=ALL +syn region psqlFunction start="similar_escape(" end=")" contains=ALL +syn region psqlFunction start="sin(" end=")" contains=ALL +syn region psqlFunction start="sjis_to_euc_jp(" end=")" contains=ALL +syn region psqlFunction start="sjis_to_mic(" end=")" contains=ALL +syn region psqlFunction start="sjis_to_utf8(" end=")" contains=ALL +syn region psqlFunction start="slope(" end=")" contains=ALL +syn region psqlFunction start="smgreq(" end=")" contains=ALL +syn region psqlFunction start="smgrne(" end=")" contains=ALL +syn region psqlFunction start="split_part(" end=")" contains=ALL +syn region psqlFunction start="sqrt(" end=")" contains=ALL +syn region psqlFunction start="strpos(" end=")" contains=ALL +syn region psqlFunction start="substr(" end=")" contains=ALL +syn region psqlFunction start="substring(" end=")" contains=ALL +syn region psqlFunction start="tan(" end=")" contains=ALL +syn region psqlFunction start="tcvn_to_utf8(" end=")" contains=ALL +syn region psqlFunction start="textcat(" end=")" contains=ALL +syn region psqlFunction start="text(" end=")" contains=ALL +syn region psqlFunction start="texteq(" end=")" contains=ALL +syn region psqlFunction start="text_ge(" end=")" contains=ALL +syn region psqlFunction start="text_gt(" end=")" contains=ALL +syn region psqlFunction start="texticlike(" end=")" contains=ALL +syn region psqlFunction start="texticnlike(" end=")" contains=ALL +syn region psqlFunction start="texticregexeq(" end=")" contains=ALL +syn region psqlFunction start="texticregexne(" end=")" contains=ALL +syn region psqlFunction start="text_larger(" end=")" contains=ALL +syn region psqlFunction start="text_le(" end=")" contains=ALL +syn region psqlFunction start="textlen(" end=")" contains=ALL +syn region psqlFunction start="textlike(" end=")" contains=ALL +syn region psqlFunction start="text_lt(" end=")" contains=ALL +syn region psqlFunction start="textne(" end=")" contains=ALL +syn region psqlFunction start="textnlike(" end=")" contains=ALL +syn region psqlFunction start="textregexeq(" end=")" contains=ALL +syn region psqlFunction start="textregexne(" end=")" contains=ALL +syn region psqlFunction start="text_smaller(" end=")" contains=ALL +syn region psqlFunction start="tideq(" end=")" contains=ALL +syn region psqlFunction start="time_cmp(" end=")" contains=ALL +syn region psqlFunction start="timedate_pl(" end=")" contains=ALL +syn region psqlFunction start="time(" end=")" contains=ALL +syn region psqlFunction start="time_eq(" end=")" contains=ALL +syn region psqlFunction start="time_ge(" end=")" contains=ALL +syn region psqlFunction start="time_gt(" end=")" contains=ALL +syn region psqlFunction start="time_larger(" end=")" contains=ALL +syn region psqlFunction start="time_le(" end=")" contains=ALL +syn region psqlFunction start="time_lt(" end=")" contains=ALL +syn region psqlFunction start="timemi(" end=")" contains=ALL +syn region psqlFunction start="time_mi_interval(" end=")" contains=ALL +syn region psqlFunction start="time_mi_time(" end=")" contains=ALL +syn region psqlFunction start="time_ne(" end=")" contains=ALL +syn region psqlFunction start="timenow(" end=")" contains=ALL +syn region psqlFunction start="timeofday(" end=")" contains=ALL +syn region psqlFunction start="timepl(" end=")" contains=ALL +syn region psqlFunction start="time_pl_interval(" end=")" contains=ALL +syn region psqlFunction start="time_smaller(" end=")" contains=ALL +syn region psqlFunction start="timestamp_cmp(" end=")" contains=ALL +syn region psqlFunction start="timestamp(" end=")" contains=ALL +syn region psqlFunction start="timestamp_eq(" end=")" contains=ALL +syn region psqlFunction start="timestamp_ge(" end=")" contains=ALL +syn region psqlFunction start="timestamp_gt(" end=")" contains=ALL +syn region psqlFunction start="timestamp_larger(" end=")" contains=ALL +syn region psqlFunction start="timestamp_le(" end=")" contains=ALL +syn region psqlFunction start="timestamp_lt(" end=")" contains=ALL +syn region psqlFunction start="timestamp_mi(" end=")" contains=ALL +syn region psqlFunction start="timestamp_mi_span(" end=")" contains=ALL +syn region psqlFunction start="timestamp_ne(" end=")" contains=ALL +syn region psqlFunction start="timestamp_pl_span(" end=")" contains=ALL +syn region psqlFunction start="timestamp_smaller(" end=")" contains=ALL +syn region psqlFunction start="timestamptz_cmp(" end=")" contains=ALL +syn region psqlFunction start="timestamptz(" end=")" contains=ALL +syn region psqlFunction start="timestamptz_eq(" end=")" contains=ALL +syn region psqlFunction start="timestamptz_ge(" end=")" contains=ALL +syn region psqlFunction start="timestamptz_gt(" end=")" contains=ALL +syn region psqlFunction start="timestamptz_larger(" end=")" contains=ALL +syn region psqlFunction start="timestamptz_le(" end=")" contains=ALL +syn region psqlFunction start="timestamptz_lt(" end=")" contains=ALL +syn region psqlFunction start="timestamptz_mi(" end=")" contains=ALL +syn region psqlFunction start="timestamptz_mi_span(" end=")" contains=ALL +syn region psqlFunction start="timestamptz_ne(" end=")" contains=ALL +syn region psqlFunction start="timestamptz_pl_span(" end=")" contains=ALL +syn region psqlFunction start="timestamptz_smaller(" end=")" contains=ALL +syn region psqlFunction start="timetz_cmp(" end=")" contains=ALL +syn region psqlFunction start="timetzdate_pl(" end=")" contains=ALL +syn region psqlFunction start="timetz(" end=")" contains=ALL +syn region psqlFunction start="timetz_eq(" end=")" contains=ALL +syn region psqlFunction start="timetz_ge(" end=")" contains=ALL +syn region psqlFunction start="timetz_gt(" end=")" contains=ALL +syn region psqlFunction start="timetz_hash(" end=")" contains=ALL +syn region psqlFunction start="timetz_larger(" end=")" contains=ALL +syn region psqlFunction start="timetz_le(" end=")" contains=ALL +syn region psqlFunction start="timetz_lt(" end=")" contains=ALL +syn region psqlFunction start="timetz_mi_interval(" end=")" contains=ALL +syn region psqlFunction start="timetz_ne(" end=")" contains=ALL +syn region psqlFunction start="timetz_pl_interval(" end=")" contains=ALL +syn region psqlFunction start="timetz_smaller(" end=")" contains=ALL +syn region psqlFunction start="timezone(" end=")" contains=ALL +syn region psqlFunction start="tintervalct(" end=")" contains=ALL +syn region psqlFunction start="tinterval(" end=")" contains=ALL +syn region psqlFunction start="tintervalend(" end=")" contains=ALL +syn region psqlFunction start="tintervaleq(" end=")" contains=ALL +syn region psqlFunction start="tintervalge(" end=")" contains=ALL +syn region psqlFunction start="tintervalgt(" end=")" contains=ALL +syn region psqlFunction start="tintervalle(" end=")" contains=ALL +syn region psqlFunction start="tintervalleneq(" end=")" contains=ALL +syn region psqlFunction start="tintervallenge(" end=")" contains=ALL +syn region psqlFunction start="tintervallengt(" end=")" contains=ALL +syn region psqlFunction start="tintervallenle(" end=")" contains=ALL +syn region psqlFunction start="tintervallenlt(" end=")" contains=ALL +syn region psqlFunction start="tintervallenne(" end=")" contains=ALL +syn region psqlFunction start="tintervallt(" end=")" contains=ALL +syn region psqlFunction start="tintervalne(" end=")" contains=ALL +syn region psqlFunction start="tintervalov(" end=")" contains=ALL +syn region psqlFunction start="tintervalrel(" end=")" contains=ALL +syn region psqlFunction start="tintervalsame(" end=")" contains=ALL +syn region psqlFunction start="tintervalstart(" end=")" contains=ALL +syn region psqlFunction start="to_ascii(" end=")" contains=ALL +syn region psqlFunction start="to_char(" end=")" contains=ALL +syn region psqlFunction start="to_date(" end=")" contains=ALL +syn region psqlFunction start="to_hex(" end=")" contains=ALL +syn region psqlFunction start="to_number(" end=")" contains=ALL +syn region psqlFunction start="to_timestamp(" end=")" contains=ALL +syn region psqlFunction start="translate(" end=")" contains=ALL +syn region psqlFunction start="trunc(" end=")" contains=ALL +syn region psqlFunction start="uhc_to_utf8(" end=")" contains=ALL +syn region psqlFunction start="update_pg_pwd_and_pg_group(" end=")" contains=ALL +syn region psqlFunction start="upper(" end=")" contains=ALL +syn region psqlFunction start="userfntest(" end=")" contains=ALL +syn region psqlFunction start="utf8_to_alt(" end=")" contains=ALL +syn region psqlFunction start="utf8_to_ascii(" end=")" contains=ALL +syn region psqlFunction start="utf8_to_big5(" end=")" contains=ALL +syn region psqlFunction start="utf8_to_euc_cn(" end=")" contains=ALL +syn region psqlFunction start="utf8_to_euc_jp(" end=")" contains=ALL +syn region psqlFunction start="utf8_to_euc_kr(" end=")" contains=ALL +syn region psqlFunction start="utf8_to_euc_tw(" end=")" contains=ALL +syn region psqlFunction start="utf8_to_gb18030(" end=")" contains=ALL +syn region psqlFunction start="utf8_to_gbk(" end=")" contains=ALL +syn region psqlFunction start="utf8_to_iso8859_1(" end=")" contains=ALL +syn region psqlFunction start="utf8_to_iso8859(" end=")" contains=ALL +syn region psqlFunction start="utf8_to_johab(" end=")" contains=ALL +syn region psqlFunction start="utf8_to_koi8r(" end=")" contains=ALL +syn region psqlFunction start="utf8_to_sjis(" end=")" contains=ALL +syn region psqlFunction start="utf8_to_tcvn(" end=")" contains=ALL +syn region psqlFunction start="utf8_to_uhc(" end=")" contains=ALL +syn region psqlFunction start="utf8_to_win1251(" end=")" contains=ALL +syn region psqlFunction start="utf_to_win1250(" end=")" contains=ALL +syn region psqlFunction start="utf_to_win1256(" end=")" contains=ALL +syn region psqlFunction start="utf_to_win874(" end=")" contains=ALL +syn region psqlFunction start="varbitcmp(" end=")" contains=ALL +syn region psqlFunction start="varbit(" end=")" contains=ALL +syn region psqlFunction start="varbiteq(" end=")" contains=ALL +syn region psqlFunction start="varbitge(" end=")" contains=ALL +syn region psqlFunction start="varbitgt(" end=")" contains=ALL +syn region psqlFunction start="varbitle(" end=")" contains=ALL +syn region psqlFunction start="varbitlt(" end=")" contains=ALL +syn region psqlFunction start="varbitne(" end=")" contains=ALL +syn region psqlFunction start="varcharcmp(" end=")" contains=ALL +syn region psqlFunction start="varchar(" end=")" contains=ALL +syn region psqlFunction start="varchareq(" end=")" contains=ALL +syn region psqlFunction start="varcharge(" end=")" contains=ALL +syn region psqlFunction start="varchargt(" end=")" contains=ALL +syn region psqlFunction start="varcharle(" end=")" contains=ALL +syn region psqlFunction start="varcharlt(" end=")" contains=ALL +syn region psqlFunction start="varcharne(" end=")" contains=ALL +syn region psqlFunction start="version(" end=")" contains=ALL +syn region psqlFunction start="width(" end=")" contains=ALL +syn region psqlFunction start="win1250_to_latin2(" end=")" contains=ALL +syn region psqlFunction start="win1250_to_mic(" end=")" contains=ALL +syn region psqlFunction start="win1250_to_utf(" end=")" contains=ALL +syn region psqlFunction start="win1251_to_alt(" end=")" contains=ALL +syn region psqlFunction start="win1251_to_iso(" end=")" contains=ALL +syn region psqlFunction start="win1251_to_koi8r(" end=")" contains=ALL +syn region psqlFunction start="win1251_to_mic(" end=")" contains=ALL +syn region psqlFunction start="win1251_to_utf8(" end=")" contains=ALL +syn region psqlFunction start="win1256_to_utf(" end=")" contains=ALL +syn region psqlFunction start="win874_to_utf(" end=")" contains=ALL +syn region psqlFunction start="xideq(" end=")" contains=ALL + +" Define the default highlighting. +" For version 5.7 and earlier: only when not done already +" For version 5.8 and later: only when an item doesn't have highlighting yet +if version >= 508 || !exists("did_psql_syn_inits") + if version < 508 + let did_psql_syn_inits = 1 + command -nargs=+ HiLink hi link + else + command -nargs=+ HiLink hi def link + endif + + HiLink psqlComment Comment + HiLink psqlKeyword psqlSpecial + HiLink psqlNumber Number + HiLink psqlOperator psqlFunction + HiLink psqlSpecial Special + HiLink psqlStatement Statement + HiLink psqlString String + HiLink psqlType Type + HiLink psqlFunction Function + HiLink psqlAggregate Special + + delcommand HiLink +endif + +let b:current_syntax = "psql" + +" vim: ts=8 diff --git a/.vim/colors/putty.vim b/.vim/colors/putty.vim new file mode 100644 index 0000000..4c86ad5 --- /dev/null +++ b/.vim/colors/putty.vim @@ -0,0 +1,82 @@ +" Vim color file +" Maintainer: Prachya Boonkwan +" Last Change: April 29, 2003 +" Licence: Public Domain + +" This package offers a eye-catching color scheme that resembles the +" default color scheme of Putty telnet terminal. + +" First remove all existing highlighting. +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "putty" + +hi Normal guifg=Grey guibg=Black + +hi ErrorMsg guibg=Red guifg=White +hi IncSearch gui=reverse +hi ModeMsg gui=bold +hi StatusLine gui=reverse,bold +hi StatusLineNC gui=reverse +hi VertSplit gui=reverse +hi Visual gui=reverse guifg=Grey guibg=fg +hi VisualNOS gui=underline,bold +hi DiffText gui=bold guibg=Red +hi Cursor guibg=Green guifg=NONE +hi lCursor guibg=Cyan guifg=NONE +hi Directory guifg=Blue +hi LineNr guifg=#BBBB00 +hi MoreMsg gui=bold guifg=SeaGreen +hi NonText gui=bold guifg=Blue guibg=Black +hi Question gui=bold guifg=SeaGreen +hi Search guibg=#BBBB00 guifg=NONE +hi SpecialKey guifg=Blue +hi Title gui=bold guifg=Magenta +hi WarningMsg guifg=Red +hi WildMenu guibg=Cyan guifg=Black +hi Folded guibg=White guifg=DarkBlue +hi FoldColumn guibg=Grey guifg=DarkBlue +hi DiffAdd guibg=LightBlue +hi DiffChange guibg=LightMagenta +hi DiffDelete gui=bold guifg=Blue guibg=LightCyan + +hi Comment guifg=Blue guibg=Black +hi Constant guifg=#BB0000 guibg=Black +hi PreProc guifg=#BB00BB guibg=Black +hi Statement gui=NONE guifg=#BBBB00 guibg=Black +hi Special guifg=#BB00BB guibg=Black +hi Ignore guifg=Grey +hi Identifier guifg=#00BBBB guibg=Black +hi Type guifg=#00BB00 guibg=Black + +hi link IncSearch Visual +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 Conditional Statement +hi link Repeat Statement +hi link Label Statement +hi link Operator Statement +hi link Keyword Statement +hi link Exception 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 + +" vim: sw=2 diff --git a/.vim/colors/pw.vim b/.vim/colors/pw.vim new file mode 100644 index 0000000..20c5743 --- /dev/null +++ b/.vim/colors/pw.vim @@ -0,0 +1,209 @@ +" +" pw.vim: theme based on darkspectrum and cream-colors-oceandeep +" +" License: +" This program 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 3 of the License, or +" (at your option) any later version. +" [ http://www.gnu.org/licenses/gpl.html ] +" +" This program is distributed in the hope that it will be useful, but +" WITHOUT ANY WARRANTY; without even the implied warranty of +" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +" General Public License for more details. +" +" You should have received a copy of the GNU General Public License +" along with this program; if not, write to the Free Software +" Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +" 02111-1307, USA. +" +"---------------------------------------------------------------------- + +""" Init +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "pw" + +"""" GUI + +hi Cursor gui=None guibg=PaleTurquoise3 guifg=White +hi CursorIM gui=bold guifg=white guibg=PaleTurquoise3 +"hi CursorColumn gui=None guibg=#003853 +hi Directory guifg=LightSeaGreen guibg=bg +hi DiffAdd gui=None guifg=fg guibg=DarkCyan +hi DiffChange gui=None guifg=fg guibg=Red +hi DiffDelete gui=None guifg=fg guibg=black +hi DiffText gui=bold guifg=fg guibg=bg +hi ErrorMsg guifg=LightYellow guibg=FireBrick +hi VertSplit gui=NONE guifg=black guibg=grey60 +hi Folded gui=bold guibg=#305060 guifg=#b0d0e0 +"hi FoldColumn gui=bold guibg=#305060 guifg=#b0d0e0 +hi IncSearch gui=reverse guifg=fg guibg=bg +hi LineNr gui=bold guibg=grey6 guifg=LightSkyBlue3 +hi ModeMsg guibg=DarkGreen guifg=LightGreen +hi MoreMsg gui=bold guifg=SeaGreen4 guibg=bg +"if version < 600 +" " same as SpecialKey +" hi NonText guibg=#123A4A guifg=#3D5D6D +"else +" " Bottom fill (use e.g. same as LineNr) +" hi NonText gui=None guibg=#202020 guifg=LightSkyBlue +"endif +"hi NonText gui=None guibg=#062636 guifg=#6080c0 +"+++ +"hi Normal gui=None guibg=#202020 guifg=honeydew2 +hi Question gui=bold guifg=SeaGreen2 guibg=bg +hi Search gui=NONE guibg=LightSkyBlue4 guifg=NONE +"+++ +hi StatusLine gui=bold guibg=grey88 guifg=black +hi StatusLineNC gui=NONE guibg=grey60 guifg=grey10 +hi Title gui=bold guifg=MediumOrchid1 guibg=bg +hi VisualNOS gui=bold,underline guifg=fg guibg=bg +hi WarningMsg gui=bold guifg=FireBrick1 guibg=bg +hi WildMenu gui=bold guibg=Chartreuse guifg=Black + +"""" Syntax Colors +"hi Comment gui=None guifg=#507080 +hi Comment gui=None guifg=#80a0b0 +"+++ +hi String gui=None guifg=turquoise2 guibg=bg +" lighter comment colors better +"hi Identifier guifg=LightSkyBlue3 +hi Identifier guifg=DeepSkyBlue3 +"+++ +hi Function gui=None guifg=DarkSeaGreen3 guibg=bg + +hi Statement gui=NONE guifg=LightGreen +hi Conditional gui=None guifg=LightGreen guibg=bg +hi Repeat gui=None guifg=SeaGreen2 guibg=bg +hi Keyword gui=bold guifg=LightGreen guibg=bg +hi Exception gui=bold guifg=LightGreen guibg=bg + +hi PreProc guifg=SkyBlue1 +hi Include gui=None guifg=LightSteelBlue3 guibg=bg +hi Define gui=None guifg=LightSteelBlue2 guibg=bg +hi Macro gui=None guifg=LightSkyBlue3 guibg=bg +hi PreCondit gui=None guifg=LightSkyBlue2 guibg=bg + +hi Type gui=NONE guifg=LightBlue +hi StorageClass gui=None guifg=LightBlue guibg=bg +hi Structure gui=None guifg=LightBlue guibg=bg +hi Typedef gui=None guifg=LightBlue guibg=bg + +hi Special gui=bold guifg=aquamarine3 +hi Underlined gui=underline guifg=honeydew4 guibg=bg +hi Ignore guifg=#204050 +hi Error guifg=LightYellow guibg=FireBrick +hi Todo guifg=Cyan guibg=#507080 +if v:version >= 700 + hi PMenu gui=bold guibg=LightSkyBlue4 guifg=honeydew2 + hi PMenuSel gui=bold guibg=DarkGreen guifg=honeydew2 + hi PMenuSbar gui=bold guibg=LightSkyBlue4 + hi PMenuThumb gui=bold guibg=DarkGreen + hi SpellBad gui=undercurl guisp=Red + hi SpellRare gui=undercurl guisp=Orange + hi SpellLocal gui=undercurl guisp=Orange + hi SpellCap gui=undercurl guisp=Yellow +endif + +""" Console +if v:version >= 700 + hi PMenu cterm=bold ctermbg=DarkGreen ctermfg=Gray + hi PMenuSel cterm=bold ctermbg=Yellow ctermfg=Gray + hi PMenuSbar cterm=bold ctermbg=DarkGreen + hi PMenuThumb cterm=bold ctermbg=Yellow + hi SpellBad ctermbg=Red + hi SpellRare ctermbg=Red + hi SpellLocal ctermbg=Red + hi SpellCap ctermbg=Yellow +endif + +hi Search ctermfg=Black ctermbg=Red cterm=NONE +hi Visual cterm=reverse +hi Cursor ctermfg=Black ctermbg=Green cterm=bold +hi Special ctermfg=Brown +hi Comment ctermfg=DarkGray +hi StatusLine ctermfg=Blue ctermbg=White +hi Statement ctermfg=Yellow cterm=NONE +hi Type cterm=NONE +hi Macro ctermfg=DarkRed +hi Identifier ctermfg=DarkYellow +hi Structure ctermfg=DarkGreen + +" statusline +hi User1 gui=BOLD guifg=#b0d0e0 guibg=Black +hi User2 gui=bold guifg=LightGreen guibg=Black +hi User3 gui=bold guifg=MediumOrchid1 guibg=Black +hi User4 gui=bold guifg=FireBrick guibg=Black + +" bookmarks: +"hi Cream_ShowMarksHL ctermfg=blue ctermbg=lightblue cterm=bold gui=BOLD guifg=MediumOrchid1 guibg=#202020 + +" spell check +"hi BadWord ctermfg=black ctermbg=lightblue gui=NONE guifg=honeydew2 guibg=#602030 + +" current line +hi CurrentLine term=reverse ctermbg=0 ctermfg=14 gui=none guibg=#406070 + +" email +hi EQuote1 guifg=#99cccc +hi EQuote2 guifg=#669999 +hi EQuote3 guifg=#007777 +hi Sig guifg=#80a0b0 + +"+++ +" h syntax /sizeof + +" main color scheme +:hi Normal gui=None guibg=#150a15 guifg=honeydew2 +"hi Normal gui=None guibg=##1a0a1a guifg=honeydew2 +"hi Normal gui=None guibg=#100b10 guifg=honeydew2 + +" whitespace (indents) +hi SpecialKey guifg=#808080 guibg=#150a15 gui=none + +" line number: +hi LineNr guifg=#535353 guibg=#150a15 +hi Number gui=None guifg=#fcaf3e guibg=bg + +" constants: NULL,stdout, ... +hi Constant guifg=#c0a0a0 + +" e.g text bellow EOF: +hi NonText gui=None guibg=#150a15 + +hi CursorColumn guibg=#202020 +hi CursorLine gui=None guibg=#303030 +hi Cursor guibg=#ffffff guifg=#000000 + +hi FoldColumn guibg=#464646 + +" string: (text between ") +" printf("%d\n", 42); +"hi String gui=NONE guifg=#c0c0e0 guibg=#404040 +hi String gui=NONE guifg=#d0d0b0 guibg=#303030 + +" string: \n +hi SpecialChar gui=NONE guifg=#d0d0b0 guibg=#303030 + +" string: e.g 0x%08x +hi cFormat gui=NONE guifg=#c08080 guibg=#303030 + +hi Visual gui=reverse guibg=#303050 guifg=#d0d0d0 gui=italic + +" sizeof.. +hi Operator gui=NONE guifg=#90d090 guibg=NONE + +" TRUE, false +hi Boolean gui=bold guifg=#c0c040 guibg=bg + +" current tab (tabbar) +hi Tb_VisibleNormal gui=NONE guibg=#00ff00 guifg=#fcaf3e +" !current tab +hi Tb_Normal gui=NONE guibg=#00ff00 guifg=#d0d0d0 +" modified tab: +hi Tb_Changed gui=NONE guibg=#00ff00 guifg=#c08080 diff --git a/.vim/colors/pyte.vim b/.vim/colors/pyte.vim new file mode 100644 index 0000000..7f173c4 --- /dev/null +++ b/.vim/colors/pyte.vim @@ -0,0 +1,94 @@ + +set background=light + +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "pyte" + +if version >= 700 + hi CursorLine guibg=#f6f6f6 + hi CursorColumn guibg=#eaeaea + hi MatchParen guifg=white guibg=#80a090 gui=bold + + "Tabpages + hi TabLine guifg=black guibg=#b0b8c0 gui=italic + hi TabLineFill guifg=#9098a0 + hi TabLineSel guifg=black guibg=#f0f0f0 gui=italic,bold + + "P-Menu (auto-completion) + hi Pmenu guifg=white guibg=#808080 + "PmenuSel + "PmenuSbar + "PmenuThumb +endif +" +" Html-Titles +hi Title guifg=#202020 gui=bold +hi Underlined guifg=#202020 gui=underline + + +hi Cursor guifg=black guibg=#b0b4b8 +hi lCursor guifg=black guibg=white +hi LineNr guifg=#ffffff guibg=#c0d0e0 + +hi Normal guifg=#404850 guibg=#f0f0f0 + +hi StatusLine guifg=white guibg=#8090a0 gui=bold,italic +hi StatusLineNC guifg=#506070 guibg=#a0b0c0 gui=italic +hi VertSplit guifg=#a0b0c0 guibg=#a0b0c0 gui=NONE + +" hi Folded guifg=#708090 guibg=#c0d0e0 +hi Folded guifg=#a0a0a0 guibg=#e8e8e8 gui=italic + +hi NonText guifg=#c0c0c0 guibg=#e0e0e0 +" Kommentare +hi Comment guifg=#a0b0c0 gui=italic + +" Konstanten +hi Constant guifg=#a07040 +hi String guifg=#4070a0 +hi Number guifg=#40a070 +hi Float guifg=#70a040 +"hi Statement guifg=#0070e0 gui=NONE +" Python: def and so on, html: tag-names +hi Statement guifg=#007020 gui=bold + + +" HTML: arguments +hi Type guifg=#e5a00d gui=italic +" Python: Standard exceptions, True&False +hi Structure guifg=#007020 gui=italic +hi Function guifg=#06287e gui=italic + +hi Identifier guifg=#5b3674 gui=italic + +hi Repeat guifg=#7fbf58 gui=bold +hi Conditional guifg=#4c8f2f gui=bold + +" Cheetah: #-Symbol, function-names +hi PreProc guifg=#1060a0 gui=NONE +" Cheetah: def, for and so on, Python: Decorators +hi Define guifg=#1060a0 gui=bold + +hi Error guifg=red guibg=white gui=bold,underline +hi Todo guifg=#a0b0c0 guibg=NONE gui=italic,bold,underline + +" Python: %(...)s - constructs, encoding +hi Special guifg=#70a0d0 gui=italic + +hi Operator guifg=#408010 + +" color of s etc... +"hi SpecialKey guifg=#d8a080 guibg=#e8e8e8 gui=italic +hi SpecialKey guifg=#d0b0b0 guibg=#f0f0f0 gui=none + +" Diff +hi DiffChange guifg=NONE guibg=#e0e0e0 gui=italic,bold +hi DiffText guifg=NONE guibg=#f0c8c8 gui=italic,bold +hi DiffAdd guifg=NONE guibg=#c0e0d0 gui=italic,bold +hi DiffDelete guifg=NONE guibg=#f0e0b0 gui=italic,bold + + diff --git a/.vim/colors/python.vim b/.vim/colors/python.vim new file mode 100644 index 0000000..6f4a765 --- /dev/null +++ b/.vim/colors/python.vim @@ -0,0 +1,104 @@ +""" Init +set background=light +highlight clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "python" + + +""""""""\ Colors \"""""""" + + +"""" GUI Colors + +highlight Cursor gui=None guibg=Palegreen3 guifg=White +highlight CursorIM gui=bold guifg=white guibg=PaleTurquoise3 +highlight Directory guifg=LightSeaGreen guibg=bg +highlight DiffAdd gui=None guifg=fg guibg=DarkCyan +highlight DiffChange gui=None guifg=fg guibg=Green4 +highlight DiffDelete gui=None guifg=fg guibg=black +highlight DiffText gui=bold guifg=fg guibg=bg +highlight ErrorMsg guifg=LightYellow guibg=FireBrick +" previously 'FillColumn': +"highlight FillColumn gui=NONE guifg=black guibg=grey60 +highlight VertSplit gui=NONE guifg=black guibg=#c8d6b3 +highlight Folded gui=bold guibg=#305060 guifg=#b0d0e0 +highlight FoldColumn gui=bold guibg=#395602 guifg=#6f9b1f +highlight IncSearch gui=reverse guifg=fg guibg=bg +highlight LineNr gui=bold guibg=#395602 guifg=#6f9b1f +highlight ModeMsg guibg=DarkGreen guifg=Green +highlight MoreMsg gui=bold guifg=SeaGreen4 guibg=bg +if version < 600 + " same as SpecialKey + highlight NonText guibg=#123A4A guifg=#3D5D6D +else + " Bottom fill (use e.g. same as LineNr) + highlight NonText gui=None guibg=bg guifg=fg +endif +highlight Normal gui=None guibg=#f6ffe5 guifg=black +highlight Question gui=bold guifg=SeaGreen2 guibg=bg +highlight Search gui=NONE guibg=LightSkyBlue4 guifg=NONE +highlight SpecialKey guibg=#103040 guifg=#324262 +highlight StatusLine gui=bold guibg=#c8d6b3 guifg=black +highlight StatusLineNC gui=NONE guibg=#c8d6b3 guifg=black +highlight Title gui=bold guifg=MediumOrchid1 guibg=bg +highlight Visual gui=reverse guibg=WHITE guifg=SeaGreen +highlight VisualNOS gui=bold,underline guifg=fg guibg=bg +highlight WarningMsg gui=bold guifg=FireBrick1 guibg=bg +highlight WildMenu gui=bold guibg=Chartreuse guifg=Black + + +"""" Syntax Colors + +"highlight Comment gui=reverse guifg=#507080 +highlight Comment gui=italic guifg=#507080 + +highlight Constant guifg=black guibg=bg +hi String gui=None guifg=#ccab3f guibg=bg + "hi Character gui=None guifg=#969248 guibg=bg + highlight Number gui=None guifg=#969248 guibg=bg + highlight Boolean gui=bold guifg=#969248 guibg=bg + "hi Float gui=None guifg=#969248 guibg=bg + +highlight Identifier guifg=#6f9b1f +hi Function gui=None guifg=#775d05 guibg=bg + +highlight Statement gui=NONE guifg=#669907 + highlight Conditional gui=None guifg=Green guibg=bg + highlight Repeat gui=None guifg=SeaGreen2 guibg=bg + "hi Label gui=None guifg=Green guibg=bg + highlight Operator gui=None guifg=Chartreuse guibg=bg + highlight Keyword gui=bold guifg=#6f9b1f guibg=bg + highlight Exception gui=bold guifg=Green guibg=bg + +highlight PreProc guifg=SkyBlue1 +hi Include gui=None guifg=#725c05 guibg=bg +hi Define gui=None guifg=#725c05 guibg=bg +hi Macro gui=None guifg=#486610 guibg=bg +hi PreCondit gui=None guifg=LightSkyBlue2 guibg=bg + +highlight Type gui=NONE guifg=#ccab3f +hi StorageClass gui=None guifg=#ccab3f guibg=bg +hi Structure gui=None guifg=#ccab3f guibg=bg +hi Typedef gui=None guifg=#ccab3f guibg=bg + +highlight Special gui=bold guifg=#ddb100 + "hi SpecialChar gui=bold guifg=White guibg=bg + "hi Tag gui=bold guifg=White guibg=bg + "hi Delimiter gui=bold guifg=White guibg=bg + "hi SpecialComment gui=bold guifg=White guibg=bg + "hi Debug gui=bold guifg=White guibg=bg + +highlight Underlined gui=underline guifg=honeydew4 guibg=bg + +highlight Ignore guifg=#204050 + +highlight Error guifg=LightYellow guibg=FireBrick + +highlight Todo guifg=#969248 guibg=#507080 + +""" OLD COLORS + + + diff --git a/.vim/colors/quagmire.vim b/.vim/colors/quagmire.vim new file mode 100644 index 0000000..8b9c583 --- /dev/null +++ b/.vim/colors/quagmire.vim @@ -0,0 +1,112 @@ +" Vim color file +" Maintainer: Streak "at rsmw dot net" Porchfleece +" Last Change: 2008 Dec 12 +" Version: 0.3 + +" This is as close a port as I could manage of the camouflage-inspired +" Glitterbomb theme for TextMate. Due to some fundamental differences +" in the way the two editors handle syntax highlighting, it's more or +" less impossible to make it a perfect match, but it's close enough to +" look fairly nice in most circumstances. +" +" By the way, the original can be found on the TextMate wiki: +" http://wiki.macromates.com/Themes/UserSubmittedThemes + +set background=dark +if version > 580 + hi clear + if exists("syntax_on") + syntax reset + endif +endif +let g:colors_name="quagmire" + +" UI customization +hi Normal guifg=#cfcfcf guibg=#0b0a0a +hi ModeMsg guifg=#44444e +hi MoreMsg guifg=#44444e +hi Visual guibg=#3a3a3a +hi NonText guifg=#111010 +hi MatchParen guibg=#44444e +hi Cursor guifg=fg guibg=bg gui=reverse +hi CursorLine guibg=#11100c +hi TabLine guibg=bg guifg=#44444e gui=reverse +hi TabLineSel guibg=bg guifg=#44444e gui=none,bold +hi StatusLine guibg=bg guifg=#44444e gui=reverse +hi! link Question MoreMsg +hi! link Search Visual +hi! link TabLineFill TabLine +hi Error guifg=#ffffff guibg=#d8290e +hi DiffAdd guifg=#f8f8f8 guibg=#41a83e +hi DiffDelete guifg=#f8f8f8 guibg=#d03620 +hi DiffChange guifg=#f8f8f8 guibg=#c4b14a +"hi DiffAdd guifg=#41a83e guibg=#f8f8f8 + +" Stuff that most color schemes seem to leave out for some reason +hi! link FoldColumn StatusLine +hi! link SpecialKey String +hi! link SpecialChar Character +hi! link Folded StatusLine +hi! link Directory String +hi! link Label Delimiter +hi Pmenu guibg=#4d6537 +hi PmenuSbar guibg=#44444e +"hi PmenuSel guibg=#888888 guifg=#dbb800 +"hi PmenuThumb guibg=# + +" :tab h group-name +hi Comment guifg=#44444e gui=italic +hi Constant guifg=#c0a368 +hi Number guifg=#d3c788 +hi Identifier guifg=#ae5251 +hi Function guifg=#e16521 gui=bold +hi Statement guifg=#dbb800 gui=bold +hi Operator guifg=#988155 gui=none +hi Type guifg=#f6f080 gui=none +hi StorageClass guifg=#7D6C55 +hi String guifg=#4d6537 +hi Character guifg=#707576 +hi Special guifg=#ebac47 +hi Delimiter guifg=#935e29 +hi SpecialComment guifg=#73817d +hi Underlined guifg=#73817d gui=underline +"hi Tag guifg=#ebac47 +"hi Keyword guifg=#ff3a55 gui=bold + +hi PreProc guifg=#8996ab +hi PreCondit guifg=#afc4db +hi LineNr guifg=#888888 guibg=#eeeeee gui=none +hi Todo guifg=bg guibg=#4d6537 +"hi htmlTag guifg=#ffeca1 +hi htmlTag guifg=#aad7ef gui=bold +"hi htmlTagName guifg=#ffffff gui=bold +"hi htmlArg guifg=#ff6600 gui=none +hi htmlBold gui=bold +hi htmlItalic gui=italic +hi Title guifg=#999966 gui=none +hi htmlTitle guifg=fg gui=none +hi tmeSupport guifg=#7d6c55 gui=none + +" TextMate grammars organize their highlight categories a little +" differently. These changes do very little to make things exactly how +" TextMate has them (yeah right, good luck) and instead concentrates +" on making everything a little less goofy-looking. +hi link cssAttributeSelector htmlArg +hi link cssBraces Normal +hi link javascriptBraces Normal +hi link cssTagName Function +hi link htmlEndTag htmlTag +hi link htmlTagName htmlTag +hi link htmlH1 htmlTitle +"hi link lispVar Identifier +hi link perlMatch Constant +hi link perlMatchStartEnd perlMatch +hi link perlFunctionName Function +hi link perlStatementSub Type +hi link vimHiAttrib Special +hi link macFullscreenBG Normal +"hi link perlSubstitutionSlash perlMatch + + + + diff --git a/.vim/colors/railscasts.vim b/.vim/colors/railscasts.vim new file mode 100644 index 0000000..0404df6 --- /dev/null +++ b/.vim/colors/railscasts.vim @@ -0,0 +1,145 @@ +" Vim color scheme +" +" Name: railscast.vim +" Maintainer: Josh O'Rourke +" License: public domain +" +" A GUI Only port of the RailsCasts TextMate theme [1] to Vim. +" Some parts of this theme were borrowed from the well-documented Lucius theme [2]. +" +" [1] http://railscasts.com/about +" [2] http://www.vim.org/scripts/script.php?script_id=2536 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "railscasts" + +" Colors +" Brown #BC9458 +" Dark Blue #6D9CBE +" Dark Green #519F50 +" Dark Orange #CC7833 +" Light Blue #D0D0FF +" Light Green #A5C261 +" Tan #FFC66D + +hi Normal guifg=#E6E1DC guibg=#2B2B2B +hi Cursor guibg=#FFFFFF +hi CursorLine guibg=#333435 +hi LineNr guifg=#888888 guibg=#DEDEDE +hi Search guibg=#5A647E +hi Visual guibg=#5A647E + +" Folds +" ----- +" line used for closed folds +hi Folded guifg=#F6F3E8 guibg=#444444 gui=NONE + +" Misc +" ---- +" directory names and other special names in listings +hi Directory guifg=#A5C261 gui=NONE + +" Popup Menu +" ---------- +" normal item in popup +hi Pmenu guifg=#F6F3E8 guibg=#444444 gui=NONE +" selected item in popup +hi PmenuSel guifg=#000000 guibg=#A5C261 gui=NONE +" scrollbar in popup +hi PMenuSbar guibg=#5A647E gui=NONE +" thumb of the scrollbar in the popup +hi PMenuThumb guibg=#AAAAAA gui=NONE + + +"rubyComment +hi Comment guifg=#BC9458 gui=italic +hi Todo guifg=#BC9458 guibg=NONE gui=italic + +"rubyPseudoVariable +"nil, self, symbols, etc +hi Constant guifg=#6D9CBE + +"rubyClass, rubyModule, rubyDefine +"def, end, include, etc +hi Define guifg=#CC7833 + +"rubyInterpolation +hi Delimiter guifg=#519F50 + +"rubyError, rubyInvalidVariable +hi Error guifg=#FFFFFF guibg=#990000 + +"rubyFunction +hi Function guifg=#FFC66D gui=NONE + +"rubyIdentifier +"@var, @@var, $var, etc +hi Identifier guifg=#D0D0FF gui=NONE + +"rubyInclude +"include, autoload, extend, load, require +hi Include guifg=#CC7833 gui=NONE + +"rubyKeyword, rubyKeywordAsMethod +"alias, undef, super, yield, callcc, caller, lambda, proc +hi Keyword guifg=#CC7833 + +" same as define +hi Macro guifg=#CC7833 gui=NONE + +"rubyInteger +hi Number guifg=#A5C261 + +" #if, #else, #endif +hi PreCondit guifg=#CC7833 gui=NONE + +" generic preprocessor +hi PreProc guifg=#CC7833 gui=NONE + +"rubyControl, rubyAccess, rubyEval +"case, begin, do, for, if unless, while, until else, etc. +hi Statement guifg=#CC7833 gui=NONE + +"rubyString +hi String guifg=#A5C261 + +hi Title guifg=#FFFFFF + +"rubyConstant +hi Type guifg=#DA4939 gui=NONE + +hi DiffAdd guifg=#E6E1DC guibg=#144212 +hi DiffDelete guifg=#E6E1DC guibg=#660000 + +hi link htmlTag xmlTag +hi link htmlTagName xmlTagName +hi link htmlEndTag xmlEndTag + +hi xmlTag guifg=#E8BF6A +hi xmlTagName guifg=#E8BF6A +hi xmlEndTag guifg=#E8BF6A +t rubyClass guifg=#FFFFFF ctermfg=15 +highlight rubyConstant guifg=#DA4939 ctermfg=167 +highlight rubyInstanceVariable guifg=#D0D0FF ctermfg=189 +highlight rubyInterpolation guifg=#519F50 ctermfg=107 +highlight rubyLocalVariableOrMethod guifg=#D0D0FF ctermfg=189 +highlight rubyPredefinedConstant guifg=#DA4939 ctermfg=167 +highlight rubyPseudoVariable guifg=#FFC66D ctermfg=221 +highlight rubyStringDelimiter guifg=#A5C261 ctermfg=143 + +highlight xmlTag guifg=#E8BF6A ctermfg=179 +highlight xmlTagName guifg=#E8BF6A ctermfg=179 +highlight xmlEndTag guifg=#E8BF6A ctermfg=179 + +highlight mailSubject guifg=#A5C261 ctermfg=107 +highlight mailHeaderKey guifg=#FFC66D ctermfg=221 +highlight mailEmail guifg=#A5C261 ctermfg=107 gui=italic cterm=underline + +highlight SpellBad guifg=#D70000 ctermfg=160 ctermbg=NONE cterm=underline +highlight SpellRare guifg=#D75F87 ctermfg=168 guibg=NONE ctermbg=NONE gui=underline cterm=underline +highlight SpellCap guifg=#D0D0FF ctermfg=189 guibg=NONE ctermbg=NONE gui=underline cterm=underline +highlight MatchParen guifg=#FFFFFF ctermfg=15 guibg=#005f5f ctermbg=23 diff --git a/.vim/colors/rainbow_fine_blue.vim b/.vim/colors/rainbow_fine_blue.vim new file mode 100644 index 0000000..89c280c --- /dev/null +++ b/.vim/colors/rainbow_fine_blue.vim @@ -0,0 +1,71 @@ +" Vim color file +" Maintainer: Tiza +" Last Change: 2002/10/30 Wed 00:12. +" version: 1.7 +" This color scheme uses a light background. + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "fine_blue" + +hi Normal guifg=#404048 guibg=#f8f8f8 + +" Search +hi IncSearch gui=UNDERLINE guifg=#404054 guibg=#40ffff +hi Search gui=NONE guifg=#404054 guibg=#ffffa0 + +" Messages +hi ErrorMsg gui=NONE guifg=#ff0070 guibg=#ffe0f4 +hi WarningMsg gui=NONE guifg=#ff0070 guibg=#ffe0f4 +hi ModeMsg gui=NONE guifg=#0070ff guibg=NONE +hi MoreMsg gui=NONE guifg=#a800ff guibg=NONE +hi Question gui=NONE guifg=#008050 guibg=NONE + +" Split area +hi StatusLine gui=BOLD guifg=#f8f8f8 guibg=#404054 +hi StatusLineNC gui=NONE guifg=#b8b8c0 guibg=#404054 +hi VertSplit gui=NONE guifg=#f8f8f8 guibg=#404054 +hi WildMenu gui=BOLD guifg=#f8f8f8 guibg=#00aacc + +" Diff +hi DiffText gui=NONE guifg=#4040ff guibg=#c0c0ff +hi DiffChange gui=NONE guifg=#5050ff guibg=#e0e0ff +hi DiffDelete gui=NONE guifg=#4040ff guibg=#c8f2ea +hi DiffAdd gui=NONE guifg=#4040ff guibg=#c8f2ea + +" Cursor +hi Cursor gui=NONE guifg=#0000ff guibg=#00e0ff +hi lCursor gui=NONE guifg=#f8f8f8 guibg=#8000ff +hi CursorIM gui=NONE guifg=#f8f8f8 guibg=#8000ff + +" Fold +hi Folded gui=NONE guifg=#7820ff guibg=#e0d8ff +hi FoldColumn gui=NONE guifg=#aa60ff guibg=#f0f0f4 +" hi Folded gui=NONE guifg=#58587c guibg=#e0e0e8 +" hi FoldColumn gui=NONE guifg=#9090b0 guibg=#f0f0f4 + +" Other +hi Directory gui=NONE guifg=#0070b8 guibg=NONE +hi LineNr gui=NONE guifg=#a0a0b0 guibg=NONE +hi NonText gui=BOLD guifg=#4000ff guibg=#ececf0 +hi SpecialKey gui=NONE guifg=#d87000 guibg=NONE +hi Title gui=NONE guifg=#004060 guibg=#c8f0f8 +hi Visual gui=NONE guifg=#404060 guibg=#dddde8 +" hi VisualNOS gui=NONE guifg=#404060 guibg=#dddde8 + +" Syntax group +hi Comment gui=NONE guifg=#ff00c0 guibg=NONE +hi Constant gui=NONE guifg=#2020ff guibg=#e8e8ff +hi Error gui=BOLD guifg=#ffffff guibg=#ff4080 +hi Identifier gui=NONE guifg=#c800ff guibg=NONE +hi Ignore gui=NONE guifg=#f8f8f8 guibg=NONE +hi PreProc gui=NONE guifg=#0070e6 guibg=NONE +hi Special gui=NONE guifg=#005858 guibg=#ccf7ee +hi Statement gui=NONE guifg=#008858 guibg=NONE +hi Todo gui=NONE guifg=#ff0070 guibg=#ffe0f4 +hi Type gui=NONE guifg=#7040ff guibg=NONE +hi Underlined gui=UNDERLINE guifg=#0000ff guibg=NONE diff --git a/.vim/colors/rainbow_fruit.vim b/.vim/colors/rainbow_fruit.vim new file mode 100644 index 0000000..624b90f --- /dev/null +++ b/.vim/colors/rainbow_fruit.vim @@ -0,0 +1,69 @@ +" Vim color file +" Maintainer: Tiza +" Last Change: 2002/08/28 Wed 00:28. +" version: 1.3 +" This color scheme uses a light background. + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "fruit" + +hi Normal guifg=#404040 guibg=#f8f8f8 + +" Search +hi IncSearch gui=UNDERLINE guifg=#404040 guibg=#40ffff +hi Search gui=NONE guifg=#404040 guibg=#ffff60 + +" Messages +hi ErrorMsg gui=NONE guifg=#ff0000 guibg=#ffe4e4 +hi WarningMsg gui=NONE guifg=#ff0000 guibg=#ffe4e4 +hi ModeMsg gui=NONE guifg=#ff4080 guibg=NONE +hi MoreMsg gui=NONE guifg=#009070 guibg=NONE +hi Question gui=NONE guifg=#f030d0 guibg=NONE + +" Split area +hi StatusLine gui=BOLD guifg=#f8f8f8 guibg=#404040 +hi StatusLineNC gui=NONE guifg=#a4a4a4 guibg=#404040 +hi VertSplit gui=NONE guifg=#f8f8f8 guibg=#404040 +hi WildMenu gui=BOLD guifg=#f8f8f8 guibg=#ff4080 + +" Diff +hi DiffText gui=NONE guifg=#e04040 guibg=#ffd8d8 +hi DiffChange gui=NONE guifg=#408040 guibg=#d0f0d0 +hi DiffDelete gui=NONE guifg=#4848ff guibg=#ffd0ff +hi DiffAdd gui=NONE guifg=#4848ff guibg=#ffd0ff + +" Cursor +hi Cursor gui=NONE guifg=#0000ff guibg=#00e0ff +hi lCursor gui=NONE guifg=#f8f8f8 guibg=#8000ff +hi CursorIM gui=NONE guifg=#f8f8f8 guibg=#8000ff + +" Fold +hi Folded gui=NONE guifg=#20605c guibg=#b8e8dc +hi FoldColumn gui=NONE guifg=#40a098 guibg=#f0f0f0 + +" Other +hi Directory gui=NONE guifg=#0070b8 guibg=NONE +hi LineNr gui=NONE guifg=#acacac guibg=NONE +hi NonText gui=BOLD guifg=#00a0c0 guibg=#ececec +hi SpecialKey gui=NONE guifg=#4040ff guibg=NONE +hi Title gui=NONE guifg=#0050a0 guibg=#c0e8ff +hi Visual gui=NONE guifg=#484848 guibg=#e0e0e0 +" hi VisualNOS gui=NONE guifg=#484848 guibg=#e0e0e0 + +" Syntax group +hi Comment gui=NONE guifg=#ff4080 guibg=NONE +hi Constant gui=NONE guifg=#8016ff guibg=NONE +hi Error gui=BOLD guifg=#ffffff guibg=#ff4080 +hi Identifier gui=NONE guifg=#008888 guibg=NONE +hi Ignore gui=NONE guifg=#f8f8f8 guibg=NONE +hi PreProc gui=NONE guifg=#e06800 guibg=NONE +hi Special gui=NONE guifg=#4a9400 guibg=NONE +hi Statement gui=NONE guifg=#f030d0 guibg=NONE +hi Todo gui=UNDERLINE guifg=#ff0070 guibg=#ffe0f4 +hi Type gui=NONE guifg=#0070e6 guibg=NONE +hi Underlined gui=UNDERLINE guifg=fg guibg=NONE diff --git a/.vim/colors/random.vim b/.vim/colors/random.vim new file mode 100644 index 0000000..6bbcfdd --- /dev/null +++ b/.vim/colors/random.vim @@ -0,0 +1,42 @@ +"----------------------------------------------------------" +" Vim meta color file " +" Maintainer : W. H. Jou " +" Email : whjou@singnet.com.sg " +" Most Recent Update : 2003-09-15 " +" Version : 1.3 " +"----------------------------------------------------------" +" Define function once only +if !exists("*s:LoadRandomColorScheme") + function s:LoadRandomColorScheme() + let s:self = globpath(&runtimepath, 'colors/random.vim') + let s:color_file_list = globpath(&runtimepath, 'colors/*.vim' ) + let s:self = substitute(s:self , '\' , '/', 'g') + let s:color_file_list = substitute(s:color_file_list, '\' , '/', 'g') + let s:color_file_list = substitute(s:color_file_list, s:self . "\n", '' , 'g') + let s:color_file_list = substitute(s:color_file_list, "\n" , ',', 'g') + + if strlen(s:color_file_list) + if s:color_file_list =~ ',' + let s:rnd = matchstr(localtime(), '..$') + 0 + let s:loop = 0 + + while s:loop < s:rnd + let s:color_file_list = substitute(s:color_file_list, '^\([^,]\+\),\(.*\)$', '\2,\1', '') + let s:loop = s:loop + 1 + endwhile + + let s:color_file = matchstr(s:color_file_list, '^[^,]\+') + execute "source" s:color_file + unlet! s:color_file + + unlet! s:loop + unlet! s:rnd + endif + endif + + unlet! s:color_file_list + unlet! s:self_file + endfunction +endif +"----------------------------------------------------------" +call s:LoadRandomColorScheme() diff --git a/.vim/colors/rastafari.vim b/.vim/colors/rastafari.vim new file mode 100644 index 0000000..8dc07ea --- /dev/null +++ b/.vim/colors/rastafari.vim @@ -0,0 +1,153 @@ +" Vim color file +" +" Maintainer: Dominique Pelle +" Last Change: 21 Jun 2010 +" URL: http://dominique.pelle.free.fr/rastafari.vim +" Screenshot: http://dominique.pelle.free.fr/rastafari.vim.png +" +" See also cursor color settings for terminal and statusline colors +" in http://dominique.pelle.free.fr/.vimrc +" +set background=dark +hi clear +if exists("syntax on") + syntax reset +endif + +if has('eval') + let g:colors_name="rastafari" +endif +" Normal colors {{{1 +"hi Normal guifg=#aaaaaa guibg=#000000 gui=none term=none cterm=none ctermfg=grey ctermbg=black +hi Normal guifg=#aaaaaa guibg=#000000 gui=none term=none cterm=none ctermfg=grey +hi Title guifg=#ff60ff guibg=bg gui=bold term=bold cterm=bold ctermfg=magenta +hi Ignore guifg=#888888 guibg=bg gui=bold term=bold cterm=bold ctermfg=darkgrey +hi Comment guifg=#00aa00 guibg=bg gui=none term=none cterm=none ctermfg=darkgreen +hi LineNr guifg=#ffff60 guibg=bg gui=bold term=none cterm=none ctermfg=yellow +hi Include guifg=#666666 guibg=bg gui=bold term=bold cterm=bold ctermfg=darkgrey +hi Define guifg=#666666 guibg=bg gui=bold term=bold cterm=bold ctermfg=darkgrey +hi Macro guifg=#666666 guibg=bg gui=bold term=bold cterm=bold ctermfg=darkgrey +hi PreProc guifg=#666666 guibg=bg gui=bold term=bold cterm=bold ctermfg=darkgrey +hi PreCondit guifg=#666666 guibg=bg gui=bold term=bold cterm=bold ctermfg=darkgrey +hi NonText guifg=#ffff60 guibg=bg gui=none term=none cterm=none ctermfg=yellow +hi Directory guifg=#ffff60 guibg=bg gui=bold term=none cterm=none ctermfg=yellow +hi SpecialKey guifg=#ffff60 guibg=bg gui=none term=none cterm=none ctermfg=yellow +hi Type guifg=#dddddd guibg=bg gui=bold term=none cterm=none ctermfg=white +hi String guifg=#aa2222 guibg=bg gui=none term=none cterm=none ctermfg=darkred +hi Constant guifg=#aa2222 guibg=bg gui=none term=none cterm=none ctermfg=darkred +hi Special guifg=#ff8800 guibg=bg gui=none term=none cterm=none ctermfg=darkyellow +hi Number guifg=#aa2222 guibg=bg gui=none term=none cterm=none ctermfg=darkred +hi MoreMsg guifg=#80ff80 guibg=bg gui=bold term=bold cterm=bold ctermfg=green +hi Identifier guifg=#dddddd guibg=bg gui=bold term=bold cterm=bold ctermfg=white +hi Conditional guifg=#dddddd guibg=bg gui=bold term=bold cterm=bold ctermfg=white +hi Repeat guifg=#dddddd guibg=bg gui=bold term=bold cterm=bold ctermfg=white +hi Statement guifg=#dddddd guibg=bg gui=bold term=bold cterm=bold ctermfg=white +hi Label guifg=#dddddd guibg=bg gui=bold term=bold cterm=bold ctermfg=grey +hi Operator guifg=#dddddd guibg=bg gui=bold term=bold cterm=bold ctermfg=white +hi Function guifg=#dddddd guibg=bg gui=none term=none cterm=none ctermfg=white +hi MatchParen guifg=#dddddd guibg=#0000aa gui=none term=none cterm=none ctermfg=grey ctermbg=blue +hi ErrorMsg guifg=#ffff60 guibg=#aa0000 gui=bold term=none cterm=none ctermfg=yellow ctermbg=red +hi WildMenu guifg=#ffff00 guibg=#00aa00 gui=bold term=none cterm=bold ctermfg=yellow ctermbg=darkgrey +hi Folded guifg=#444444 guibg=#00aaaa gui=bold term=reverse cterm=reverse ctermfg=cyan ctermbg=black +hi FoldColumn guifg=#00aaaa guibg=#444444 gui=bold term=none cterm=bold ctermfg=cyan ctermbg=black +hi SignColumn guifg=#8888ff guibg=bg gui=none term=none cterm=none ctermfg=cyan ctermbg=black +hi Search guifg=#dddddd guibg=#0000ff gui=none term=none cterm=none ctermfg=white ctermbg=blue +hi IncSearch guifg=#dddddd guibg=#008080 gui=none term=none cterm=none ctermfg=white ctermbg=cyan +hi WarningMsg guifg=#ffff60 guibg=#008800 gui=bold term=none cterm=bold ctermfg=yellow ctermbg=lightgreen +hi Question guifg=#80ff80 guibg=#008800 gui=bold term=standout cterm=bold ctermfg=lightgreen ctermbg=lightgreen +hi Pmenu guifg=#80ff80 guibg=#008800 gui=bold term=standout cterm=none ctermfg=green ctermbg=green +hi PmenuSel guifg=#ffcc00 guibg=#aa0000 gui=bold term=standout cterm=bold ctermfg=yellow ctermbg=red +hi Visual guifg=#66ff66 guibg=#008000 gui=bold term=standout cterm=bold ctermfg=green ctermbg=green +hi TabLineFill guifg=#80ff80 guibg=#008800 gui=bold term=bold cterm=none ctermfg=lightgreen ctermbg=green +hi TabLine guifg=#80ff80 guibg=#008800 gui=bold term=standout cterm=bold ctermfg=lightgreen ctermbg=lightgreen +hi TabLineSel guifg=#ffff60 guibg=#008800 gui=bold term=none cterm=none ctermfg=yellow ctermbg=green +hi VertSplit guifg=#80ff80 guibg=#008800 gui=none term=none cterm=none ctermfg=lightgreen ctermbg=green +hi TabLine guifg=#66ff66 guibg=#008800 gui=bold term=bold cterm=bold ctermfg=lightgreen +hi StatusLine guifg=#66ff66 guibg=#008000 gui=bold term=none cterm=bold ctermfg=lightgreen +hi CursorColumn guifg=NONE guibg=#111111 gui=none term=none cterm=none ctermfg=darkgrey ctermbg=grey +hi CursorLine guifg=NONE guibg=#111111 gui=none term=none cterm=none ctermfg=darkgrey ctermbg=grey +" Specific for c {{{1 +hi cOctalZero guifg=#ff8800 guibg=bg gui=none term=none cterm=none ctermfg=darkyellow +hi cFormat guifg=#ff8800 guibg=bg gui=none term=none cterm=none ctermfg=darkyellow +" Specific for diff {{{1 +hi DiffAdd guifg=#ffff33 guibg=#404010 gui=bold term=none cterm=none ctermfg=green +hi DiffChange guibg=#202020 gui=bold term=none ctermfg=darkgrey +hi DiffText guifg=#3333ff guibg=#100040 gui=bold term=none cterm=none ctermfg=blue +hi DiffDelete guifg=#ff0000 guibg=#401010 gui=bold term=none cterm=none ctermfg=red +hi diffLine guifg=#444444 guibg=bg gui=bold term=none cterm=bold ctermfg=darkgrey +hi diffOldLine guifg=#444444 guibg=bg gui=none term=none cterm=none ctermfg=darkgrey +hi diffOldFile guifg=#444444 guibg=bg gui=none term=none cterm=none ctermfg=darkgrey +hi diffNewFile guifg=#444444 guibg=bg gui=none term=none cterm=none ctermfg=darkgrey +hi diffAdded guifg=#80ff80 guibg=bg gui=none term=none cterm=none ctermfg=green +hi diffRemoved guifg=#ff0000 guibg=bg gui=none term=none cterm=none ctermfg=red +hi diffChanged guifg=#0000ff guibg=bg gui=none term=none cterm=none ctermfg=blue +" Specific for doxygen {{{1 +hi doxygenStart guifg=#80ff80 guibg=bg gui=bold term=none cterm=none ctermfg=lightgreen +hi doxygenStartL guifg=#80ff80 guibg=bg gui=bold term=none cterm=none ctermfg=lightgreen +hi doxygenBriefLine guifg=#00aa00 guibg=bg gui=none term=none cterm=none ctermfg=darkgreen +hi doxygenBrief guifg=#00aa00 guibg=bg gui=none term=none cterm=none ctermfg=darkgreen +hi doxygenBriefL guifg=#00aa00 guibg=bg gui=none term=none cterm=none ctermfg=darkgreen +hi doxygenPrevL guifg=#80ff80 guibg=bg gui=bold term=none cterm=none ctermfg=lightgreen +hi doxygenComment guifg=#80ff80 guibg=bg gui=bold term=none cterm=none ctermfg=lightgreen +hi doxygenCommentL guifg=#00aa00 guibg=bg gui=none term=none cterm=none ctermfg=darkgreen +hi doxygenSpecialMultiLineDesc guifg=#00aa00 guibg=bg gui=none term=none cterm=none ctermfg=darkgreen +hi doxygenSpecial guifg=#80ff80 guibg=bg gui=none term=none cterm=none ctermfg=lightgreen +hi doxygenParam guifg=#80ff80 guibg=bg gui=bold term=none cterm=none ctermfg=lightgreen +hi doxygenParamName guifg=#3333ff guibg=bg gui=bold term=none cterm=none ctermfg=blue +hi doxygenParamDirection guifg=#ffff60 guibg=bg gui=bold term=none cterm=none ctermfg=yellow +hi doxygenArgumentWord guifg=#3333ff guibg=bg gui=none term=none cterm=none ctermfg=blue +hi doxygenCodeWord guifg=#3333ff guibg=bg gui=bold term=none cterm=none ctermfg=blue +hi doxygenHyperLink guifg=#3333ff guibg=bg gui=bold term=none cterm=none ctermfg=blue +" Specific for Vim script {{{1 +hi vimCommentTitle guifg=#80ff80 guibg=bg gui=bold term=none cterm=none ctermfg=lightgreen +hi vimHiCtermColor guifg=#ffff60 guibg=bg gui=none term=none cterm=none ctermfg=yellow +hi vimFold guifg=#888888 guibg=#222222 gui=none term=none cterm=none ctermfg=darkgrey ctermbg=grey +" Specific for help files {{{1 +hi helpHyperTextJump guifg=#ffaa00 guibg=bg gui=none term=none cterm=none ctermfg=darkyellow +" Specific for Perl {{{1 +hi perlSharpBang guifg=#80ff80 guibg=bg gui=bold term=standout cterm=bold ctermfg=lightgreen +hi perlStatement guifg=#aaaaaa guibg=bg gui=none term=none cterm=none ctermfg=grey +hi perlStatementStorage guifg=#dddddd guibg=bg gui=bold term=none cterm=none ctermfg=white +hi perlVarPlain guifg=#aaaaaa guibg=bg gui=none term=none cterm=none ctermfg=grey +hi perlVarPlain2 guifg=#aaaaaa guibg=bg gui=none term=none cterm=none ctermfg=grey +" Specific for Ruby {{{1 +hi rubySharpBang guifg=#80ff80 guibg=bg gui=bold term=none cterm=bold ctermfg=lightgreen +" Specific for the statusline {{{1 +" My ~/.vimrc uses User1 and User2 in active statusline. +hi User1 guifg=#66ff66 guibg=#008000 gui=bold term=standout cterm=bold ctermfg=lightgreen ctermbg=lightgreen +hi User2 guifg=#ffff60 guibg=#008000 gui=bold term=none cterm=bold ctermfg=yellow ctermbg=lightgreen +" My ~/.vimrc uses User3 and User4 in non-active statusline. +hi User3 guifg=#66ff66 guibg=#008000 gui=bold term=standout cterm=bold ctermfg=lightgreen ctermbg=lightgreen +hi User4 guifg=#66ff66 guibg=#008000 gui=bold term=none cterm=bold ctermfg=lightgreen ctermbg=lightgreen +" Specific for netrw {{{1 +hi netrwTilde guifg=#aaaaaa guibg=bg gui=bold term=none cterm=none ctermfg=grey +hi netrwExe guifg=#aa2222 guibg=bg gui=none term=none cterm=none ctermfg=darkred +hi netrwTags guifg=#666666 guibg=bg gui=bold term=bold cterm=bold ctermfg=darkgrey +hi netrwTilde guifg=#666666 guibg=bg gui=bold term=bold cterm=bold ctermfg=darkgrey +hi netrwSymLink guifg=#1111ff guibg=bg gui=none term=none cterm=none ctermfg=blue +hi netrwList guifg=#aaaaaa guibg=#000000 gui=none term=none cterm=none ctermfg=grey +" Specific for confluence wiki {{{1 +hi confluenceHeadingMarker guifg=#aa2222 guibg=bg gui=none term=none cterm=none ctermfg=darkred +hi confluenceHeading guifg=#ffff60 guibg=bg gui=bold term=none cterm=none ctermfg=yellow +hi confluenceVerbatim guifg=#dddddd guibg=bg gui=none term=none cterm=none ctermfg=white +" Specific for HTML {{{1 +hi htmlLink guifg=#3333ff guibg=bg gui=none term=none cterm=none ctermfg=lightblue +" Specific for XML {{{1 +hi XmlTagName guifg=#ffffff guibg=bg gui=bold term=bold cterm=bold ctermfg=white +hi XmlEndTag guifg=#ffffff guibg=bg gui=bold term=bold cterm=bold ctermfg=white +hi XmlTag guifg=#ffffff guibg=bg gui=bold term=bold cterm=bold ctermfg=white +hi XmlAttrib guifg=#666666 guibg=bg gui=bold term=bold cterm=bold ctermfg=darkgrey +hi XmlEntity guifg=#ff8800 guibg=bg gui=none term=none cterm=none ctermfg=darkyellow +hi XmlEntityPunct guifg=#ff8800 guibg=bg gui=none term=none cterm=none ctermfg=darkyellow +" Spell checking {{{1 +if version >= 700 + hi SpellBad guisp=red gui=undercurl guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE term=underline cterm=underline + hi SpellCap guisp=yellow gui=undercurl guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE term=underline cterm=underline + hi SpellRare guisp=blue gui=undercurl guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE term=underline cterm=underline + hi SpellLocal guisp=orange gui=undercurl guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE term=underline cterm=underline +endif +" Cursor color for GUI {{{1 +hi Cursor guifg=#000000 guibg=#ff0000 +hi lCursor guifg=#000000 guibg=#80ff80 +hi CursorIM guifg=#000000 guibg=#0090ff +" vim: foldmethod=marker foldmarker={{{,}}}: diff --git a/.vim/colors/rcg_gui.vim b/.vim/colors/rcg_gui.vim new file mode 100644 index 0000000..ad840ab --- /dev/null +++ b/.vim/colors/rcg_gui.vim @@ -0,0 +1,26 @@ +" Vim color file +" Maintainer: Rui Carlos A. Goncalves +" Last Change: November 17, 2007 +" +" Version: 1.0 +" Url: http://www.rcg-pt.net/programacao/rcg_gui.vim.gz + +set background=dark +highlight clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "rcg_gui" + +highlight Normal guifg=lightgrey guibg=Black +highlight Statement guifg=Yellow +highlight Operator guifg=Yellow +highlight PreProc guifg=Blue +highlight Identifier guifg=cyan +highlight Type guifg=DarkGreen +highlight Special guifg=orange +highlight String guifg=red +highlight Number guifg=red +highlight Constant guifg=Red +highlight Comment guifg=darkgray diff --git a/.vim/colors/rcg_term.vim b/.vim/colors/rcg_term.vim new file mode 100644 index 0000000..45318cb --- /dev/null +++ b/.vim/colors/rcg_term.vim @@ -0,0 +1,26 @@ +" Vim color file +" Maintainer: Rui Carlos A. Goncalves +" Last Change: November 4, 2007 +" +" Version: 1.0 +" Url: http://www.rcg-pt.net/programacao/rcg_term.vim.gz + +set background=dark +highlight clear +if exists("syntax on") + syntax reset +endif + +let g:colors_name = "rcg_term" + +highlight Normal term=none cterm=none gui=none guibg=black +highlight Statement term=none ctermfg=yellow cterm=none guifg=yellow gui=none +highlight Operator term=none ctermfg=yellow cterm=none guifg=yellow gui=none +highlight PreProc term=none ctermfg=magenta cterm=none guifg=magenta gui=none +highlight Identifier term=none ctermfg=cyan cterm=none guifg=cyan gui=none +highlight Type term=none ctermfg=blue cterm=none guifg=blue gui=none +highlight Special term=none ctermfg=cyan cterm=none guifg=cyan gui=none +highlight String term=none ctermfg=Gray cterm=none guifg=Gray gui=none +highlight Number term=none ctermfg=Gray cterm=none guifg=Gray gui=none +highlight Constant term=none ctermfg=Gray cterm=none guifg=Gray gui=none +highlight Comment term=none ctermfg=red cterm=none guifg=red gui=none diff --git a/.vim/colors/rdark-terminal.vim b/.vim/colors/rdark-terminal.vim new file mode 100644 index 0000000..c16e19e --- /dev/null +++ b/.vim/colors/rdark-terminal.vim @@ -0,0 +1,132 @@ +" +" rdark-terminal - vim color scheme +" +" Modified: Lukas Grässlin +" +" Based on rdark +" (http://www.vim.org/scripts/script.php?script_id=1732) +" +" Originally converted with CSApprox and modified a bit +" to fit a 256 color capable terminal. +" (http://www.vim.org/scripts/script.php?script_id=2390) +" +" Info: As the original background color is not available in 256 color mode +" I've set it to black. But you can set the color your terminal should display +" for black to #1e2426 and you will have almost a 1:1 copy of the gui scheme. +" I also suggest to set the second black color to #2c3032. (It is the +" background color which ist used for NonText) +" If you're using a terminal which reads from Xdefaults (e.g. urxvt) you just +" do this in your .Xdefaults: +" "*color0: rgb:1e/24/26" +" "*color8: rgb:2c/30/32" +" + +hi clear +let colors_name="rdark-terminal" + +hi clear CursorLine +hi CursorLine ctermbg=8 + +hi Normal term=NONE cterm=NONE ctermbg=0 ctermfg=252 +hi Underlined term=underline cterm=underline ctermbg=bg ctermfg=111 +hi Ignore term=NONE cterm=NONE ctermbg=bg ctermfg=16 +hi Error term=reverse cterm=NONE ctermbg=160 ctermfg=255 +hi Todo term=NONE cterm=NONE ctermbg=16 ctermfg=215 +hi Number term=NONE cterm=NONE ctermbg=bg ctermfg=113 +hi String term=NONE cterm=NONE ctermbg=bg ctermfg=113 +hi Function term=NONE cterm=NONE ctermbg=bg ctermfg=215 +hi SpecialKey term=bold cterm=NONE ctermbg=bg ctermfg=196 +hi NonText term=bold cterm=NONE ctermbg=8 ctermfg=236 +hi MatchParen term=reverse cterm=NONE ctermbg=215 ctermfg=23 +hi Comment term=bold cterm=NONE ctermbg=bg ctermfg=245 +hi Constant term=underline cterm=NONE ctermbg=bg ctermfg=113 +hi Special term=bold cterm=NONE ctermbg=bg ctermfg=248 +hi Keyword term=NONE cterm=NONE ctermbg=bg ctermfg=255 +hi Identifier term=underline cterm=NONE ctermbg=bg ctermfg=252 +hi Statement term=bold cterm=NONE ctermbg=bg ctermfg=74 +hi PreProc term=underline cterm=NONE ctermbg=bg ctermfg=215 +hi Type term=underline cterm=NONE ctermbg=bg ctermfg=188 +hi LineNr term=underline cterm=NONE ctermbg=16 ctermfg=59 +hi ExtraWhitespace term=NONE cterm=NONE ctermbg=bg ctermfg=fg +hi Visual term=reverse cterm=NONE ctermbg=102 ctermfg=255 + +hi Pmenu term=NONE cterm=NONE ctermbg=16 ctermfg=250 +hi PmenuSel term=NONE cterm=NONE ctermbg=61 ctermfg=231 +hi PmenuSbar term=NONE cterm=NONE ctermbg=238 ctermfg=238 +hi PmenuThumb term=NONE cterm=NONE ctermbg=102 ctermfg=102 + +hi StatusLine term=reverse,bold cterm=NONE ctermbg=250 ctermfg=0 +hi StatusLineNC term=reverse cterm=NONE ctermbg=102 ctermfg=16 +hi VertSplit term=reverse cterm=NONE ctermbg=102 ctermfg=59 +hi Directory term=bold cterm=NONE ctermbg=bg ctermfg=231 +hi ErrorMsg term=NONE cterm=NONE ctermbg=196 ctermfg=231 +hi IncSearch term=reverse cterm=NONE ctermbg=215 ctermfg=23 +hi Search term=reverse cterm=NONE ctermbg=215 ctermfg=23 +hi MoreMsg term=bold cterm=bold ctermbg=bg ctermfg=74 +hi ModeMsg term=bold cterm=bold ctermbg=bg ctermfg=fg +hi TabLine term=underline cterm=underline ctermbg=16 ctermfg=102 +hi TabLineSel term=bold cterm=NONE ctermbg=59 ctermfg=255 +hi TabLineFill term=reverse cterm=NONE ctermbg=16 ctermfg=16 +hi CursorColumn term=reverse cterm=NONE ctermbg=241 ctermfg=fg +hi Cursor term=NONE cterm=NONE ctermbg=145 ctermfg=16 +hi cppSTLType term=NONE cterm=NONE ctermbg=bg ctermfg=fg +hi cssUIProp term=NONE cterm=NONE ctermbg=bg ctermfg=188 +hi vimAutoEvent term=NONE cterm=NONE ctermbg=bg ctermfg=fg +hi cParen term=NONE cterm=NONE ctermbg=bg ctermfg=fg +hi cBracket term=NONE cterm=NONE ctermbg=bg ctermfg=fg +hi cNumbers term=NONE cterm=NONE ctermbg=bg ctermfg=fg +hi phpPropertySelectorInString term=NONE cterm=NONE ctermbg=bg ctermfg=102 +hi FoldeColumn term=NONE cterm=NONE ctermbg=bg ctermfg=fg +hi Question term=NONE cterm=NONE ctermbg=bg ctermfg=113 +hi Title term=bold cterm=bold ctermbg=bg ctermfg=215 +hi VisualNOS term=bold,underline cterm=bold,underline ctermbg=bg ctermfg=fg +hi WarningMsg term=NONE cterm=NONE ctermbg=bg ctermfg=196 +hi WildMenu term=NONE cterm=NONE ctermbg=233 ctermfg=255 +hi Folded term=NONE cterm=NONE ctermbg=25 ctermfg=188 +hi phpSemicolon term=NONE cterm=NONE ctermbg=bg ctermfg=102 +hi phpFunctions term=NONE cterm=NONE ctermbg=bg ctermfg=188 +hi phpParent term=NONE cterm=NONE ctermbg=bg ctermfg=102 +hi javaScriptBraces term=NONE cterm=NONE ctermbg=bg ctermfg=102 +hi javaScriptOperator term=NONE cterm=NONE ctermbg=bg ctermfg=102 +hi htmlTag term=NONE cterm=NONE ctermbg=bg ctermfg=102 +hi htmlTagName term=NONE cterm=NONE ctermbg=bg ctermfg=145 +hi cCppBracket term=NONE cterm=NONE ctermbg=bg ctermfg=fg +hi cBlock term=NONE cterm=NONE ctermbg=bg ctermfg=fg +hi htmlTitle term=NONE cterm=NONE ctermbg=bg ctermfg=113 +hi cUserCont term=NONE cterm=NONE ctermbg=bg ctermfg=fg +hi lCursor term=NONE cterm=NONE ctermbg=145 ctermfg=16 +hi cssPseudoClassId term=NONE cterm=NONE ctermbg=bg ctermfg=255 +hi cssBraces term=NONE cterm=NONE ctermbg=bg ctermfg=102 +hi cssIdentifier term=NONE cterm=NONE ctermbg=bg ctermfg=215 +hi cssTagName term=NONE cterm=NONE ctermbg=bg ctermfg=215 +hi cMulti term=NONE cterm=NONE ctermbg=bg ctermfg=fg +hi ICursor term=NONE cterm=NONE ctermbg=145 ctermfg=fg +hi FoldColumn term=NONE cterm=NONE ctermbg=16 ctermfg=61 +hi DiffAdd term=bold cterm=NONE ctermbg=0 ctermfg=113 +hi DiffChange term=bold cterm=NONE ctermbg=0 ctermfg=fg +hi DiffDelete term=bold cterm=bold ctermbg=0 ctermfg=215 +hi DiffText term=reverse cterm=NONE ctermbg=0 ctermfg=fg +hi SignColumn term=NONE cterm=NONE ctermbg=16 ctermfg=51 +hi SpellBad term=reverse cterm=undercurl ctermbg=bg ctermfg=196 +hi SpellCap term=reverse cterm=undercurl ctermbg=bg ctermfg=21 +hi SpellRare term=reverse cterm=undercurl ctermbg=bg ctermfg=201 +hi SpellLocal term=underline cterm=undercurl ctermbg=bg ctermfg=51 +hi htmlSpecialTagName term=NONE cterm=NONE ctermbg=bg ctermfg=145 +hi htmlArg term=NONE cterm=NONE ctermbg=bg ctermfg=188 +hi cBitField term=NONE cterm=NONE ctermbg=bg ctermfg=fg +hi cssSelectorOp term=NONE cterm=NONE ctermbg=bg ctermfg=255 +hi pythonFunction term=NONE cterm=NONE ctermbg=bg ctermfg=fg +hi cNumbersCom term=NONE cterm=NONE ctermbg=bg ctermfg=fg +hi vimFuncName term=NONE cterm=NONE ctermbg=bg ctermfg=fg +hi phpRegionDelimiter term=NONE cterm=NONE ctermbg=bg ctermfg=139 +hi phpPropertySelector term=NONE cterm=NONE ctermbg=bg ctermfg=102 +hi cCppParen term=NONE cterm=NONE ctermbg=bg ctermfg=fg +hi phpOperator term=NONE cterm=NONE ctermbg=bg ctermfg=102 +hi phpArrayPair term=NONE cterm=NONE ctermbg=bg ctermfg=102 +hi phpAssignByRef term=NONE cterm=NONE ctermbg=bg ctermfg=102 +hi phpRelation term=NONE cterm=NONE ctermbg=bg ctermfg=102 +hi phpMemberSelector term=NONE cterm=NONE ctermbg=bg ctermfg=102 +hi phpUnknownSelector term=NONE cterm=NONE ctermbg=bg ctermfg=102 +hi phpVarSelector term=NONE cterm=NONE ctermbg=bg ctermfg=145 +hi htmlEndTag term=NONE cterm=NONE ctermbg=bg ctermfg=102 +hi vimFold term=NONE cterm=NONE ctermbg=bg ctermfg=fg diff --git a/.vim/colors/rdark.vim b/.vim/colors/rdark.vim new file mode 100644 index 0000000..62c7cdd --- /dev/null +++ b/.vim/colors/rdark.vim @@ -0,0 +1,159 @@ +" Vim color file +" Maintaner: Radu Dineiu +" URL: http://ld.yi.org/vim/rdark/ +" Last Change: 2007 Jun 23 +" Version: 0.6 +" +" Features: +" - let rdark_current_line = 1 if you want to highlight the current line +" +" Changelog: +" 0.5 - fixed the Pmenu colors +" 0.6 - added SignColumn colors + +set background=dark + +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "rdark" + +" Current Line +if exists('rdark_current_line') && rdark_current_line == 1 + set cursorline + hi CursorLine guibg=#191f21 +endif + +" Default Colors +hi Normal guifg=#babdb6 guibg=#1e2426 +hi NonText guifg=#2c3032 guibg=#2c3032 gui=none +hi Cursor guibg=#babdb6 +hi ICursor guibg=#babdb6 + +" Search +hi Search guifg=#2e3436 guibg=#fcaf3e +hi IncSearch guibg=#2e3436 guifg=#fcaf3e + +" Window Elements +hi StatusLine guifg=#2e3436 guibg=#babdb6 gui=none +hi StatusLineNC guifg=#2e3436 guibg=#888a85 gui=none +hi VertSplit guifg=#555753 guibg=#888a85 gui=none +hi Visual guibg=#000000 +hi MoreMsg guifg=#729fcf +hi Question guifg=#8ae234 gui=none +hi WildMenu guifg=#eeeeec guibg=#0e1416 +hi LineNr guifg=#3f4b4d guibg=#000000 +hi SignColumn guibg=#1e2426 + +" Pmenu +hi Pmenu guibg=#2e3436 guifg=#eeeeec +hi PmenuSel guibg=#ffffff guifg=#1e2426 +hi PmenuSbar guibg=#555753 +hi PmenuThumb guifg=#ffffff + +" Diff +hi DiffDelete guifg=#2e3436 guibg=#0e1416 +hi DiffAdd guibg=#1f2b2d +hi DiffChange guibg=#2e3436 +hi DiffText guibg=#000000 gui=none + +" Folds +hi Folded guifg=#d3d7cf guibg=#204a87 +hi FoldColumn guifg=#3465a4 guibg=#000000 + +" Specials +hi Title guifg=#fcaf3e +hi Todo guifg=#fcaf3e guibg=bg +hi SpecialKey guifg=#ef2929 + +" Tabs +hi TabLine guibg=#0a1012 guifg=#888a85 +hi TabLineFill guifg=#0a1012 +hi TabLineSel guibg=#555753 guifg=#eeeeec gui=none + +" Matches +hi MatchParen guifg=#2e3436 guibg=#fcaf3e + +" Tree +hi Directory guifg=#ffffff + +" Syntax +hi Comment guifg=#656763 +hi Constant guifg=#8ae234 +hi Number guifg=#8ae234 +hi Statement guifg=#729fcf gui=none +hi Identifier guifg=#ffffff +hi PreProc guifg=#fcaf3e +hi Function guifg=#fcaf3e +hi Type guifg=#e3e7df gui=none +hi Keyword guifg=#eeeeec +hi Special guifg=#888a85 +hi Error guifg=#eeeeec guibg=#cc0000 + +" PHP +hi phpRegionDelimiter guifg=#ad7fa8 +hi phpPropertySelector guifg=#888a85 +hi phpPropertySelectorInString guifg=#888a85 +hi phpOperator guifg=#888a85 +hi phpArrayPair guifg=#888a85 +hi phpAssignByRef guifg=#888a85 +hi phpRelation guifg=#888a85 +hi phpMemberSelector guifg=#888a85 +hi phpUnknownSelector guifg=#888a85 +hi phpVarSelector guifg=#babdb6 +hi phpSemicolon guifg=#888a85 gui=none +hi phpFunctions guifg=#d3d7cf +hi phpParent guifg=#888a85 + +" JavaScript +hi javaScriptBraces guifg=#888a85 +hi javaScriptOperator guifg=#888a85 + +" HTML +hi htmlTag guifg=#888a85 +hi htmlEndTag guifg=#888a85 +hi htmlTagName guifg=#babdb6 +hi htmlSpecialTagName guifg=#babdb6 +hi htmlArg guifg=#d3d7cf +hi htmlTitle guifg=#8ae234 gui=none +hi link htmlH1 htmlTitle +hi link htmlH2 htmlH1 +hi link htmlH3 htmlH1 +hi link htmlH4 htmlH1 +hi link htmlH5 htmlH1 +hi link htmlH6 htmlH1 + +" XML +hi link xmlTag htmlTag +hi link xmlEndTag htmlEndTag +hi link xmlAttrib htmlArg + +" CSS +hi cssSelectorOp guifg=#eeeeec +hi link cssSelectorOp2 cssSelectorOp +hi cssUIProp guifg=#d3d7cf +hi link cssPagingProp cssUIProp +hi link cssGeneratedContentProp cssUIProp +hi link cssRenderProp cssUIProp +hi link cssBoxProp cssUIProp +hi link cssTextProp cssUIProp +hi link cssColorProp cssUIProp +hi link cssFontProp cssUIProp +hi cssPseudoClassId guifg=#eeeeec +hi cssBraces guifg=#888a85 +hi cssIdentifier guifg=#fcaf3e +hi cssTagName guifg=#fcaf3e +hi link cssInclude Function +hi link cssCommonAttr Constant +hi link cssUIAttr Constant +hi link cssTableAttr Constant +hi link cssPagingAttr Constant +hi link cssGeneratedContentAttr Constant +hi link cssAuralAttr Constant +hi link cssRenderAttr Constant +hi link cssBoxAttr Constant +hi link cssTextAttr Constant +hi link cssColorAttr Constant +hi link cssFontAttr Constant diff --git a/.vim/colors/redblack.vim b/.vim/colors/redblack.vim new file mode 100644 index 0000000..793af52 --- /dev/null +++ b/.vim/colors/redblack.vim @@ -0,0 +1,62 @@ +set background=dark +hi clear + +hi Normal ctermbg=black guibg=black ctermfg=grey guifg=grey +hi Boolean ctermbg=black guibg=black ctermfg=grey guifg=grey +hi Character ctermbg=black guibg=black ctermfg=red guifg=red +hi Comment ctermbg=black guibg=black ctermfg=darkgrey guifg=#606060 cterm=bold +hi Condtional ctermbg=black guibg=black ctermfg=red guifg=red +hi Constant ctermbg=black guibg=black ctermfg=red guifg=red +hi Cursor ctermbg=black guibg=white ctermfg=grey guifg=grey +hi Debug ctermbg=black guibg=black ctermfg=grey guifg=grey +hi Define ctermbg=black guibg=black ctermfg=white guifg=white +hi Delimiter ctermbg=black guibg=black ctermfg=grey guifg=grey +hi DiffAdd ctermbg=NONE guibg=NONE ctermfg=NONE guifg=NONE cterm=NONE gui=NONE +hi DiffChange ctermbg=white guibg=white ctermfg=darkgrey guifg=#606060 +hi DiffDelete ctermbg=black guibg=black ctermfg=darkgrey guifg=#606060 cterm=bold +hi DiffText ctermbg=red guibg=red ctermfg=white guifg=white +hi Directory ctermbg=black guibg=black ctermfg=white guifg=white +hi Error ctermbg=red guibg=red ctermfg=white guifg=white +hi ErrorMsg ctermbg=red guibg=red ctermfg=white guifg=white +hi Exception ctermbg=black guibg=black ctermfg=grey guifg=grey +hi Float ctermbg=black guibg=black ctermfg=red guifg=red cterm=NONE gui=NONE +hi FoldColumn ctermbg=black guibg=black ctermfg=grey guifg=grey +hi Folded ctermbg=black guibg=black ctermfg=red guifg=red +hi Function ctermbg=black guibg=black ctermfg=white guifg=white +hi Identifier ctermbg=black guibg=black ctermfg=grey guifg=grey +hi Include ctermbg=black guibg=black ctermfg=white guifg=white +hi IncSearch ctermbg=green guibg=green ctermfg=darkgrey guifg=#606060 +hi Keyword ctermbg=black guibg=black ctermfg=red guifg=red +hi Label ctermbg=black guibg=black ctermfg=white guifg=white +hi LineNr ctermbg=black guibg=black ctermfg=darkgrey guifg=#606060 cterm=bold +hi Macro ctermbg=black guibg=black ctermfg=grey guifg=grey +hi ModeMsg ctermbg=black guibg=black ctermfg=grey guifg=grey +hi MoreMsg ctermbg=black guibg=black ctermfg=grey guifg=grey +hi NonText ctermbg=black guibg=black ctermfg=darkgrey guifg=#606060 cterm=bold +hi Number ctermbg=black guibg=black ctermfg=red guifg=red cterm=NONE gui=NONE +hi Operator ctermbg=black guibg=black ctermfg=white guifg=white +hi PreCondit ctermbg=black guibg=black ctermfg=white guifg=white +hi PreProc ctermbg=black guibg=black ctermfg=white guifg=white +hi Question ctermbg=black guibg=black ctermfg=grey guifg=grey +hi Repeat ctermbg=black guibg=black ctermfg=white guifg=white +hi Search ctermbg=black guibg=black ctermfg=green guifg=green +hi SpecialChar ctermbg=black guibg=black ctermfg=white guifg=white +hi SpecialComment ctermbg=black guibg=black ctermfg=white guifg=white +hi Special ctermbg=black guibg=black ctermfg=white guifg=white +hi SpecialKey ctermbg=white guibg=white ctermfg=black guifg=black +hi Statement ctermbg=black guibg=black ctermfg=white guifg=white +hi StatusLine ctermbg=white guibg=white ctermfg=red guifg=red +hi StatusLineNC ctermbg=black guibg=black ctermfg=grey guifg=grey +hi StorageClass ctermbg=black guibg=black ctermfg=white guifg=white +hi String ctermbg=black guibg=black ctermfg=grey guifg=grey +hi Structure ctermbg=black guibg=black ctermfg=white guifg=white +hi Tag ctermbg=black guibg=black ctermfg=red guifg=red +hi Title ctermbg=black guibg=black ctermfg=grey guifg=grey +hi Todo ctermbg=black guibg=black ctermfg=white guifg=white +hi Typedef ctermbg=black guibg=black ctermfg=white guifg=white +hi Type ctermbg=black guibg=black ctermfg=white guifg=white +hi VertSplit ctermbg=black guibg=black ctermfg=grey guifg=grey +hi Visual ctermbg=black guibg=black ctermfg=grey guifg=grey +hi VisualNOS ctermbg=black guibg=black ctermfg=grey guifg=grey +hi WarningMsg ctermbg=black guibg=black ctermfg=red guifg=red +hi WildMenu ctermbg=white guibg=white ctermfg=darkgrey guifg=#606060 diff --git a/.vim/colors/redstring.vim b/.vim/colors/redstring.vim new file mode 100644 index 0000000..5b75182 --- /dev/null +++ b/.vim/colors/redstring.vim @@ -0,0 +1,26 @@ +" Vim color file +" Maintainer: Connor Berry +" Last Change: 2006/05/25 +" Version: 1.0 + +set background=dark +highlight clear +if exists("syntax on") + syntax reset +endif + +let g:colors_name = "redstring" + +highlight Normal term=none ctermfg=grey cterm=none ctermbg=black guifg=white gui=none guibg=black +highlight Comment term=none ctermfg=DarkGrey guifg=DarkGrey +highlight Constant term=none ctermfg=red cterm=none guifg=red gui=none +highlight Special term=none ctermfg=red cterm=bold guifg=red gui=bold +highlight Identifier term=none ctermfg=lightgreen cterm=none guifg=lightgreen gui=none +highlight Statement term=bold ctermfg=cyan cterm=bold guifg=cyan gui=bold +highlight Operator term=bold ctermfg=cyan cterm=bold guifg=cyan gui=bold +highlight PreProc term=bold ctermfg=lightgreen cterm=none guifg=green gui=none +highlight Type term=bold ctermfg=lightgreen cterm=none guifg=lightgreen gui=none +highlight String term=none ctermfg=red cterm=none guifg=red gui=none +highlight Number term=none ctermfg=red cterm=none guifg=red gui=none + +" vim:ts=2:sw=2:et diff --git a/.vim/colors/refactor.vim b/.vim/colors/refactor.vim new file mode 100644 index 0000000..9da7977 --- /dev/null +++ b/.vim/colors/refactor.vim @@ -0,0 +1,85 @@ +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "RefractorMyCode" + +hi Comment guifg=#80a0ff +hi Constant guifg=#527023 +hi Cursor gui=bold guifg=black guibg=green +hi CursorColumn guibg=gray40 +hi CursorIM gui=None +hi CursorLine guibg=gray40 +hi DiffAdd guibg=darkblue +hi DiffChange guibg=darkmagenta +hi DiffDelete gui=bold guifg=blue guibg=darkcyan +hi DiffText gui=bold guibg=red +hi Directory guifg=cyan +hi Error guifg=white guibg=red +hi ErrorMsg guifg=white guibg=red +hi FoldColumn guifg=#3387CC guibg=grey +hi Folded guifg=#0a1926 guibg=darkgray +hi Identifier guifg=#40ffff +hi Ignore guifg=black +hi IncSearch gui=reverse +hi LineNr guifg=gray40 +hi MatchParen guibg=darkcyan +hi ModeMsg gui=bold +hi MoreMsg gui=bold guifg=seagreen +hi NonText gui=bold guifg=#cc0099 +hi Normal guifg=gray80 guibg=black +hi Pmenu guibg=magenta +hi PmenuSbar guibg=grey +hi PmenuSel guibg=darkgray +hi PmenuThumb gui=reverse +hi PreProc guifg=#AFC4DB +hi Question gui=bold guifg=green +hi Search gui=bold guifg=black guibg=red +hi SignColumn guifg=cyan guibg=grey +hi Special guifg=orange +hi SpecialKey guifg=cyan +hi SpellBad gui=undercurl +hi SpellCap gui=undercurl +hi SpellLocal gui=undercurl +hi SpellRare gui=undercurl +hi Statement guifg=#E28964 +hi StatusLine gui=bold,reverse guifg=#3387CC guibg=white +hi StatusLineNC gui=reverse +hi TabLine guifg=black guibg=darkgray +hi TabLineFill gui=reverse +hi TabLineSel gui=bold +hi Title gui=bold guifg=magenta +hi Todo gui=italic guifg=black guibg=yellow +hi Type guifg=#99CF50 +hi Underlined gui=underline guifg=#80a0ff +hi VertSplit gui=reverse +hi Visual gui=bold guifg=gray25 guibg=darkgray +hi VisualNOS gui=bold,underline +hi WarningMsg guifg=red +hi WildMenu guifg=black guibg=yellow +hi link Boolean Constant +hi link Character Constant +hi link Conditional Statement +hi link Debug Special +hi link Define PreProc +hi link Delimiter Special +hi link Exception Statement +hi link Float Constant +hi link Function Identifier +hi link Include PreProc +hi link Keyword Statement +hi link Label Statement +hi link Macro PreProc +hi link Number Constant +hi link Operator Statement +hi link PreCondit PreProc +hi link Repeat Statement +hi link SpecialChar Special +hi link SpecialComment Special +hi link StorageClass Type +hi link String Constant +hi link Structure Type +hi link Tag Special +hi link Typedef Type + diff --git a/.vim/colors/relaxedgreen.vim b/.vim/colors/relaxedgreen.vim new file mode 100644 index 0000000..9d2bf14 --- /dev/null +++ b/.vim/colors/relaxedgreen.vim @@ -0,0 +1,112 @@ +" ---------------------------------------------------------------------------------------------------------------------------------- +" Filename: relaxedgreen.vim +" Last Modified: 13 Feb 2007 09:57:24 PM by Dave V +" Maintainer: Dave Vehrs (dvehrs at gmail.com) +" Copyright: 2002,2003,2004,2005,2006,2007 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: Place this file in the users colors directory (~/.vim/colors) or +" in the shared colors directory (/usr/shared/vim/vim/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=green ctermbg=blue guifg=#000000 guibg=#559955 +highlight CursorIM term=reverse ctermfg=black ctermbg=darkgreen guifg=#000000 guibg=#336633 +highlight CursorColumn term=none ctermbg=darkred guibg=#663333 +highlight CursorLine term=none ctermbg=darkblue guibg=#333366 +highlight Comment term=italic ctermfg=darkcyan ctermbg=black guifg=#00a594 +highlight Constant term=underline ctermfg=blue guifg=#0099dd +highlight Debug term=bold ctermfg=red ctermbg=black 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=black guifg=#000000 guibg=#006700 +highlight DiffDelete term=standout ctermfg=black ctermbg=cyan guifg=#000000 guibg=#007200 +highlight DiffText term=bold ctermfg=green ctermbg=black guifg=#00ac00 guibg=#000000 +highlight Directory term=underline ctermfg=green ctermbg=black guifg=#336633 guibg=#000000 +highlight Error term=reverse,bold ctermfg=black ctermbg=red guifg=#000000 guibg=#dc0000 +highlight ErrorMsg term=reverse,bold ctermfg=white ctermbg=red guifg=#ffffff guibg=#dc0000 +highlight Folded ctermfg=darkgreen ctermbg=black guifg=#20de20 guibg=#000000 +highlight FoldColumn ctermfg=darkgreen ctermbg=black guifg=#20de20 guibg=#000000 +highlight Function term=standout ctermfg=darkgreen guifg=#22bb22 +highlight Identifier term=underline ctermfg=darkcyan gui=underline guifg=#008800 +highlight Ignore ctermfg=lightgreen guifg=#33bb33 +highlight IncSearch term=reverse ctermfg=black ctermbg=darkgreen guifg=#000000 guibg=#336633 +highlight LineNr term=bold ctermfg=green guifg=#00ff00 +highlight MatchParen term=bold ctermbg=green guifg=#009900 +highlight ModeMsg term=bold cterm=bold gui=bold +highlight MoreMsg term=bold cterm=bold gui=bold +highlight NonText ctermfg=brown guifg=#b26818 +highlight Normal ctermfg=gray ctermbg=black guifg=#aaaaaa guibg=#000000 +highlight Pmenu term=reverse ctermfg=black ctermbg=green guifg=#000000 guibg=#337733 +highlight PmenuSel term=bold ctermfg=black ctermbg=gray guifg=#000000 guibg=#999999 +highlight PmenuSbar term=reverse ctermfg=black ctermbg=green guifg=#000000 guibg=#337733 +highlight PmenuThumb term=reverse ctermfg=gray ctermbg=black guifg=#999999 guibg=#000000 +highlight PreProc term=standout ctermfg=darkgreen guifg=#22bb22 +highlight Question term=standout ctermfg=red guifg=#ff0000 +highlight Search term=reverse ctermfg=black ctermbg=darkgreen guifg=#000000 guibg=#228822 +highlight SignColumn ctermfg=darkgreen guifg=#20de20 guibg=#000000 +highlight Special term=bold ctermfg=green guifg=#00ff00 +highlight SpecialKey term=bold ctermfg=green guifg=#00ff00 +highlight SpellBad term=reverse cterm=underline ctermfg=red ctermbg=black gui=undercurl guisp=#ff0000 +highlight SpellCap term=reverse cterm=underline ctermfg=yellow ctermbg=black gui=undercurl guisp=#00ffff +highlight SpellLocal term=reverse cterm=underline ctermfg=blue ctermbg=black gui=undercurl guisp=#0000ff +highlight SpellRare term=reverse cterm=underline ctermfg=darkgreen ctermbg=black gui=undercurl guisp=#00ff00 +highlight Statement term=standout ctermfg=darkred guifg=#ac0000 +highlight StatusLine term=reverse ctermfg=darkgreen ctermbg=black gui=none guibg=#228822 guifg=#000000 +highlight StatusLineNC term=reverse ctermfg=darkgreen ctermbg=blue gui=none guibg=#336633 guifg=#000000 +highlight TabLine term=reverse cterm=reverse ctermfg=black ctermbg=green guibg=#222222 guifg=#228822 +highlight TabLineFill term=reverse cterm=reverse ctermfg=green ctermbg=black guibg=#222222 guifg=#226622 +highlight TabLineSel ctermfg=black ctermbg=green guibg=#228822 guifg=#222222 +highlight Title term=reverse ctermfg=black ctermbg=green guifg=#000000 guibg=#00ff00 +highlight Todo term=reverse cterm=reverse ctermfg=darkgreen ctermbg=black guibg=#336633 guifg=#000000 +highlight Type term=standout ctermfg=green guifg=#559955 +highlight Visual term=reverse cterm=reverse ctermfg=darkgreen guifg=#000000 guibg=#336633 +highlight VisualNOS term=reverse,bold cterm=reverse ctermbg=darkgreen 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=blue ctermbg=darkgreen guifg=#000099 guibg=#00ac00 + +" ---------------------------------------------------------------------------------------------------------------------------------- +" Common groups that link to other highlight definitions. + +highlight link Character Constant +highlight link Number Constant +highlight link Boolean Constant +highlight link String Constant + +highlight link Operator LineNr + +highlight link Float Number + +highlight link Define PreProc +highlight link Include PreProc +highlight link Macro PreProc +highlight link PreCondit PreProc + +highlight link Repeat Question + +highlight link Conditional Repeat + +highlight link Delimiter Special +highlight link SpecialChar Special +highlight link SpecialComment Special +highlight link Tag Special + +highlight link Exception Statement +highlight link Keyword Statement +highlight link Label Statement + +highlight link StorageClass Type +highlight link Structure Type +highlight link Typedef Type + +" ---------------------------------------------------------------------------------------------------------------------------------- +" vim:tw=132:ts=4:sw=4 diff --git a/.vim/colors/reliable.vim b/.vim/colors/reliable.vim new file mode 100644 index 0000000..09065eb --- /dev/null +++ b/.vim/colors/reliable.vim @@ -0,0 +1,126 @@ +" Colorscheme created with ColorSchemeEditor v1.0 beta +"Name: reliable +"Maintainer: Erik Falor +"Version: v1.0.2 +"Last Change: 2008 Mar 07 +"License: Vim License + +"Notes: A futuristic colorscheme with a bright, clean look. +" +" This is a helpful mapping while developing colorschemes: +" :echo synIDattr(synIDtrans(synID(line('.'), col('.'), 1)), 'name') +" +"Version 1.0.2 - changed Type highlight group to display bold + +set background=light +if version > 580 + highlight clear + if exists("syntax_on") + syntax reset + endif +endif +let g:colors_name = "reliable" + +if v:version >= 700 + highlight CursorColumn guibg=#F3E8B3 gui=NONE + highlight CursorLine guibg=#F3E8B3 gui=NONE + highlight Pmenu guibg=#A1BAD8 gui=NONE + highlight PmenuSel guibg=#F3E8B3 gui=NONE + highlight PmenuSbar guibg=#C3C6CC gui=NONE + highlight PmenuThumb guibg=#002A5C gui=reverse + highlight SpellBad gui=undercurl + highlight SpellCap gui=undercurl + highlight SpellLocal gui=undercurl + highlight SpellRare gui=undercurl + highlight TabLine guifg=#002A5C guibg=#FFFFFF gui=bold,underline + highlight TabLineFill guifg=#A1BAD8 gui=underline + highlight TabLineSel guifg=#002A5C guibg=#FCB52D gui=bold,underline +endif +highlight Cursor guifg=bg guibg=fg gui=NONE +highlight link CursorIM cleared +highlight DiffAdd guibg=#A1BAD8 gui=NONE +highlight DiffChange guifg=#002A5C guibg=#7493BE gui=NONE +highlight DiffDelete guifg=#7493BE guibg=#FCB52D gui=bold +highlight DiffText guifg=#002A5C guibg=#F3E8B3 gui=bold +highlight Directory guifg=#7493BE gui=NONE +highlight ErrorMsg guifg=White guibg=Red gui=NONE +highlight FoldColumn guifg=#002A5C guibg=#7493BE gui=NONE +highlight Folded guifg=#606769 guibg=#C3C6CC gui=bold +highlight IncSearch guifg=#FFFFFF guibg=#FCB52D gui=bold +highlight LineNr guifg=#606769 gui=bold +highlight MatchParen guibg=#A1BAD8 gui=NONE +highlight ModeMsg guifg=#002A5C gui=bold +highlight MoreMsg guifg=#002A5C guibg=#A1BAD8 gui=bold +highlight NonText guifg=#606769 gui=NONE +highlight Normal guibg=#FFFFFF gui=NONE +highlight Question guifg=#002A5C guibg=#FCB52D gui=bold +highlight Search guibg=#FCB52D gui=NONE +highlight SignColumn guifg=#FCB52D guibg=#A1BAD8 gui=NONE +highlight SpecialKey guifg=#002A5C gui=NONE +highlight StatusLine guifg=#002A5C guibg=#FCB52D gui=NONE +highlight StatusLineNC guibg=#7493BE gui=NONE +highlight Title guifg=#7493BE gui=bold +highlight VertSplit guifg=#002A5C guibg=#C3C6CC gui=bold +highlight Visual guibg=#C3C6CC gui=NONE +highlight VisualNOS guifg=#C3C6CC gui=underline +highlight WarningMsg guifg=Red gui=NONE +highlight WildMenu guifg=#002A5C guibg=#F3E8B3 gui=NONE +highlight link Boolean Constant +highlight link Character Constant +highlight Comment guifg=#606769 gui=bold +highlight link Conditional Statement +highlight Constant guifg=#80888D gui=bold +highlight link Debug Special +highlight link Define PreProc +highlight link Delimiter Special +highlight Error guifg=White guibg=Red gui=NONE +highlight link Exception Statement +highlight link Float Number +highlight link Function Identifier +highlight Identifier guifg=#7493BE gui=bold +highlight Ignore guifg=bg gui=NONE +highlight link Include PreProc +highlight link Keyword Statement +highlight link Label Statement +highlight link Macro PreProc +highlight link Number Constant +highlight link Operator Statement +highlight link PreCondit PreProc +highlight PreProc guifg=#7493BE gui=bold +highlight link Repeat Statement +highlight Special guifg=#7493BE gui=NONE +highlight link SpecialChar Special +highlight link SpecialComment Special +highlight Statement guifg=#002A5C gui=bold +highlight link StorageClass Type +highlight link String Constant +highlight link Structure Type +highlight link Tag Special +highlight Todo guifg=#FCB52D guibg=Yellow gui=bold,underline +highlight Type guifg=#002A5C gui=bold +highlight link Typedef Type +highlight Underlined guifg=#7493BE gui=underline + + +"ColorScheme metadata{{{ +if v:version >= 700 + let g:reliable_Metadata = { + \"Palette" : "#002A5C:#FCB52D:#7493BE:#A1BAD8:#F3E8B3:#FFFFFF:#FFFFFF:#FFFFFF:#FFFFFF:#FFFFFF:#C3C6CC:#80888D:#606769:#000000:#FFFFFF:#FFFFFF:#FFFFFF:#FFFFFF:#FFFFFF:#FFFFFF", + \"Maintainer" : "Erik Falor", + \"Name" : "reliable", + \"License" : ["Vim License", + \], + \"Notes" : ["A futuristic colorscheme with a bright, clean look.", + \"", + \" This is a helpful mapping while developing colorschemes:", + \" :echo synIDattr(synIDtrans(synID(line('.'), col('.'), 1)), 'name')", + \"", + \"Version 1.0.2 - changed Type highlight group to display bold", + \], + \"Version" : "v1.0.2", + \"Email" : "ewfalor@gmail.com", + \"Last Change" : "2008 Mar 07", + \} +endif +"}}} +" vim:set foldmethod=marker expandtab filetype=vim: diff --git a/.vim/colors/reloaded.vim b/.vim/colors/reloaded.vim new file mode 100644 index 0000000..5d111b2 --- /dev/null +++ b/.vim/colors/reloaded.vim @@ -0,0 +1,70 @@ +" Vim color file +" Maintainer: connorberry@yahoo.com +" Last Change: +" URL: www.narwhale.org + +set background=dark "or light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="reloaded" + + hi Normal ctermfg=Green ctermbg=Black + hi Normal guifg=Green guibg=Black + hi NonText ctermfg=DarkGreen ctermbg=Black + hi NonText guifg=DarkGreen guibg=Black + + hi Statement ctermfg=Green ctermbg=Black + hi Statement guifg=Green guibg=Black + hi Comment ctermfg=DarkGreen ctermbg=Black cterm=bold term=bold + hi Comment guifg=DarkGreen guibg=Black gui=bold term=bold + hi Constant ctermfg=Green ctermbg=DarkGreen + hi Constant guifg=Green guibg=DarkGreen + hi Identifier ctermfg=Green ctermbg=Black + hi Identifier guifg=Green guibg=Black + hi Type ctermfg=Green ctermbg=Black + hi Type guifg=Green guibg=Black + hi String ctermfg=Green ctermbg=DarkGreen + hi String guifg=Green guibg=DarkGreen + hi Boolean ctermfg=Green ctermbg=DarkGreen + hi Boolean guifg=Green guibg=DarkGreen + hi Number ctermfg=Green ctermbg=DarkGreen + hi Number guifg=Green guibg=DarkGreen + hi Folded ctermfg=DarkYellow ctermbg=Black cterm=underline term=none + hi Folded guifg=DarkYellow guibg=Black gui=underline term=none + hi Special ctermfg=Black ctermbg=DarkGreen + hi Special guifg=Black guibg=DarkGreen + hi PreProc ctermfg=DarkGreen ctermbg=Black cterm=bold term=bold + hi PreProc guifg=DarkGreen guibg=Black gui=bold term=bold + hi Scrollbar ctermfg=DarkYellow ctermbg=Black + hi Scrollbar guifg=DarkYellow guibg=Black + hi Cursor ctermfg=Black ctermbg=Green + hi Cursor guifg=Black guibg=Green + hi ErrorMsg ctermfg=Red ctermbg=Black cterm=bold term=bold + hi ErrorMsg guifg=Red guibg=Black gui=bold term=bold + hi WarningMsg ctermfg=Yellow ctermbg=Black + hi WarningMsg guifg=Yellow guibg=Black + hi VertSplit ctermfg=White ctermbg=Black + hi VertSplit guifg=White guibg=Black + hi Directory ctermfg=DarkGreen ctermbg=Black + hi Directory guifg=DarkGreen guibg=Black + hi Visual ctermfg=White ctermbg=DarkGray cterm=underline term=none + hi Visual guifg=White guibg=DarkGray gui=underline term=none + hi Title ctermfg=White ctermbg=DarkBlue + hi Title guifg=White guibg=DarkBlue + + hi StatusLine term=bold cterm=bold,underline ctermfg=Green ctermbg=Black + hi StatusLine term=bold gui=bold,underline guifg=Green guibg=Black + hi StatusLineNC term=bold cterm=bold,underline ctermfg=Gray ctermbg=Black + hi StatusLineNC term=bold gui=bold,underline guifg=Gray guibg=Black + hi LineNr term=bold cterm=bold ctermfg=Black ctermbg=DarkGreen + hi LineNr term=bold gui=bold guifg=Black guibg=DarkGreen + hi SpecialKey guifg=DarkGreen guibg=Black + hi SpecialKey ctermfg=DarkGreen ctermbg=Black + + hi cursorline guifg=Black guibg=DarkGreen + hi cursorline ctermfg=Black ctermbg=DarkGreen + hi cursorcolumn guifg=Black guibg=Green + hi cursorcolumn ctermfg=Black ctermbg=Green + diff --git a/.vim/colors/revolutions.vim b/.vim/colors/revolutions.vim new file mode 100644 index 0000000..15450c9 --- /dev/null +++ b/.vim/colors/revolutions.vim @@ -0,0 +1,75 @@ +" MATRIX-REVOLUTIONS colorscheme +" Author: Christian MICHON +" Version: 1.0 +" Last Change: 23 Jun 2004 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = 'revolutions' + +hi Boolean guifg=#e6fff3 guibg=#43705a gui=none +hi Character guifg=#e6fff3 guibg=#43705a gui=none +hi Comment guifg=#43705a guibg=#000000 gui=underline +hi Conditional guifg=#e6fff3 guibg=#000000 gui=bold +hi Constant guifg=#e6fff3 guibg=#43705a gui=none +hi Cursor guifg=#43705a guibg=#e6fff3 gui=none +hi Debug guifg=#61a181 guibg=#000000 gui=none +hi Define guifg=#e6fff3 guibg=#000000 gui=none +hi Delimiter guifg=#61a181 guibg=#000000 gui=none +hi DiffAdd guifg=#e6fff3 guibg=#43705a gui=bold +hi DiffChange guifg=#e6fff3 guibg=#43705a gui=none +hi DiffDelete guifg=#e6fff3 guibg=#43705a gui=none +hi DiffText guifg=#000000 guibg=#e6fff3 gui=bold +hi Directory guifg=#e6fff3 guibg=#000000 gui=none +hi Error guifg=#e6fff3 guibg=#61a181 gui=bold +hi ErrorMsg guifg=#e6fff3 guibg=#61a181 gui=bold +hi Exception guifg=#e6fff3 guibg=#000000 gui=bold +hi Float guifg=#e6fff3 guibg=#43705a gui=none +hi FoldColumn guifg=#9bcfb5 guibg=#43705a gui=bold +hi Folded guifg=#9bcfb5 guibg=#43705a gui=bold +hi Function guifg=#e6fff3 guibg=#000000 gui=none +hi Identifier guifg=#e6fff3 guibg=#000000 gui=none +hi Ignore guifg=#000000 guibg=#000000 gui=none +hi Include guifg=#e6fff3 guibg=#000000 gui=none +hi IncSearch guifg=#1d3026 guibg=#61a181 gui=bold +hi Keyword guifg=#e6fff3 guibg=#000000 gui=bold +hi Label guifg=#e6fff3 guibg=#000000 gui=bold +hi lCursor guifg=#43705a guibg=#e6fff3 gui=none +hi LineNr guifg=#9bcfb5 guibg=#000000 gui=bold +hi Macro guifg=#e6fff3 guibg=#000000 gui=none +hi ModeMsg guifg=#9bcfb5 guibg=#000000 gui=bold +hi MoreMsg guifg=#9bcfb5 guibg=#000000 gui=bold +hi NonText guifg=#9bcfb5 guibg=#1d3026 gui=bold +hi Normal guifg=#9bcfb5 guibg=#000000 gui=none +hi Number guifg=#e6fff3 guibg=#000000 gui=none +hi Operator guifg=#e6fff3 guibg=#000000 gui=bold +hi PreCondit guifg=#e6fff3 guibg=#000000 gui=none +hi PreProc guifg=#61a181 guibg=#000000 gui=none +hi Question guifg=#9bcfb5 guibg=#000000 gui=bold +hi Repeat guifg=#e6fff3 guibg=#000000 gui=bold +hi Search guifg=#1d3026 guibg=#61a181 gui=bold +hi Special guifg=#61a181 guibg=#000000 gui=none +hi SpecialChar guifg=#61a181 guibg=#000000 gui=none +hi SpecialComment guifg=#61a181 guibg=#000000 gui=none +hi SpecialKey guifg=#9bcfb5 guibg=#000000 gui=none +hi Statement guifg=#e6fff3 guibg=#000000 gui=bold +hi StatusLine guifg=#e6fff3 guibg=#61a181 gui=bold +hi StatusLineNC guifg=#1d3026 guibg=#61a181 gui=bold +hi StorageClass guifg=#f070a0 guibg=#000000 gui=bold +hi String guifg=#e6fff3 guibg=#000000 gui=none +hi Structure guifg=#f070a0 guibg=#000000 gui=bold +hi Tag guifg=#61a181 guibg=#000000 gui=none +hi Title guifg=#e6fff3 guibg=#1d3026 gui=bold +hi Todo guifg=#1d3026 guibg=#9bcfb5 gui=none +hi Type guifg=#e6fff3 guibg=#000000 gui=bold +hi Typedef guifg=#f070a0 guibg=#000000 gui=bold +hi Underlined guifg=#e6fff3 guibg=#000000 gui=underline +hi VertSplit guifg=#61a181 guibg=#61a181 gui=none +hi Visual guifg=#e6fff3 guibg=#61a181 gui=none +hi VisualNOS guifg=#9bcfb5 guibg=#000000 gui=underline +hi WarningMsg guifg=#1d3026 guibg=#61a181 gui=bold +hi WildMenu guifg=#43705a guibg=#e6fff3 gui=none diff --git a/.vim/colors/robinhood.vim b/.vim/colors/robinhood.vim new file mode 100644 index 0000000..ab1d14d --- /dev/null +++ b/.vim/colors/robinhood.vim @@ -0,0 +1,103 @@ +" Vim color file +" Maintainer: Datila Carvalho +" Last Change: May, 19, 2005 +" Version: 0.2 + +" This is a VIM's version of the emacs color theme +" _Robin Hood_ created by Alex Schroede. + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "robinhood" + + +""" Colors + +" GUI colors +hi Cursor guifg=fg guibg=gray +hi CursorIM guifg=NONE guibg=gray +"hi Directory +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +hi ErrorMsg gui=bold guifg=white guibg=Red +"hi VertSplit +"hi Folded +"hi FoldColumn +"hi IncSearch +hi LineNr gui=bold guifg=yellowgreen guibg=#203010 +"hi ModeMsg +"hi MoreMsg +"hi NonText +hi Normal guibg=#304020 guifg=wheat +"hi Question +hi Search gui=bold guifg=black guibg=gray +"hi SpecialKey +hi StatusLine guifg=darkolivegreen guibg=wheat +hi StatusLineNC guifg=olivedrab guibg=wheat +"hi Title +hi Visual guifg=darkslategrey guibg=fg +hi VisualNOS gui=bold guifg=Black guibg=fg +hi WarningMsg guifg=White guibg=Tomato +"hi WildMenu + +hi User2 guifg=yellowgreen guibg=#091900 gui=bold + +" If using Motif/Athena +hi Menu guibg=#304020 guifg=wheat +hi Scrollbar guibg=bg + +" Colors for syntax highlighting +hi Comment guifg=lightblue + +hi Constant gui=bold guifg=lightcyan + hi String guifg=lightsalmon + hi Character guifg=lightsalmon + hi Number gui=bold guifg=lightcyan + hi Boolean gui=bold guifg=lightcyan + hi Float gui=bold guifg=lightcyan + +hi Identifier gui=bold guifg=palegreen + hi Function guifg=yellowgreen + +hi Statement gui=bold guifg=salmon + hi Conditional gui=bold guifg=salmon + hi Repeat gui=bold guifg=salmon + hi Label guifg=salmon + hi Operator guifg=salmon + "hi Keyword + "hi Exception + +hi PreProc guifg=palegreen + hi Include gui=bold guifg=palegreen + hi Define guifg=palegreen + hi Macro guifg=aquamarine + hi PreCondit guifg=palegreen + +hi Type gui=bold guifg=yellowgreen + hi StorageClass gui=bold guifg=aquamarine + hi Structure gui=bold guifg=aquamarine + hi Typedef gui=bold guifg=aquamarine + +"hi Special + ""Underline Character + "hi SpecialChar gui=underline + "hi Tag gui=bold,underline + ""Statement + "hi Delimiter gui=bold + ""Bold comment (in Java at least) + "hi SpecialComment gui=bold + "hi Debug gui=bold + +hi Underlined gui=underline + +hi Ignore guifg=bg + +hi Error gui=bold guifg=White guibg=Red + +"hi Todo diff --git a/.vim/colors/rootwater.vim b/.vim/colors/rootwater.vim new file mode 100644 index 0000000..4be5aeb --- /dev/null +++ b/.vim/colors/rootwater.vim @@ -0,0 +1,98 @@ +" Name: rootwater.vim +" Maintainer: Kojo Sugita +" Last Change: 2008-11-22 +" Revision: 1.2 +" +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = 'rootwater' + +" Default colors +hi Normal guifg=#babdb6 guibg=#151b1d +hi NonText guifg=#4f5b5d guibg=#232729 gui=none +hi SpecialKey guifg=#4f5b5d guibg=#2c3032 gui=none +hi Cursor guifg=#3a553a guibg=#77dd88 +hi CursorLine guibg=#303035 +hi CursorColumn guibg=#303035 +hi lCursor guifg=#3a553a guibg=#77dd88 +hi CursorIM guifg=#3a553a guibg=#77dd88 + +" Directory +hi Directory guifg=white gui=bold + +" Diff +hi DiffAdd guifg=#77dd88 guibg=#3a553a gui=none +hi DiffChange guifg=#77dd88 guibg=#3a553a gui=none +hi DiffDelete guifg=#223322 guibg=#223322 gui=none +hi DiffText guifg=#77dd88 guibg=#448844 gui=bold + +hi ErrorMsg guifg=red guibg=black +hi VertSplit guifg=black guibg=#88ee99 + +" Folds +hi Folded guifg=#55af66 guibg=black +hi FoldColumn guifg=#557755 guibg=#102010 + +" Search +hi Search guifg=#223322 guibg=#55af66 gui=none +hi IncSearch guifg=#3a553a guibg=#77dd88 gui=none + +" hi LineNr guifg=#446644 guibg=black gui=none +hi LineNr guifg=#607075 guibg=black gui=none +hi ModeMsg guifg=#55af66 guibg=black +hi MoreMsg guifg=#55af66 guibg=black +hi Question guifg=#55af66 guibg=black + +"\n, \0, %d, %s, etc... +hi Special guifg=pink gui=none + +" status line +hi StatusLine guifg=#88ee99 guibg=black gui=none +hi StatusLineNC guifg=#446644 guibg=black gui=none + +hi Title guifg=#88ee99 guibg=#000000 gui=none +hi Visual guifg=#77dd88 guibg=#448844 gui=none +hi VisualNOS guifg=#55af66 guibg=black +hi WarningMsg guifg=#77dd88 guibg=black +hi WildMenu guifg=#3a553a guibg=#77dd88 + +hi Number guifg=#77dd88 +hi Char guifg=#77dd88 +hi String guifg=#77dd88 +hi Boolean guifg=#77dd88 +hi Comment guifg=#656565 +hi Constant guifg=#88ee99 gui=none +hi Identifier guifg=white +hi Statement guifg=#8fffff gui=none + +" Procedure name +hi Function guifg=#ffaa33 + +" Define, def +hi PreProc guifg=lightred gui=none +hi Type guifg=white gui=none +hi Underlined guifg=gray gui=underline +hi Error guifg=red guibg=black +hi Todo guifg=pink guibg=black gui=none +hi SignColumn guibg=#151b1d + +" Matches +hi MatchParen guifg=#000000 guibg=#ffaa33 + +" Pmenu +if version >= 700 + hi Pmenu guibg=#202530 + hi PmenuSel guifg=#88ee99 guibg=black + hi PmenuSbar guibg=#202530 + + hi TabLine guifg=#446644 guibg=black gui=None + hi TabLineFill guibg=#232729 guibg=#232729 gui=None + hi TabLineSel guifg=#88ee99 guibg=black gui=None +endif + +finish + +" vim:set ts=8 sts=2 sw=2 tw=0: diff --git a/.vim/colors/rtl.vim b/.vim/colors/rtl.vim new file mode 100644 index 0000000..e95c99d --- /dev/null +++ b/.vim/colors/rtl.vim @@ -0,0 +1,132 @@ +" Vim syntax file +" Language: gcc rtl +" Maintainer: Igor Petushkov +" Last Change: May 12 17:28:14 MSD 2010 + +" For version 5.x: Clear all syntax items +" For version 6.x: Quit when a syntax file was already loaded +if version < 600 + syntax clear +elseif exists("b:current_syntax") + finish +endif + +" Integer number, or floating point number without a dot. +syn match rtlNumber "\<\d\+\>" contained + +" file path +syn match rtlPath "[A-Za-z0-9.\/\-_]*\.\(c\|cpp\|h\|hpp\|CC\|f\|f95\)\:\d*" + +" String and Character contstants +syn region rtlString start=+"+ end=+"+ contained + +" Comments +syn region rtlComment start="^[ \t]*;;" end="$" + +" A bunch of useful rtl keywords +syn keyword rtlInsn insn jump_insn call_insn code_label contained +syn keyword rtlInsn barrier note contained + +" Modes for regs, expressions +syn keyword rtlModes BI QI HI PSI SI PDI DI TI OI QF HF contained +syn keyword rtlModes TQF SF DF XF SD DD TD TF QQ HQ SQ contained +syn keyword rtlModes DQ TQ UQQ UHQ USQ UDQ HA SA DA TA contained +syn keyword rtlModes UHA USA UDA UTA CC BLK VOID QC HC contained +syn keyword rtlModes SC DC XC TC CHI CSI CDI CTI COI contained + +" Comparision operations +syn keyword rtlComparision eq ne gt gtu lt ltu ge geu le leu contained +syn keyword rtlComparision if_then_else cond contained + +" Constants +syn keyword rtlConstant const_int const_double const_fixed contained +syn keyword rtlConstant const_vector const_string symbol_ref contained +syn keyword rtlConstant label_ref const high contained + +" Registers +syn keyword rtlRegisterMem reg subreg scratch cc0 pc mem contained +syn keyword rtlRegisterMem concatm concatnm contained + +" Arithmetic functions +syn keyword rtlArithmetic plus ss_plus us_plus lo_sum minus contained +syn keyword rtlArithmetic ss_minus us_minus compare neg ss_neg contained +syn keyword rtlArithmetic us_neg mult ss_mult us_mult div contained +syn keyword rtlArithmetic ss_div udiv us_div mod umod smin contained +syn keyword rtlArithmetic smax umin umax not and ior xor contained +syn keyword rtlArithmetic ashift ss_ashift us_ashift lshiftrt contained +syn keyword rtlArithmetic ashiftrt rotate rotatert abs sqrt contained +syn keyword rtlArithmetic ffs clz ctz popcount parity bswap contained + +" Bit field functions +syn keyword rtlBitField sign_extract zero_extract contained + +" Vector operations +syn keyword rtlVector vec_merge vec_select vec_concat contained +syn keyword rtlVector vec_duplicate contained + +" Conversions +syn keyword rtlConversion sign_extend zero_extend float_extend contained +syn keyword rtlConversion truncate ss_truncate us_truncate contained +syn keyword rtlConversion float_truncate float unsigned_float contained +syn keyword rtlConversion fix unsigned_fix fract_convert contained +syn keyword rtlConversion sat_fract unsigned_fract_convert contained +syn keyword rtlConversion unsigned_sat_fract contained + +" Side effects +syn keyword rtlSideEffect set return call clobber use parallel contained +syn keyword rtlSideEffect cond_exec sequence asm_input unspec contained +syn keyword rtlSideEffect unspec_volatile addr_vec contained +syn keyword rtlSideEffect addr_diff_vec prefetch contained + +" Embedded side effects on addresses +syn keyword rtlSideEffect pre_dec pre_inc post_dec post_inc contained +syn keyword rtlSideEffect post_modify pre_modify contained + +" Operations +syn region rtlExpression start="(" end=")" contains=ALLBUT,rtlError1 +syn region rtlExpression2 start="\[" end="\]" contains=ALL,rtlError2 +syn region rtlSpecOperation start="{" end="}" contains=ALLBUT,rtlError3 +syn match rtlError1 display ")" +syn match rtlError2 display "]" +syn match rtlError3 display "}" + +syn sync minlines=50 + +" Define the default highlighting. +" For version 5.7 and earlier: only when not done already +" For version 5.8 and later: only when an item doesn't have highlighting yet +if version >= 508 || !exists("did_rtl_syntax_inits") + if version < 508 + let did_rtl_syntax_inits = 1 + command -nargs=+ HiLink hi link + else + command -nargs=+ HiLink hi def link + endif + + HiLink rtlNumber Number + HiLink rtlPath Comment + HiLink rtlString Character + HiLink rtlComment Comment + HiLink rtlModes Type + HiLink rtlComparision Conditional + HiLink rtlInsn Operator + HiLink rtlConstant Constant + HiLink rtlRegisterMem Identifier + HiLink rtlArithmetic Operator + HiLink rtlBitField Operator + HiLink rtlVector Function + HiLink rtlConversion Function + HiLink rtlSideEffect Staement + HiLink rtlExpression Statement + HiLink rtlExpression2 Statement + HiLink rtlSpecOperation Function + HiLink rtlError1 Error + HiLink rtlError2 Error + HiLink rtlError3 Error + + delcommand HiLink +endif + +let b:current_syntax = "rtl" + +" vim: ts=4 diff --git a/.vim/colors/sand.vim b/.vim/colors/sand.vim new file mode 100644 index 0000000..cc673df --- /dev/null +++ b/.vim/colors/sand.vim @@ -0,0 +1,30 @@ +" Vim color file +" Maintainer: Tim Alexeevsky +" Last Change: 2002-03-14 +" Version: 0.5 +" URL: http://sunsite.cs.msu.su/~tim/vim/sand.vim +" +" Thanx to Hans Fugal for his colorscheme_template.vim + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="sand" + +highlight Normal guibg=cornsilk guifg=NONE +highlight PreProc guibg=NONE guifg=Maroon4 +highlight Comment guibg=NONE guifg=SteelBlue4 +highlight Constant guibg=NONE guifg=NavajoWhite4 +highlight Special guibg=NONE guifg=SlateBlue4 +highlight Identifier guibg=NONE guifg=SeaGreen +highlight Statement guibg=NONE guifg=bisque4 +highlight Type guibg=NONE guifg=DarkOliveGreen +highlight Todo guibg=LightYellow3 guifg=Blue4 +highlight NonText guibg=NONE guifg=DarkGreen +highlight LineNr guibg=NONE guifg=Brown +highlight StatusLineNC guifg=#8090a0 +highlight StatusLine guifg=#005070 + +"vim: tw=0 sw=3 ts=3 sts=3 et diff --git a/.vim/colors/satori.vim b/.vim/colors/satori.vim new file mode 100644 index 0000000..e910344 --- /dev/null +++ b/.vim/colors/satori.vim @@ -0,0 +1,54 @@ +" Vim color file +" Maintainer: Rudá Moura +" Last Change: Mon Oct 18 23:09:26 BRST 2010 + +highlight clear Normal +set background& + +highlight clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "satori" + +" Vim colors +highlight Normal ctermfg=NONE cterm=NONE +highlight Comment ctermfg=Cyan cterm=NONE +highlight Constant ctermfg=Red cterm=NONE +highlight Number ctermfg=Red cterm=NONE +highlight Identifier ctermfg=NONE cterm=NONE +highlight Statement ctermfg=NONE cterm=Bold +highlight PreProc ctermfg=Blue cterm=NONE +highlight Type ctermfg=Magenta cterm=NONE +highlight Special ctermfg=Magenta cterm=NONE +highlight Search ctermbg=Green cterm=NONE +highlight MatchParen ctermbg=NONE cterm=Inverse +highlight Error ctermbg=Red cterm=NONE +highlight Todo ctermbg=Cyan cterm=NONE + +" Vim monochrome +highlight Normal term=NONE +highlight Comment term=NONE +highlight Constant term=Underline +highlight Number term=Underline +highlight Identifier term=NONE +highlight Statement term=Bold +highlight PreProc term=NONE +highlight Type term=Bold +highlight Special term=NONE + +" GVim colors +highlight Normal guifg=NONE gui=NONE +highlight Comment guifg=DarkCyan gui=NONE +highlight Constant guifg=Red gui=NONE +highlight Number guifg=Red gui=Bold +highlight Identifier guifg=NONE gui=NONE +highlight Statement guifg=NONE gui=Bold +highlight PreProc guifg=Blue gui=NONE +highlight Type guifg=Magenta gui=NONE +highlight Special guifg=Red gui=Bold +highlight Search guifg=Green gui=NONE +highlight Error guifg=Red gui=NONE +highlight Todo guifg=Cyan gui=NONE diff --git a/.vim/colors/scala.vim b/.vim/colors/scala.vim new file mode 100644 index 0000000..7f7d9e2 --- /dev/null +++ b/.vim/colors/scala.vim @@ -0,0 +1,87 @@ +" Vim syntax file +" Language: Scala +" Version: 0.1 +" Maintainer: Raphael Haberer-Proust +" URL: http://diwww.epfl.ch/~haberer/syntax/scala.html +" Last Change: 2004 April 18 +" Disclaimer: It's an absolut basic, very simple and by far not finished +" syntax file! It only recognizes basic keywords and constructs like comments +" any help is welcome + +" Remove any old syntax stuff +syn clear + +" syntax highlighting for words that are not identifiers: +" int unit double String Array byte short char long float +syn keyword scalaExternal import package +syn keyword scalaConditional if then else +syn keyword scalaRepeat while for do +syn keyword scalaType boolean int double byte short char long float +syn keyword scalaType unit +syn keyword scalaType val with type var yield + +syn keyword scalaStatement return +syn keyword scalaBoolean true false +syn keyword scalaConstant null +syn keyword scalaTypedef this super +syn keyword scalaLangClass String Array +syn keyword scalaScopeDecl private protected override +syn keyword scalaStorageClass abstract final sealed +syn keyword scalaExceptions throw try catch finally +syn keyword scalaClassDecl extends +" TODO differentiate the keyword class from MyClass.class -> use a match here +syn keyword scalaTypedef class +syn keyword scalaTypedef case +syn keyword scalaTypedef trait + +syn match scalaTypedef "\s*\" + +syn keyword scalaOperator new + +" same number definition as in java.vim +syn match scalaNumber "\<\(0[0-7]*\|0[xX]\x\+\|\d\+\)[lL]\=\>" +syn match scalaNumber "\(\<\d\+\.\d*\|\.\d\+\)\([eE][-+]\=\d\+\)\=[fFdD]\=" +syn match scalaNumber "\<\d\+[eE][-+]\=\d\+[fFdD]\=\>" +syn match scalaNumber "\<\d\+\([eE][-+]\=\d\+\)\=[fFdD]\>" + +syn region scalaString start=+"+ end=+"+ + +" Functions +" def [name] [(prototype)] { +" +syn match scalaFunction "\s*\" + +" Comments +syn region scalaComment start="/\*" end="\*/" +syn match scalaLineComment "//.*" + + +if !exists("did_scala_syntax_inits") + let did_scala_syntax_inits = 1 + + " The default methods for highlighting. Can be overridden later + hi link scalaExternal Include + hi link scalaStatement Statement + hi link scalaConditional Conditional + hi link scalaRepeat Repeat + hi link scalaType Type + hi link scalaTypedef Typedef + hi link scalaBoolean Boolean + hi link scalaFunction Function + hi link scalaLangClass Constant + hi link scalaConstant Constant + hi link scalaScopeDecl scalaStorageClass + hi link scalaClassDecl scalaStorageClass + hi link scalaStorageClass StorageClass + hi link scalaExceptions Exception + hi link scalaOperator Operator + hi link scalaNumber Number + hi link scalaString String + hi link scalaComment Comment + hi link scalaLineComment Comment +endif + +let b:current_syntax = "scala" + +" if you want to override default methods for highlighting +"hi Conditional term=bold ctermfg=Cyan guifg=#80a0ff diff --git a/.vim/colors/scite.vim b/.vim/colors/scite.vim new file mode 100644 index 0000000..609ad98 --- /dev/null +++ b/.vim/colors/scite.vim @@ -0,0 +1,48 @@ +" Vim color file +" Maintainer: Gergely Kontra +" Last Change: 2002. 04. 09. + +" I'm a bit red-blind, so if you have suggestions, don't hesitate :) +" ^^^^^^^^^ Sorry, I cannot speak English well, just want to say, +" that in some rare cases I cannot distinguish between some colors +" (I've just realized it, when I see some special tests) + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +"colorscheme default +let g:colors_name = "scite" + +" hardcoded colors : + +" GUI +"highlight Normal guifg=#7F6F5F guibg=#eeeeee +highlight Normal guifg=#7F6F5F guibg=#ffffff +highlight Search guibg=#bbbbbb gui=bold +highlight Visual guifg=#DADADA +highlight Folded guifg=#ffffff guibg=#666666 +highlight Cursor guifg=#666666 guibg=#000000 gui=bold +highlight Special guifg=#7F007F guibg=#eeeeff gui=bold +highlight Comment guifg=#007F00 guibg=#eeeeee +highlight StatusLine guifg=#000000 guibg=#aacccc +highlight StatusLineNC guifg=#557777 guibg=#ffffff +highlight Statement guifg=#007F7F gui=bold +highlight Type guifg=#0000ff gui=NONE +highlight Function guifg=#007F7F gui=bold +highlight LineNr guifg=#000000 guibg=#bbbbbb +highlight FoldColumn guifg=#000000 guibg=#dddddd +highlight Define guifg=#00007F guibg=#ddddff gui=bold +highlight Number guifg=#000000 guibg=#eeffff gui=bold +highlight Subtitle guifg=#000000 guibg=#66bbbb gui=bold,underline +highlight String guifg=#7F007F guibg=#ffdddd +highlight Delimiter guifg=#000000 guibg=#dde0dd gui=bold +highlight PreProc guifg=#0000ff guibg=#ffffff gui=bold +highlight Constant guifg=#000000 guibg=#aaaaaa gui=underline,bold + +"{{{ + +"}}} + + diff --git a/.vim/colors/sea.vim b/.vim/colors/sea.vim new file mode 100644 index 0000000..0c79c47 --- /dev/null +++ b/.vim/colors/sea.vim @@ -0,0 +1,69 @@ +" Vim color file +" Maintainer: Tiza +" Last Change: 2002/10/30 Wed 00:01. +" version: 1.0 +" This color scheme uses a dark background. + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "sea" + +hi Normal guifg=#f0f0f8 guibg=#343478 + +" Search +hi IncSearch gui=UNDERLINE,BOLD guifg=#ffffff guibg=#c030ff +hi Search gui=BOLD guifg=#f0e0ff guibg=#b020ff + +" Messages +hi ErrorMsg gui=BOLD guifg=#ffffff guibg=#f000a0 +hi WarningMsg gui=BOLD guifg=#ffffff guibg=#f000a0 +hi ModeMsg gui=BOLD guifg=#00e0ff guibg=NONE +hi MoreMsg gui=BOLD guifg=#00ffff guibg=#6060ff +hi Question gui=BOLD guifg=#00f0d0 guibg=NONE + +" Split area +hi StatusLine gui=NONE guifg=#000000 guibg=#d0d0e0 +hi StatusLineNC gui=NONE guifg=#606080 guibg=#d0d0e0 +hi VertSplit gui=NONE guifg=#606080 guibg=#d0d0e0 +hi WildMenu gui=NONE guifg=#000000 guibg=#ff90ff + +" Diff +hi DiffText gui=UNDERLINE guifg=#ffff00 guibg=#000000 +hi DiffChange gui=NONE guifg=#ffffff guibg=#000000 +hi DiffDelete gui=NONE guifg=#60ff60 guibg=#000000 +hi DiffAdd gui=NONE guifg=#60ff60 guibg=#000000 + +" Cursor +hi Cursor gui=NONE guifg=#ffffff guibg=#d86020 +hi lCursor gui=NONE guifg=#ffffff guibg=#e000b0 +hi CursorIM gui=NONE guifg=#ffffff guibg=#e000b0 + +" Fold +hi Folded gui=NONE guifg=#ffffff guibg=#0080a0 +hi FoldColumn gui=NONE guifg=#9090ff guibg=#3c3c88 + +" Other +hi Directory gui=NONE guifg=#00ffff guibg=NONE +hi LineNr gui=NONE guifg=#7070e8 guibg=NONE +hi NonText gui=BOLD guifg=#8080ff guibg=#2c2c78 +hi SpecialKey gui=BOLD guifg=#60c0ff guibg=NONE +hi Title gui=BOLD guifg=#f0f0f8 guibg=NONE +hi Visual gui=NONE guifg=#ffffff guibg=#6060ff +" hi VisualNOS gui=NONE guifg=#ffffff guibg=#6060ff + +" Syntax group +hi Comment gui=NONE guifg=#b0b0c8 guibg=NONE +hi Constant gui=NONE guifg=#60ffff guibg=NONE +hi Error gui=BOLD guifg=#ffffff guibg=#f000a0 +hi Identifier gui=NONE guifg=#c0c0ff guibg=NONE +hi Ignore gui=NONE guifg=#303080 guibg=NONE +hi PreProc gui=NONE guifg=#ffb0ff guibg=NONE +hi Special gui=NONE guifg=#ffd858 guibg=NONE +hi Statement gui=NONE guifg=#f0f060 guibg=NONE +hi Todo gui=BOLD,UNDERLINE guifg=#ff70e0 guibg=NONE +hi Type gui=NONE guifg=#40ff80 guibg=NONE +hi Underlined gui=UNDERLINE,BOLD guifg=#f0f0f8 guibg=NONE diff --git a/.vim/colors/sean.vim b/.vim/colors/sean.vim new file mode 100644 index 0000000..1aa2b1e --- /dev/null +++ b/.vim/colors/sean.vim @@ -0,0 +1,83 @@ +" local syntax file - set colors on a per-machine basis: +" vim: tw=0 ts=4 sw=4 +" Vim color file +" Maintainer:Sean Richards +" Last Change:Fri Aug 30 8:50 2002 NZST + +hi clear +set background=dark +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "sean" +hi Normal guifg=white guibg=black +hi SpecialKey guifg=Blue +hi NonText gui=bold guifg=Blue +hi Directory guifg=Blue +hi ErrorMsg guifg=White guibg=Red +hi Search guifg=white guibg=Red +hi MoreMsg gui=bold guifg=SeaGreen +hi ModeMsg gui=bold guifg=White guibg=Blue +hi LineNr ctermfg=Darkyellow guifg=Yellow +hi Question gui=bold guifg=Green +hi StatusLineNC cterm=none ctermfg=grey ctermbg=darkblue gui=NONE guifg=white guibg=darkblue +hi StatusLine cterm=none ctermfg=white ctermbg=darkblue gui=bold guifg=white guibg=darkblue +hi VertSplit gui=bold guifg=White guibg=darkblue +hi Title gui=bold guifg=Magenta +hi Visual cterm=none ctermfg=white ctermbg=darkgreen gui=NONE guifg=white guibg=darkgreen +hi WarningMsg guifg=Red +hi FoldColumn ctermfg=Black ctermbg=Grey guibg=DarkGrey guifg=Black +hi Folded ctermfg=Black ctermbg=Grey guifg=Black +hi Cursor guifg=bg guibg=Green +hi Comment cterm=none ctermfg=darkgreen gui=italic guifg=green +hi Constant ctermfg=darkcyan guifg=darkcyan +hi Special ctermfg=darkyellow guifg=Orange +hi Identifier ctermfg=cyan guifg=cyan +hi Statement ctermfg=darkyellow gui=bold guifg=darkyellow +hi Number ctermfg=Cyan guifg=Cyan +hi PreProc ctermfg=darkmagenta guifg=darkmagenta +hi String ctermfg=darkred guifg=Red +hi Type ctermfg=darkblue guifg=blue +hi Error ctermfg=red guifg=Red guibg=Black +hi Todo ctermfg=blue ctermbg=yellow guifg=Blue guibg=Yellow +hi link IncSearch Visual +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 Conditional Statement +hi link Repeat Statement +hi link Label Statement +hi link Operator Statement +hi link Keyword Statement +hi link Exception 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 + + +"Toggle semicolon matching at the end of lines, author unknown! +nmap sc :call ToggleSemicolonHighlighting() +"{{{ +function! ToggleSemicolonHighlighting() + if exists("b:semicolon") + unlet b:semicolon + hi semicolon guifg=NONE gui=NONE ctermfg=NONE + else + syn match semicolon #;$# + hi semicolon guifg=red gui=bold ctermfg=1 + let b:semicolon = 1 + endif +endfunction +"}}} diff --git a/.vim/colors/seashell.vim b/.vim/colors/seashell.vim new file mode 100644 index 0000000..8e63afe --- /dev/null +++ b/.vim/colors/seashell.vim @@ -0,0 +1,55 @@ +" Vim color file +" Maintainer: Gerald S. Williams +" Last Change: 2007 Jun 13 + +" This is very reminiscent of a seashell. Good contrast, yet not too hard on +" the eyes. BlackSea, it's opposite, has now been folded into this scheme. + +let s:seashell_style = &background +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "seashell" + +if s:seashell_style == 'dark' + hi Normal guibg=Black guifg=seashell ctermfg=White + hi NonText guifg=LavenderBlush ctermfg=LightMagenta + hi DiffDelete guibg=DarkRed guifg=Black ctermbg=DarkRed ctermfg=White + hi DiffAdd guibg=DarkGreen ctermbg=DarkGreen ctermfg=White + hi DiffChange guibg=Gray30 ctermbg=DarkCyan ctermfg=White + hi DiffText gui=NONE guibg=DarkCyan ctermbg=DarkCyan ctermfg=Yellow + hi Comment guifg=LightBlue + hi PreProc ctermfg=Magenta + hi StatusLine guibg=#1f001f guifg=DarkSeaGreen cterm=NONE ctermfg=White ctermbg=DarkGreen + hi StatusLineNC guifg=Gray + hi VertSplit guifg=Gray + hi Type gui=NONE + hi Identifier guifg=Cyan + hi Statement guifg=brown3 ctermfg=DarkRed + hi Search guibg=Gold3 ctermfg=White + hi Folded guibg=gray20 + hi FoldColumn guibg=gray10 + + " Original values: + "hi Constant guifg=DeepPink + "hi PreProc guifg=Magenta ctermfg=Magenta +else + hi Normal guibg=seashell ctermbg=Gray ctermfg=Black + hi NonText guibg=LavenderBlush guifg=Gray30 + hi LineNr guibg=LavenderBlush guifg=Gray30 + hi DiffDelete guibg=LightRed guifg=Black ctermbg=DarkRed ctermfg=White + hi DiffAdd guibg=LightGreen ctermbg=DarkGreen ctermfg=White + hi DiffChange guibg=Gray90 ctermbg=DarkCyan ctermfg=White + hi DiffText gui=NONE guibg=LightCyan2 ctermbg=DarkCyan ctermfg=Yellow + hi Comment guifg=MediumBlue + hi Constant guifg=DeepPink + hi PreProc guifg=DarkMagenta + hi StatusLine guibg=White guifg=DarkSeaGreen cterm=None ctermfg=White ctermbg=DarkGreen + hi StatusLineNC gui=None guibg=Gray + hi VertSplit gui=None guibg=Gray + hi Identifier guifg=#006f6f + hi Statement ctermfg=DarkRed + hi MatchParen guibg=turquoise +endif diff --git a/.vim/colors/selenitic.vim b/.vim/colors/selenitic.vim new file mode 100644 index 0000000..c3654b2 --- /dev/null +++ b/.vim/colors/selenitic.vim @@ -0,0 +1,38 @@ +" Port of http://studiostyles.info/schemes/selenitic +" to vim +" Last Change: 2010 sep 28 +" Version: 1.0 +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name='selenitic' + +hi Comment guifg=#7A987A +hi Normal guifg=#DFDFBF guibg=#333333 +hi CursorLine guibg=#434343 +hi CursorColumn guibg=#434343 +hi Visual guibg=#486A65 +hi VisualNOS guibg=#486A65 +hi Number guifg=#6E96BE +hi String guifg=#DFAF8F +hi Structure guifg=#8ACCCF +hi Type guifg=#8ACCCF +hi FoldColumn guibg=#F0F0F0 guibg=#333333 +hi LineNr guifg=#7A987A guibg=#333333 +hi PreProc guifg=#EFC986 +hi Keyword guifg=#EFC986 +hi Conditional guifg=#EFC986 +hi Statement guifg=#EFC986 +hi htmlArg guifg=#DFDFBF +hi htmlTagName guifg=#EFC986 +hi xmlCdata guifg=#808080 +hi xmlTagName guifg=#EFC986 +hi ErrorMsg guifg=#EFC986 +hi WarningMsg guifg=#7A987A +hi Folded guifg=#808080 +hi Search guibg=#505050 +hi PMenu guifg=#CCCCFF guibg=#232323 +hi PMenuSel guibg=#303030 + diff --git a/.vim/colors/seoul.vim b/.vim/colors/seoul.vim new file mode 100644 index 0000000..aa90b22 --- /dev/null +++ b/.vim/colors/seoul.vim @@ -0,0 +1,63 @@ +" Vim color scheme +" +" Name: seoul.vim +" Maintainer: Eivind Uggedal [http://redflavor.com] +" Last Change: 2008-04-16 +" Version: 1.1 +" +" A 88 color vim scheme intended for rxvt-unicode terminals. Will also work +" under xterm's 256 color mode. It uses special higlight groups for Ruby, +" but should function with other syntaxes as well. The name is inspired from +" the '88 summer olympics in Seoul, South Korea. The scheme is somewhat +" inspired by Justin Palmer's Vibrant Ink. The latest version should be +" available at: http://redflavor.com/seoul.vim + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "seoul" + +if has("gui_running") || &t_Co == 88 || &t_Co == 256 + set t_Co=88 + + hi Normal ctermfg=15 ctermbg=0 + hi Cursor ctermfg=0 ctermbg=11 + hi CursorLine ctermfg=15 ctermbg=80 cterm=NONE + + hi Keyword ctermfg=68 + hi Define ctermfg=68 "module,class,def,end + hi Statement ctermfg=68 "begin,do-end,if,private + hi Include ctermfg=68 "include + + hi Constant ctermfg=15 "self,1,true + hi Identifier ctermfg=27 "@@var,@var,|var| + + hi Type ctermfg=76 "Mod::Deffed, Classdeffed + hi Function ctermfg=76 "methoddeffed + + hi String ctermfg=28 ctermbg=0 + hi Special ctermfg=28 ctermbg=0 + + hi Comment ctermfg=84 + hi PreProc ctermfg=15 "#!/bin/sh + + hi rubyStringDelimiter ctermfg=27 + hi rubySymbol ctermfg=27 + hi rubyInterpolation ctermfg=78 + + hi rubyConstant ctermfg=51 "SomeClass,SomeModule + hi rubyPseudoVariable ctermfg=27 "self,true + + hi Search ctermfg=0 ctermbg=72 + hi IncSearch ctermfg=0 ctermbg=72 + + hi TabLine ctermfg=15 ctermbg=0 + hi TabLineFill ctermfg=15 ctermbg=0 cterm=underline + hi TabLineSel ctermfg=0 ctermbg=86 + + hi Error ctermfg=7 ctermbg=1 + hi ErrorMsg ctermfg=7 ctermbg=1 +endif diff --git a/.vim/colors/settlemyer.vim b/.vim/colors/settlemyer.vim new file mode 100644 index 0000000..91495ff --- /dev/null +++ b/.vim/colors/settlemyer.vim @@ -0,0 +1,53 @@ +" Vim color file +" Maintainer: Max Lynch +" URL: http://muffinpeddler.com +" Version: 0.1 +" +" :he group-name +" :he highlight-groups +" :he cterm-colors + +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="settlemyer" + +hi Normal guibg=gray25 guifg=gray85 +hi Cursor guibg=red3 guifg=bg + +" Syntax Highlighting +hi Comment guifg=LightPink +hi Constant guifg=SpringGreen +" hi Identifier gui=bold guifg=SkyBlue +" hi Function guifg=Wheat3 +" hi Type guifg=orange1 +hi Keyword guifg=SkyBlue +hi PreProc guifg=SkyBlue +hi Statement guifg=SkyBlue +hi Type gui=bold guifg=SkyBlue +hi NonText guifg=DarkGray +hi Tags guifg=orange1 + +hi link Character Constant +hi link Number Constant +hi link Float Constant +hi link Function Statement +hi link Conditional Statement +hi link Repeat Statement +hi link Label Statement +hi link Operator Statement +hi link Keyword 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 Tags diff --git a/.vim/colors/sf.vim b/.vim/colors/sf.vim new file mode 100644 index 0000000..5b3033f --- /dev/null +++ b/.vim/colors/sf.vim @@ -0,0 +1,76 @@ +" GUI-only vim color file, based on colors from vim.sf.net +" Author: Christian MICHON +" Email: christian_michon@yahoo.fr +" Version: 1.1 +" Last Change: 28 Jul 2004 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "sf" + +hi Boolean guifg=#007f00 guibg=#f0f0dd gui=none +hi Character guifg=#007f00 guibg=#f0f0dd gui=none +hi Comment guifg=#b0b0b0 guibg=#f0f0dd gui=underline +hi Conditional guifg=#0000ee guibg=#f0f0dd gui=bold +hi Constant guifg=#007f00 guibg=#f0f0dd gui=none +hi Cursor guifg=#f0f0dd guibg=#cc0000 gui=none +hi Debug guifg=#0000ee guibg=#f0f0dd gui=none +hi Define guifg=#cc0000 guibg=#f0f0dd gui=none +hi Delimiter guifg=#0000ee guibg=#f0f0dd gui=none +hi DiffAdd guifg=#551a8b guibg=#007f00 gui=bold +hi DiffChange guifg=#f0f0dd guibg=#007f00 gui=none +hi DiffDelete guifg=#551a8b guibg=#007f00 gui=none +hi DiffText guifg=#f0f0dd guibg=#551a8b gui=bold +hi Directory guifg=#cc0000 guibg=#f0f0dd gui=underline +hi Error guifg=#ffffff guibg=#cc0000 gui=bold +hi ErrorMsg guifg=#ffffff guibg=#cc0000 gui=bold +hi Exception guifg=#0000ee guibg=#f0f0dd gui=bold +hi Float guifg=#007f00 guibg=#f0f0dd gui=none +hi FoldColumn guifg=#f0f0dd guibg=#007f00 gui=bold +hi Folded guifg=#f0f0dd guibg=#007f00 gui=bold +hi Function guifg=#cc0000 guibg=#f0f0dd gui=none +hi Identifier guifg=#cc0000 guibg=#f0f0dd gui=none +hi Ignore guifg=#f0f0dd guibg=#f0f0dd gui=none +hi Include guifg=#cc0000 guibg=#f0f0dd gui=none +hi IncSearch guifg=#ffffff guibg=#38d878 gui=bold +hi Keyword guifg=#0000ee guibg=#f0f0dd gui=bold +hi Label guifg=#0000ee guibg=#f0f0dd gui=bold +hi lCursor guifg=#000066 guibg=#f0f0dd gui=none +hi LineNr guifg=#b0b0b0 guibg=#007f00 gui=bold +hi Macro guifg=#cc0000 guibg=#f0f0dd gui=none +hi ModeMsg guifg=#000066 guibg=#f0f0dd gui=bold +hi MoreMsg guifg=#551a8b guibg=#f0f0dd gui=bold +hi NonText guifg=#b0b0b0 guibg=#f0f0dd gui=bold +hi Normal guifg=#000066 guibg=#f0f0dd gui=none +hi Number guifg=#007f00 guibg=#f0f0dd gui=none +hi Operator guifg=#0000ee guibg=#f0f0dd gui=bold +hi PreCondit guifg=#cc0000 guibg=#f0f0dd gui=none +hi PreProc guifg=#cc0000 guibg=#f0f0dd gui=none +hi Question guifg=#551a8b guibg=#f0f0dd gui=bold +hi Repeat guifg=#0000ee guibg=#f0f0dd gui=bold +hi Search guifg=#ffffff guibg=#38d878 gui=bold +hi Special guifg=#999973 guibg=#f0f0dd gui=none +hi SpecialChar guifg=#0000ee guibg=#f0f0dd gui=none +hi SpecialComment guifg=#0000ee guibg=#f0f0dd gui=none +hi SpecialKey guifg=#cc0000 guibg=#f0f0dd gui=none +hi Statement guifg=#0000ee guibg=#f0f0dd gui=bold +hi StatusLine guifg=#f0f0dd guibg=#cc0000 gui=bold +hi StatusLineNC guifg=#f0f0dd guibg=#000066 gui=bold +hi StorageClass guifg=#551a8b guibg=#f0f0dd gui=bold +hi String guifg=#007f00 guibg=#f0f0dd gui=none +hi Structure guifg=#551a8b guibg=#f0f0dd gui=bold +hi Tag guifg=#0000ee guibg=#f0f0dd gui=none +hi Title guifg=#007f00 guibg=#f0f0dd gui=bold +hi Todo guifg=#f0f0dd guibg=#0000ee gui=none +hi Type guifg=#551a8b guibg=#f0f0dd gui=bold +hi Typedef guifg=#551a8b guibg=#f0f0dd gui=bold +hi Underlined guifg=#0000ee guibg=#f0f0dd gui=underline +hi VertSplit guifg=#f0f0dd guibg=#000066 gui=bold +hi Visual guifg=#ffffff guibg=#00009c gui=none +hi VisualNOS guifg=#ffffff guibg=#b0b0b0 gui=none +hi WarningMsg guifg=#ffffff guibg=#cc0000 gui=bold +hi WildMenu guifg=#f0f0dd guibg=#0000ee gui=none diff --git a/.vim/colors/shadesofamber.vim b/.vim/colors/shadesofamber.vim new file mode 100644 index 0000000..bbf978e --- /dev/null +++ b/.vim/colors/shadesofamber.vim @@ -0,0 +1,114 @@ +" Vim color file +" Maintainer: Tim Brown +" Last Change: 2010-09-22 +" Version: 1.1 +" URI: +" +" Changes: +" 1.1 six digit colours (e.g. #ff0000 -> #ff0000) +" 1.0 initial release + + +""" Init +set background=dark +highlight clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "shadesofamber" + + +"------- COLORS -------- +"-- GUI Colors +highlight BadStyle gui=undercurl guifg=#ff0000 guibg=#330000 + +highlight Cursor gui=None guifg=black guibg=#ffee00 +highlight CursorIM gui=italic guifg=black guibg=#ffee00 +highlight Directory guifg=green guibg=bg +highlight DiffAdd gui=None guifg=green guibg=#002200 + +highlight DiffChange gui=none guifg=#ffff00 guibg=#442200 +highlight DiffDelete gui=None guifg=#440000 guibg=#220000 +highlight DiffText gui=undercurl guifg=#ffff00 guibg=#663300 +highlight ErrorMsg gui=None guifg=#ffff00 guibg=#ff4400 +highlight VertSplit gui=None guifg=#112200 guibg=#ffcc00 +highlight Folded gui=Bold guibg=#334400 guifg=#cc9900 +highlight FoldColumn gui=None guibg=#112200 guifg=#ffcc00 +highlight IncSearch gui=undercurl guibg=#330066 guifg=fg +highlight LineNr gui=None guibg=#334400 guifg=#cc9900 +highlight ModeMsg gui=none guibg=#004400 guifg=#00ff00 +highlight MoreMsg gui=italic guifg=SeaGreen4 guibg=bg +highlight NonText guibg=#112200 guifg=#ffcc00 +highlight Normal gui=None guibg=#000000 guifg=#ffee00 +highlight Question gui=italic guifg=SeaGreen2 guibg=bg +highlight Search gui=bold guibg=#440088 guifg=fg +highlight SpecialKey gui=bold guibg=#004400 guifg=#ffff00 +highlight StatusLine gui=bold guibg=#ffcc00 guifg=#000088 +highlight StatusLineNC gui=none guibg=#ffcc00 guifg=#333300 +highlight Title gui=bold,italic guifg=black guibg=#ffff00 +highlight Visual gui=reverse guibg=#ffff00 guifg=#008800 +highlight VisualNOS gui=italic,underline guifg=fg guibg=bg +highlight WarningMsg gui=bold guifg=#ff0000 guibg=bg +highlight WildMenu gui=bold guibg=#008888 guifg=#ffff00 +highlight ColorColumn gui=bold,italic guibg=#444400 guifg=#ff0000 + +"-- Syntax Colors +"highlight Comment gui=reverse guifg=#507080 +highlight Comment gui=None guifg=#ffaa00 guibg=#221100 + +highlight Constant gui=bold guifg=white guibg=bg +highlight String gui=none guifg=#ccff00 guibg=bg +"highlight Character gui=None guifg=Cyan guibg=bg +highlight Number gui=None guifg=#ccff00 guibg=bg +highlight Boolean gui=none guifg=#ff8800 guibg=bg +"highlight Float gui=None guifg=Cyan guibg=bg + +highlight Identifier guifg=#ddcc00 +highlight Function gui=None guifg=#ffff88 guibg=bg + +highlight Statement gui=bold guifg=#ff8800 +highlight Conditional gui=Bold guifg=#ff8800 guibg=bg +highlight Repeat gui=Bold guifg=#ff8800 guibg=bg +highlight Label gui=Bold guifg=#ff8800 guibg=bg +highlight Operator gui=Bold guifg=#ff8800 guibg=bg +highlight Keyword gui=Bold guifg=#ff8800 guibg=bg +highlight Exception gui=Bold guifg=#ff8800 guibg=bg + +highlight PreProc guifg=#ffff88 +"highlight Include gui=None guifg=MediumLightSkyBlue1 guibg=bg +"highlight Define gui=None guifg=MediumLightSkyBlue1g guibg=bg +"highlight Macro gui=None guifg=MediumLightSkyBlue1g guibg=bg +"highlight PreCondit gui=None guifg=MediumSlateBlue guibg=bg + +highlight Type gui=bold guifg=#ff8800 +"highlight StorageClass gui=None guifg=LightBlue guibg=bg +"highlight Structure gui=None guifg=LightBlue guibg=bg +"highlight Typedef gui=None guifg=LightBlue guibg=bg + +highlight Special gui=none guifg=#ff8800 +"highlight SpecialChar gui=italic guifg=White guibg=bg +"highlight Tag gui=italic guifg=White guibg=bg +"highlight Delimiter gui=italic guifg=White guibg=bg +"highlight SpecialComment gui=italic guifg=White guibg=bg +"highlight Debug gui=italic guifg=White guibg=bg + +highlight Underlined gui=underline guifg=fg guibg=bg + +highlight Ignore guifg=#aaaa00 + +highlight Error gui=italic guifg=#ffff00 guibg=#ff0000 +highlight Todo gui=bold guifg=yellow guibg=#aa7700 + +"-- OLD COLORS +"highlight prologAtom guifg=#dddd00 gui=italic +highlight prologVariable gui=bold,italic guifg=#00ff00 +highlight prologFreeVariable gui=italic guifg=#00ff00 +highlight xpceVariable gui=bold guifg=#ffff00 guibg=#666666 +highlight xpceKeyword gui=bold guifg=#ff8800 guibg=#666666 + +highlight MatchParen gui=bold guibg=#448800 guifg=#ccff00 + +highlight Pmenu gui=bold guifg=#ffcc00 guibg=#004400 +highlight PmenuSel gui=bold guibg=#ffcc00 guifg=#004400 +highlight PmenuSbar gui=bold guibg=#884400 guifg=#004400 +highlight PmenuThumb gui=bold guibg=#ffff00 guifg=#004400 diff --git a/.vim/colors/shobogenzo.vim b/.vim/colors/shobogenzo.vim new file mode 100644 index 0000000..dfd0abc --- /dev/null +++ b/.vim/colors/shobogenzo.vim @@ -0,0 +1,98 @@ +" Vim color file +" Name: shobogenzo.vim +" Maintainer: Jeroen Ruigrok van der Werven +" Last Change: $Id: shobogenzo.vim 99 2008-04-09 09:01:30Z asmodai $ +" +" This should work in xterm (256 colour mode). It will not (yet) work in 8/16 +" colour terminals. +" +" Inspired by "desert256" this colorscheme has colours that should be easy on +" the eyes for long periods of coding. +" +" Simply copy this file to your $HOME/.vim/colors and within vim do: +" :set colorscheme shobogenzo +" When using Gnome terminal you will need to make sure your profile's colors +" are set to xterm. +" +" The Shōbōgenzō is Dōgen Zenji's collection of Zen Buddhist fascicles, +" written between 1231 and 1253. + +set background=dark +if version > 580 + hi clear + if exists("syntax_on") + syntax reset + endif +endif + +let colors_name = "shobogenzo" +let g:colors_name = "shobogenzo" + +hi Normal term=none ctermfg=229 ctermbg=0 gui=none guifg=#ffffaf guibg=#000000 +hi IncSearch term=reverse cterm=bold ctermfg=232 ctermbg=215 gui=reverse guifg=#ffaf5f guibg=#080808 +hi Search term=none ctermfg=232 ctermbg=215 gui=none guifg=#080808 guibg=#ffaf5f +hi ErrorMsg term=none ctermfg=15 ctermbg=196 gui=none guifg=#ffffff guibg=#ff0000 +hi WarningMsg term=none cterm=bold ctermfg=15 ctermbg=202 gui=none guifg=#ffffff guibg=#ff5f00 +hi ModeMsg term=bold ctermfg=95 gui=bold guifg=#875f5f +hi MoreMsg term=reverse cterm=none ctermfg=229 ctermbg=95 gui=none guifg=#ffffaf guibg=#875f5f +hi Question term=none cterm=bold ctermfg=214 guifg=#ffaf00 +hi StatusLine term=bold,reverse cterm=none ctermfg=229 ctermbg=95 gui=none guifg=#ffffaf guibg=#875f5f +hi StatusLineNC term=reverse cterm=none ctermfg=229 ctermbg=95 gui=none guifg=#875f5f guibg=#ffffaf +hi VertSplit term=reverse cterm=none ctermfg=16 ctermbg=229 guifg=#ffffaf guibg=#000000 +hi WildMenu term=none cterm=none ctermfg=214 ctermbg=232 guifg=#ffaf00 guibg=#080808 + +hi DiffAdd term=bold ctermfg=229 ctermbg=34 guifg=#ffffaf guibg=#00af00 +hi DiffChange term=bold ctermfg=229 ctermbg=32 guifg=#ffffaf guibg=#0087d7 +hi DiffDelete term=bold ctermfg=229 ctermbg=124 guifg=#ffffaf guibg=#af0000 +hi DiffText term=reverse ctermfg=229 ctermbg=34 guifg=#ffffaf guibg=#00af00 + +hi SignColumn term=standout ctermfg=60 ctermbg=7 guifg=#5f5f87 guibg=#bbbbbb + +if version >= 700 + hi CursorColumn term=reverse ctermbg=242 guibg=#6c6c6c + hi CursorLine term=underline cterm=underline guibg=#6c6c6c + hi MatchParen term=reverse ctermbg=32 guibg=#0087d7 + hi Pmenu ctermbg=95 guibg=#875f5f + hi PmenuSel ctermfg=15 ctermbg=60 guifg=#ffffff guibg=#5f5f87 + hi PmenuThumb cterm=reverse + hi PmenuSbar ctermbg=248 + hi SpellBad term=reverse ctermbg=196 gui=undercurl guisp=#ff0000 + hi SpellCap term=reverse ctermfg=0 ctermbg=95 gui=undercurl guisp=#875f5f + hi SpellRare term=reverse ctermbg=202 gui=undercurl guisp=#ff5f00 + hi SpellLocal term=underline ctermbg=34 gui=undercurl guisp=#00af00 + hi TabLine term=underline cterm=underline ctermfg=15 ctermbg=242 + hi TabLineSel term=bold cterm=bold + hi TabLineFill term=reverse cterm=reverse +endif + +hi Cursor term=none ctermfg=237 ctermbg=202 guifg=#ffffff guibg=#ff5f00 +hi lCursor term=none ctermfg=237 ctermbg=202 guifg=#ffffff guibg=#ff5f00 +hi CursorIM term=none ctermfg=237 ctermbg=202 guifg=#ffffff guibg=#ff5f00 + +hi Folded term=none ctermfg=230 ctermbg=60 guifg=#ffffd7 guibg=#5f5f87 +hi FoldColumn term=none ctermfg=7 ctermbg=60 guifg=#bbbbbb guibg=#5f5f87 + +hi Directory term=none ctermfg=47 ctermbg=none guifg=#00ff5f +hi LineNr term=none ctermfg=0 ctermbg=146 guifg=#000000 guibg=#afafd7 +hi NonText term=none cterm=none ctermfg=230 ctermbg=60 gui=none guifg=#ffffd7 guibg=#5f5f87 +hi SpecialKey term=bold ctermfg=32 ctermbg=none guifg=#0087d7 +hi Title term=bold cterm=bold ctermfg=130 ctermbg=232 guifg=#af5f00 guibg=#080808 +hi Visual term=none cterm=reverse ctermfg=80 ctermbg=59 gui=reverse guifg=#5f5f5f guibg=#5fd7d7 + +hi Comment term=bold ctermfg=195 guifg=#d7ffff +hi Constant cterm=none ctermfg=73 ctermbg=none guifg=#5fafaf +hi String cterm=none ctermfg=215 ctermbg=237 guifg=#ffaf5f guibg=#3a3a3a +hi Error term=reverse ctermfg=15 ctermbg=9 guifg=#ffffff guibg=#ff5555 +hi Statement cterm=none ctermfg=221 gui=none guifg=#ffd75f +hi Identifier term=bold cterm=none ctermfg=210 ctermbg=none guifg=#ff8787 +hi Ignore cterm=none ctermfg=38 ctermbg=none +hi Number cterm=none ctermfg=146 ctermbg=none guifg=#afafd7 +hi PreProc term=underline ctermfg=81 guifg=#5fd7ff +hi Special term=bold ctermfg=224 guifg=#ffd7d7 +hi Function term=bold cterm=bold ctermfg=210 ctermbg=none guifg=#ff8787 +hi Todo term=none ctermfg=0 ctermbg=11 guifg=#000000 guibg=#ffff55 +hi Type cterm=none ctermfg=175 ctermbg=none gui=none guifg=#d787af +hi Underlined term=underline cterm=underline ctermfg=81 guifg=#5fd7ff +hi TaglistTagName cterm=bold ctermfg=26 ctermbg=none guifg=#005fd7 + +" vim: set et : diff --git a/.vim/colors/sienna.vim b/.vim/colors/sienna.vim new file mode 100644 index 0000000..08b8eda --- /dev/null +++ b/.vim/colors/sienna.vim @@ -0,0 +1,150 @@ +" Vim colour scheme +" Maintainer: Georg Dahn +" Last Change: 26 April 2006 +" Version: 1.6 +" +" This color scheme has both light and dark styles with harmonic colors +" easy to distinguish. Terminals are not supported, therefore you should +" only try it if you use the GUI version of Vim. +" +" You can choose the style by adding one of the following lines to your +" vimrc or gvimrc file before sourcing the color scheme: +" +" let g:sienna_style = 'dark' +" let g:sienna_style = 'light' +" +" If none of above lines is given, the light style is choosen. +" +" You can switch between these styles by using the :Colo command, like +" :Colo dark or :Colo light (many thanks to Pan Shizhu). + +if exists("g:sienna_style") + let s:sienna_style = g:sienna_style +else + let s:sienna_style = 'light' +endif + +execute "command! -nargs=1 Colo let g:sienna_style = \"\" | colo sienna" + +if s:sienna_style == 'dark' + set background=dark +elseif s:sienna_style == 'light' + set background=light +else + finish +endif + +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = 'sienna' + +if s:sienna_style == 'dark' + hi Normal gui=none guifg=Grey85 guibg=Grey15 + + hi Cursor guifg=Black guibg=Grey85 + hi LineNr gui=none guifg=Grey65 + hi NonText gui=bold guifg=Grey65 guibg=Grey20 + hi SpecialKey gui=none guifg=SkyBlue2 + hi Title gui=bold guifg=Grey85 + hi Visual gui=bold guifg=Black guibg=LightSalmon1 + + hi FoldColumn gui=none guifg=Black guibg=Wheat3 + hi Folded gui=none guifg=White guibg=Wheat4 + hi StatusLine gui=bold guifg=Black guibg=Grey85 + hi StatusLineNC gui=none guifg=White guibg=DimGray + hi VertSplit gui=none guifg=White guibg=DimGray + hi Wildmenu gui=bold guifg=White guibg=Black + + hi Pmenu guibg=Grey55 guifg=Black gui=none + hi PmenuSbar guibg=Grey40 guifg=fg gui=none + hi PmenuSel guibg=Yellow2 guifg=Black gui=none + hi PmenuThumb guibg=Grey80 guifg=bg gui=none + + hi IncSearch gui=none guifg=Grey15 guibg=Grey85 + hi Search gui=none guifg=Black guibg=Yellow2 + + hi MoreMsg gui=bold guifg=PaleGreen2 + hi Question gui=bold guifg=PaleGreen2 + hi WarningMsg gui=bold guifg=Red + + hi Comment gui=italic guifg=SkyBlue3 + hi Error gui=none guifg=White guibg=Red2 + hi Identifier gui=none guifg=LightSalmon2 + hi Special gui=none guifg=SkyBlue2 + hi PreProc gui=none guifg=SkyBlue3 + hi Todo gui=bold guifg=Black guibg=Yellow2 + hi Type gui=bold guifg=SkyBlue2 + hi Underlined gui=underline guifg=DodgerBlue + + hi Boolean gui=bold guifg=PaleGreen2 + hi Constant gui=none guifg=PaleGreen2 + hi Number gui=bold guifg=PaleGreen2 + hi String gui=none guifg=PaleGreen2 + + hi Label gui=bold,underline guifg=LightSalmon2 + hi Statement gui=bold guifg=LightSalmon2 + + hi htmlBold gui=bold + hi htmlItalic gui=italic + hi htmlUnderline gui=underline + hi htmlBoldItalic gui=bold,italic + hi htmlBoldUnderline gui=bold,underline + hi htmlBoldUnderlineItalic gui=bold,underline,italic + hi htmlUnderlineItalic gui=underline,italic +elseif s:sienna_style == 'light' + hi Normal gui=none guifg=Black guibg=White + + hi Cursor guifg=White guibg=Black + hi LineNr gui=none guifg=DarkGray + hi NonText gui=bold guifg=DarkGray guibg=Grey95 + hi SpecialKey gui=none guifg=RoyalBlue4 + hi Title gui=bold guifg=Black + hi Visual gui=bold guifg=Black guibg=Sienna1 + + hi FoldColumn gui=none guifg=Black guibg=Wheat2 + hi Folded gui=none guifg=Black guibg=Wheat1 + hi StatusLine gui=bold guifg=White guibg=Black + hi StatusLineNC gui=none guifg=White guibg=DimGray + hi VertSplit gui=none guifg=White guibg=DimGray + hi Wildmenu gui=bold guifg=Black guibg=White + + hi Pmenu guibg=Grey65 guifg=Black gui=none + hi PmenuSbar guibg=Grey50 guifg=fg gui=none + hi PmenuSel guibg=Yellow guifg=Black gui=none + hi PmenuThumb guibg=Grey75 guifg=fg gui=none + + hi IncSearch gui=none guifg=White guibg=Black + hi Search gui=none guifg=Black guibg=Yellow + + hi MoreMsg gui=bold guifg=ForestGreen + hi Question gui=bold guifg=ForestGreen + hi WarningMsg gui=bold guifg=Red + + hi Comment gui=italic guifg=RoyalBlue3 + hi Error gui=none guifg=White guibg=Red + hi Identifier gui=none guifg=Sienna4 + hi Special gui=none guifg=RoyalBlue4 + hi PreProc gui=none guifg=RoyalBlue3 + hi Todo gui=bold guifg=Black guibg=Yellow + hi Type gui=bold guifg=RoyalBlue4 + hi Underlined gui=underline guifg=Blue + + hi Boolean gui=bold guifg=ForestGreen + hi Constant gui=none guifg=ForestGreen + hi Number gui=bold guifg=ForestGreen + hi String gui=none guifg=ForestGreen + + hi Label gui=bold,underline guifg=Sienna4 + hi Statement gui=bold guifg=Sienna4 + + hi htmlBold gui=bold + hi htmlItalic gui=italic + hi htmlUnderline gui=underline + hi htmlBoldItalic gui=bold,italic + hi htmlBoldUnderline gui=bold,underline + hi htmlBoldUnderlineItalic gui=bold,underline,italic + hi htmlUnderlineItalic gui=underline,italic +endif diff --git a/.vim/colors/sift.vim b/.vim/colors/sift.vim new file mode 100644 index 0000000..f582d4e --- /dev/null +++ b/.vim/colors/sift.vim @@ -0,0 +1,167 @@ +" Vim color file +" sift v1.3c +" http://www.vim.org/scripts/script.php?script_id=1454 +" +" Maintainer: Shawn Axsom +" +" * Place :colo sift in your VimRC/GVimRC file +" * GvimRC if using GUI any +" +" - Thanks to Desert and OceanDeep for their color scheme +" file layouts +" - Thanks to Raimon Grau for his feedback + +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="sift" + +hi Normal guifg=#b4dcbc guibg=#0c121c +hi NonText guifg=#382920 guibg=#041328 + +" syntax highlighting """""""""""""""""""""""""""""""""""""""" + +hi Comment guifg=#007868 +hi Title guifg=#09f909 gui=none +hi Underlined guifg=#49f95f gui=none + +hi Statement guifg=#efef70 "gui=none +hi Type guifg=#60e5bf gui=none +hi Constant guifg=#0ad8ff +hi Number guifg=#eabaff +hi PreProc guifg=#f085b4 +hi Identifier guifg=#50f0b4 +hi Special guifg=#88a0d4 +hi Operator guifg=#f0da00 +"hi Keyword guifg=green +"hi Error guibg=#408452 +hi Function guifg=#c08a50 guibg=bg gui=bold "or green 50b3b0 +hi Conditional guifg=#f8f024 guibg=bg +hi Repeat guifg=#ffa400 guibg=bg gui=bold +hi Exception guifg=#dfff80 +"hi Ignore guifg=grey40 +"hi Todo guifg=orangered guibg=yellow2 +"""""this section borrowed from OceanDeep/Midnight""""" +"hi Label gui=None guifg=LightGreen guibg=bg +"highlight Operator gui=None guifg=#daca65 guibg=bg +"highlight Keyword gui=bold guifg=grey guibg=bg +"highlight Exception gui=none guifg=#ea5460 guibg=bg +""""""""""""""""""""""""""""""""""""""""""""""""""""""" +"end syntax highlighting """"""""""""""""""""""""""""""""""""" + +" highlight groups +"hi CursorIM +hi Directory guifg=#bbd0df +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +hi ErrorMsg guibg=#ff4545 + +hi Cursor guibg=#cad5c0 guifg=#05293d + +hi Folded guibg=#201328 guifg=#BBDDCC +hi FoldColumn guibg=#130014 guifg=#dbcaa5 +"hi FoldColumn guibg=#83a5cd guifg=#70459F +hi LineNr guibg=bg guifg=#207585 gui=bold +"hi LineNr guibg=#081c30 guifg=#80a0dA +hi StatusLine guibg=#20aaea guifg=#202050 gui=bold +hi StatusLineNC guibg=#2a90c0 guifg=#204050 gui=bold + +hi Search guibg=#9a9d8d guifg=#3a4520 +hi IncSearch guifg=#caceba guibg=#3a4520 + +hi VertSplit guibg=#325f95 guifg=grey50 gui=none +hi ModeMsg guifg=#00AACC +hi MoreMsg guifg=SeaGreen +hi Question guifg=#AABBCC +hi SpecialKey guifg=#90dcb0 +hi Visual guifg=#4a8FcF guibg=#032F5F +"hi VisualNOS +hi WarningMsg guifg=salmon +"hi WildMenu +"hi Menu +"hi Scrollbar guibg=grey30 guifg=tan +"hi Tooltip + + +" new Vim 7.0 items +hi Pmenu guibg=#3a6595 guifg=#9aadd5 +hi PmenuSel guibg=#4a85ba guifg=#b0d0f0 +hi MatchParen guibg=#200080 guifg=#f0f080 + + + + + +" color terminal definitions +hi Normal ctermfg=grey +hi Number ctermfg=blue +highlight Operator ctermfg=yellow +highlight Conditional ctermfg=darkred +highlight Repeat ctermfg=darkred +hi Exception ctermfg=red +hi function ctermfg=darkyellow +hi SpecialKey ctermfg=darkgreen +hi NonText cterm=bold ctermfg=darkgrey +hi Directory ctermfg=darkcyan +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE +hi Search ctermfg=black ctermbg=darkyellow cterm=NONE +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr ctermfg=darkcyan ctermbg=NONE +hi Question ctermfg=green +hi StatusLine ctermfg=blue ctermbg=grey cterm=NONE +hi StatusLineNC ctermfg=black ctermbg=grey cterm=NONE +hi VertSplit ctermfg=black ctermbg=grey cterm=NONE +hi Title ctermfg=Yellow cterm=NONE +hi Visual ctermbg=darkcyan ctermfg=black cterm=NONE +hi VisualNOS ctermbg=darkcyan ctermfg=black cterm=NONE +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=darkgreen ctermbg=NONE cterm=NONE +hi FoldColumn ctermfg=green ctermbg=black +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 +hi identifier ctermfg=darkmagenta + +"set comments to grey on non-Windows OS's to make sure +"it is readable +if &term == "builtin_gui" || &term == "win32" + hi Comment ctermfg=darkgrey ctermbg=darkblue + hi IncSearch ctermfg=black ctermbg=grey cterm=NONE + hi Search ctermfg=black ctermbg=darkgrey cterm=NONE +else + hi Comment ctermfg=grey ctermbg=darkblue + hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE + hi Search ctermfg=black ctermbg=darkyellow cterm=NONE +endif +"""""""""""""""""""""""""""""""""""""""""""""""""""""" + +hi Constant ctermfg=blue +hi Special ctermfg=darkmagenta +hi Statement ctermfg=red +hi PreProc ctermfg=magenta +hi Type ctermfg=darkblue " ctermbg=darkblue +hi Underlined ctermfg=yellow cterm=NONE +hi Ignore cterm=bold ctermfg=7 +hi Ignore ctermfg=darkgrey +hi Error cterm=bold ctermfg=7 ctermbg=1 + +" new Vim 7.0 items +hi Pmenu ctermbg=darkblue ctermfg=lightgrey +hi PmenuSel ctermbg=lightblue ctermfg=white + +"vim: sw=4 + + diff --git a/.vim/colors/silent.vim b/.vim/colors/silent.vim new file mode 100644 index 0000000..b04b41b --- /dev/null +++ b/.vim/colors/silent.vim @@ -0,0 +1,122 @@ +" Vim color file +" @Author: Pascal Vasilii + +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "silent" +set background=light + +hi Cursor guibg=#0057ae guifg=white gui=NONE +hi LineNr guibg=#F1FFC1 guifg=DarkGray gui=bold,italic +hi StatusLineNC guibg=#bbbbbb guifg=White gui=bold,italic +hi StatusLine guibg=#1D343B guifg=#DDDDDD gui=italic +hi Title guibg=white guifg=Black gui=bold +hi TablineSel guibg=white guifg=Black gui=bold +hi CursorLine guibg=#F1FFC1 guifg=Black gui=none +hi CursorColumn guibg=#fafafa guifg=black gui=NONE +hi MatchParen guifg=#141312 guibg=Yellow gui=underline +hi AutoHiGroup guibg=Yellow guifg=black +"hi TabLineFill guibg=red guifg=#606060 gui=none +hi SignColumn guibg=#F1FFC1 guifg=black gui=bold + +hi Directory guibg=white guifg=Black gui=bold,italic +hi Tooltip guibg=#F1FFC1 guifg=DarkGray gui=bold,italic +hi FoldColumn guibg=#F1FFC1 guifg=Black gui=none +hi VertSplit guibg=#F1FFC1 guifg=#F1FFC1 gui=none +hi Wildmenu guibg=White guifg=Black gui=bold + +hi Pmenu guibg=#DDDDDD guifg=Black gui=italic +hi PmenuSbar guibg=#DDDDDD guifg=fg gui=italic +hi PmenuSel guibg=#F1FFC1 guifg=Black gui=italic +hi PmenuThumb guibg=#DDDDDD guifg=fg gui=none + +hi IncSearch guibg=Black guifg=White gui=none +hi Search guibg=Yellow guifg=Black gui=none + +hi Normal guibg=White guifg=#141312 gui=NONE +hi Visual guibg=#4485FF guifg=white gui=bold +hi VisualNos guibg=#4485FF guifg=white gui=bold +hi Comment guibg=white guifg=#888786 gui=italic +hi PerlPOD guibg=white guifg=#B86A18 gui=NONE +" dark green 006e26 +hi Constant guibg=white guifg=#006e26 gui=bold + +hi Character guibg=white guifg=#644A9B gui=NONE +hi String guibg=white guifg=#BF0303 gui=italic +"hi Number guibg=white guifg=black gui=bold +hi Number guibg=white guifg=#B07E00 gui=NONE +hi Boolean guibg=white guifg=#B07E00 gui=NONE +hi Define guibg=white guifg=#006E26 gui=bold + +" vars +hi Identifier guibg=white guifg=#0057AE gui=NONE +hi Exception guibg=white guifg=black gui=bold +" return ~olive +hi Statement guibg=white guifg=#B07E00 gui=NONE +"hi Label guibg=white guifg=#B07E00 gui=NONE +hi PreProc guibg=white guifg=#141312 gui=bold +hi Function guibg=white guifg=#B07E00 gui=NONE +hi Repeat guibg=white guifg=#B07E00 gui=bold +"$='"[ +hi Operator guibg=white guifg=#0057AE gui=NONE +hi Ignore guibg=white guifg=bg +hi Folded guibg=#F1FFC1 guifg=#101010 gui=italic +hi Error guibg=#D80000 guifg=#FFD1CC term=reverse gui=NONE +hi Todo guibg=#AD5500 guifg=Grey term=standout gui=NONE +hi Done guibg=Gray guifg=#CCEEFF term=standout gui=NONE + +hi SpellErrors guibg=white guifg=#9C0D0D gui=NONE +hi SpellBad guibg=white gui=undercurl guisp=#9C0D0D +hi SpellCap guibg=white gui=undercurl guisp=#9C0D0D +hi SpellLocal guibg=white gui=undercurl guisp=#9C0D0D +hi SpellRare guibg=white gui=undercurl guisp=#9C0D0D + +hi MoreMsg guibg=white guifg=black gui=NONE +hi ModeMsg guibg=white guifg=black gui=NONE +hi DiffAdd guibg=#CCFFCC guifg=NONE gui=NONE +hi DiffDelete guibg=#FFCCCC guifg=NONE gui=NONE +hi DiffChange guibg=#F1FFC1 guifg=NONE gui=NONE +hi DiffText guibg=white guifg=NONE gui=NONE + +hi Question guibg=white guifg=black gui=bold +hi Conditional guibg=white guifg=#B07E00 gui=NONE +hi Include guibg=white guifg=#141312 gui=bold +hi SpecialChar guibg=white guifg=#141312 gui=bold +hi Underlined guibg=white guifg=#0057ae gui=underline + +" -> +hi Structure guibg=white guifg=black gui=none +hi Chatacter guibg=white guifg=black gui=none +" dark red #D80000 +hi Float guibg=#CCFFCC guifg=blue gui=NONE +hi Macro guibg=white guifg=black gui=bold +" #ifdef #endif dark blue +hi PreCondit guibg=white guifg=#0057ae gui=bold +hi Delimiter guibg=white guifg=black gui=NONE +" const static +hi StorageClass guibg=white guifg=#006e26 gui=NONE +"type +hi Typedef guibg=#CCFFCC guifg=#006e26 gui=bold +" int char +hi Type guibg=white guifg=black gui=NONE +hi Tag guibg=#CCFFCC guifg=#0057AE gui=NONE +hi Special guibg=white guifg=black gui=NONE +hi SpecialKey guibg=white guifg=black gui=none +"NonText '~' and '@' at the end of the window, characters from + "'showbreak' and other characters that do not really exist in + "the text (e.g., ">" displayed when a double-wide character + "doesn't fit at the end of the line). +hi NonText guibg=white guifg=black gui=none +hi Keyword guibg=white guifg=#141312 gui=NONE + +hi link SpecialComment Special +hi link Debug Special + "doesn't fit at the end of the line). +hi NonText guibg=white guifg=black gui=none +hi Keyword guibg=white guifg=#141312 gui=NONE + +hi link SpecialComment Special +hi link Debug Special diff --git a/.vim/colors/simple256.vim b/.vim/colors/simple256.vim new file mode 100644 index 0000000..6e552f0 --- /dev/null +++ b/.vim/colors/simple256.vim @@ -0,0 +1,279 @@ +" Vim color file +" Maintainer: Alexander Rodin +" +" This theme is based on "desert256" theme by Henry So, Jr. +" +" I struggled with trying to parse the rgb.txt file to avoid the necessity of +" converting color names to #rrggbb form, but decided it was just not worth +" the effort. Maybe someone seeing this may decide otherwise... + +set background=light +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="desert256" + +if has("gui_running") || &t_Co == 88 || &t_Co == 256 + " functions {{{ + " returns an approximate grey index for the given grey level + fun 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 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 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 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 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 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 color(r, g, b) + " get the closest grey + let l:gx = grey_number(a:r) + let l:gy = grey_number(a:g) + let l:gz = grey_number(a:b) + + " get the closest color + let l:x = rgb_number(a:r) + let l:y = rgb_number(a:g) + let l:z = rgb_number(a:b) + + if l:gx == l:gy && l:gy == l:gz + " there are two possibilities + let l:dgr = grey_level(l:gx) - a:r + let l:dgg = grey_level(l:gy) - a:g + let l:dgb = grey_level(l:gz) - a:b + let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb) + let l:dr = rgb_level(l:gx) - a:r + let l:dg = rgb_level(l:gy) - a:g + let l:db = 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 grey_color(l:gx) + else + " use the color + return rgb_color(l:x, l:y, l:z) + endif + else + " only one possibility + return rgb_color(l:x, l:y, l:z) + endif + endfun + + " returns the palette index to approximate the 'rrggbb' hex string + fun 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 color(l:r, l:g, l:b) + endfun + + " sets the highlighting for the given group + fun X(group, fg, bg, attr) + if a:fg != "" + exec "hi " . a:group . " guifg=#" . a:fg . " ctermfg=" . rgb(a:fg) + endif + if a:bg != "" + exec "hi " . a:group . " guibg=#" . a:bg . " ctermbg=" . rgb(a:bg) + endif + if a:attr != "" + exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr + endif + endfun + " }}} + + call X("VertSplit", "c2bfa5", "7f7f7f", "reverse") + call X("Folded", "9999cc", "f4f4f4", "") + call X("IncSearch", "708090", "f0e68c", "") + call X("Visual", "3888ff", "ffffff", "reverse") +" call X("Comment", "1C9518", "", "") + call X("Comment", "20AD1B", "", "") + call X("Constant", "5500ff", "", "") + call X("String", "ff7777", "", "") + call X("Float", "ff7777", "", "") + call X("Boolean", "000080", "", "bold") +" call X("Identifier", "98fb98", "", "none") + call X("Statement", "000080", "", "bold") + call X("PreProc", "20b5ff", "", "") + call X("Type", "000080", "", "bold") + call X("Special", "CDAB00", "", "") + call X("Underlined", "0000cc", "", "") + call X("Todo", "ff4500", "eeee00", "") + + " delete functions {{{ + delf X + delf rgb + delf color + delf rgb_color + delf rgb_level + delf rgb_number + delf grey_color + delf grey_level + delf grey_number + " }}} +else + " color terminal definitions + hi VertSplit ctermfg=lightgray ctermbg=gray cterm=reverse + hi Folded ctermfg=blue ctermbg=lightcyan + hi IncSearch ctermfg=lightgray ctermbg=yellow + hi Visual ctermfg=blue ctermbg=white cterm=reverse + hi Comment ctermfg=green + hi Constant ctermfg=blue + hi String ctermfg=red + hi Float ctermfg=red + hi Boolean ctermfg=darkblue cterm=bold + hi Statement ctermfg=darkblue cterm=bold + hi PreProc ctermfg=cyan + hi Type ctermfg=darkblue cterm=bold + hi Special ctermfg=brown + hi Underlined ctermfg=blue + hi Todo ctermfg=red ctermbg=yellow +endif + +" vim: set fdl=0 fdm=marker: diff --git a/.vim/colors/simple_b.vim b/.vim/colors/simple_b.vim new file mode 100644 index 0000000..5b12d16 --- /dev/null +++ b/.vim/colors/simple_b.vim @@ -0,0 +1,64 @@ +" Vim color file +" Maintainer: V Singh +" Last Change: 2nd June 2003 +" Version: 1.0 + +set background=light + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "simple_b" + +highlight Normal cterm=NONE ctermfg=black ctermbg=lightblue gui=NONE guifg=black guibg=lightblue +highlight NonText ctermfg=black ctermbg=lightblue guifg=black guibg=white +highlight LineNr cterm=italic ctermfg=black ctermbg=lightblue gui=italic guifg=black guibg=lightblue + +" Syntax highlighting scheme +highlight Comment cterm=italic ctermfg=black ctermbg=white gui=italic guifg=black guibg=lightblue + +highlight Constant ctermfg=black ctermbg=lightblue guifg=black guibg=lightblue +highlight String ctermfg=black ctermbg=lightblue guifg=black guibg=lightblue +highlight Character ctermfg=black ctermbg=lightblue guifg=black guibg=lightblue +highlight Number ctermfg=black ctermbg=lightblue guifg=black guibg=lightblue +" Boolean defaults to Constant +highlight Float ctermfg=black ctermbg=lightblue guifg=black guibg=lightblue + +highlight Identifier ctermfg=black ctermbg=lightblue guifg=black guibg=lightblue +highlight Function ctermfg=black ctermbg=lightblue guifg=black guibg=lightblue + +highlight Statement ctermfg=black ctermbg=lightblue guifg=black guibg=lightblue +highlight Conditional ctermfg=black ctermbg=lightblue guifg=black guibg=lightblue +highlight Repeat ctermfg=black ctermbg=lightblue guifg=black guibg=lightblue +highlight Label ctermfg=black ctermbg=lightblue guifg=black guibg=lightblue +highlight Operator ctermfg=black ctermbg=lightblue guifg=black guibg=lightblue +" Keyword defaults to Statement +" Exception defaults to Statement + +highlight PreProc cterm=bold ctermfg=black ctermbg=lightblue gui=bold guifg=black guibg=lightblue +" Include defaults to PreProc +" Define defaults to PreProc +" Macro defaults to PreProc +" PreCondit defaults to PreProc + +highlight Type cterm=bold ctermfg=black ctermbg=lightblue gui=bold guifg=black guibg=lightblue +" StorageClass defaults to Type +" Structure defaults to Type +" Typedef defaults to Type + +highlight Special cterm=italic ctermfg=black ctermbg=lightblue gui=italic guifg=black guibg=lightblue +" SpecialChar defaults to Special +" Tag defaults to Special +" Delimiter defaults to Special +highlight SpecialComment cterm=italic ctermfg=black ctermbg=lightblue gui=italic guifg=black guibg=lightblue +" Debug defaults to Special + +highlight Todo cterm=italic,bold ctermfg=black ctermbg=lightblue gui=italic,bold guifg=black guibg=lightblue +" Ideally, the bg color would be white but VIM cannot print white on black! +highlight Error cterm=bold,reverse ctermfg=black ctermbg=grey gui=bold,reverse guifg=black guibg=grey + +" vim:et:ff=unix:tw=0:ts=4:sw=4 +" EOF print_bw.vim diff --git a/.vim/colors/simpleandfriendly.vim b/.vim/colors/simpleandfriendly.vim new file mode 100644 index 0000000..6222e76 --- /dev/null +++ b/.vim/colors/simpleandfriendly.vim @@ -0,0 +1,56 @@ +" Vim color file +" Maintainer: Thomas Schmall +" Last Change: 2004 Nov 20 +" URL: http://www.vim.org/scripts/script.php?script_id=792 +" Version: 1.3 + +" This color scheme uses a light grey background. + +" Last Changes: +" *line number colors changed + + +" First remove all existing highlighting. +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "simpleandfriendly" + +"Set nice colors #DC6210 +"Cursor is Cyan when ":lmap" mappings are active +hi lCursor guibg=Cyan guifg=NONE +hi LineNr guifg=white guibg=#acbbff + +"Text below the last line is darker grey +hi NonText guibg=grey80 +"Normal text is black background is grey +hi Normal guifg=black guibg=grey89 ctermfg=Black ctermbg=LightGrey +hi Comment guifg=Orange guibg=grey94 ctermfg=DarkCyan term=bold +"Constants are not underlined but have a slightly lighter background +hi Constant guifg=#8080a0 guibg=grey92 gui=NONE term=underline +hi String guifg=#80a0ff guibg=grey93 gui=NONE term=underline +hi Number guifg=#80a5ff guibg=grey91 gui=NONE ctermfg=Gray term=none +"Words like _if_ or _else_ (Grey27) +hi Statement guifg=#4A2B99 gui=NONE ctermfg=Blue + +hi Title guifg=red ctermfg=red gui=NONE term=BOLD +"color for _NONE_ for instance: +hi PreProc term=underline ctermfg=LightBlue guifg=#DC6210 +"color for _guifg_ for instance: (SlateBlue works here nice too) +hi Type guifg=#008080 ctermfg=LightGreen gui=None term=underline +hi Function guifg=#61577A term=bold +"in lingo the defined functions. (alt: SlateBlue) +hi Identifier guifg=Seagreen +"hi Identifier term=underline cterm=bold ctermfg=Cyan guifg=#40ffff + +"hi Repeat term=underline ctermfg=White guifg=white +"hi Ignore guifg=bg ctermfg=black +hi Error term=reverse ctermbg=Red ctermfg=White guibg=Red guifg=White +hi Todo term=standout ctermbg=Yellow ctermfg=Black guifg=Blue guibg=Yellow +"Special Characters +hi Special guibg=grey90 guifg=Slateblue gui=UNDERLINE + +hi operator guifg=gray25 ctermfg=Black term=bold cterm=bold gui=bold diff --git a/.vim/colors/simplewhite.vim b/.vim/colors/simplewhite.vim new file mode 100644 index 0000000..8996bf6 --- /dev/null +++ b/.vim/colors/simplewhite.vim @@ -0,0 +1,154 @@ +" Name: simplewhite.vim +" Maintainer: Kojo Sugita +" Last Change: 2008-08-16 +" Version: 1.0 + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = 'simplewhite' + +if (&term == "xterm") || (&term == "linux") + set t_Co=16 +elseif &term == "vt320" + set t_Co=8 +endif + +" Normal +hi Normal guifg=black guibg=white gui=none +hi Normal ctermfg=black ctermbg=white cterm=none +hi NonText guifg=#606060 guibg=#f0f0f0 gui=none +hi NonText ctermfg=darkgray ctermbg=lightgray cterm=none +hi SpecialKey guifg=#606060 guibg=white gui=none +hi SpecialKey ctermfg=darkgray ctermbg=white cterm=none + +hi Cursor guifg=white guibg=black gui=none +hi Cursor ctermfg=white ctermbg=black cterm=none +hi lCursor guifg=white guibg=black gui=none +hi ICursor ctermfg=white ctermbg=black cterm=none +hi CursorIM guifg=white guibg=black gui=none +hi CursorIM ctermfg=white ctermbg=black cterm=none + +" Search +hi Search guifg=black guibg=#fcaf3e gui=none +hi Search ctermfg=black ctermbg=yellow cterm=none +hi IncSearch guifg=black guibg=#fcaf3e gui=none +hi IncSearch ctermfg=black ctermbg=yellow cterm=none + +" Matches +hi MatchParen guifg=black guibg=#fcaf3e gui=none +hi MatchParen ctermfg=black ctermbg=yellow cterm=none + +" status line +hi StatusLine guifg=white guibg=black gui=bold +hi StatusLine ctermfg=white ctermbg=black cterm=bold +hi StatusLineNC guifg=#a0a0a0 guibg=black gui=bold +hi StatusLineNc ctermfg=darkgray ctermbg=black cterm=bold + +" Diff +hi DiffAdd guifg=#b000b0 guibg=white gui=none +hi DiffAdd ctermfg=darkmagenta ctermbg=white cterm=none +hi DiffChange guifg=#b000b0 guibg=white gui=none +hi DiffChange ctermfg=darkmagenta ctermbg=white cterm=none +hi DiffDelete guifg=white guibg=black gui=none +hi DiffDelete ctermfg=white ctermbg=black cterm=none +hi DiffText guifg=#b000b0 guibg=white gui=bold +hi DiffText ctermfg=darkmagenta ctermbg=white cterm=bold + +" Folds +hi Folded guifg=black guibg=lightgray gui=none +hi Folded ctermfg=black ctermbg=lightgray cterm=none +hi FoldColumn guifg=black guibg=lightgray gui=none +hi FoldColumn ctermfg=black ctermbg=lightgray cterm=none + +" Syntax +hi Number guifg=#008000 guibg=white gui=none +hi Number ctermfg=darkgreen ctermbg=white cterm=none +hi Char guifg=#008000 guibg=white gui=none +hi Char ctermfg=darkgreen ctermbg=white cterm=none +hi String guifg=#008000 guibg=white gui=none +hi String ctermfg=darkgreen ctermbg=white cterm=none +hi Boolean guifg=#008000 guibg=white gui=none +hi Boolean ctermfg=darkgreen ctermbg=white cterm=none +hi Constant guifg=#008000 guibg=white gui=none +hi Constant ctermfg=darkgreen ctermbg=white cterm=none + +hi Statement guifg=#c00000 guibg=white gui=none +hi Statement ctermfg=darkred ctermbg=white cterm=none +hi Comment guifg=#707070 guibg=white gui=none +hi Comment ctermfg=darkgray ctermbg=white cterm=none +hi Identifier guifg=#b000b0 guibg=white gui=none +hi Identifier ctermfg=darkmagenta ctermbg=white cterm=none +hi Function guifg=#b000b0 guibg=white gui=none +hi Function ctermfg=darkmagenta ctermbg=white cterm=none +hi PreProc guifg=#b000b0 guibg=white gui=none +hi PreProc ctermfg=darkmagenta ctermbg=white cterm=none +hi Type guifg=#0000c0 guibg=white gui=none +hi Type ctermfg=darkblue ctermbg=white cterm=none + +" Tree +hi Directory guifg=#b000b0 guibg=white gui=bold +hi Directory ctermfg=darkmagenta ctermbg=white cterm=bold + +" Message +hi ModeMsg guifg=black guibg=white gui=none +hi ModeMsg ctermfg=black ctermbg=white cterm=none +hi MoreMsg guifg=black guibg=white gui=none +hi MoreMsg ctermfg=black ctermbg=white cterm=none +hi WarningMsg guifg=red guibg=white gui=none +hi WarningMsg ctermfg=red ctermbg=white cterm=none +hi ErrorMsg guifg=white guibg=red gui=none +hi ErrorMsg ctermfg=white ctermbg=red cterm=none +hi Question guifg=black guibg=white gui=none +hi Question ctermfg=black ctermbg=white cterm=none + +hi LineNr guifg=white guibg=black gui=none +hi LineNr ctermfg=white ctermbg=black cterm=none +hi VertSplit guifg=black guibg=black gui=none +hi VertSplit ctermfg=black ctermbg=black cterm=none + +"\n, \0, %d, %s, etc... +hi Special guifg=#606060 guibg=#f0f0f0 gui=none +hi Special ctermfg=darkgray ctermbg=lightgray cterm=none +hi Title guifg=#b000b0 guibg=white gui=bold +hi Title ctermfg=darkmagenta ctermbg=white cterm=bold +hi Visual guifg=white guibg=blue gui=none +hi Visual ctermfg=white ctermbg=blue cterm=none +hi VisualNOS guifg=white guibg=black gui=none +hi VisualNOS ctermfg=white ctermbg=black cterm=none +hi WildMenu guifg=black guibg=white gui=none +hi WildMenu ctermfg=black ctermbg=white cterm=none + +hi Underlined guifg=#b000b0 guibg=white gui=underline +hi Underlined ctermfg=darkmagenta ctermbg=white cterm=underline +hi Error guifg=red guibg=white gui=none +hi Error ctermfg=red ctermbg=white cterm=none +hi Todo guifg=black guibg=white gui=none +hi Todo ctermfg=black ctermbg=white cterm=none +hi SignColumn guifg=black guibg=white gui=none +hi SignColumn ctermfg=black ctermbg=white cterm=none + +if version >= 700 + "Pmenu + hi Pmenu guibg=gray + hi Pmenu ctermbg=gray + hi PmenuSel guifg=white guibg=black + hi PmenuSel ctermfg=white ctermbg=black + hi PmenuSbar guibg=gray + hi PmenuSbar ctermbg=gray + " hi PmenuThumb guifg=#ffffff + + "Tab + hi TabLine guifg=gray guibg=#505050 gui=none + hi TabLine ctermfg=gray ctermbg=darkgray cterm=none + hi TabLineFill guifg=gray guibg=gray gui=none + hi TabLineFill ctermfg=gray ctermbg=gray cterm=none + hi TabLineSel guifg=white guibg=black gui=none + hi TabLineSel ctermfg=white ctermbg=black cterm=none +endif + +finish + +" vim: set foldmethod=marker: set fenc=utf-8: diff --git a/.vim/colors/skittles_dark.vim b/.vim/colors/skittles_dark.vim new file mode 100644 index 0000000..5f8bbf2 --- /dev/null +++ b/.vim/colors/skittles_dark.vim @@ -0,0 +1,127 @@ +" Vim color file +" +" Version: 1.1 +" +" Author: Shawn Biddle +" +" Note: Used the molokai color scheme as a template +" to build off then completely recolored almost +" everything to be a bit more colorful while still +" being quite readable +" + +hi clear + +set background=dark +if version > 580 + hi clear + if exists("syntax_on") + syntax reset + endif +endif +let g:colors_name="skittles_dark" + + +hi Boolean guifg=#AE81FF ctermfg=141 +hi Character guifg=#E6DB74 ctermfg=186 +hi Number guifg=#AE81FF ctermfg=141 +hi String guifg=#75d142 ctermfg=113 +hi Conditional guifg=#C01414 ctermfg=1 +hi Constant guifg=#AE81FF ctermfg=141 +hi Cursor guifg=#000000 ctermfg=0 guibg=#F8F8F0 ctermbg=15 +hi Debug guifg=#BCA3A3 ctermfg=248 + +hi Define guifg=#C01414 ctermfg=1 +hi Delimiter guifg=#8F8F8F ctermfg=245 +hi DiffAdd guibg=#13354A ctermbg=236 +hi DiffChange guifg=#89807D ctermfg=244 guibg=#4C4745 ctermbg=238 +hi DiffDelete guifg=#960050 ctermfg=89 guibg=#1E0010 ctermbg=233 +hi DiffText guibg=#4C4745 ctermbg=238 + +hi Directory guifg=#A6E22E ctermfg=148 +hi Error guifg=#960050 ctermfg=89 guibg=#1E0010 ctermbg=233 +hi ErrorMsg guifg=#8ac6f2 ctermfg=117 guibg=#232526 ctermbg=235 +hi Exception guifg=#A6E22E ctermfg=148 +hi Float guifg=#AE81FF ctermfg=141 +hi FoldColumn guifg=#465457 ctermfg=239 guibg=#000000 ctermbg=0 +hi Folded guifg=#465457 ctermfg=239 guibg=#000000 ctermbg=0 +hi Function guifg=#0C60A0 ctermfg=25 + +hi Identifier guifg=#ffffff ctermfg=15 cterm=none + +hi Ignore guifg=#808080 ctermfg=244 guibg=bg +hi IncSearch guifg=#C4BE89 ctermfg=180 guibg=#000000 ctermbg=0 + +hi Keyword guifg=#8ac6f2 ctermfg=117 gui=none +hi Label guifg=#E6DB74 ctermfg=186 +hi Macro guifg=#C4BE89 ctermfg=180 +"gui=italic +hi SpecialKey guifg=#222222 ctermfg=235 +"gui=italic + + +hi MatchParen guifg=#000000 ctermfg=0 guibg=#FD971F ctermbg=208 +hi ModeMsg guifg=#E6DB74 ctermfg=186 +hi MoreMsg guifg=#E6DB74 ctermfg=186 +hi Operator guifg=#FF9900 ctermfg=208 + +" complete menu +hi Pmenu guifg=#5FAAC7 ctermfg=81 guibg=#000000 ctermbg=0 +hi PmenuSel guibg=#808080 ctermbg=244 +hi PmenuSbar guibg=#080808 ctermbg=0 +hi PmenuThumb guifg=#5FAAC7 ctermfg=81 + +hi PreCondit guifg=#A6E22E ctermfg=148 +hi PreProc guifg=#A6E22E ctermfg=148 +hi Question guifg=#5FAAC7 ctermfg=81 +hi Repeat guifg=#CF1020 ctermfg=1 +hi Search guifg=#FFFFFF ctermfg=15 guibg=#455354 ctermbg=239 +" marks column +hi SignColumn guifg=#A6E22E ctermfg=148 guibg=#232526 ctermbg=235 +hi SpecialChar guifg=#FF9900 ctermfg=208 +hi SpecialComment guifg=#465457 ctermfg=239 +hi Special guifg=#5FAAC7 ctermfg=81 guibg=bg +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=#C01414 ctermfg=1 gui=none +hi StatusLine guifg=#455354 ctermfg=0 guibg=fg +hi StatusLineNC guifg=#808080 ctermfg=244 guibg=#080808 ctermbg=0 +hi StorageClass guifg=#FD971F ctermfg=208 +hi Structure guifg=#5FAAC7 ctermfg=81 cterm=bold gui=bold +hi Tag guifg=#8ac6f2 ctermfg=117 +hi Title guifg=#ef5939 ctermfg=203 +hi Todo guifg=#FFFFFF ctermfg=0 ctermbg=3 guibg=bg + +hi phpDocBlock guifg=#94E1E4 ctermfg=116 guibg=bg + +hi Typedef guifg=#5FAAC7 ctermfg=81 +hi Type guifg=#5FAAC7 ctermfg=81 gui=none cterm=none +hi Underlined guifg=#808080 ctermfg=244 gui=underline + +hi VertSplit guifg=#808080 ctermfg=244 guibg=#080808 ctermbg=0 +hi VisualNOS guibg=#403D3D ctermbg=237 +hi Visual guibg=#403D3D ctermbg=237 +hi WarningMsg guifg=#FFFFFF ctermfg=15 guibg=#333333 ctermbg=236 +hi WildMenu guifg=#5FAAC7 ctermfg=81 guibg=#121212 ctermbg=233 + +hi Normal guifg=#F8F8F2 ctermfg=248 guibg=#231F20 ctermbg=234 +hi Comment guifg=#5D8D8F ctermfg=66 gui=none +hi CursorLine guibg=#121212 ctermbg=233 +hi CursorColumn guibg=#121212 ctermbg=233 +hi LineNr guifg=#FFFFFF ctermfg=15 guibg=#000000 ctermbg=0 gui=underline +hi NonText guifg=#BCBCBC ctermfg=250 guibg=#232526 ctermbg=235 + +hi link xmlTagName Define + +"hi yamlBaseKey +"gui=bold,underline +hi yamlTab guibg=#FF0000 ctermbg=9 +hi User1 guifg=#000000 ctermfg=0 guibg=#84E12E ctermbg=112 +"gui=bold + +hi clear htmlTagN +hi link htmlTagN Typedef diff --git a/.vim/colors/smp.vim b/.vim/colors/smp.vim new file mode 100644 index 0000000..388250d --- /dev/null +++ b/.vim/colors/smp.vim @@ -0,0 +1,64 @@ +" Vim color file +" Maintainer: Vijayandra Singh +" Last Change: March,13 2007 +" Version: 1.2 + +" Remove all existing highlighting. +set background=light +hi clear + +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "smp" + +highlight Normal cterm=NONE ctermfg=black ctermbg=white gui=NONE guifg=black guibg=#C0C0C0 +highlight NonText ctermfg=black ctermbg=white guifg=black guibg=#C0C0C0 +highlight LineNr cterm=italic ctermfg=black ctermbg=white gui=italic guifg=black guibg=#C0C0C0 + +" Syntax highlighting scheme +highlight Comment cterm=italic ctermfg=black ctermbg=white gui=italic guifg=black guibg=#C0C0C0 + +highlight Constant ctermfg=black ctermbg=white guifg=black guibg=#C0C0C0 +highlight String ctermfg=black ctermbg=white guifg=black guibg=#C0C0C0 +highlight Character ctermfg=black ctermbg=white guifg=black guibg=#C0C0C0 +highlight Number ctermfg=black ctermbg=white guifg=black guibg=#C0C0C0 +" Boolean defaults to Constant +highlight Float ctermfg=black ctermbg=white guifg=black guibg=#C0C0C0 + +highlight Identifier ctermfg=black ctermbg=white guifg=black guibg=#C0C0C0 +highlight Function ctermfg=black ctermbg=white guifg=black guibg=#C0C0C0 + +highlight Statement ctermfg=black ctermbg=white guifg=black guibg=#C0C0C0 +highlight Conditional ctermfg=black ctermbg=white guifg=black guibg=#C0C0C0 +highlight Repeat ctermfg=black ctermbg=white guifg=black guibg=#C0C0C0 +highlight Label ctermfg=black ctermbg=white guifg=black guibg=#C0C0C0 +highlight Operator ctermfg=black ctermbg=white guifg=black guibg=#C0C0C0 +" Keyword defaults to Statement +" Exception defaults to Statement + +highlight PreProc cterm=bold ctermfg=black ctermbg=white gui=bold guifg=black guibg=#C0C0C0 +" Include defaults to PreProc +" Define defaults to PreProc +" Macro defaults to PreProc +" PreCondit defaults to PreProc + +highlight Type cterm=bold ctermfg=black ctermbg=white gui=bold guifg=black guibg=#C0C0C0 +" StorageClass defaults to Type +" Structure defaults to Type +" Typedef defaults to Type + +highlight Special cterm=italic ctermfg=black ctermbg=white gui=italic guifg=black guibg=#C0C0C0 +" SpecialChar defaults to Special +" Tag defaults to Special +" Delimiter defaults to Special +highlight SpecialComment cterm=italic ctermfg=black ctermbg=white gui=italic guifg=black guibg=#C0C0C0 +" Debug defaults to Special + +highlight Todo cterm=italic,bold ctermfg=black ctermbg=white gui=italic,bold guifg=black guibg=#C0C0C0 +" Ideally, the bg color would be white but VIM cannot print white on black! +highlight Error cterm=bold,reverse ctermfg=black ctermbg=grey gui=bold,reverse guifg=black guibg=grey + +" vim:et:ff=unix:tw=0:ts=4:sw=4 +" EOF print_bw.vim diff --git a/.vim/colors/softblue.vim b/.vim/colors/softblue.vim new file mode 100644 index 0000000..8d8ee1b --- /dev/null +++ b/.vim/colors/softblue.vim @@ -0,0 +1,45 @@ +" Vim color file +" Maintainer: Zhang Jing +" Last Change: %[% 20051207 10ʱ4149 %]% + +set background=dark +if version > 580 + hi clear + if exists("syntax_on") + syntax reset + endif +endif +let g:colors_name="softblue" + +hi Normal guibg=#183058 guifg=#b0b0e0 + +hi Cursor guibg=#b3b2df guifg=grey30 gui=bold +hi VertSplit guibg=#466292 guifg=grey50 gui=none +hi Folded guibg=#0d2349 guifg=lightblue +hi FoldColumn guibg=#0d2349 guifg=lightblue +hi IncSearch guifg=slategrey guibg=khaki +hi LineNr guifg=grey30 +hi ModeMsg guifg=SkyBlue +hi MoreMsg guifg=SeaGreen +hi NonText guifg=LightBlue guibg=#0d2349 +hi Question guifg=#487cc4 +hi Search guibg=#787878 guifg=wheat +hi SpecialKey guifg=yellowgreen +hi StatusLine guibg=#466292 guifg=black gui=none +hi StatusLineNC guibg=#466292 guifg=grey22 gui=none +hi Title guifg=#38d9ff +hi Visual guifg=lightblue guibg=#001146 gui=none +hi WarningMsg guifg=salmon +hi ErrorMsg guifg=white guibg=#b2377a + +hi Comment guifg=#6279a0 +hi Constant guifg=#9b60be +hi Identifier guifg=#00ac55 +hi Statement guifg=SkyBlue2 +hi PreProc guifg=#20a0d0 +hi Type guifg=#8070ff +hi Special guifg=#b6a040"wheat4"#7c9cf5"a2b9e0 +hi Ignore guifg=grey40 +hi Error guifg=white guibg=#b2377a +hi Todo guifg=#54b900 guibg=#622098 gui=bold +"vim:ts=4:tw=4 diff --git a/.vim/colors/softbluev2.vim b/.vim/colors/softbluev2.vim new file mode 100644 index 0000000..47d2b22 --- /dev/null +++ b/.vim/colors/softbluev2.vim @@ -0,0 +1,93 @@ +" 本配色方案由 gui2term.py 程序增加彩色终端支持。 +" Vim color file +" File: softbluev2 modyfied from softblue by ZhangJing +" Ver: 1.2 +" Maintainer: Larrupingpig +" Last Change: Tue Dec 14 16:18:14 CST 2010 + +set background=dark +if version > 580 + hi clear + if exists("syntax_on") + syntax reset + endif +endif +let g:colors_name="softbluev2" + +hi Normal guibg=#183058 guifg=#b0b0e0 ctermfg=146 ctermbg=17 cterm=none +hi Cursor guibg=#b3b2df guifg=grey30 gui=bold ctermfg=239 ctermbg=146 cterm=bold +hi cursorline guibg=#295499 ctermbg=18 cterm=none +hi VertSplit guibg=#466292 guifg=grey50 gui=none ctermfg=244 ctermbg=67 cterm=none +hi Folded guibg=#0d2349 guifg=lightblue ctermfg=152 ctermbg=17 cterm=none +hi FoldColumn guibg=#0d2349 guifg=lightblue ctermfg=152 ctermbg=17 cterm=none +hi LineNr guifg=grey30 ctermfg=101 ctermbg=17 cterm=none +hi ModeMsg guifg=SkyBlue ctermfg=117 ctermbg=17 cterm=none +hi MoreMsg guifg=SeaGreen ctermfg=72 ctermbg=17 cterm=none +" hi NonText guifg=LightBlue guibg=#0d2349 ctermfg=152 ctermbg=17 cterm=none +hi Question guifg=#487cc4 ctermfg=68 ctermbg=17 cterm=none +hi IncSearch guifg=#b0ffff guibg=#2050d0 ctermfg=159 ctermbg=26 cterm=none +hi Search guifg=#b0ffff guibg=#2050d0 ctermfg=159 ctermbg=26 cterm=none +hi SpecialKey guifg=yellowgreen ctermfg=149 ctermbg=17 cterm=none +hi StatusLine guibg=#466292 guifg=black gui=none ctermfg=16 ctermbg=67 cterm=none +hi StatusLineNC guibg=#466292 guifg=grey22 gui=none ctermfg=237 ctermbg=67 cterm=none +hi Title guifg=#38d9ff ctermfg=81 ctermbg=17 cterm=none +hi Visual guifg=lightblue guibg=#001146 gui=none ctermfg=152 ctermbg=17 cterm=none +hi WarningMsg guifg=salmon ctermfg=210 ctermbg=17 cterm=none +hi ErrorMsg guifg=white guibg=#b2377a ctermfg=231 ctermbg=169 cterm=none + + +hi Pmenu guifg=white guibg=#445599 gui=none ctermfg=231 ctermbg=61 cterm=none +hi PmenuSel guifg=#445599 guibg=gray ctermfg=61 ctermbg=170 cterm=none + + +hi Comment guifg=#6279a0 ctermfg=67 ctermbg=17 cterm=none +hi Constant guifg=#9b60be ctermfg=97 ctermbg=17 cterm=none +hi Identifier guifg=#00ac55 ctermfg=35 ctermbg=17 cterm=none +hi Statement guifg=SkyBlue2 gui=none ctermfg=191 ctermbg=17 cterm=none +hi Statement guifg=#cdee56 gui=none ctermfg=191 ctermbg=17 cterm=none +hi PreProc guifg=#20a0d0 ctermfg=38 ctermbg=17 cterm=none +hi Type guifg=#8070ff ctermfg=63 ctermbg=17 cterm=none +hi Special guifg=#b6a040 ctermfg=179 ctermbg=17 cterm=none +hi Ignore guifg=grey40 ctermfg=241 ctermbg=17 cterm=none +hi Error guifg=white guibg=#b2377a ctermfg=231 ctermbg=169 cterm=none +hi Todo guifg=#54b900 guibg=#622098 gui=bold ctermfg=70 ctermbg=54 cterm=bold + +"======================================================== +" Highlight All Math Operator +"======================================================== +hi PreProc guifg=#ff80ff ctermfg=171 +hi Constant guifg=#ffa0a0 ctermfg=217 +hi Function guifg=#C777EF gui=NONE ctermfg=177 ctermbg=17 cterm=none +hi StdFunction guifg=#C777EF gui=bold ctermfg=177 ctermbg=17 cterm=bold +hi UserLabel2 guifg=#c96129 gui=bold ctermfg=166 ctermbg=17 cterm=bold +hi StdName guifg=#5276e6 gui=bold ctermfg=69 ctermbg=17 cterm=bold +hi MicroController guifg=#d00000 gui=bold ctermfg=160 ctermbg=17 cterm=bold +hi AnsiFuncPtr guifg=#ff0000 gui=NONE ctermfg=196 ctermbg=17 cterm=none +hi PreCondit guifg=#a06129 gui=NONE ctermfg=130 ctermbg=17 cterm=none +hi Operator guifg=Yellow gui=NONE ctermfg=226 ctermbg=17 cterm=none +hi OperatorBold guifg=Yellow gui=bold ctermfg=226 ctermbg=17 cterm=bold +hi BlockBraces guifg=Yellow gui=bold ctermfg=226 ctermbg=17 cterm=bold +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" C math operators +syn match cMathOperator display "[-+\*\%=]"" C pointer operators +syn match cPointerOperator display "->\|\." +syn match cLogicalOperator display "[!<>]=\=" +syn match cLogicalOperator display "==" +syn match cBinaryOperator display "\(&\||\|\^\|<<\|>>\)=\=" +syn match cBinaryOperator display "\~" +syn match cBinaryOperatorError display "\~=" +syn match cLogicalOperator display "&&\|||" +syn match cLogicalOperatorError display "\(&&\|||\)=" +syn match cFenhao display ";" +hi cMathOperator guifg=#3EFFE2 ctermfg=14 +hi cPointerOperator guifg=#3EFFE2 ctermfg=14 +hi cLogicalOperator guifg=#3EFFE2 ctermfg=14 +hi cLogicalOperator guifg=#3EFFE2 ctermfg=14 +hi cBinaryOperator guifg=#F0088C gui=NONE ctermfg=161 ctermbg=17 +hi cBinaryOperatorError guifg=white guibg=#b2377a ctermfg=231 ctermbg=169 cterm=none +hi cBraces guifg=#C777EF gui=NONE ctermfg=177 ctermbg=17 cterm=none +hi cFenhao guifg=#FFA70F ctermfg=202 ctermbg=17 cterm=none +hi cMaohao guifg=#3EFFE2 ctermfg=14 + + +"vim:ts=4:tw=4 diff --git a/.vim/colors/softlight.vim b/.vim/colors/softlight.vim new file mode 100644 index 0000000..e5a305a --- /dev/null +++ b/.vim/colors/softlight.vim @@ -0,0 +1,85 @@ +" Vim color file +" Maintainer: Armin Moradi +" Last Change: 27 July 2008 +" URL: http://fengshaun.wordpress.com + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let colors_name="softlight" + +hi Normal gui=NONE guifg=#303030 guibg=#FFFFFF +hi NonText gui=BOLD guifg=#303030 guibg=#FFFFFF + +" Search +hi IncSearch gui=BOLD guifg=#008000 guibg=#CCFF00 +hi Search gui=BOLD guifg=#008000 guibg=#CCFF00 + +" Messages +hi ErrorMsg gui=BOLD guifg=#FFFFFF guibg=#FF0000 +hi WarningMsg gui=BOLD guifg=#008000 guibg=#CCFF00 + +" Split area +hi StatusLine gui=BOLD guifg=#FFFFFF guibg=#0E8ED3 +hi StatusLineNC gui=BOLD guifg=#FFFFFF guibg=#0A6799 + +" Diff +hi DiffText gui=BOLD guifg=#FF0000 guibg=#FFEAE0 +hi DiffChange gui=BOLD guifg=#303030 guibg=#FFFFFF +hi DiffDelete gui=NONE guifg=#FFFFFF guibg=#FF0000 +hi DiffAdd gui=NONE guifg=#008000 guibg=#00FF00 + +" Cursor +hi Cursor gui=BOLD guifg=#FFFFFF guibg=#000000 +hi lCursor gui=BOLD guifg=#f8f8f8 guibg=#162CF7 +hi CursorIM gui=NONE guifg=#f8f8f8 guibg=#162CF7 + +" Fold +hi Folded gui=BOLD guifg=#0E8ED3 guibg=#DBF2FF +hi FoldColumn gui=NONE guifg=#0E8ED3 guibg=#DBF2FF + +" Other +hi LineNr gui=BOLD guifg=#00A0FF guibg=#DBF2FF +hi Directory gui=BOLD guifg=#0A6799 guibg=#FFFFFF +hi NonText gui=BOLD guifg=#009999 guibg=#FFFFFF +hi SpecialKey gui=BOLD guifg=#2020FF guibg=#FFFFFF +hi Title gui=BOLD guifg=#0000A0 guibg=#FFFFFF +hi Visual gui=NONE guifg=#404060 guibg=#dddde8 + +" Syntax group +" purple was #8000FF +hi Comment gui=ITALIC guifg=#888786 guibg=NONE +hi Constant gui=NONE guifg=#303030 guibg=NONE +hi Error gui=BOLD guifg=#FF0000 guibg=NONE +hi Identifier gui=BOLD guifg=#1F89E0 guibg=NONE +hi Ignore gui=NONE guifg=#f8f8f8 guibg=NONE +hi PreProc gui=NONE guifg=#006E26 guibg=NONE +hi Special gui=NONE guifg=#0E8ED3 guibg=#DBF2FF +hi Statement gui=BOLD guifg=#141312 guibg=NONE +hi Todo gui=NONE guifg=#FF0070 guibg=#FFE0F4 +hi Type gui=NONE guifg=#0057AE guibg=NONE +hi Underlined gui=UNDERLINE guifg=#0000ff guibg=NONE + +" HTML +hi htmlLink gui=UNDERLINE guifg=#0000ff guibg=NONE +hi htmlBold gui=BOLD +hi htmlBoldItalic gui=BOLD,ITALIC +hi htmlBoldUnderline gui=BOLD,UNDERLINE +hi htmlBoldUnderlineItalic gui=BOLD,UNDERLINE,ITALIC +hi htmlItalic gui=ITALIC +hi htmlUnderline gui=UNDERLINE +hi htmlUnderlineItalic gui=UNDERLINE,ITALIC + +" Scrollbar +hi Scrollbar gui=BOLD guifg=#00C0FF guibg=#FFFFFF +hi VertSplit gui=BOLD guifg=#FFFFFF guibg=#0E8ED3 +hi Visual gui=BOLD guifg=#FFFFFF guibg=#1679F9 + + diff --git a/.vim/colors/sonofobsidian.vim b/.vim/colors/sonofobsidian.vim new file mode 100644 index 0000000..f3a58c2 --- /dev/null +++ b/.vim/colors/sonofobsidian.vim @@ -0,0 +1,43 @@ +" Port of http://studiostyles.info/schemes/son-of-obsidian +" to vim +" Last Change: 2010 sep 28 +" Version: 1.0 +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="sonofobsidian" + + +hi Comment guifg=#99AA8A +hi Normal guifg=#FFFFFF guibg=#22282A +hi CursorLine guibg=#32383A +hi CursorColumn guibg=#32383A +hi Search guibg=#808080 +hi Visual guifg=#FFFFFF guibg=#4F6164 +hi VisualNOS guifg=#FFFFFF guibg=#4F6164 +hi Identifier guifg=#FFFFFF +hi Number guifg=#FFCD22 +hi Operator guifg=#E8E2B7 +hi String guifg=#EC7600 +hi FoldColumn guifg=#FFFFFF guibg=#394144 +hi LineNr guifg=#3F4E49 guibg=#293134 +hi PreProc guifg=#A082BD +hi Keyword guifg=#93C763 +hi Conditional guifg=#93C763 +hi Statement guifg=#93C763 +hi Type guifg=#93C763 +hi Structure guifg=#678CB1 +hi Tag guifg=#93C763 +hi xmlTagName guifg=#93C763 +hi xmlCdata guifg=#99A38A +hi xmlAttrib guifg=#678CB1 +hi htmlTagName guifg=#93C763 +hi htmlArg guifg=#678CB1 +hi ErrorMsg guifg=#FF0000 +hi WarningMsg guifg=#FFCD22 +hi Folded guifg=#808080 guibg=#1C2325 +hi PMenu guifg=#CCCCFF guibg=#1C2325 +hi PMenuSel guibg=#2C3335 + diff --git a/.vim/colors/sorcerer.vim b/.vim/colors/sorcerer.vim new file mode 100644 index 0000000..d708c10 --- /dev/null +++ b/.vim/colors/sorcerer.vim @@ -0,0 +1,97 @@ +" 'sorcerer.vim' -- Vim color scheme. +" Maintainer: Jeet Sukumaran +" Based on 'Mustang' by Henrique C. Alves (hcarvalhoalves@gmail.com), + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "sorcerer" + +hi Normal guifg=#c2c2b0 guibg=#202020 gui=NONE +hi ColorColumn guifg=NONE guibg=#1c1c1c +hi Cursor guifg=NONE guibg=#626262 gui=NONE +hi CursorColumn guibg=#2d2d2d +hi CursorLine guibg=#2d2d2d +hi DiffAdd guifg=#000000 guibg=#3cb371 gui=NONE +hi DiffChange guifg=#000000 guibg=#4f94cd gui=NONE +hi DiffDelete guifg=#000000 guibg=#8b3626 gui=NONE +hi DiffText guifg=#000000 guibg=#8ee5ee gui=NONE +hi Directory guifg=#1e90ff guibg=bg gui=NONE +hi ErrorMsg guifg=#ff6a6a guibg=NONE gui=bold +hi FoldColumn guifg=#68838b guibg=#4B4B4B gui=bold +hi Folded guifg=#406060 guibg=#232c2c gui=NONE +hi IncSearch guifg=#ffffff guibg=#ff4500 gui=bold +hi LineNr guifg=#686858 guibg=#000000 gui=NONE +hi MatchParen guifg=#fff000 guibg=#000000 gui=bold +hi ModeMsg guifg=#000000 guibg=#00ff00 gui=bold +hi MoreMsg guifg=#2e8b57 guibg=bg gui=bold +hi NonText guifg=#404050 guibg=bg gui=NONE + +hi Pmenu guifg=#ffffff guibg=#444444 +hi PmenuSel guifg=#000000 guibg=#b1d631 +" hi PmenuSbar guifg=#ffffff guibg=#c1cdc1 gui=NONE +" hi PmenuThumb guifg=#ffffff guibg=#838b83 gui=NONE + +hi Question guifg=#00ee00 guibg=NONE gui=bold +hi Search guifg=#000000 guibg=#d6e770 gui=bold +hi SignColumn guifg=#ffffff guibg=#cdcdb4 gui=NONE +hi SpecialKey guifg=#505060 guibg=NONE gui=NONE +hi SpellBad guisp=#ee2c2c gui=undercurl +hi SpellCap guisp=#0000ff gui=undercurl +hi SpellLocal guisp=#008b8b gui=undercurl +hi SpellRare guisp=#ff00ff gui=undercurl +hi StatusLine guifg=#000000 guibg=#808070 gui=bold +hi StatusLineNC guifg=#000000 guibg=#404c4c gui=italic +hi VertSplit guifg=#404c4c guibg=#404c4c gui=NONE +hi TabLine guifg=fg guibg=#d3d3d3 gui=underline +hi TabLineFill guifg=fg guibg=bg gui=reverse +hi TabLineSel guifg=fg guibg=bg gui=bold +hi Title guifg=#528b8b guibg=NONE gui=bold +hi Visual guifg=#000000 guibg=#6688aa gui=NONE +hi WarningMsg guifg=#ee9a00 guibg=bg gui=NONE +hi WildMenu guifg=#000000 guibg=#87ceeb gui=NONE + +" Syntax highlighting +hi Comment guifg=#707670 gui=italic +hi Boolean guifg=#ff9800 gui=NONE +hi String guifg=#779b70 gui=NONE +hi Identifier guifg=#9ebac2 gui=NONE +hi Function guifg=#faf4c6 gui=NONE +hi Type guifg=#7e8aa2 gui=NONE +hi Statement guifg=#90b0d1 gui=NONE +hi Keyword guifg=#90b0d1 gui=NONE +hi Constant guifg=#ff9800 gui=NONE +hi Number guifg=#cc8800 gui=NONE +hi Special guifg=#719611 gui=NONE +hi PreProc guifg=#528b8b gui=NONE +hi Todo guifg=#8f6f8f guibg=#202020 gui=italic,underline,bold + +" Diff +hi diffOldFile guifg=#da70d6 guibg=NONE gui=italic +hi diffNewFile guifg=#ffff00 guibg=NONE gui=italic +hi diffFile guifg=#ffa500 guibg=NONE gui=italic +hi diffLine guifg=#ff00ff guibg=NONE gui=italic +hi link diffOnly Constant +hi link diffIdentical Constant +hi link diffDiffer Constant +hi link diffBDiffer Constant +hi link diffIsA Constant +hi link diffNoEOL Constant +hi link diffCommon Constant +hi diffRemoved guifg=#cd5555 guibg=NONE gui=NONE +hi diffChanged guifg=#4f94cd guibg=NONE gui=NONE +hi diffAdded guifg=#00cd00 guibg=NONE gui=NONE +hi link diffSubname diffLine +hi link diffComment Comment + +" Python +hi pythonException guifg=#90b0d1 guibg=NONE gui=NONE +hi pythonExClass guifg=#996666 guibg=NONE gui=NONE +hi pythonDecorator guifg=#888555 guibg=NONE gui=NONE +hi link pythonDecoratorFunction pythonDecorator + diff --git a/.vim/colors/soso.vim b/.vim/colors/soso.vim new file mode 100644 index 0000000..c1e1a02 --- /dev/null +++ b/.vim/colors/soso.vim @@ -0,0 +1,67 @@ +"--------------------------------------------------------------------- +" $Id: soso.vim,v 1.3 2007/10/31 06:24:34 soso Exp $ +" +" Maintainer: Soeren Sonntag +" Last Change: $Date: 2007/10/31 06:24:34 $ +" +" Description: Vim color file +"--------------------------------------------------------------------- + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name="soso" + +hi Normal guifg=black guibg=#e4e4e4 ctermfg=black ctermbg=white +hi DiffAdd guibg=#c0ffe0 ctermbg=3 +hi DiffDelete guifg=#ff8097 guibg=#ffe0f7 ctermfg=4 ctermbg=5 +hi DiffChange guibg=#cfefff ctermbg=9 +hi DiffText guibg=#bfdfff gui=bold ctermbg=6 cterm=bold +hi NonText guifg=grey50 guibg=grey86 gui=bold ctermfg=darkblue +hi SpecialKey guifg=grey50 guibg=grey86 gui=bold ctermfg=darkblue +hi NonText guifg=grey50 guibg=grey86 ctermfg=blue +hi LineNr guifg=grey50 guibg=grey86 ctermfg=darkblue +hi Search guibg=#fff999 +hi StatusLine guifg=bg guibg=black gui=bold ctermfg=bg ctermbg=black cterm=bold +hi StatusLineNC guifg=bg guibg=grey40 gui=NONE ctermfg=bg ctermbg=black cterm=NONE +hi Visual guifg=fg guibg=#ccccdd gui=NONE +hi VisualNOS guifg=bg guibg=#ccccdd gui=NONE + +" syntax highlighting groups +hi Comment guifg=#000099 guibg=bg ctermfg=darkblue +hi String guifg=#b30000 guibg=bg ctermfg=darkred +hi Constant guifg=#c033ff guibg=bg ctermfg=darkmagenta +hi Statement guifg=black guibg=bg ctermfg=black cterm=bold +hi PreProc guifg=#335588 guibg=bg gui=bold ctermfg=blue +hi Type guifg=#338855 guibg=bg gui=bold ctermfg=darkgreen +hi StorageClass guifg=#990000 guibg=bg ctermfg=red +hi Special guifg=#6688ff guibg=bg ctermfg=darkcyan +hi Function guifg=#117777 guibg=bg ctermfg=red + +" showpairs plugin +" for cursor on paren +hi ShowPairsHL guibg=#c4ffc4 ctermbg=lightgreen +" for cursor between parens +hi ShowPairsHLp guibg=#c4f0c4 ctermbg=lightgreen +" unmatched paren +hi ShowPairsHLe guibg=#ff5555 ctermbg=red + +" settings for Vim7 +if version >= 700 + hi MatchParen guibg=#c4ffc4 ctermbg=lightgreen + " Spell + hi SpellBad guifg=#cc0000 gui=undercurl guisp=#cc0000 ctermfg=red cterm=underline + hi SpellRare guifg=magenta gui=undercurl ctermfg=magenta cterm=underline + hi SpellCap gui=undercurl guisp=#22cc22 cterm=underline + " Completion menu + hi Pmenu guibg=#ffffcc ctermbg=yellow + hi PmenuSel guibg=#ddddaa ctermbg=lightcyan cterm=bold + hi PmenuSbar guibg=#999966 ctermbg=lightcyan + " Tab line + hi TabLine guibg=grey70 cterm=underline + hi TabLineSel gui=bold cterm=bold + hi TabLineFill guifg=black guibg=grey80 cterm=underline +endif diff --git a/.vim/colors/southernlights.vim b/.vim/colors/southernlights.vim new file mode 100644 index 0000000..796e7c6 --- /dev/null +++ b/.vim/colors/southernlights.vim @@ -0,0 +1,93 @@ +" Vim color scheme +" +" Name: southernlights256.vim +" Maintainer: Jakson Aquino +" Last Change: Sun Oct 24, 2010 10:36AM +" License: GNU/GPL +" +" Based on other color schemes. The starting point was 'torte' + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "southernlights" + +hi Boolean ctermfg=209 guifg=#ff875f +hi Character ctermfg=223 guifg=#ffd7af +hi Comment ctermfg=147 guifg=#afafff +hi Constant ctermfg=219 guifg=#ffafff +hi Conceal ctermfg=221 ctermbg=black guifg=#ffd75f guibg=black +hi Cursor ctermfg=Black ctermbg=Green cterm=bold guifg=Black guibg=Green gui=bold +hi CursorLine ctermbg=234 cterm=NONE guibg=#1c1c1c gui=none +hi CursorColumn ctermbg=234 cterm=NONE guibg=#1c1c1c gui=none +hi Directory ctermfg=27 guifg=#005fff +hi Function ctermfg=117 guifg=#87d7ff +hi Identifier ctermfg=cyan guifg=cyan +hi LineNr ctermfg=Black ctermbg=240 guifg=Black guibg=#585858 +hi MatchParen ctermfg=white ctermbg=58 guifg=white guibg=#5f5f00 +hi NonText ctermfg=21 guifg=#0000ff +hi Number ctermfg=223 guifg=#ffd7af +hi Normal ctermfg=253 ctermbg=Black guifg=#dadada guibg=Black +hi Operator ctermfg=204 guifg=#ff5f87 +hi Pmenu ctermfg=119 ctermbg=22 guifg=#87ff5f guibg=#005f00 +hi PmenuSel ctermfg=Yellow ctermbg=28 guifg=Yellow guibg=#008700 +hi PreProc ctermfg=13 ctermbg=Black guifg=#ff40ff +hi Search ctermfg=white ctermbg=58 guifg=white guibg=#5f5f00 +hi ShowMarksHLl ctermfg=227 ctermbg=28 guifg=#ffff5f guibg=#008700 +hi SignColumn guibg=#585858 +hi Special ctermfg=221 guifg=#ffd75f +hi SpecialKey ctermfg=14 guifg=#00ffff +hi SpellBad ctermfg=red ctermbg=NONE cterm=UNDERLINE guisp=red gui=undercurl +hi SpellLocal ctermfg=Green ctermbg=NONE cterm=UNDERLINE guisp=#00AA00 gui=undercurl +hi SpellRare ctermfg=Magenta ctermbg=NONE cterm=UNDERLINE guisp=Magenta gui=undercurl +hi Statement ctermfg=yellow guifg=yellow cterm=NONE gui=NONE +hi StatusLine ctermfg=239 ctermbg=white guifg=#4e4e4e guibg=white +hi StatusLineNC ctermfg=239 ctermbg=black guifg=gray30 guibg=black +hi TabLineSel ctermfg=white ctermbg=239 guifg=#4e4e4e guibg=white +hi TabLine ctermfg=247 ctermbg=234 cterm=NONE guifg=#9e9e9e guibg=#262626 gui=NONE +hi VertSplit ctermfg=239 ctermbg=black guifg=gray30 guibg=black +hi String ctermfg=229 guifg=#ffffaf +hi Title cterm=bold ctermfg=Magenta gui=bold guifg=Magenta +hi Type ctermfg=77 guifg=#5fd75f gui=NONE +hi vimCommentString ctermfg=147 guifg=#afafff gui=italic +hi Visual ctermfg=248 guifg=#a8a8a8 ctermbg=237 guibg=#3a3a3a +hi WarningMsg ctermfg=red + +" html +hi htmlLink cterm=UNDERLINE ctermfg=105 gui=UNDERLINE guifg=#8787ff +hi htmlBold cterm=BOLD gui=BOLD +hi htmlBoldItalic cterm=BOLD,ITALIC gui=BOLD,ITALIC +hi htmlBoldUnderline cterm=BOLD,UNDERLINE gui=BOLD,UNDERLINE +hi htmlBoldUnderlineItalic cterm=BOLD,UNDERLINE,ITALIC gui=BOLD,UNDERLINE,ITALIC +hi htmlItalic cterm=ITALIC gui=ITALIC +hi htmlUnderline cterm=UNDERLINE gui=UNDERLINE +hi htmlUnderlineItalic cterm=UNDERLINE,ITALIC gui=UNDERLINE,ITALIC + +" mail +hi mailHeader ctermfg=229 guifg=#ffffaf +hi mailSubject ctermfg=yellow guifg=yellow +hi mailQuoted1 ctermfg=48 guifg=#00ff87 +hi mailQuoted2 ctermfg=51 guifg=#00ffff +hi mailQuoted3 ctermfg=39 guifg=#00afff +hi mailQuoted4 ctermfg=33 guifg=#0087ff +hi mailQuoted5 ctermfg=27 guifg=#005fff +hi mailQuoted6 ctermfg=21 guifg=#0000ff +hi mailSignature ctermfg=209 guifg=#ff875f + +" diff +hi diffAdded ctermfg=40 guifg=#00d700 +hi diffRemoved ctermfg=210 guifg=#ff8787 +hi diffFile ctermfg=117 guifg=#87d7ff +hi diffOldFile ctermfg=117 guifg=#87d7ff +hi diffNewFile ctermfg=117 guifg=#87d7ff +hi diffLine ctermfg=yellow guifg=yellow + +" wdiff +hi link wdiffOld diffRemoved +hi link wdiffNew diffAdded + diff --git a/.vim/colors/southwest-fog.vim b/.vim/colors/southwest-fog.vim new file mode 100644 index 0000000..2b47384 --- /dev/null +++ b/.vim/colors/southwest-fog.vim @@ -0,0 +1,157 @@ +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Author: Mario Gutierrez (mario@mgutz.com) +" Last Change: Dececember 6, 2010 +" Version: 0.2 +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let colors_name = "southwest-fog" + + +"""""""""" General + +hi Normal guifg=#acb9c7 guibg=#26292e gui=none + +if version >= 700 + hi CursorColumn guibg=#30333a + hi CursorLine guibg=#30333a + hi MatchParen guifg=magenta guibg=#1a1d20 gui=bold,italic + hi Pmenu guifg=bg guibg=#957b94 + hi PmenuSel guifg=bg guibg=#a694b3 + + hi IncSearch guifg=bg guibg=#9d94b3 gui=bold + hi Search guifg=bg guibg=#9d94b3 gui=none +endif + +hi Cursor guifg=bg guibg=#73b87f gui=none +hi DiffAdd guifg=bg guibg=#70869d gui=none +hi DiffChange guifg=bg guibg=#a58f73 gui=none +hi DiffDelete guifg=bg guibg=#a27376 gui=none +hi DiffText guifg=bg guibg=#a4a273 gui=none +hi ErrorMsg guifg=fg guibg=#aa2e34 gui=none +hi Folded guifg=fg guibg=#3d4a3e gui=none +hi FoldColumn guifg=#d7969d guibg=#3f4c4d gui=none +hi LineNr guifg=#3d424a guibg=bg gui=none +hi NonText guifg=#3d424a guibg=bg gui=none +hi Question guifg=#6dbb6d guibg=bg gui=none +hi StatusLine guifg=#b0d3bb guibg=#1a1d20 gui=none +hi StatusLineNC guifg=#5a6c60 guibg=#1a1d20 gui=none +hi TabLine guifg=#555555 guibg=#dddddd gui=none +hi TabLineFill guifg=fg guibg=#dddddd gui=none +hi TabLineSel guifg=#101010 guibg=#b0b0b0 gui=none +hi Title guifg=#d7969d guibg=bg gui=none +hi VertSplit guifg=#1a1d20 guibg=#1a1d20 gui=none +hi Visual guifg=bg guibg=#94b3b3 gui=none +hi WarningMsg guifg=#bb6d6d guibg=bg gui=none + + +"""""""""" Syntax highlighting + +hi Comment guifg=#5a6c60 guibg=bg gui=italic +hi Constant guifg=#b1c7ad gui=none +hi Error guifg=fg guibg=#aa2e34 gui=none +hi Function guifg=#cccbb1 gui=none +hi Identifier guifg=#b89e93 gui=none +hi Ignore guifg=bg guibg=bg gui=none +hi Keyword guifg=#ccc0b1 gui=none +hi Number guifg=#e1d4a8 gui=none +hi PreProc guifg=#bbacc7 gui=none +hi Special guifg=#a58f73 gui=none +hi Special guifg=#b8a792 gui=none +hi Statement guifg=#ccc0b1 gui=none +hi String guifg=#9a7bb2 gui=none +hi Todo guifg=#bebb83 guibg=bg gui=bold +hi Type guifg=#cbb0b2 gui=none +hi Underlined guifg=#bea483 gui=underline + + +""""""""""" ERB + +hi link erubyDelimiter PreProc + + +""""""""""" HAML + +hi link hamlAttributes htmlArg +hi link hamlTag htmlTag +hi link hamlTagName htmlTagName +hi link hamlIdChar hamlId +hi link hamlClassChar hamlClass + + +""""""""""" HELP + +hi link helpSectionDelim NonText +hi link helpExample Statement + + +""""""""""" HTML + +hi link htmlTag Statement +hi link htmlEndTag Statement +hi link htmlTagName Statement + + +"""""""""" JavaScript + +hi link javaScriptFunction Statement +hi link javaScriptFuncName Function +hi link javaScriptLabel PreProc + + +"""""""""" MAKE + +hi link makeCommands Statement + + +"""""""""" MARKDOWN (tpope's vim-markdown) + +hi link markdownCodeBlock Statement +hi link markdownCode Statement +hi link markdownCodeDelimiter Statement +hi link markdownHeadingDelimiter Title +hi markdownLinkText guifg=#cbb0b2 gui=underline +hi markdownUrl guifg=#69839a guibg=bg gui=none +hi link markdownLinkTextDelimiter markdownUrl +hi link markdownLinkDelimiter markdownUrl + + +""""""""""" NERDTree + +hi link treePart NonText +hi link treePartFile treePart +hi link treeDirSlash treePart +hi link treeDir Statement +hi link treeClosable PreProc +hi link treeOpenable treeClosable +hi link treeUp treeClosable +hi treeFlag guifg=#3e71a1 guibg=bg gui=none +hi link treeHelp Comment +hi link treeLink Type +hi link treeExecFile Type + + +"""""""""" PHP + +hi link phpVarSelector Identifier + + +"""""""""" Ruby + +hi link rubyAccess PreProc +hi rubyInterpolation guifg=#f6abf1 guibg=bg +hi link rubyInterpolationDelimiter rubyInterpolation +hi link rubyStringDelimiter String + + +""""""""""" XML + +hi link xmlTag htmlTag +hi link xmlEndTag htmlEndTag +hi link xmlTagName htmlTagName + +" vim: set sw=4 sts=4: diff --git a/.vim/colors/spectro.vim b/.vim/colors/spectro.vim new file mode 100644 index 0000000..da7b550 --- /dev/null +++ b/.vim/colors/spectro.vim @@ -0,0 +1,207 @@ +" Vim color file +" Maintainer: Pierre-Antoine Lacaze +" Last Change: +" License: GPLv2 + +" To install, copy to ~/.vim/colors directory. Then :colorscheme spectro + +" spectro is a colorscheme that lets you define the global saturation and +" the global lightness to be used for all the colors. The hue is then +" defined on a per color basis +" hue, saturation and lightness shall be set between 0 and 255 +" I shamelessly used inkscape colors algorithm for HSL -> RGB conversion + +" The main interest is the ability to adapt to different screens +" by only changing the saturation and lightness in your vimrc : +" let g:spectro_saturation = 120 +" let g:spectro_lightness = 160 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name="spectro" + +" default saturation value +if ! exists("g:spectro_saturation") + let g:spectro_saturation = 130 +else + if g:spectro_saturation > 255 + let g:spectro_saturation = 255 + elseif g:spectro_saturation < 0 + let g:spectro_saturation = 0 + endif +endif + +" default lightness value +if ! exists("g:spectro_lightness") + let g:spectro_lightness = 130 +else + if g:spectro_lightness > 255 + let g:spectro_lightness = 255 + elseif g:spectro_lightness < 0 + let g:spectro_lightness = 0 + endif + +endif + +" function returning the hexadecimal value of an integer between 0 and 16 +fun! Dec2hex(s) + let str = "0123456789ABCDEF" + return str[a:s] +endfunc + +" function converting a (R,G,B) triplet into a "#rrggbb" string +fun! FormatRGB(rgb) + let r1 = a:rgb[0] / 16 + let g1 = a:rgb[1] / 16 + let b1 = a:rgb[2] / 16 + let r2 = a:rgb[0] % 16 + let g2 = a:rgb[1] % 16 + let b2 = a:rgb[2] % 16 + return "#".Dec2hex(r1).Dec2hex(r2).Dec2hex(g1).Dec2hex(g2).Dec2hex(b1).Dec2hex(b2) +endfun + +" function converting hue to RGB +fun! Hue2rgb(v1,v2,H) + let v1 = a:v1 + let v2 = a:v2 + let H = a:H + if H < 0 + let H += 6 * 255 + elseif H > 6 * 255 + let H -= 6 * 255 + end + + if H < 255 + return (v1 * 255 + (v2 - v1) * H) / (255 * 255) + elseif H < 3 * 255 + return v2 / 255 + elseif H < 4 * 255 + return (v1 * 255 + (v2 - v1) * (4 * 255 - H)) / (255 * 255) + else + return v1 / 255 + endif +endfun + +" function converting a (H,S,L) triplet into a (R,G,B) triplet +fun! Hsl2rgb(h) + let H = a:h + let S = g:spectro_saturation + let L = g:spectro_lightness + if S == 0 + let RGB = [L,L,L] + else + let RGB = [0,0,0] + if L < 128 + let v2 = L * (255 + S) + else + let v2 = 255* (L + S) - L * S + endif + let v1 = 2 * 255 * L - v2 + let RGB[0] = Hue2rgb(v1,v2,H * 6 + 2 * 255) + let RGB[1] = Hue2rgb(v1,v2,H * 6) + let RGB[2] = Hue2rgb(v1,v2,H * 6 - 2 * 255) + endif + return FormatRGB(RGB) +endfun + +" we choose the hue for each color to be used +" You may want to use inkscape to calibrate this +let white = "#ffffff" +let black = "#000000" +let gray = "#dcdccc" +let dblue = "#006060" +let c_comm = Hsl2rgb(71) +let c_spec = Hsl2rgb(27) +let c_numb = Hsl2rgb(128) +let c_iden = Hsl2rgb(42) +let c_stat = Hsl2rgb(212) +let c_prep = Hsl2rgb(8) +let c_erro = Hsl2rgb(0) +let c_curs = Hsl2rgb(58) +let c_visu = Hsl2rgb(223) +let c_tabl = Hsl2rgb(140) + + + +" let's define colors +exe "hi Comment guifg=".c_comm +exe "hi Special guifg=".c_spec." gui=none" +exe "hi Constant guifg=".c_spec." gui=bold" +exe "hi Number guifg=".c_numb +exe "hi Identifier guifg=".c_iden +exe "hi Statement guifg=".c_stat." gui=bold" +exe "hi PreProc guifg=".c_prep." gui=bold" +exe "hi Type guifg=".c_iden." gui=none" +exe "hi Todo guifg=".black ." guibg=".c_iden." gui=none" +exe "hi ErrorMsg guifg=".white ." guibg=".c_erro." gui=bold" +exe "hi MoreMsg guifg=".white ." guibg=".c_spec." gui=bold" +exe "hi Cursor guifg=".black ." guibg=".c_curs." gui=bold" +exe "hi WildMenu guifg=".black ." guibg=".c_curs." gui=bold" +exe "hi LineNr guifg=".c_curs +exe "hi Normal guifg=".gray ." guibg=".black +exe "hi Visual guifg=".black ." guibg=".c_spec +exe "hi Underlined guifg=".gray ." gui=underline" +exe "hi VertSplit guifg=".dblue ." guibg=".gray +exe "hi TabLine guifg=".gray ." guibg=".dblue ." gui=none" +exe "hi TablineFill guifg=".black ." guibg=".black +exe "hi TablineSel guifg=".white ." guibg=".c_tabl." gui=none" +exe "hi User2 guifg=".white ." guibg=".c_tabl." gui=none" +exe "hi StatusLine guifg=".white ." guibg=".c_tabl." gui=none" +exe "hi StatusLineNC guifg=".gray ." guibg=".dblue ." gui=none" +exe "hi Pmenu guifg=".gray ." guibg=".dblue ." gui=none" +exe "hi PmenuSel guifg=".black ." guibg=".c_tabl." gui=bold" +exe "hi PmenuSbar guifg=".black ." guibg=".gray ." gui=none" +exe "hi PmenuThumb guifg=".black ." guibg=".gray ." gui=none" +exe "hi Directory guifg=".c_comm +exe "hi DiffAdded guifg=".c_comm." gui=none" +exe "hi DiffChanged guifg=".c_iden." gui=none" +exe "hi DiffRemoved guifg=".c_erro." gui=none" +exe "hi DiffLine guifg=".c_numb." gui=bold" +exe "hi Folded guifg=".c_numb + +hi link SpecialChar Special +hi link Tag Special +hi link Delimiter Special +hi link String Special +hi link Character Special +hi link SpecialKey Special +hi link cFormat Special +hi link cSpecialCharacter Special +hi link Debug Constant +hi link SpecialComment Constant +hi link Boolean Number +hi link Float Number +hi link NonText Number +hi link Function Identifier +hi link Title Identifier +hi link Conditional Statement +hi link Repeat Statement +hi link Label Statement +hi link Operator Statement +hi link keyword Statement +hi link Exception Statement +hi link Include PreProc +hi link Define PreProc +hi link Macro PreProc +hi link PreCondit PreProc +hi link ModeMsg PreProc +hi link StorageClass Type +hi link Structure Type +hi link Typedef Type +hi link Search Todo +hi link IncSearch Todo +hi link Error ErrorMsg +hi link WarningMsg MoreMsg +hi link Question LineNr +hi link StatusLineNC TabLine +hi link User2 TabLineSel +hi link DiffAdd DiffAdded +hi link DiffChange DiffChanged +hi link DiffDelete DiffRemoved +hi link DiffText DiffLine +hi link FoldColumn Folded + diff --git a/.vim/colors/spiderhawk.vim b/.vim/colors/spiderhawk.vim new file mode 100644 index 0000000..884362f --- /dev/null +++ b/.vim/colors/spiderhawk.vim @@ -0,0 +1,22 @@ +" Vim color file +" Maintainer: Art Cowles +" Last Change: 2008-07-17 + +set background=dark +hi clear +if exists ("syntax_on") + syntax reset +endif +let g:colors_name="spiderhawk" + +" General colors +hi Normal guifg=#ffffff guibg=#000000 gui=none +hi FoldColumn guifg=#ffffff guibg=#333333 gui=none +hi Folded guifg=#ffffff guibg=#333333 gui=italic +"hi LineNr guifg=#ffff00 guibg=#111111 gui=none +"hi NonText guifg=#00ff00 guibg=#000000 gui=none +"hi StatusLine gui=reverse + +" Syntax highlighting +hi Comment guifg=#00ff00 guibg=NONE gui=none + diff --git a/.vim/colors/spring.vim b/.vim/colors/spring.vim new file mode 100644 index 0000000..06d79d0 --- /dev/null +++ b/.vim/colors/spring.vim @@ -0,0 +1,71 @@ + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + +" File Name: spring.vim +" Abstract: A color sheme file (only for GVIM), which make the VIM +" bright with colors. It looks like the flowers are in +" blossom in Spring. +" Author: CHE Wenlong +" Version: 1.0 +" Last Change: September 16, 2008 + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + +if !has("gui_running") + runtime! colors/default.vim + finish +endif + +set background=light + +hi clear + +" Version control +if version > 580 + hi clear + if exists("syntax_on") + syntax reset + endif +endif + +let colors_name = "spring" + +" Common +hi Normal guifg=#000000 guibg=#cce8cf gui=NONE +hi Visual guibg=#ccffff gui=NONE +hi Cursor guifg=#f5deb3 guibg=#2f4f4f gui=NONE +hi Cursorline guibg=#ccffff +hi lCursor guifg=#000000 guibg=#ffffff gui=NONE +hi LineNr guifg=#1060a0 guibg=#e0e0e0 gui=NONE +hi Title guifg=#202020 guibg=NONE gui=bold +hi Underlined guifg=#202020 guibg=NONE gui=underline + +" Split +hi StatusLine guifg=#f5deb3 guibg=#2f4f4f gui=bold +hi StatusLineNC guifg=#f5deb3 guibg=#2f4f4f gui=NONE +hi VertSplit guifg=#2f4f4f guibg=#2f4f4f gui=NONE + +" Folder +hi Folded guifg=#006699 guibg=#e0e0e0 gui=NONE + +" Syntax +hi Type guifg=#009933 guibg=NONE gui=bold +hi Define guifg=#1060a0 guibg=NONE gui=bold +hi Comment guifg=#1e90ff guibg=NONE gui=NONE +hi Constant guifg=#a07040 guibg=NONE gui=NONE +hi String guifg=#a07040 guibg=NONE gui=NONE +hi Number guifg=#cd0000 guibg=NONE gui=NONE +hi Statement guifg=#fc548f guibg=NONE gui=bold + +" Others +hi PreProc guifg=#1060a0 guibg=NONE gui=NONE +hi Error guifg=#ff0000 guibg=#ffffff gui=bold,underline +hi Todo guifg=#a0b0c0 guibg=NONE gui=bold,underline +hi Special guifg=#8B038D guibg=NONE gui=NONE +hi SpecialKey guifg=#d8a080 guibg=#e8e8e8 gui=NONE + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + +" vim:tabstop=4 + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" diff --git a/.vim/colors/stackoverflow.vim b/.vim/colors/stackoverflow.vim new file mode 100644 index 0000000..ed04159 --- /dev/null +++ b/.vim/colors/stackoverflow.vim @@ -0,0 +1,185 @@ +" ============================================================================= +" File: stackoverflow.vim +" Description: Vim color scheme file +" Filenames: *.java *.txt +" " Maintainer: Paul Sampi; +" ============================================================================= +set background=light +highlight clear +if exists("syntax_on") + syntax reset +endif +let colors_name = "stackoverflow" +" ============================================================================= +hi Normal guifg=#000000 guibg=#e9e9e9 gui=NONE +hi ColorColumn guifg=NONE guibg=#e6e6e6 +hi Cursor guifg=bg guibg=#F4A83D gui=NONE +hi CursorIM guifg=bg guibg=fg gui=NONE +hi lCursor guifg=bg guibg=fg gui=NONE +hi CursorLine gui=reverse +hi DiffAdd guifg=NONE guibg=#9d9d9d gui=NONE +hi DiffChange guifg=NONE guibg=#d1d1d1 gui=NONE +hi DiffDelete guifg=NONE guibg=#d8d8d5 gui=NONE +hi DiffText guifg=black guibg=#bababa gui=NONE +hi Directory guifg=#525252 guibg=bg gui=NONE +hi ErrorMsg guifg=#6f6f6f guibg=NONE gui=NONE +hi FoldColumn guifg=#555555 guibg=#cccbcb gui=bold +hi Folded guifg=#555555 guibg=#acacac gui=italic + +hi IncSearch guifg=black guibg=#adadad gui=NONE +hi Search guifg=black guibg=#adadad gui=NONE +hi LineNr guifg=#A0A0A0 guibg=NONE gui=NONE +hi MatchParen guifg=fg guibg=#D1C4A3 gui=bold +hi ModeMsg guifg=White guibg=#767676 gui=bold +hi MoreMsg guifg=#7c7c7c guibg=bg gui=bold +hi NonText guifg=#7e7e7e guibg=bg gui=bold + +hi Pmenu guifg=#646564 guibg=#b1b2b1 gui=reverse +hi PmenuSel guifg=fg guibg=#EE972F gui=bold +hi PmenuSbar guifg=White guibg=#989898 gui=NONE +hi PmenuThumb guifg=White guibg=#777777 gui=NONE + +hi Question guifg=#454545 guibg=bg gui=bold +hi SignColumn guifg=white guibg=#c5c5c5 gui=NONE + +hi SpecialKey guifg=white guibg=ivory3 gui=NONE + +hi SpellBad guisp=#323232 guibg=#d1cdcd gui=undercurl +hi SpellCap guisp=#5d5d5d gui=undercurl +hi SpellLocal guisp=#434343 gui=undercurl +hi SpellRare guisp=#7d7d7d gui=undercurl +hi StatusLine guifg=fg guibg=#DAB05B gui=NONE +hi StatusLineNC guifg=#808080 guibg=#bbbbbb gui=italic +hi TabLine guifg=fg guibg=LightGrey gui=underline +hi TabLineFill guifg=fg guibg=bg gui=reverse +hi TabLineSel guifg=fg guibg=bg gui=bold +hi Title guifg=#6d6d6d guibg=bg gui=NONE +hi VertSplit guifg=#b9b9b9 guibg=#b9b9b9 +hi Visual guifg=white guibg=#B36A02 gui=NONE +hi WarningMsg guifg=#cfcfcf guibg=#5b5b5b gui=NONE +hi WildMenu guifg=Black guibg=#c2c2c2 gui=NONE + +" ----------------------------------------------------------------------------- +hi Comment guifg=#808080 guibg=NONE gui=NONE +hi Constant guifg=#800000 guibg=NONE gui=NONE +hi String guifg=#800000 guibg=NONE gui=NONE +hi Boolean guifg=#616060 guibg=NONE gui=NONE +hi Identifier guifg=fg guibg=NONE gui=NONE +hi Function guifg=fg guibg=NONE gui=NONE +hi Statement guifg=#020076 guibg=NONE gui=NONE +hi Keyword guifg=#666666 guibg=NONE gui=NONE +hi PreProc guifg=#6b6b6b guibg=NONE gui=NONE +hi Type guifg=#000077 guibg=NONE gui=NONE +hi Special guifg=#6e6e6e guibg=NONE gui=NONE +hi Ignore guifg=bg guibg=NONE gui=NONE +hi Error guifg=#727272 guibg=NONE gui=undercurl +hi Conditional guifg=#000052 guibg=NONE gui=NONE +hi Todo guifg=fg guibg=NONE gui=bold +hi Underlined guifg=#9A4444 guibg=NONE gui=NONE +" ----------------------------------------------------------------------------- +hi VimError guifg=#b6b6b6 guibg=#313131 gui=bold +hi VimCommentTitle guifg=#5c5c5c guibg=bg gui=bold,italic +hi qfFileName guifg=#dedede guibg=NONE gui=italic +hi qfLineNr guifg=#808080 guibg=NONE gui=NONE +hi qfError guifg=#8e8e8e guibg=NONE gui=bold + +" ----------------------------------------------------------------------------- +hi pythonDecorator guifg=#3b3b3b guibg=NONE gui=bold +hi link pythonDecoratorFunction pythonDecorator +" ----------------------------------------------------------------------------- +hi diffOldFile guifg=#717171 guibg=NONE gui=NONE +hi diffNewFile guifg=#ababab guibg=NONE gui=bold +hi diffFile guifg=#676767 guibg=NONE gui=NONE +hi link diffOnly Constant +hi link diffIdentical Constant +hi link diffDiffer Constant +hi link diffBDiffer Constant +hi link diffIsA Constant +hi link diffNoEOL Constant +hi link diffCommon Constant +hi diffRemoved guifg=#b1b1b1 guibg=NONE gui=NONE +hi diffChanged guifg=#727272 guibg=NONE gui=NONE +hi diffAdded guifg=#919191 guibg=NONE gui=NONE +hi diffLine guifg=#4e4e4e guibg=NONE gui=italic +hi link diffSubname diffLine +hi link diffComment Comment +" ----------------------------------------------------------------------------- +"hi htmlLink guifg=#666666 guibg=NONE gui=underline,italic + +hi htmlTagName guifg=#800000 guibg=NONE gui=NONE +hi link htmlScriptTag htmlTagName +hi link htmlTag htmlTagName +hi link htmlTagN htmlTagName +hi link htmlEndTag htmlTagName +hi link htmlSpecialTagName htmlTagName +hi htmlString guifg=#0000FF guibg=NONE gui=NONE +hi htmlArg guifg=#FF0000 guibg=NONE gui=NONE +hi link htmlValue Constant + +hi link cssRenderAttr Constant +hi link cssTextAttr Constant +hi link cssUIAttr Constant +hi link cssTableAttr Constant +hi link cssColorAttr Constant +hi link cssBoxAttr Constant +hi link cssCommonAttr Constant +hi link cssFunctionName Constant +hi link cssRenderProp Type +hi link cssBoxProp Type + +hi link cssTagName Statement +hi link cssClassName cssTagName +hi link cssIdentifier cssTagName +hi link cssPseudoClass cssTagName +hi link cssPseudoClassId cssTagName + +hi cssBraces guifg=fg guibg=bg gui=NONE +hi javaScript guifg=fg guibg=NONE +hi link javaScriptFunction Statement +hi link javaScriptMember Statement +hi link javaScriptValue Constant +hi javaScriptType guifg=#257E9F + + +hi link javaSpecialChar Constant +hi javaParenT guifg=fg guibg=NONE gui=NONE +hi javaFold guifg=#257E9F guibg=NONE gui=NONE +" syn match javaFold /\w\+_\=[A-Z]\w\+/ +" syn match javaFold /\s\+[A-Z]\w\+\s*/ +" syn match javaFold /^[A-Z]\w\+\s*/ +" syn match javaParenT /\w\+()/ + + +hi link javaAnnotation Constant +hi link javaType Statement +hi link javaConstant Statement +hi link javaCharacter Statement + +hi link javaNumber Constant +hi link javaExternal Statement + +hi link cppStatement Statement +hi cBlock guifg=#257E9F guibg=NONE gui=NONE +" hi cType guifg=#257E9F guibg=NONE gui=NONE + +" syn match cBlock /\w\+_\=[A-Z]\w\+/ +" syn match cBlock /\s\+[A-Z]\w\+\s*/ +" syn match cBlock /^[A-Z]\w\+\s*/ +" syn match cBlock /\w\+()/ + +hi link objcClass Type +hi link cocoaClass objcClass +hi link objcSubclass objcClass +hi link objcSuperclass objcClass +hi link cocoaFunction Function +hi link objcMethodName Identifier +hi link objcMethodArg Normal +hi link objcMessageName Identifier + +hi mTag guifg=#257E9F +hi nTag guifg=fg +syn match mTag /\w\+_\=[A-Z]\w\+/ +syn match mTag /\s\+[A-Z]\w\+\s*/ +syn match mTag /^[A-Z]\w\+\s*/ +syn match nTag /\w\+()/ + diff --git a/.vim/colors/stingray.vim b/.vim/colors/stingray.vim new file mode 100644 index 0000000..e2a15cb --- /dev/null +++ b/.vim/colors/stingray.vim @@ -0,0 +1,66 @@ +" Vim color file +" Maintainer: connor berry +" Last Change: 6 July 2007 +" URL: www.narwhale.org + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="stingray" + + hi LineNr term=bold gui=bold guifg=White guibg=DarkGray + hi Normal ctermfg=White ctermbg=Black + hi Normal guifg=White guibg=Black + hi NonText ctermfg=DarkGray ctermbg=Black + hi NonText guifg=DarkGray guibg=Black + + hi Statement ctermfg=Cyan ctermbg=Black + hi Statement guifg=Cyan guibg=Black + hi Comment ctermfg=DarkGrey ctermbg=Black cterm=bold term=bold + hi Comment guifg=DarkGrey guibg=Black gui=bold term=bold + hi Constant ctermfg=DarkCyan ctermbg=Black + hi Constant guifg=DarkCyan guibg=Black + hi Identifier ctermfg=White ctermbg=Black + hi Identifier guifg=White guibg=Black + hi Type ctermfg=DarkCyan ctermbg=Black + hi Type guifg=DarkCyan guibg=Black + hi String ctermfg=Cyan ctermbg=black + hi String guifg=Cyan guibg=Black + hi Boolean ctermfg=Cyan ctermbg=Black + hi Boolean guifg=Cyan guibg=Black + hi Number ctermfg=Cyan ctermbg=Black + hi Number guifg=Cyan guibg=Black + hi Folded ctermfg=DarkCyan ctermbg=Black cterm=underline term=none + hi Folded guifg=DarkCyan guibg=Black gui=underline term=none + hi Special ctermfg=Grey ctermbg=Black + hi Special guifg=Grey guibg=Black + hi PreProc ctermfg=Grey ctermbg=Black cterm=bold term=bold + hi PreProc guifg=Grey guibg=Black gui=bold term=bold + hi Scrollbar ctermfg=DarkCyan ctermbg=Black + hi Scrollbar guifg=DarkCyan guibg=Black + hi Cursor ctermfg=Black ctermbg=white + hi Cursor guifg=Black guibg=white + hi ErrorMsg ctermfg=Red ctermbg=Black cterm=bold term=bold + hi ErrorMsg guifg=Red guibg=Black gui=bold term=bold + hi WarningMsg ctermfg=Yellow ctermbg=Black + hi WarningMsg guifg=Yellow guibg=Black + hi VertSplit ctermfg=White ctermbg=Black + hi VertSplit guifg=White guibg=Black + hi Directory ctermfg=Green ctermbg=DarkBlue + hi Directory guifg=Green guibg=DarkBlue + hi Visual ctermfg=White ctermbg=DarkGray cterm=underline term=none + hi Visual guifg=White guibg=DarkGray gui=underline term=none + hi Title ctermfg=White ctermbg=DarkBlue + hi Title guifg=White guibg=DarkBlue + + hi StatusLine term=bold cterm=bold,underline ctermfg=White ctermbg=Black + hi StatusLine term=bold gui=bold,underline guifg=White guibg=Black + hi StatusLineNC term=bold cterm=bold,underline ctermfg=Gray ctermbg=Black + hi StatusLineNC term=bold gui=bold,underline guifg=Gray guibg=Black + hi LineNr term=bold cterm=bold ctermfg=White ctermbg=DarkGray + hi LineNr term=bold gui=bold guifg=White guibg=DarkGray + + hi cursorline ctermbg=DarkBlue + hi cursorline guibg=DarkBlue diff --git a/.vim/colors/strawimodo.vim b/.vim/colors/strawimodo.vim new file mode 100644 index 0000000..46350cf --- /dev/null +++ b/.vim/colors/strawimodo.vim @@ -0,0 +1,120 @@ +" Name: strawimodo +" Description: vim colorscheme +" Name: strawimodo +" +" Maintainer: Marco Hinz +" License: Public Domain +" Version: 0.3 +" Date: Do, 22 Jan 2010 +" +" Notes: +" +" 1) In the beginning I was inspired by railscasts.vim, +" but it mutated to something totally different. +" +" 2) To me having a clean theme structure is as +" important as the actual design. + + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "strawimodo" + + +" general appearance {{{1 + +hi Cursor guibg=#ffffff +hi CursorLine guibg=#333435 +hi Directory guifg=#a5c261 gui=none +hi Normal guifg=#c3dafd guibg=#393939 gui=none +hi Visual guibg=#5a647e + +" Pmenu = normal item in popup +" PMenuSbar = scrollbar in popup +" PmenuSel = selected item in popop +" PMenuThumb = thumb of the scrollbar in popup + +hi Pmenu guifg=#000000 guibg=#b2c867 gui=none +hi PMenuSbar guibg=#5a647e gui=none +hi PmenuSel guifg=#ffffff guibg=#ff855c gui=bold +hi PMenuThumb guibg=#aaaaaa gui=none + +" FoldColumn = the '+' you can click when having folds +" Folded = closed folds +" LineNr = :set nu +" ModeMsg = -- INSERT -- +" NonText = everything below EOF +" SignColumn = left from the 'LineNr' when enabled +" StatusLine = active statusline +" StatusLineNC = unactive statuslines +" VertSplit = vert split seperator + +hi FoldColumn guifg=#ff855c guibg=#303030 gui=none +hi Folded guifg=#78acc9 guibg=#444444 gui=none +hi LineNr guifg=#797979 guibg=#303030 gui=none +hi ModeMsg guifg=#f9d07f gui=bold +hi NonText guifg=#303030 guibg=#303030 gui=none +hi SignColumn guifg=#797979 guibg=#303030 gui=none +hi StatusLine guifg=#222222 guibg=#b2c867 gui=none +hi StatusLineNC guifg=#797979 guibg=#303030 gui=none +hi VertSplit guifg=#797979 guibg=#303030 gui=none + +hi Comment guifg=#bc9458 gui=bold,italic +hi Error guifg=#ffffff guibg=#aa5555 gui=none +hi ErrorMsg guifg=#ffffff guibg=#aa5555 gui=none +hi Todo guifg=#000000 guibg=#ff855c gui=bold +hi WarningMsg guifg=#000000 guibg=#ff855c gui=none + +" IncSearch = incremental search +" Search = found matches + +hi IncSearch guifg=#ffffff guibg=#8d97af gui=bold +hi Search guifg=#000000 guibg=#f9d07f gui=bold + +" the diff mode uses rather unintrusive colors + +" DiffAdd = added line +" DiffChange = changed line +" DiffDelete = removed line +" DiffText = changed characters + +hi DiffAdd guifg=#ffffff guibg=#395939 gui=none +hi DiffChange guifg=#ffffff guibg=#393959 gui=none +hi DiffDelete guifg=#000000 guibg=#593939 gui=none +hi DiffText guifg=#000000 guibg=#ff855c gui=bold + +" TabLineFill = unfilled tabline +" TabLineSel = active tab +" TabLine = unactive tabs + +hi TabLineFill guifg=#303030 +hi TabLine guibg=#505050 gui=italic +hi TabLineSel guifg=#222222 guibg=#b2c867 gui=bold + +" syntax highlighting {{{1 + +hi Constant guifg=#78acc9 gui=none +hi Define guifg=#CC7833 gui=none +hi Delimiter guifg=#519F50 gui=none +hi Function guifg=#f9d07f gui=none +hi Identifier guifg=#d0d0ff gui=none +hi Include guifg=#ff7a53 gui=none +hi Keyword guifg=#CC7833 gui=none +hi Macro guifg=#CC7833 gui=none +hi Number guifg=#ff7a53 gui=bold +hi PreCondit guifg=#CC7833 gui=none +hi PreProc guifg=#CC7833 gui=none +hi Statement guifg=#f9d07f gui=bold +hi String guifg=#b2c867 gui=bold +hi Title guifg=#ffffff gui=none +hi Type guifg=#d78a42 gui=bold + +" plugin-specific {{{1 + +" file name from taglist.vim +hi TagListFileName guifg=#b2c867 gui=bold + +" vim: set fdm=marker foldmarker={{{,}}} diff --git a/.vim/colors/summerfruit.vim b/.vim/colors/summerfruit.vim new file mode 100644 index 0000000..8030b82 --- /dev/null +++ b/.vim/colors/summerfruit.vim @@ -0,0 +1,87 @@ +" +" SummerFruit Color Scheme +" ======================== +" +" Author: Armin Ronacher +" Version: 0.1 +" +set background=light + +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "summerfruit" + +" Global +hi Normal guifg=#000000 guibg=#ffffff +hi NonText guifg=#438ec3 guibg=#b7dce8 + +" Search +hi Search guifg=#800000 guibg=#ffae00 +hi IncSearch guifg=#800000 guibg=#ffae00 + +" Interface Elements +hi StatusLine guifg=#ffffff guibg=#43c464 gui=bold +hi StatusLineNC guifg=#9bd4a9 guibg=#51b069 +hi VertSplit guifg=#3687a2 guibg=#3687a2 +hi Folded guifg=#3c78a2 guibg=#c3daea +hi IncSearch guifg=#708090 guibg=#f0e68c +hi Pmenu guifg=#ffffff guibg=#cb2f27 +hi SignColumn guibg=#1b5c8a +hi CursorLine guibg=#eff2f4 +hi LineNr guifg=#eeeeee guibg=#438ec3 gui=bold +hi MatchParen guibg=#cddae5 + +" Specials +hi Todo guifg=#e50808 guibg=#dbf3cd gui=bold +hi Title guifg=#000000 gui=bold +hi Special guifg=#fd8900 + +" Syntax Elements +hi String guifg=#0086d2 +hi Constant guifg=#0086d2 +hi Number guifg=#0086f7 gui=bold +hi Statement guifg=#fb660a gui=bold +hi Function guifg=#ff0086 gui=bold +hi PreProc guifg=#ff0007 gui=bold +hi Comment guifg=#22a21f guibg=#dbf3cd gui=italic +hi Type guifg=#70796b gui=bold +hi Error guifg=#ffffff guibg=#d40000 +hi Identifier guifg=#ff0086 gui=bold +hi Label guifg=#ff0086 + +" Python Highlighting +hi pythonCoding guifg=#ff0086 +hi pythonRun guifg=#ff0086 +hi pythonBuiltinObj guifg=#2b6ba2 gui=bold +hi pythonBuiltinFunc guifg=#2b6ba2 gui=bold +hi pythonException guifg=#ee0000 gui=bold +hi pythonExClass guifg=#66cd66 gui=bold +hi pythonSpaceError guibg=#f8e6e6 +hi pythonDocTest guifg=#2f5f49 +hi pythonDocTest2 guifg=#3b916a +hi pythonFunction guifg=#ee0000 gui=bold +hi pythonClass guifg=#ff0086 gui=bold + +" HTML Highlighting +hi htmlTag guifg=#00bdec gui=bold +hi htmlEndTag guifg=#00bdec gui=bold +hi htmlSpecialTagName guifg=#4aa04a +hi htmlTagName guifg=#4aa04a +hi htmlTagN guifg=#4aa04a + +" Jinja Highlighting +hi jinjaTagBlock guifg=#ff0007 guibg=#fbf4c7 gui=bold +hi jinjaVarBlock guifg=#ff0007 guibg=#fbf4c7 +hi jinjaString guifg=#0086d2 guibg=#fbf4c7 +hi jinjaNumber guifg=#bf0945 guibg=#fbf4c7 gui=bold +hi jinjaStatement guifg=#fb660a guibg=#fbf4c7 gui=bold +hi jinjaComment guifg=#008800 guibg=#002300 gui=italic +hi jinjaFilter guifg=#ff0086 guibg=#fbf4c7 +hi jinjaRaw guifg=#aaaaaa guibg=#fbf4c7 +hi jinjaOperator guifg=#ffffff guibg=#fbf4c7 +hi jinjaVariable guifg=#92cd35 guibg=#fbf4c7 +hi jinjaAttribute guifg=#dd7700 guibg=#fbf4c7 +hi jinjaSpecial guifg=#008ffd guibg=#fbf4c7 diff --git a/.vim/colors/summerfruit256.vim b/.vim/colors/summerfruit256.vim new file mode 100644 index 0000000..d62cbf8 --- /dev/null +++ b/.vim/colors/summerfruit256.vim @@ -0,0 +1,322 @@ +" Vim color file +" Maintainer: Martin Baeuml +" Last Change: 2008-02-09 +" +" This color file is a modification of the "summerfruit" color scheme by Armin Ronacher +" so that it can be used on 88- and 256-color xterms. The colors are translated +" using Henry So's programmatic approximation of gui colors from his "desert256" +" color scheme. +" +" I removed the "italic" option and the background color from +" comment-coloring because that looks odd on my console. +" +" The original "summerfruit" color scheme and "desert256" are available from vim.org. + +set background=light +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="summerfruit256" + +if has("gui_running") || &t_Co == 88 || &t_Co == 256 + " functions {{{ + " returns an approximate grey index for the given grey level + fun 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 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 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 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 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 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 color(r, g, b) + " get the closest grey + let l:gx = grey_number(a:r) + let l:gy = grey_number(a:g) + let l:gz = grey_number(a:b) + + " get the closest color + let l:x = rgb_number(a:r) + let l:y = rgb_number(a:g) + let l:z = rgb_number(a:b) + + if l:gx == l:gy && l:gy == l:gz + " there are two possibilities + let l:dgr = grey_level(l:gx) - a:r + let l:dgg = grey_level(l:gy) - a:g + let l:dgb = grey_level(l:gz) - a:b + let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb) + let l:dr = rgb_level(l:gx) - a:r + let l:dg = rgb_level(l:gy) - a:g + let l:db = 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 grey_color(l:gx) + else + " use the color + return rgb_color(l:x, l:y, l:z) + endif + else + " only one possibility + return rgb_color(l:x, l:y, l:z) + endif + endfun + + " returns the palette index to approximate the 'rrggbb' hex string + fun 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 color(l:r, l:g, l:b) + endfun + + " sets the highlighting for the given group + fun X(group, fg, bg, attr) + if a:fg != "" + exec "hi " . a:group . " guifg=#" . a:fg . " ctermfg=" . rgb(a:fg) + endif + if a:bg != "" + exec "hi " . a:group . " guibg=#" . a:bg . " ctermbg=" . rgb(a:bg) + endif + if a:attr != "" + exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr + endif + endfun + " }}} + + " Global + call X("Normal", "000000", "ffffff", "") + call X("NonText", "438ec3", "b7dce8", "") + + " Search + call X("Search", "800000", "ffae00", "") + call X("IncSearch", "800000", "ffae00", "") + + " Interface Elements + call X("StatusLine", "ffffff", "43c464", "bold") + call X("StatusLineNC", "9bd4a9", "51b069", "") + call X("VertSplit", "3687a2", "3687a2", "") + call X("Folded", "3c78a2", "c3daea", "") + call X("IncSearch", "708090", "f0e68c", "") + call X("Pmenu", "ffffff", "cb2f27", "") + call X("SignColumn", "", "", "") + call X("CursorLine", "", "c0d9eb", "") + call X("LineNr", "eeeeee", "438ec3", "bold") + call X("MatchParen", "", "", "") + + " Specials + call X("Todo", "e50808", "dbf3cd", "bold") + call X("Title", "000000", "", "") + call X("Special", "fd8900", "", "") + + " Syntax Elements + call X("String", "0086d2", "", "") + call X("Constant", "0086d2", "", "") + call X("Number", "0086f7", "", "") + call X("Statement", "fb660a", "", "") + call X("Function", "ff0086", "", "") + call X("PreProc", "ff0007", "", "") + call X("Comment", "22a21f", "", "bold") + call X("Type", "70796b", "", "") + call X("Error", "ffffff", "d40000", "") + call X("Identifier", "ff0086", "", "") + call X("Label", "ff0086", "", "") + + " Python Highlighting + call X("pythonCoding", "ff0086", "", "") + call X("pythonRun", "ff0086", "", "") + call X("pythonBuiltinObj", "2b6ba2", "", "") + call X("pythonBuiltinFunc", "2b6ba2", "", "") + call X("pythonException", "ee0000", "", "") + call X("pythonExClass", "66cd66", "", "") + call X("pythonSpaceError", "", "", "") + call X("pythonDocTest", "2f5f49", "", "") + call X("pythonDocTest2", "3b916a", "", "") + call X("pythonFunction", "ee0000", "", "") + call X("pythonClass", "ff0086", "", "") + + " HTML Highlighting + call X("htmlTag", "00bdec", "", "") + call X("htmlEndTag", "00bdec", "", "") + call X("htmlSpecialTagName", "4aa04a", "", "") + call X("htmlTagName", "4aa04a", "", "") + call X("htmlTagN", "4aa04a", "", "") + + " Jinja Highlighting + call X("jinjaTagBlock", "ff0007", "fbf4c7", "bold") + call X("jinjaVarBlock", "ff0007", "fbf4c7", "") + call X("jinjaString", "0086d2", "fbf4c7", "") + call X("jinjaNumber", "bf0945", "fbf4c7", "bold") + call X("jinjaStatement", "fb660a", "fbf4c7", "bold") + call X("jinjaComment", "008800", "002300", "italic") + call X("jinjaFilter", "ff0086", "fbf4c7", "") + call X("jinjaRaw", "aaaaaa", "fbf4c7", "") + call X("jinjaOperator", "ffffff", "fbf4c7", "") + call X("jinjaVariable", "92cd35", "fbf4c7", "") + call X("jinjaAttribute", "dd7700", "fbf4c7", "") + call X("jinjaSpecial", "008ffd", "fbf4c7", "") + + " delete functions {{{ + delf X + delf rgb + delf color + delf rgb_color + delf rgb_level + delf rgb_number + delf grey_color + delf grey_level + delf grey_number + " }}} +endif + +" vim: set fdl=0 fdm=marker: + diff --git a/.vim/colors/surveyor.vim b/.vim/colors/surveyor.vim new file mode 100644 index 0000000..33cd176 --- /dev/null +++ b/.vim/colors/surveyor.vim @@ -0,0 +1,51 @@ +" Surveyor color scheme version 1.0 +" By Marcel Strik + +set background=light +hi clear + +if exists( "syntax_on" ) + syntax reset +endif + +let g:colors_name = "Surveyor" + +" hi Normal guibg=#5f626d guifg=#e1eaff +hi Normal guibg=#000040 guifg=#e1eaff +hi NonText guibg=#5f626d guifg=#fefefe +hi Cursor guibg=#fef047 + +hi Statement guifg=#d9f5ff +hi Special guifg=#efefaa gui=bold +hi Constant guifg=#ffd6b0 +hi Comment guifg=#fceb70 +hi Preproc guifg=#aec5ff +hi Type guifg=#ffd9f4 +hi Identifier guifg=#fff297 + +hi StatusLine guibg=#7076af +hi StatusLineNC guibg=#a7abcd + +hi Visual guibg=#a7abcd + +hi VertSplit guibg=#7076af guifg=#dddeec + +hi Directory guibg=#6c0075 guifg=#fbcaff + +hi WarningMsg guibg=red + +hi Error guibg=red + +hi IncSearch guibg=red +hi Search guibg=#d09e09 guifg=white gui=bold + +hi Title guifg=#ffc4ed + +hi Underlined guifg=#f9c6fd + +hi SpecialKey guibg=#c10000 guifg=#ffd2d2 + +hi Function guifg=#bbcfff gui=bold + + + diff --git a/.vim/colors/symfony.vim b/.vim/colors/symfony.vim new file mode 100644 index 0000000..8760a51 --- /dev/null +++ b/.vim/colors/symfony.vim @@ -0,0 +1,115 @@ +" Vim color file +" Maintainer: Juan frias +" Last Change: 2009 Apr 4 +" Version: 1.0.0 +" URL: http://www.axisym3.net/jdany/vim-the-editor/#symfony + +highlight clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "symfony" +set background=dark + +highlight Normal ctermfg=15 ctermbg=235 guifg=#ffffff guibg=#222222 + +" Search +highlight IncSearch ctermfg=0 ctermbg=226 guifg=#000000 guibg=#ffff00 +highlight Search ctermfg=0 ctermbg=3 guifg=#000000 guibg=#c0c000 + +" Messages +highlight ErrorMsg ctermfg=15 ctermbg=196 guifg=White guibg=Red +highlight WarningMsg ctermfg=196 guifg=Red +highlight ModeMsg cterm=bold gui=bold +highlight MoreMsg cterm=bold ctermfg=72 gui=bold guifg=SeaGreen +highlight Question cterm=bold ctermfg=46 gui=bold guifg=Green + +" Split area area +highlight StatusLine cterm=bold,reverse gui=bold,reverse +highlight StatusLineNC cterm=reverse gui=reverse +highlight VertSplit cterm=reverse gui=reverse +highlight WildMenu ctermfg=0 ctermbg=226 guifg=Black guibg=Yellow + +" Diff +highlight DiffAdd ctermfg=254 ctermbg=71 guifg=#E6E1DC guibg=#519F50 +highlight DiffDelete ctermfg=236 ctermbg=234 guifg=#303030 guibg=#1c1c1c +highlight DiffChange ctermbg=52 guibg=#600000 +highlight DiffText ctermfg=254 ctermbg=124 guifg=#E6E1DC guibg=#b00000 + +" Cursor +highlight CursorColumn ctermbg=241 guibg=Grey40 +highlight CursorLine ctermbg=0 guibg=#000000 +highlight Cursor ctermfg=0 ctermbg=15 guifg=#000000 guibg=#FFFFFF +highlight lCursor ctermfg=15 ctermbg=235 guifg=bg guibg=fg + +" Fold +highlight Folded ctermfg=236 ctermbg=248 guifg=#333333 guibg=DarkGrey +highlight FoldColumn ctermfg=236 ctermbg=250 guifg=#333333 guibg=Grey + +" Popup Menu Menu +highlight Pmenu ctermbg=201 guibg=Magenta +highlight PmenuSel ctermbg=248 guibg=DarkGrey +highlight PmenuSbar ctermbg=250 guibg=Grey +highlight PmenuThumb cterm=reverse gui=reverse + +" Syntax group +highlight Comment ctermfg=133 guifg=#bd48b3 +highlight Constant ctermfg=67 guifg=#6D9CBE +highlight Error ctermfg=215 ctermbg=88 guifg=#FFC66D guibg=#990000 +highlight Identifier ctermfg=67 guifg=#6D9CBE +highlight Ignore ctermbg=235 guifg=bg +highlight PreProc ctermfg=254 guifg=#E6E1DC +highlight Special ctermfg=221 guifg=#ffcc66 +highlight Statement ctermfg=208 ctermbg=235 guifg=#ff8400 guibg=bg +highlight Todo ctermfg=21 ctermbg=226 guifg=Blue guibg=Yellow +highlight Type ctermfg=167 guifg=#da4939 +highlight Underlined cterm=underline ctermfg=111 gui=underline guifg=#80a0ff +highlight String ctermfg=118 guifg=#99ff00 +highlight Number ctermfg=107 guifg=#A5C261 +highlight Define ctermfg=221 guifg=#ffcc66 +highlight Function ctermfg=221 guifg=#ffcc66 +highlight Include ctermfg=173 guifg=#CC7833 +highlight Keyword ctermfg=221 guifg=#ffcc66 +highlight Operator ctermfg=255 guifg=#f0f0f0 +highlight PreCondit ctermfg=173 guifg=#CC7833 +highlight StorageClass ctermfg=221 guifg=#ffcc66 + +"Spelling +highlight SpellBad cterm=undercurl ctermfg=160 gui=undercurl guifg=#D70000 +highlight SpellCap cterm=underline ctermfg=189 gui=underline guifg=#D0D0FF +highlight SpellLocal cterm=undercurl gui=undercurl +highlight SpellRare cterm=underline ctermfg=168 gui=underline guifg=#D75F87 + +" Other +highlight Directory ctermfg=51 guifg=Cyan +highlight LineNr ctermfg=235 ctermbg=147 guifg=#2B2B2B guibg=#C0C0FF +highlight NonText ctermfg=239 ctermbg=235 guifg=#505050 guibg=#222222 +highlight SpecialKey ctermfg=51 guifg=Cyan +highlight Title cterm=bold ctermfg=15 gui=bold guifg=#FFFFFF +highlight Visual ctermbg=60 guibg=#5A647E +highlight MatchParen ctermfg=15 ctermbg=23 guifg=#FFFFFF guibg=#005f5f +highlight SignColumn ctermfg=51 ctermbg=250 guifg=Cyan guibg=Grey +highlight Structure ctermfg=221 guifg=#ffcc66 +highlight TabLineFill cterm=reverse gui=reverse +highlight TabLine cterm=underline ctermbg=248 gui=underline guibg=DarkGrey +highlight TabLineSel cterm=bold gui=bold +highlight VisualNOS cterm=bold,underline gui=bold,underline + +" Links +highlight link Macro PreProc +highlight link Exception Statement +highlight link Conditional Statement +highlight link Repeat Statement +highlight link Label Statement +highlight link Boolean Constant +highlight link Float Number +highlight link Character Constant +highlight link Typedef Type +highlight link Tag Special +highlight link SpecialChar Special +highlight link Delimiter Special +highlight link SpecialComment Special +highlight link Debug Special + +" vim:ff=unix: diff --git a/.vim/colors/synic.vim b/.vim/colors/synic.vim new file mode 100644 index 0000000..dea0715 --- /dev/null +++ b/.vim/colors/synic.vim @@ -0,0 +1,87 @@ +" ------------------------------------------------------------------ +" Filename: synic.vim +" Last Modified: Aug, 5 2009 (12:17) +" Maintainer: Adam Olsen (arolsen@gmail.com) +" Copyright: 2008 Adam Olsen +" 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) +" then load it with :colorscheme synic +" ------------------------------------------------------------------ +"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +"" +"" SPECIAL NOTE: +"" I believe this colorscheme is based off of Hans +"" Fugal's colorscheme "desert". +"" http://hans.fugal.net/vim/colors/desert.html +"" I might be wrong on this... if it looks like it was based off +"" of your colorscheme, let me know so I can give you credits. +"" +"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +"" The 256 color terminal version of this theme was created by +"" colorsupport.vim +hi clear +set background=dark +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "synic" +hi Normal guifg=ivory guibg=Black ctermfg=231 ctermbg=NONE +hi SignColumn gui=NONE guifg=Cyan guibg=Grey cterm=NONE ctermfg=51 ctermbg=250 +hi SpellBad gui=undercurl guifg=NONE guisp=Red cterm=undercurl ctermfg=NONE ctermbg=196 +hi SpellCap gui=undercurl guifg=NONE guisp=Blue cterm=undercurl ctermfg=NONE ctermbg=21 +hi SpellRare gui=undercurl guifg=NONE guisp=Magenta cterm=undercurl ctermfg=NONE ctermbg=201 +hi SpellLocal gui=undercurl guifg=NONE guisp=Cyan cterm=undercurl ctermfg=NONE ctermbg=51 +hi Pmenu gui=NONE guifg=NONE guibg=Magenta cterm=NONE ctermfg=NONE ctermbg=201 +hi PmenuSel gui=NONE guifg=NONE guibg=DarkGrey cterm=NONE ctermfg=NONE ctermbg=248 +hi PmenuSbar gui=NONE guifg=NONE guibg=Grey cterm=NONE ctermfg=NONE ctermbg=250 +hi PmenuThumb gui=reverse guifg=NONE guibg=NONE cterm=reverse ctermfg=NONE ctermbg=NONE +hi CursorColumn gui=NONE guifg=NONE guibg=Grey40 cterm=NONE ctermfg=NONE ctermbg=241 +hi CursorLine gui=NONE guifg=NONE guibg=Grey40 cterm=NONE ctermfg=NONE ctermbg=241 +hi MatchParen gui=NONE guifg=NONE guibg=DarkCyan cterm=NONE ctermfg=NONE ctermbg=30 +hi TabLineFill guifg=#272d2f guibg=#272d2f gui=None cterm=None ctermfg=236 ctermbg=236 +hi TabLine guifg=MistyRose3 guibg=#272d2f gui=None cterm=None ctermfg=181 ctermbg=236 +hi TabLineSel guifg=LightBlue3 guibg=#272d2f gui=None cterm=None ctermfg=110 ctermbg=236 +hi ErrorMsg gui=NONE guifg=Red guibg=Linen cterm=NONE ctermfg=196 ctermbg=NONE +hi IncSearch gui=NONE guibg=LightGreen guifg=Black cterm=NONE ctermfg=16 ctermbg=120 +hi ModeMsg gui=NONE guifg=fg guibg=bg cterm=NONE ctermfg=fg ctermbg=NONE +hi StatusLine gui=NONE guifg=LightBlue3 guibg=#272d2f cterm=NONE ctermfg=110 ctermbg=236 +hi StatusLineNC gui=NONE guifg=MistyRose3 guibg=#272d2f cterm=NONE ctermfg=181 ctermbg=236 +hi VertSplit gui=NONE guifg=LightBlue4 guibg=Black cterm=NONE ctermfg=66 ctermbg=NONE +hi Visual gui=reverse guifg=LightBlue4 guibg=Black cterm=reverse ctermfg=66 ctermbg=16 +hi VisualNOS gui=underline guifg=fg guibg=bg cterm=underline ctermfg=fg ctermbg=NONE +hi DiffText gui=NONE guifg=Yellow guibg=LightSkyBlue4 cterm=NONE ctermfg=226 ctermbg=66 +hi Cursor guibg=Lavender guifg=Black ctermfg=16 ctermbg=255 +hi lCursor guibg=Lavender guifg=Black ctermfg=16 ctermbg=255 +hi Directory guifg=LightGreen guibg=bg ctermfg=120 ctermbg=NONE +hi LineNr guifg=LightBlue3 guibg=bg ctermfg=110 ctermbg=NONE +hi MoreMsg gui=NONE guifg=SeaGreen guibg=bg cterm=NONE ctermfg=29 ctermbg=NONE +hi NonText gui=NONE guifg=Cyan4 guibg=Black cterm=NONE ctermfg=30 ctermbg=NONE +hi Question gui=NONE guifg=LimeGreen guibg=bg cterm=NONE ctermfg=77 ctermbg=NONE +hi Search gui=NONE guifg=SkyBlue4 guibg=Bisque cterm=NONE ctermfg=60 ctermbg=224 +hi SpecialKey guifg=Cyan guibg=bg ctermfg=51 ctermbg=NONE +hi Title gui=NONE guifg=Yellow2 guibg=bg cterm=NONE ctermfg=226 ctermbg=NONE +hi WarningMsg guifg=Tomato3 guibg=Black ctermfg=167 ctermbg=NONE +hi WildMenu gui=NONE guifg=Black guibg=SkyBlue4 cterm=NONE ctermfg=16 ctermbg=60 +hi Folded guifg=#f4aba2 guibg=bg ctermfg=217 ctermbg=NONE +hi FoldColumn guifg=DarkBlue guibg=Grey ctermfg=18 ctermbg=250 +hi DiffText gui=bold guifg=NONE guibg=Red cterm=bold ctermfg=NONE ctermbg=196 +hi DiffAdd gui=NONE guifg=Blue guibg=LightCyan cterm=NONE ctermfg=21 ctermbg=195 +hi DiffChange gui=NONE guifg=white guibg=LightCyan4 cterm=NONE ctermfg=231 ctermbg=102 +hi DiffDelete gui=None guifg=LightBlue guibg=LightCyan cterm=None ctermfg=152 ctermbg=195 +hi Constant gui=NONE guifg=MistyRose3 guibg=bg cterm=NONE ctermfg=181 ctermbg=NONE +hi String gui=NONE guifg=LightBlue3 guibg=bg cterm=NONE ctermfg=110 ctermbg=NONE +hi Special gui=NONE guifg=GoldenRod guibg=bg cterm=NONE ctermfg=178 ctermbg=NONE +hi Statement gui=NONE guifg=khaki guibg=bg cterm=NONE ctermfg=222 ctermbg=NONE +hi Operator gui=NONE guifg=#8673e8 guibg=bg cterm=NONE ctermfg=98 ctermbg=NONE +hi Ignore gui=NONE guifg=bg guibg=bg cterm=NONE ctermfg=NONE ctermbg=NONE +hi ToDo gui=NONE guifg=DodgerBlue guibg=bg cterm=NONE ctermfg=33 ctermbg=NONE +hi Error gui=NONE guifg=Red guibg=Linen cterm=NONE ctermfg=196 ctermbg=15 +hi Comment gui=NONE guifg=#62c600 guibg=bg cterm=NONE ctermfg=76 ctermbg=NONE +hi Identifier gui=bold guifg=LightBlue4 guibg=bg cterm=bold ctermfg=66 ctermbg=NONE +hi PreProc gui=NONE guifg=#ffa0a0 guibg=bg cterm=NONE ctermfg=217 ctermbg=NONE +hi Type gui=NONE guifg=NavajoWhite guibg=bg cterm=NONE ctermfg=223 ctermbg=NONE +hi Underlined gui=underline guifg=fg guibg=bg cterm=underline ctermfg=fg ctermbg=NONE diff --git a/.vim/colors/tabula.vim b/.vim/colors/tabula.vim new file mode 100644 index 0000000..d69c134 --- /dev/null +++ b/.vim/colors/tabula.vim @@ -0,0 +1,620 @@ +" ============================================================================ +" Filename: tabula.vim +" Last Modified: 2007-02-01 +" Version: 1.3 +" Maintainer: Bernd Pol (bernd.pol AT online DOT de) +" Copyright: 2006 Bernd Pol +" 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 based on marklar.vim by SM Smithfield, +" slightly modified for harmonic, yet easily distinguishable +" display on GUI and a 256 color xterm as well. +" Install: Put this file in the users colors directory (~/.vim/colors) +" then load it with :colorscheme tabula +" ============================================================================= +" TODO +" - automize options setting +" - keep options in some setup file, e.g.: +" tabula.rc, sub e.g. " ... " marks +" - options set up per directory (autoload option) +" such that text files be displayed other than e.g. c sources +" ============================================================================= + +hi clear +set background=dark +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "tabula" +"let g:Tabula_setOptions = 0 + +"============================================================================== +" Option Settings {{{1 +"============================================================================== +" +" Use these in your .vimrc file before the ':colorscheme tabula' line +" +" Alternatively set the options variable from the command line, e.g. +" :let Tabula_LNumUnderline=1 +" and then call +" :colorscheme tabula +" again. + +"------------------------------------------------------------------------------ +" Display Statements In Bold: {{{2 +" Tabula_BoldStatement = 0 statements display not bold +" Tabula_BoldStatement = 1 statements display bold +" Defaults to non-bold display. +"------------------------------------------------------------------------------ +" +let s:BoldStatement = 0 +if exists("g:Tabula_BoldStatement") + let s:BoldStatement = g:Tabula_BoldStatement +endif + +"------------------------------------------------------------------------------ +" Set GUI Cursor Color: {{{2 +" Tabula_CurColor = 'blue' +" Tabula_CurColor = 'red' +" Tabula_CurColor = 'yellow' +" Tabula_CurColor = 'white' +" Defaults to 'blue'. +"------------------------------------------------------------------------------ +" +let s:CurColor = "blue" +if exists("g:Tabula_CurColor") + let s:CurColor = g:Tabula_CurColor +endif + +"------------------------------------------------------------------------------ +" Set Color For Preprocessor Statements: {{{2 +" Tabula_ColorPre = 'blue' purple-blue +" Tabula_ColorPre = 'red' orange-red +" Tabula_ColorPre = 'yellow' lightgreen-yellow +" Defaults to 'blue'. +"------------------------------------------------------------------------------ +" +let s:ColorPre = "blue" +if exists("g:Tabula_ColorPre") + if g:Tabula_ColorPre == "red" || g:Tabula_ColorPre == "yellow" + let s:ColorPre = g:Tabula_ColorPre + endif +endif + +"------------------------------------------------------------------------------ +" Use Dark Error Background: {{{2 +" Sometimes desirable for less distracting error highlighting. +" Tabula_DarkError = 0 light red error background +" Tabula_DarkError = 1 dark red error background +" Defaults to light error background. +"------------------------------------------------------------------------------ +" +let s:DarkError = 0 +if exists("g:Tabula_DarkError") + let s:DarkError = g:Tabula_DarkError +endif + +"------------------------------------------------------------------------------ +" Use Multiple Colors For Constant Values: {{{2 +" Tabula_FlatConstants = 0 use different color for each type +" Tabula_FlatConstants = 1 use common color for all +" Defaults to using common colors. +"------------------------------------------------------------------------------ +" +let s:FlatConstants = 1 +if exists("g:Tabula_FlatConstants") + let s:FlatConstants = g:Tabula_FlatConstants +endif + +"------------------------------------------------------------------------------ +" How To Display Ignore And NonText Characters: {{{2 +" Tabula_InvisibleIgnore = 0 slightly visible +" (good for Vim documentation editing) +" Tabula_InvisibleIgnore = 1 invisible on standard background +" Defaults to invisible display. +"------------------------------------------------------------------------------ +" +let s:InvisibleIgnore = 1 +if exists("g:Tabula_InvisibleIgnore") + let s:InvisibleIgnore = g:Tabula_InvisibleIgnore +endif + +"------------------------------------------------------------------------------ +" Show Line Numbers Underlined: {{{2 +" Sometimes useful to spot a line more easily. +" Tabula_LNumUnderline = 0 not underlined +" Tabula_LNumUnderline = 1 line numbers are underlined +" Defaults to not underlined. +"------------------------------------------------------------------------------ +" +let s:LNumUnderline = 0 +if exists("g:Tabula_LNumUnderline") + let s:LNumUnderline = g:Tabula_LNumUnderline +endif + +"------------------------------------------------------------------------------ +" Let Search Occurrences Stand Out More Prominently: {{{2 +" Tabula_SearchStandOut = 0 normal dark background display +" Tabula_SearchStandOut = 1 prominent underlined display +" Tabula_SearchStandOut = 2 even more prominent display +" Defaults to normal display. +"------------------------------------------------------------------------------ +" +let s:SearchStandOut=0 +if exists("g:Tabula_SearchStandOut") + let s:SearchStandOut = g:Tabula_SearchStandOut +endif + +"------------------------------------------------------------------------------ +" How To Display TODOs And Similar: {{{2 +" Tabula_TodoUnderline = 0 display on a blue background +" Tabula_TodoUnderline = 1 display them underlined white +" Defaults to underlined display. +"------------------------------------------------------------------------------ +" +let s:TodoUnderline=1 +if exists("g:Tabula_TodoUnderline") + let s:TodoUnderline = g:Tabula_TodoUnderline +endif + +"============================================================================== +" Color Definitions {{{1 +"============================================================================== + +if version >= 700 + hi SpellBad guisp=#FF0000 + hi SpellCap guisp=#afaf00 + hi SpellRare guisp=#bf4040 + hi SpellLocal guisp=#00afaf ctermbg=0 + hi Pmenu guifg=#00ffff guibg=#000000 ctermfg=51 ctermbg=0 + hi PmenuSel guifg=#ffff00 guibg=#000000 gui=bold ctermfg=226 cterm=bold + hi PmenuSbar guibg=#204d40 ctermbg=6 + hi PmenuThumb guifg=#38ff56 ctermfg=3 + hi CursorColumn guibg=#096354 ctermbg=29 + hi CursorLine guibg=#096354 ctermbg=29 + hi Tabline guifg=bg guibg=fg gui=NONE ctermfg=NONE ctermbg=NONE cterm=reverse,bold + hi TablineSel guifg=#20012e guibg=#00a675 gui=bold + hi TablineFill guifg=#689C7C + hi MatchParen guifg=#38ff56 guibg=#0000ff gui=bold ctermfg=14 ctermbg=21 cterm=bold +endif +"------------------------------------------------------------------------------ + +hi Comment guifg=#00C5E7 ctermfg=45 + +"------------------------------------------------------------------------------ +" Constant Colors: +"------------------------------------------------------------------------------ +" +if s:FlatConstants + hi Constant guifg=#7DDCDB ctermfg=123 +else + hi Boolean guifg=#7EDBD8 ctermfg=123 + hi Character guifg=#AFD000 ctermfg=148 + hi Float guifg=#AF87DF ctermfg=141 + hi Number guifg=#00A7F7 ctermfg=39 + hi String guifg=#00DF00 ctermfg=46 +endif + +"------------------------------------------------------------------------------ +" Cursor Colors: +"------------------------------------------------------------------------------ +" +if s:CurColor == "yellow" + hi Cursor guifg=#000000 guibg=#EFEF00 +elseif s:CurColor == "red" + " Note: Input cursor will be invisible on Error Group + hi Cursor guifg=#00007F guibg=#F70000 +elseif s:CurColor == "blue" + hi Cursor guifg=#00007F guibg=#00EFEF +elseif s:CurColor == "white" + hi Cursor guifg=#000000 guibg=#FFFFFF +endif +"------------------------------------------------------------------------------ + +hi DiffAdd guifg=NONE guibg=#136769 ctermfg=4 ctermbg=7 cterm=none +hi DiffDelete guifg=NONE guibg=#50694A ctermfg=1 ctermbg=7 cterm=none +hi DiffChange guifg=fg guibg=#00463c gui=None ctermfg=4 ctermbg=2 cterm=none +hi DiffText guifg=#7CFC94 guibg=#00463c gui=bold ctermfg=4 ctermbg=3 cterm=none +hi Directory guifg=#25B9F8 guibg=NONE ctermfg=2 + +"------------------------------------------------------------------------------ +" Error Colors: +"------------------------------------------------------------------------------ +" +if s:DarkError +" hi Error guifg=#FF0000 guibg=#303800 gui=NONE ctermfg=9 ctermbg=236 cterm=NONE + hi Error guifg=NONE guibg=#303800 gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE +else + if s:CurColor == "red" + " Note: We need another background in this case to keep the cursor visible. + hi Error guifg=#FF0000 guibg=#FFFF00 gui=bold ctermfg=11 ctermbg=9 cterm=NONE + else + hi Error guifg=#FFFF00 guibg=#FF0000 gui=NONE ctermfg=11 ctermbg=9 cterm=NONE + endif +endif +"------------------------------------------------------------------------------ + +hi ErrorMsg guifg=#FFFFFF guibg=#FF0000 ctermfg=7 ctermbg=1 +hi FoldColumn guifg=#00BBBB guibg=#4E4E4E ctermfg=14 ctermbg=240 +hi Folded guifg=#44DDDD guibg=#4E4E4E ctermfg=14 ctermbg=240 +hi Identifier guifg=#FDAE5A ctermfg=215 cterm=none + +"------------------------------------------------------------------------------ +" Ignore Variants: +"------------------------------------------------------------------------------ +" +if s:InvisibleIgnore + " completely invisible + hi Ignore guifg=bg guibg=NONE ctermfg=23 + hi NonText guifg=bg guibg=NONE ctermfg=23 +else + " nearly invisible + hi Ignore guifg=#005FAF guibg=NONE ctermfg=26 + hi NonText guifg=#005FAF guibg=NONE ctermfg=26 +endif +"------------------------------------------------------------------------------ + +"------------------------------------------------------------------------------ +" Line Number Variants: +" Lines can sometimes be more precisely identified if the line numbers are +" underlined. +"------------------------------------------------------------------------------ +" +if s:LNumUnderline + hi LineNr guifg=#00FF00 guibg=#005080 gui=underline ctermfg=84 ctermbg=24 cterm=underline +else + hi LineNr guifg=#00FF00 guibg=#005080 ctermfg=84 ctermbg=24 +endif +"------------------------------------------------------------------------------ + +hi ModeMsg guifg=#FFFFFF guibg=#0000FF gui=NONE ctermfg=7 ctermbg=4 cterm=NONE +hi MoreMsg guifg=#FFFFFF guibg=#00A261 gui=NONE ctermfg=7 ctermbg=28 cterm=NONE + +"if &background == "dark" + hi Normal guifg=#71D289 guibg=#065349 ctermfg=85 ctermbg=23 +"else +" hi Normal guibg=#71D289 guifg=#065349 ctermfg=85 ctermbg=23 +"endif + +"------------------------------------------------------------------------------ +" Preprocessor Variants: +"------------------------------------------------------------------------------ +" +if s:ColorPre == "red" + hi PreProc guifg=#FF5F5F guibg=bg ctermfg=203 +elseif s:ColorPre == "yellow" + hi PreProc guifg=#AFFF00 guibg=bg ctermfg=154 +elseif s:ColorPre == "blue" + hi PreProc guifg=#8E8CDD guibg=bg ctermfg=105 +endif +"------------------------------------------------------------------------------ + +hi Question guifg=#E5E500 guibg=NONE gui=none ctermfg=11 ctermbg=NONE cterm=none + +"------------------------------------------------------------------------------ +" Search Stand Out Variants: +"------------------------------------------------------------------------------ +" +if s:SearchStandOut == 0 + hi IncSearch guifg=#D0D0D0 guibg=#206828 gui=NONE ctermfg=NONE ctermbg=22 cterm=NONE + hi Search guifg=NONE guibg=#212a81 ctermfg=NONE ctermbg=18 +elseif s:SearchStandOut == 1 + hi IncSearch guifg=#D0D0D0 guibg=#206828 gui=underline ctermfg=252 ctermbg=22 cterm=underline + hi Search guifg=#FDAD5D guibg=#202880 gui=underline ctermfg=215 ctermbg=18 cterm=underline +elseif s:SearchStandOut == 2 + hi IncSearch guibg=#D0D0D0 guifg=#206828 gui=underline ctermbg=252 ctermfg=22 cterm=underline + hi Search guibg=#FDAD5D guifg=#202880 gui=underline ctermbg=215 ctermfg=18 cterm=underline +endif +"------------------------------------------------------------------------------ + +hi SignColumn guifg=#00BBBB guibg=#204d40 +hi Special guifg=#00F2F3 guibg=NONE gui=none ctermfg=51 +hi SpecialKey guifg=#00F4F4 guibg=#266955 + +"------------------------------------------------------------------------------ +" Statement Variants: +"------------------------------------------------------------------------------ +" +if s:BoldStatement + hi Statement guifg=#DEDE00 gui=bold ctermfg=11 cterm=bold +else + hi Statement guifg=#E4E300 gui=none ctermfg=11 +endif +"------------------------------------------------------------------------------ + +hi StatusLine guifg=#000000 guibg=#7DCEAD gui=none ctermbg=00 cterm=reverse +hi StatusLineNC guifg=#245748 guibg=#689C7C gui=none ctermfg=72 ctermbg=23 cterm=reverse +hi Title guifg=#7CFC94 guibg=NONE gui=bold ctermfg=2 cterm=bold + +"------------------------------------------------------------------------------ +" Todo Variants: +"------------------------------------------------------------------------------ +" +if s:TodoUnderline + " Underlined + hi Todo guifg=#AFD7D7 guibg=NONE gui=underline ctermfg=159 ctermbg=NONE cterm=underline +else + " Blue background + hi Todo guifg=#00FFFF guibg=#0000FF ctermfg=51 ctermbg=4 +endif +"------------------------------------------------------------------------------ + +hi Type guifg=#F06BDB guibg=bg gui=none ctermfg=213 +hi Underlined gui=underline cterm=underline +hi VertSplit guifg=#245748 guibg=#689C7C gui=none ctermfg=72 ctermbg=23 cterm=reverse +hi Visual guibg=#0B7260 gui=none +hi WarningMsg guifg=#000087 guibg=#FFFF00 ctermfg=18 ctermbg=11 +hi WildMenu guifg=#20012e guibg=#00a675 gui=bold ctermfg=none ctermbg=none cterm=bold +" +hi pythonPreCondit ctermfg=2 cterm=none +hi tkWidget guifg=#D5B11C guibg=bg gui=bold ctermfg=7 cterm=bold +hi tclBookends guifg=#7CFC94 guibg=NONE gui=bold ctermfg=2 cterm=bold + +" ------------------------------------------------------------------------------------------------ +" Custom HTML Groups: +" (see ':help html.vim' for more info) +"------------------------------------------------------------------------------ + +let html_my_rendering=1 + +hi htmlBold guifg=#87FFD7 gui=bold ctermfg=122 cterm=bold +hi htmlBoldItalic guifg=#87D7EF gui=bold ctermfg=117 cterm=bold +hi htmlBoldUnderline guifg=#87FFD7 gui=bold,underline ctermfg=122 cterm=bold,underline +hi htmlBoldUnderlineItalic guifg=#87D7EF gui=bold,underline ctermfg=117 cterm=bold,underline +hi htmlH1 guifg=#00FF00 guibg=NONE gui=bold,underline ctermfg=2 cterm=bold,underline +hi htmlH2 guifg=#00FF00 guibg=NONE gui=bold ctermfg=2 cterm=bold +hi htmlH3 guifg=#00FF00 guibg=NONE gui=NONE ctermfg=2 +hi htmlH4 guifg=#00C700 guibg=NONE gui=underline ctermfg=34 cterm=underline +hi htmlH5 guifg=#00C700 guibg=NONE gui=NONE ctermfg=34 +hi htmlH6 guifg=#00A700 guibg=NONE gui=underline ctermfg=28 cterm=underline +hi htmlItalic guifg=#87D7D7 gui=NONE ctermfg=116 +hi htmlLink guifg=#8787D7 gui=underline ctermfg=105 cterm=underline +hi htmlUnderline gui=underline cterm=underline +hi htmlUnderlineItalic guifg=#87D7D7 gui=underline ctermfg=116 cterm=underline + +"------------------------------------------------------------------------------ +" Links To Other Highlight Groups: + +"============================================================================== +" Options Processor {{{1 +"============================================================================== +" +"------------------------------------------------------------------------------ +" Main Dialog: {{{2 +"------------------------------------------------------------------------------ +" +function! Tabula() + call inputsave() + let thisOption = 1 + while thisOption >= 1 && thisOption <= 9 + redraw + let thisOption = inputlist([ + \ "Select a 'Tabula_' option:", + \ "1. BoldStatement Display statements in bold", + \ "2. ColorPre Set Color for preprocessor statements", + \ "3. CurColor Set GUI cursor color", + \ "4. DarkError Use dark error background", + \ "5. FlatConstants Use multiple colors for constant values", + \ "6. InvisibleIgnore Display of Ignore and NonText characters", + \ "7. LNumUnderline Show line numbers underlined", + \ "8. SearchStandOut Display of search occurrences", + \ "9. TodoUnderline Display of TODOs and similar" + \ ]) + + redraw + if thisOption >= 1 && thisOption <= 9 + call Tabula_{thisOption}() + "let g:Tabula_setOptions = 1 + endif + endwhile + call inputrestore() +endfunction + +"------------------------------------------------------------------------------ +" Bold Statements: {{{2 +"------------------------------------------------------------------------------ +" +function! Tabula_1() + let curOption = "" + if s:BoldStatement == 0 + let curOption = "not " + endif + let optionValue = inputlist([ + \ "How to display statements (currently ".curOption."bold)?", + \ "1. bold", + \ "2. not bold" + \ ]) + if optionValue == 1 + let g:Tabula_BoldStatement = 1 + elseif optionValue == 2 + let g:Tabula_BoldStatement = 0 + endif +endfunction + +"------------------------------------------------------------------------------ +" Color For Preprocessor Statements: {{{2 +"------------------------------------------------------------------------------ +" +function! Tabula_2() + let optionValue = inputlist([ + \ "How to display preprocessor statements (currently ".s:ColorPre.")?", + \ "1. blue", + \ "2. red", + \ "3. yellow" + \ ]) + if optionValue == 1 + let g:Tabula_ColorPre = "blue" + elseif optionValue == 2 + let g:Tabula_ColorPre = "red" + elseif optionValue == 3 + let g:Tabula_ColorPre = "yellow" + endif +endfunction + +"------------------------------------------------------------------------------ +" GUI Cursor Color: {{{2 +"------------------------------------------------------------------------------ +" +function! Tabula_3() + let optionValue = inputlist([ + \ "Use which cursor color (currently ".s:CurColor.")?", + \ "1. blue", + \ "2. red", + \ "3. yellow", + \ "4. white" + \ ]) + if optionValue == 1 + let g:Tabula_CurColor = "blue" + elseif optionValue == 2 + let g:Tabula_CurColor = "red" + elseif optionValue == 3 + let g:Tabula_CurColor = "yellow" + elseif optionValue == 4 + let g:Tabula_CurColor = "white" + endif +endfunction + +"------------------------------------------------------------------------------ +" Use Dark Error Background: {{{2 +"------------------------------------------------------------------------------ +" +function! Tabula_4() + let curOption = "light " + if s:DarkError + let curOption = "dark " + endif + let optionValue = inputlist([ + \ "How to display errors in the text (currently ".curOption."background)?", + \ "1. light background", + \ "2. dark background" + \ ]) + if optionValue == 1 + let g:Tabula_DarkError = 0 + elseif optionValue == 2 + let g:Tabula_DarkError = 1 + endif +endfunction + +"------------------------------------------------------------------------------ +" Multiple Constant Colors: {{{2 +"------------------------------------------------------------------------------ +" +function! Tabula_5() + let curOption = "one color" + if s:FlatConstants == 0 + let curOption = "multiple colors" + endif + let optionValue = inputlist([ + \ "How to display constant values (currently ".curOption.")?", + \ "1. use one common color for all", + \ "2. use different color for each type" + \ ]) + if optionValue == 1 + let g:Tabula_FlatConstants = 1 + elseif optionValue == 2 + let g:Tabula_FlatConstants = 0 + endif +endfunction + +"------------------------------------------------------------------------------ +" Ignore And NonText Characters: {{{2 +"------------------------------------------------------------------------------ +" +function! Tabula_6() + let curOption = "invisible" + if s:InvisibleIgnore == 0 + let curOption = "slightly visible" + endif + let optionValue = inputlist([ + \ "Show Ignore and NonText characters (currently ".curOption.")?", + \ "1. invisible", + \ "2. slightly visible" + \ ]) + if optionValue == 1 + let g:Tabula_InvisibleIgnore = 1 + elseif optionValue == 2 + let g:Tabula_InvisibleIgnore = 0 + endif +endfunction + +"------------------------------------------------------------------------------ +" Underlined Line Numbers: {{{2 +"------------------------------------------------------------------------------ +" +function! Tabula_7() + let curOption = "" + if s:LNumUnderline == 0 + let curOption = "not " + endif + let optionValue = inputlist([ + \ "How to display line numbers(currently ".curOption."underlined)?", + \ "1. underlined", + \ "2. not underlined" + \ ]) + if optionValue == 1 + let g:Tabula_LNumUnderline = 1 + elseif optionValue == 2 + let g:Tabula_LNumUnderline = 0 + endif +endfunction + +"------------------------------------------------------------------------------ +" Let Search Occurrences Stand Out More Prominently: {{{2 +"------------------------------------------------------------------------------ +" +function! Tabula_8() + if s:SearchStandOut == 0 + let curOption = "normal" + elseif s:SearchStandOut == 1 + let curOption = "prominent" + elseif s:SearchStandOut == 2 + let curOption = "very prominent" + endif + let optionValue = inputlist([ + \ "How to display search occurrences (currently ".curOption.")?", + \ "1. normal", + \ "2. prominent", + \ "3. very prominent" + \ ]) + if optionValue == 1 + let g:Tabula_SearchStandOut = 0 + elseif optionValue == 2 + let g:Tabula_SearchStandOut = 1 + elseif optionValue == 3 + let g:Tabula_SearchStandOut = 2 + endif +endfunction + +"------------------------------------------------------------------------------ +" TODOs Display: {{{2 +"------------------------------------------------------------------------------ +" +function! Tabula_9() + let curOption = "" + if s:TodoUnderline == 0 + let curOption = "not " + endif + let optionValue = inputlist([ + \ "How to display TODOs and similar (currently ".curOption."underlined)?", + \ "1. underlined", + \ "2. not underlined" + \ ]) + if optionValue == 1 + let g:Tabula_TodoUnderline = 1 + elseif optionValue == 2 + let g:Tabula_TodoUnderline = 0 + endif +endfunction + +"==========================================================================}}}1 +" +" FIXME: This can't work! +" +"if g:Tabula_setOptions +" :exe "color tabula" +" let g:Tabula_setOptions = 0 +"endif + +" vim:tw=0:fdm=marker:fdl=0:fdc=3:fen diff --git a/.vim/colors/tango-desert.vim b/.vim/colors/tango-desert.vim new file mode 100644 index 0000000..688111f --- /dev/null +++ b/.vim/colors/tango-desert.vim @@ -0,0 +1,115 @@ +" Vim color file +" Maintainer: Vineeth N +" Last Change: $Date: 2009/06/12 $ +" Version: 1.1 +" Description: Dark Tango colorscheme based on "desert.vim" & tango color +" palette + +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="tango-desert" + +hi Normal guifg=#eeeeec guibg=#555753 + +" highlight groups +hi Cursor guibg=#fcaf3e +"hi CursorIM +hi Directory guifg=#e9b96e +hi VertSplit guifg=#babdb6 guibg=#555753 gui=none +hi Folded guifg=#eeeeec guibg=#888a85 +hi FoldColumn guifg=#eeeeec guibg=#888a85 +hi IncSearch guifg=#eeeeec guibg=#204a87 +hi LineNr guifg=#babdb6 guibg=#555753 +hi ModeMsg guifg=#8ae234 +hi MatchParen guibg=#ad7fa8 guifg=#eeeeec +hi MoreMsg guifg=#8ae234 +hi NonText guifg=#babdb6 guibg=#555753 +hi PmenuSel guibg=#5c3566 guifg=#eeeeec +hi Pmenu guibg=#75507b guifg=#eeeeec +hi PmenuSbar guibg=#75507b guifg=#5c3566 +hi PmenuThumb guifg=#5c3566 guibg=#75507b +hi Question guifg=#8ae234 +hi Search guibg=#edd400 +hi SpecialKey guifg=#888a85 +hi StatusLine guibg=#d3d7cf guifg=#2e3436 gui=none +hi StatusLineNC guibg=#babdb6 guifg=#2e3436 gui=none +hi Title guifg=#8ae234 +hi Visual guibg=#3465a4 guifg=#eeeeec +"hi VisualNOS +hi DiffText gui=bold guibg=#204a87 guifg=#eeeeec +hi DiffAdd guibg=#204a87 guifg=#eeeeec +hi DiffChange guibg=#75507b +hi DiffDelete gui=bold guifg=#babdb6 guibg=#555753 + +hi WarningMsg guifg=#8ae234 +"hi WildMenu +"hi Menu +"hi Scrollbar +"hi Tooltip + +" syntax highlighting groups +hi Comment guifg=#babdb6 +hi Constant guifg=#73d216 +hi Identifier guifg=#8ae234 +hi Statement guifg=#e9b96e +" lightskyblue appears better than 729fcf +"hi PreProc guifg=#729fcf +hi PreProc guifg=lightskyblue +hi Type guifg=#e9b96e +hi Special guifg=#73d216 +" lightskyblue appears better than 729fcf +"hi Underlined guifg=#729fcf +hi Underlined guifg=lightskyblue +hi Ignore guifg=grey40 +hi Error guibg=#ef2929 guifg=#eeeeec +hi Todo guibg=#73d216 guifg=#2e3436 gui=bold +"hi Todo guifg=#73d216 guibg=NONE gui=underline,bold + +" ----------------------------------------------------------- +" color terminal definitions, based on ''desert'' +" ----------------------------------------------------------- +hi SpecialKey ctermfg=darkgreen +hi NonText cterm=bold ctermfg=darkblue +hi Directory ctermfg=darkcyan +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green +hi Search cterm=NONE ctermfg=grey ctermbg=blue +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr ctermfg=3 +hi Question ctermfg=green +hi StatusLine cterm=bold,reverse +hi StatusLineNC cterm=reverse +hi VertSplit cterm=reverse +hi Title ctermfg=5 +hi Visual cterm=reverse +hi VisualNOS cterm=bold,underline +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=darkgrey ctermbg=NONE +hi FoldColumn ctermfg=darkgrey ctermbg=NONE +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 +hi Comment ctermfg=darkcyan +hi Constant ctermfg=brown +hi Special ctermfg=5 +hi Identifier ctermfg=6 +hi Statement ctermfg=3 +hi PreProc ctermfg=5 +hi Type ctermfg=2 +hi Underlined cterm=underline ctermfg=5 +hi Ignore cterm=bold ctermfg=7 +hi Ignore ctermfg=darkgrey +hi Error cterm=bold ctermfg=7 ctermbg=1 + + +"vim: sw=4 diff --git a/.vim/colors/tango-morning.vim b/.vim/colors/tango-morning.vim new file mode 100644 index 0000000..a6613fa --- /dev/null +++ b/.vim/colors/tango-morning.vim @@ -0,0 +1,70 @@ +" Vim color file +" Maintainer: N Vineeth +" Last Change: 2009 May 27 +" Version: 0.3 + +" This color scheme uses a light grey background. +" Based on "morning" color scheme and +" Tango color palette : http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines#Color_Palette +" The Terminal colors are based on "morning" color scheme and only the gui colors have been modified + +" First remove all existing highlighting. +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "tango-morning" + +hi Normal ctermfg=Black ctermbg=LightGrey guifg=#2e3436 guibg=#eeeeec + +" Groups used in the 'highlight' and 'guicursor' options default value. +hi ErrorMsg term=standout ctermbg=DarkRed ctermfg=White guibg=#cc0000 guifg=#eeeeec +hi IncSearch term=reverse cterm=reverse gui=reverse +hi ModeMsg term=bold cterm=bold gui=bold +hi StatusLine term=reverse,bold cterm=reverse,bold gui=reverse,bold +hi StatusLineNC term=reverse cterm=reverse gui=reverse +hi VertSplit term=reverse cterm=reverse gui=reverse +hi Visual term=reverse ctermbg=grey guibg=#d3d7cf +hi VisualNOS term=underline,bold cterm=underline,bold gui=underline,bold +hi DiffText term=reverse cterm=bold ctermbg=Red gui=bold guibg=#fce94f +hi Cursor guibg=#8ae234 guifg=NONE +hi lCursor guibg=#8ae234 guifg=NONE +hi Directory term=bold ctermfg=DarkBlue guifg=#3465a4 +hi LineNr term=underline ctermfg=Brown guifg=#204a87 guibg=#d3d7cf +hi MatchParen guibg=#ad7fa8 guifg=#eeeeec +hi MoreMsg term=bold ctermfg=DarkGreen gui=bold guifg=#4e9a06 +hi NonText term=bold ctermfg=Blue gui=bold guifg=#204a87 guibg=#d3d7cf +hi PmenuSel guibg=#204a87 guifg=#eeeeec +hi Pmenu guibg=#3465a4 guifg=#eeeeec +hi PmenuSbar guibg=#729fcf guifg=#204a87 +hi PmenuThumb guibg=#729fcf guifg=#204a87 +hi Question term=standout ctermfg=DarkGreen gui=bold guifg=#4e9a06 +hi Search term=reverse ctermbg=Yellow ctermfg=NONE guibg=#fce94f +hi SpecialKey term=bold ctermfg=DarkBlue guifg=#3465a4 +hi Title term=bold ctermfg=DarkMagenta gui=bold guifg=#4e9a06 +hi WarningMsg term=standout ctermfg=DarkRed guifg=#cc0000 +hi WildMenu term=standout ctermbg=Yellow ctermfg=Black guibg=#edd400 guifg=#888a85 +hi Folded term=standout ctermbg=Grey ctermfg=DarkBlue guibg=#d3d7cf guifg=#204a87 +hi FoldColumn term=standout ctermbg=Grey ctermfg=DarkBlue guibg=#d3d7cf guifg=#204a87 +hi DiffAdd term=bold ctermbg=LightBlue guibg=#204a87 guifg=#eeeeec +hi DiffChange term=bold ctermbg=LightMagenta guibg=#e9b96e +hi DiffDelete term=bold ctermfg=Blue ctermbg=LightCyan gui=bold guifg=#3465a4 guibg=#d3d7cf +hi CursorLine term=underline cterm=underline guibg=#555753 +hi CursorColumn term=reverse ctermbg=grey guibg=#555753 + +" Colors for syntax highlighting +hi Comment guifg=#888a85 +hi Constant term=underline ctermfg=DarkRed guifg=#ce5c00 +hi Identifier guifg=#204a87 +hi Statement term=bold cterm=bold ctermfg=Brown gui=bold guifg=#8f5902 +hi PreProc guifg=#204a87 +hi Type guifg=#4e9a06 +hi Special term=bold ctermfg=DarkMagenta guifg=#ce5c00 guibg=#eeeeec +hi Underlined guifg=#204a87 +hi Ignore ctermfg=LightGrey guifg=#555753 +hi Error guibg=#cc0000 guifg=#eeeeec +hi Todo guibg=#fce94f guifg=#204a87 + +" vim: sw=2 diff --git a/.vim/colors/tango.vim b/.vim/colors/tango.vim new file mode 100644 index 0000000..16fc645 --- /dev/null +++ b/.vim/colors/tango.vim @@ -0,0 +1,84 @@ +" +" Tango Vim Color Scheme +" ======================= +" +" For best results, set up your terminal with a Tango palette. +" Instructions for GNOME Terminal: +" http://uwstopia.nl/blog/2006/07/tango-terminal +" +" author: Michele Campeotto +" +set background=dark + +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "tango" + +" Default Colors +hi Normal guifg=#eeeeec guibg=#000000 +hi NonText guifg=#555753 guibg=#000000 gui=none +hi NonText ctermfg=darkgray +hi Cursor guibg=#d3d7cf +hi lCursor guibg=#d3d7cf + +" Search +hi Search guifg=#eeeeec guibg=#c4a000 +hi Search cterm=none ctermfg=grey ctermbg=blue +hi IncSearch guibg=#eeeeec guifg=#729fcf +hi IncSearch cterm=none ctermfg=yellow ctermbg=green + +" Window Elements +hi StatusLine guifg=#eeeeec guibg=#4e9a06 gui=bold +hi StatusLine ctermfg=white ctermbg=green cterm=bold +hi StatusLineNC guifg=#d3d7df guibg=#4e9a06 +hi StatusLineNC ctermfg=lightgray ctermbg=darkgreen +hi VertSplit guifg=#eeeeec guibg=#eeeeec +hi Folded guifg=#eeeeec guibg=#75507b +hi Folded ctermfg=white ctermbg=magenta +hi Visual guifg=#d3d7cf guibg=#4e9a06 +hi Visual ctermbg=white ctermfg=lightgreen cterm=reverse + +" Specials +hi Todo guifg=#8ae234 guibg=#4e9a06 gui=bold +hi Todo ctermfg=white ctermbg=green +hi Title guifg=#eeeeec gui=bold +hi Title ctermfg=white cterm=bold + +" Syntax +hi Constant guifg=#c4a000 +hi Constant ctermfg=darkyellow +hi Number guifg=#729fcf +hi Number ctermfg=darkblue +hi Statement guifg=#4e9a06 gui=bold +hi Statement ctermfg=green +hi Identifier guifg=#8ae234 +hi Identifier ctermfg=darkgreen +hi PreProc guifg=#cc0000 +hi PreProc ctermfg=darkred +hi Comment guifg=#06989a gui=italic +hi Comment ctermfg=cyan cterm=none +hi Type guifg=#d3d7cf gui=bold +hi Type ctermfg=gray cterm=bold +hi Special guifg=#75507b +hi Special ctermfg=magenta cterm=none +hi Error guifg=#eeeeec guibg=#ef2929 +hi Error ctermfg=white ctermbg=red + +" Diff +hi DiffAdd guifg=fg guibg=#3465a4 gui=none +hi DiffAdd ctermfg=gray ctermbg=blue cterm=none +hi DiffChange guifg=fg guibg=#555753 gui=none +hi DiffChange ctermfg=gray ctermbg=darkgray cterm=none +hi DiffDelete guibg=bg +hi DiffDelete ctermfg=gray ctermbg=none cterm=none +hi DiffText guifg=fg guibg=#c4a000 gui=none +hi DiffText ctermfg=gray ctermbg=yellow cterm=none +ifg=#c4a000 guibg=bg +highlight Todo gui=bold guifg=#ef2929 guibg=bg +highlight Type gui=none guifg=#4e9a06 guibg=bg +highlight Underlined gui=none guifg=#3465a4 guibg=bg +highlight String gui=none guifg=#a40000 guibg=bg +highlight Number gui=none guifg=#3465a4 guibg=bg diff --git a/.vim/colors/tango2.vim b/.vim/colors/tango2.vim new file mode 100644 index 0000000..330fe89 --- /dev/null +++ b/.vim/colors/tango2.vim @@ -0,0 +1,62 @@ +" ============================================================================= +" Name: Tango2 +" Purpose: Another colour scheme using the Tango colour palette +" Maintainer: Pranesh Srinivasan +" Last Modified: Saturday 04 October 2008 02:06:26 AM IST +" ============================================================================= + +" Inspired from some Gnome renditions of the Tango colour scheme. + +" ============================================================================= +" Preamble +" ============================================================================= + +set background=dark + +hi clear + +if exists("syntax-on") +syntax reset +endif + +let colors_name = "tango2" + +" ============================================================================= +" Vim >= 7.0 specific colours +" ============================================================================= + +if version >= 700 +" No support for cursor line yet +" hi CursorLine term=underline cterm=underline guibg=#111133 +" hi CursorColoumn +" hi MatchParen +" hi Pmenu +" hi PmenuSel +endif + +" ============================================================================= +" General colours +" ============================================================================= + +hi Normal guibg=#2E3436 guifg=#eeeeec +hi Cursor gui=none guibg=White guifg=Black + +hi Folded guibg=#4D585B guibg=#d2d2d2 +" No fold column support yet +" hi FoldColumn guifg=Orange guibg=DarkBlue +" ============================================================================= +" Syntax highlighting +" ============================================================================= + +hi Comment gui=italic guifg=#6d7e8a ctermfg=Grey +hi Todo term=bold guifg=#EBC450 +hi Constant guifg=#8ae234 +hi Type guifg=#8AE234 +hi Function gui=bold guifg=#9BCF8D +hi Statement guifg=#729FCF +hi Identifier guifg=#AD7FA8 +hi PreProc guifg=#e9ba6e +hi Special term=underline guifg=#5EAFE5 + +hi Search guibg=#81ABBD +" hi QtClass guifg=Orange ctermfg=LightBlue diff --git a/.vim/colors/tangoshady.vim b/.vim/colors/tangoshady.vim new file mode 100644 index 0000000..e2f1b65 --- /dev/null +++ b/.vim/colors/tangoshady.vim @@ -0,0 +1,76 @@ +" +" Tango-Shady Vim Color Scheme +" ======================= +" +" author: shady +" + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "tangoshady" + + +"hi Normal guibg=grey15 guifg=#eeeeec +"hi Normal guibg=#0D0D0D guifg=#eeeeec +hi Normal guibg=#272727 guifg=#eeeeec + +highlight SpecialKey guifg=#3465A4 +highlight NonText guifg=#3465A4 +highlight Directory guifg=#3465A4 +highlight ErrorMsg guifg=#D3D7CF guibg=#CC0000 +highlight IncSearch gui=reverse +highlight Search guibg=#C4A000 +highlight MoreMsg guifg=#4E9A06 +" highlight ModeMsg gui=bold +highlight LineNr guifg=#666666 guibg=#151515 +"highlight LineNr term=underline ctermfg=3 guifg=#C4A000 guibg=bg +highlight Question guifg=#4E9A06 +highlight StatusLine gui=reverse +highlight StatusLineNC gui=reverse +highlight VertSplit gui=reverse +highlight Title guifg=#75507B +" highlight Visual term=reverse cterm=reverse guibg=#D3D7CF +highlight Visual guibg=#363636 +highlight VisualNOS gui=underline +highlight WarningMsg guifg=#CC0000 +highlight WildMenu guifg=#2E3436 guibg=#C4A000 +"highlight Folded term=standout ctermfg=4 ctermbg=7 guifg=#3465A4 guibg=#D3D7CF +"highlight FoldColumn term=standout ctermfg=4 ctermbg=7 guifg=#D3D7CF guibg=#D3D7CF +hi Folded guibg=black guifg=grey40 ctermfg=grey ctermbg=darkgrey +hi FoldColumn guibg=black guifg=grey20 ctermfg=4 ctermbg=7 +highlight DiffAdd guibg=#3465A4 +highlight DiffChange guibg=#75507B +highlight DiffDelete guifg=#3465A4 guibg=#06989A +highlight DiffText guibg=#CC0000 +highlight SignColumn guifg=#000000 guibg=#D3D7CF +highlight SpellBad gui=undercurl guisp=#CC0000 +highlight SpellCap gui=undercurl guisp=#3465A4 +highlight SpellRare gui=undercurl guisp=#75507B +highlight SpellLocal gui=undercurl guisp=#06989A +highlight Pmenu guibg=#75507B guifg=#000000 +highlight PmenuSel guibg=#D3D7CF guifg=#000000 +highlight PmenuSbar guibg=#75507B +highlight PmenuThumb gui=reverse +highlight TabLine gui=underline guibg=#D3D7CF guifg=#000000 +"highlight TabLineSel gui=bold +highlight TabLineFill gui=reverse +highlight CursorColumn guibg=#D3D7CF guifg=#000000 +highlight CursorLine guibg=#D3D7CF guifg=#000000 +highlight Cursor guifg=bg guibg=fg +highlight lCursor guifg=bg guibg=fg +highlight MatchParen guibg=#06989A +hi Comment guifg=#3465A4 +hi Constant guifg=#CC0000 +hi Special guifg=#75507B +highlight Identifier guifg=#06989A +hi Statement guifg=#C4A000 +hi PreProc guifg=#75507B +hi Type guifg=#4E9A06 +hi Underlined gui=underline guifg=#75507B +hi Ignore guifg=#2E3436 +hi Error guifg=#D3D7CF guibg=#CC0000 +highlight Todo guifg=Blue guibg=Yellow diff --git a/.vim/colors/taqua.vim b/.vim/colors/taqua.vim new file mode 100644 index 0000000..947ebc9 --- /dev/null +++ b/.vim/colors/taqua.vim @@ -0,0 +1,85 @@ +" Vim color file +" Maintainer: TaQ +" Last Change: 18 March 2003 +" URL: http://taq.cjb.net + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let colors_name="taqua" + +hi Normal gui=NONE guifg=#303030 guibg=#FFFFFF +hi NonText gui=BOLD guifg=#303030 guibg=#FFFFFF + +" Search +hi IncSearch gui=BOLD guifg=#008000 guibg=#CCFF00 +hi Search gui=BOLD guifg=#008000 guibg=#CCFF00 + +" Messages +hi ErrorMsg gui=BOLD guifg=#FFFFFF guibg=#FF0000 +hi WarningMsg gui=BOLD guifg=#008000 guibg=#CCFF00 + +" Split area +hi StatusLine gui=BOLD guifg=#FFFFFF guibg=#0E8ED3 +hi StatusLineNC gui=BOLD guifg=#FFFFFF guibg=#0A6799 + +" Diff +hi DiffText gui=BOLD guifg=#FF0000 guibg=#FFEAE0 +hi DiffChange gui=BOLD guifg=#303030 guibg=#FFFFFF +hi DiffDelete gui=NONE guifg=#FFFFFF guibg=#FF0000 +hi DiffAdd gui=NONE guifg=#008000 guibg=#00FF00 + +" Cursor +hi Cursor gui=BOLD guifg=#FFFFFF guibg=#000000 +hi lCursor gui=BOLD guifg=#f8f8f8 guibg=#162CF7 +hi CursorIM gui=NONE guifg=#f8f8f8 guibg=#162CF7 + +" Fold +hi Folded gui=BOLD guifg=#0E8ED3 guibg=#DBF2FF +hi FoldColumn gui=NONE guifg=#0E8ED3 guibg=#DBF2FF + +" Other +hi LineNr gui=BOLD guifg=#00A0FF guibg=#DBF2FF +hi Directory gui=BOLD guifg=#0A6799 guibg=#FFFFFF +hi NonText gui=BOLD guifg=#009999 guibg=#FFFFFF +hi SpecialKey gui=BOLD guifg=#2020FF guibg=#FFFFFF +hi Title gui=BOLD guifg=#0000A0 guibg=#FFFFFF +hi Visual gui=NONE guifg=#404060 guibg=#dddde8 + +" Syntax group +" purple was #8000FF +hi Comment gui=NONE guifg=#0E8ED3 guibg=#DBF2FF +hi Constant gui=NONE guifg=#303030 guibg=#F5F5F5 +hi Error gui=BOLD guifg=#FF0000 guibg=#FFFFFF +hi Identifier gui=NONE guifg=#1F89E0 guibg=#FFFFFF +hi Ignore gui=NONE guifg=#f8f8f8 guibg=#FFFFFF +hi PreProc gui=BOLD guifg=#0BBF20 guibg=#FFFFFF +hi Special gui=NONE guifg=#0E8ED3 guibg=#DBF2FF +hi Statement gui=BOLD guifg=#2E9BF4 guibg=#FFFFFF +hi Todo gui=NONE guifg=#FF0070 guibg=#FFE0F4 +hi Type gui=BOLD guifg=#0971F9 guibg=#FFFFFF +hi Underlined gui=UNDERLINE guifg=#0000ff guibg=NONE + +" HTML +hi htmlLink gui=UNDERLINE guifg=#0000ff guibg=NONE +hi htmlBold gui=BOLD +hi htmlBoldItalic gui=BOLD,ITALIC +hi htmlBoldUnderline gui=BOLD,UNDERLINE +hi htmlBoldUnderlineItalic gui=BOLD,UNDERLINE,ITALIC +hi htmlItalic gui=ITALIC +hi htmlUnderline gui=UNDERLINE +hi htmlUnderlineItalic gui=UNDERLINE,ITALIC + +" Scrollbar +hi Scrollbar gui=BOLD guifg=#00C0FF guibg=#FFFFFF +hi VertSplit gui=BOLD guifg=#FFFFFF guibg=#0E8ED3 +hi Visual gui=BOLD guifg=#FFFFFF guibg=#1679F9 + + diff --git a/.vim/colors/tchaba.vim b/.vim/colors/tchaba.vim new file mode 100644 index 0000000..ee21c36 --- /dev/null +++ b/.vim/colors/tchaba.vim @@ -0,0 +1,107 @@ +" Vim color file +" Maintainer: Lucas Avano +" Last Change: Oct, 6 2010 +" +" +" This color scheme was based on some tools: +" +" It helps visualize the vim colorscheme sections and there colors: +" sites.google.com/site/yukihironakadaira/vim-color.html by +" Yukihiro Nakadaira +" +" Convert a GUI only vim colorscheme file to a gui/256xterm compatible +" version: +" http://github.com/kanru/vim-colorscheme-converter by +" Kanru Chen +" +" +"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +"README +"setting 't_Co' to 256 in vimrc is enough to make Vim use 256 colors +"set t_Co=256 => ~/.vimrc +"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + +set bg=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let colors_name = "tchaba" + +hi Comment guifg=skyblue ctermfg=23 cterm=none +hi Constant guifg=#ffff04 ctermfg=98 cterm=none +hi Cursor guifg=slategrey guibg=khaki +hi CursorColumn guibg=gray40 +hi CursorIM gui=None +hi CursorLine guibg=gray40 +hi DiffAdd guibg=darkblue +hi DiffChange guibg=darkmagenta +hi DiffDelete gui=bold guifg=blue guibg=darkcyan +hi DiffText gui=bold guibg=red +hi Directory guifg=cyan +hi Error guifg=white guibg=red +hi ErrorMsg guifg=white guibg=red +hi FoldColumn guifg=tan guibg=gray30 +hi Folded guifg=gold guibg=gray30 +hi Identifier guifg=palegreen +hi Ignore guifg=gray40 +hi IncSearch gui=reverse guifg=slategrey guibg=khaki +hi LineNr guifg=yellow +hi MatchParen guibg=darkcyan +hi ModeMsg gui=bold guifg=goldenrod +hi MoreMsg gui=bold guifg=seagreen +hi NonText gui=bold guifg=lightblue guibg=gray30 +hi Normal guifg=white guibg=gray20 ctermfg=254 ctermbg=234 +hi Pmenu guibg=magenta +hi PmenuSbar guibg=grey +hi PmenuSel guibg=darkgray +hi PmenuThumb gui=reverse +hi PreProc guifg=#0abc00 ctermfg=40 +hi Question gui=bold guifg=springgreen +hi Search guifg=wheat guibg=peru +hi SignColumn guifg=cyan guibg=grey +hi Special guifg=navajowhite +hi SpecialKey guifg=yellowgreen +hi SpellBad gui=undercurl +hi SpellCap gui=undercurl +hi SpellLocal gui=undercurl +hi SpellRare gui=undercurl +hi Statement gui=bold guifg=#ff6000 ctermfg=220 +hi StatusLine guifg=black guibg=#c2bfa5 ctermbg=250 +hi StatusLineNC guifg=gray50 guibg=#c2bfa5 ctermbg=250 +hi TabLine gui=underline guibg=darkgray +hi TabLineFill gui=reverse +hi TabLineSel gui=bold +hi Title gui=bold guifg=indianred +hi Todo guifg=orangered guibg=yellow2 +hi Type gui=bold guifg=#8144b4 ctermfg=160 +hi Underlined gui=underline guifg=#80a0ff ctermfg=111 +hi VertSplit guifg=gray50 guibg=#c2bfa5 ctermbg=250 +hi Visual guifg=khaki guibg=olivedrab +hi VisualNOS gui=bold,underline +hi WarningMsg guifg=salmon +hi WildMenu guifg=black guibg=yellow +hi link Boolean Constant +hi link Character Constant +hi link Conditional Statement +hi link Debug Special +hi link Define PreProc +hi link Delimiter Special +hi link Exception Statement +hi link Float Constant +hi link Function Identifier +hi link Include PreProc +hi link Keyword Statement +hi link Label Statement +hi link Macro PreProc +hi link Number Constant +hi link Operator Statement +hi link PreCondit PreProc +hi link Repeat Statement +hi link SpecialChar Special +hi link SpecialComment Special +hi link StorageClass Type +hi link String Constant +hi link Structure Type +hi link Tag Special +hi link Typedef Type diff --git a/.vim/colors/tcsoft.vim b/.vim/colors/tcsoft.vim new file mode 100644 index 0000000..3198341 --- /dev/null +++ b/.vim/colors/tcsoft.vim @@ -0,0 +1,83 @@ +" Vim Farben-Datei +" Ersteller: Ingo Fabbri +" Letzte nderung: 2007 Jan 19 + +" Mein persnliches Farbschema. Es schont die Augen, da es keine grellen Farben verwendet. +" Am Besten geignet fr PHP + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let colors_name = "TCSoft" + +if version >= 700 + hi CursorLine guibg=#FFFF33 gui=NONE "hellgelb + hi CursorColumn guibg=#EAEAEA + hi MatchParen guifg=white guibg=#99CC00 gui=bold + + "Tabpages + hi TabLine guifg=black guibg=#B0B8C0 gui=italic + hi TabLineFill guifg=#9098A0 + hi TabLineSel guifg=black guibg=#F0F0F0 gui=italic,bold + + "P-Menu (auto-completion) + hi Pmenu guifg=white guibg=#808080 + "PmenuSel + "PmenuSbar + "PmenuThumb +endif + +" Farb-Einstellungen fr das GUI +hi Normal guifg=#000000 guibg=#FFFFFF "Schwarze Schrift auf weiem Hintergrund + +hi Ignore guifg=bg + +hi Comment guifg=#000099 gui=italic "dunkelblau +hi Constant guifg=#666666 gui=NONE "grau +hi Special guifg=#FF0000 gui=NONE "rot +hi Identifier guifg=#993300 gui=NONE "rostfarbig +hi Statement guifg=#FF9900 gui=NONE "orange +hi PreProc guifg=#009900 gui=NONE "dunkelgrn +hi Type guifg=#FF9900 gui=bold "orange +hi Cursor guifg=#000000 gui=reverse "schwarz +hi LineNr guifg=#000000 guibg=#EFEFEF gui=NONE "schwarz +hi StatusLine guifg=#000000 gui=reverse,bold "schwarz + +hi Todo guifg=Blue guibg=Yellow +syn keyword Todo TODO FIXME XXX +syn keyword Error FEHLER + +hi link Function PreProc +hi link String Constant +hi link Character Constant + +hi! link MoreMsg Comment +hi! link ErrorMsg Visual +hi! link WarningMsg ErrorMsg +hi! link Question Comment + +hi link Number Special +hi link Boolean Constant +hi link Float Number + +hi link Operator Identifier +hi link Keyword Statement +hi link Exception Statement +hi link Include PreProc +hi link Define PreProc +hi link Macro PreProc + +hi link Conditional Statement +hi link Repeat Statement +hi link Label Statement + +hi link PreCondit PreProc +hi link StorageClass Type +hi link Structure Type +hi link Typedef Type +hi link SpecialChar Special +hi link Delimiter Special +hi link SpecialComment Comment +hi link Debug Special diff --git a/.vim/colors/telstar.vim b/.vim/colors/telstar.vim new file mode 100644 index 0000000..3ae40f2 --- /dev/null +++ b/.vim/colors/telstar.vim @@ -0,0 +1,71 @@ +" Vim color file (telstar.vim) +" Maintainer: john white +" Last Change: 20060111 + +" a gvim space theme with some extra java highlighting. +" the java highlighting depends on claudio fleiner's +" java.vim syntax highlighting at +" http://www.fleiner.com/vim/download.html + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "telstar" + +hi Normal guifg=#5060c0 guibg=#000022 +hi Cursor guibg=#aaaaaa guifg=Black +hi lCursor guibg=#bababa guifg=Black +hi ModeMsg gui=bold +hi StatusLine gui=bold +hi StatusLineNC gui=bold +hi VertSplit gui=bold +hi LineNr guifg=DarkGrey +hi Visual gui=bold guifg=Grey guibg=fg +hi VisualNOS gui=underline,bold +hi Directory guifg=Grey +hi MoreMsg gui=bold guifg=White +hi NonText gui=bold guifg=DarkGrey +hi Question gui=bold guifg=White +hi Search guibg=#998844 guifg=Black +hi IncSearch gui=bold +hi SpecialKey guifg=White +hi Title gui=bold guifg=Grey +hi WildMenu guibg=Yellow guifg=Black +hi Folded guifg=Grey guibg=#554455 +hi FoldColumn guifg=Grey guibg=#554455 +hi DiffText gui=bold guibg=#442266 +hi DiffAdd guibg=#000055 +hi DiffChange guibg=#220044 +hi DiffDelete gui=bold guifg=#604060 guibg=#302030 +hi ErrorMsg gui=bold guifg=Black +hi WarningMsg guifg=Black + +" general highlighting +hi Constant gui=bold guifg=#9060c8 +hi Special guifg=#807087 +hi Ignore guifg=red +hi Number guifg=#7060c0 +hi Type guifg=#9060c8 +hi Comment guifg=#604060 +hi Statement guifg=#8070b0 +hi Label gui=bold guifg=#805070 +hi Todo gui=bold guifg=black +hi String guifg=#999999 +hi Operator guifg=#8080c0 +hi Identifier guifg=#686888 +hi Pmenu guibg=#101033 guifg=#999999 gui=bold + +hi MatchParen gui=bold guibg=#000022 + +" java highlighting +hi javaExternal guifg=#666666 +hi javaScopeDecl guifg=#8040c0 +hi javaParen guifg=#6080e0 +hi javaParen1 guifg=#80a0ff +hi javaParen2 guifg=#a0c0ff +hi javaFuncDef guifg=#7080f0 +hi javaLangObject guifg=#6080c0 +hi javaBraces guifg=#406090 diff --git a/.vim/colors/tesla.vim b/.vim/colors/tesla.vim new file mode 100644 index 0000000..6a0121b --- /dev/null +++ b/.vim/colors/tesla.vim @@ -0,0 +1,114 @@ +" ============================================================================= +" Vim color file (tesla.vim) +" Maintainer: clericJ +" Last Change: 2010 Oct 10 +" Version: 1.6 +" ============================================================================= + +set background=dark +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "tesla" + +" ============================================================================= +" Main +" ============================================================================= + +hi Normal guibg=#192636 guifg=LightSkyBlue2 +hi Cursor guibg=red guifg=white +hi lCursor guibg=MediumPurple3 +hi CursorLine guibg=#353545 +hi CursorColumn guibg=MidnightBlue +hi ColorColumn guibg=#23364D gui=none +hi MatchParen guibg=blue guifg=white + +hi DiffAdd guibg=DarkBlue +hi DiffChange guibg=#005124 +hi DiffDelete gui=none guibg=#604800 guifg=gray10 +hi DiffText gui=none guibg=#731600 + +hi Directory gui=bold guifg=LightBlue +hi Error guibg=#432323 guifg=white +hi ErrorMsg guibg=red guifg=White +hi FoldColumn guibg=LightSteelBlue4 guifg=LightGray +hi Folded gui=underline guibg=black guifg=gray +hi IncSearch gui=reverse guibg=white guifg=Goldenrod4 +hi LineNr guibg=#303f4f guifg=gray +hi ModeMsg gui=bold +hi MoreMsg gui=bold guifg=LightBlue +hi SpecialKey guifg=#394c56 +hi NonText gui=bold guibg=#192636 guifg=azure4 +hi Pmenu guibg=#4e5d6d guifg=white +hi PmenuSel guibg=#6c7b8b guifg=white +hi PmenuSbar guibg=gray60 guifg=azure3 +hi PmenuThumb guifg=azure2 +hi Question gui=bold guifg=green +hi Search guibg=#2d4e54 guifg=white +hi StatusLine gui=none guibg=LightSteelBlue4 guifg=white +hi StatusLineNC gui=none guibg=LightSteelBlue4 guifg=gray +hi Title gui=bold guibg=#3a4959 guifg=AliceBlue +hi VertSplit guibg=LightSteelBlue4 guifg=LightSteelBlue4 +hi Visual gui=reverse guibg=white guifg=#6c7b8b +hi VisualNOS gui=underline,bold +hi WarningMsg guifg=red +hi WildMenu guibg=yellow guifg=black +hi Todo gui=none guibg=DarkRed guifg=AliceBlue + +" ============================================================================= +" Status-line user colors +" ============================================================================= + +"hi User1 gui=bold guifg=white guibg=LightSteelBlue4 +"hi User2 gui=none guifg=white guibg=LightSteelBlue4 +"hi User3 gui=none guifg=white guibg=#303f4f +"hi User4 gui=none guifg=white guibg=DarkRed + +" ============================================================================= +" Change cursor color in different modes +" ============================================================================= + +hi Cursor guibg=DodgerBlue3 guifg=white +hi iCursor guibg=red guifg=white + +set guicursor=n-v-c:block-Cursor +set guicursor+=i-ci:ver15-iCursor + +" ============================================================================= +" Syntax highlighting +" ============================================================================= + +hi Comment gui=none guifg=LightSteelBlue4 +hi Constant gui=none guifg=LightGray +hi String gui=none guifg=plum3 +hi Number gui=none guifg=green3 +hi Boolean gui=none guifg=green3 +hi Float gui=none guifg=green3 +hi Identifier gui=none guifg=green3 +hi PreProc gui=none guifg=#4fc6ff +hi Function gui=none guifg=#4fc6ff +hi Special gui=none guibg=#192636 guifg=#d775f1 +hi Statement gui=none guifg=white +hi Type gui=none guifg=green3 +hi SpecialComment gui=none guifg=DarkRed + +" ============================================================================= +" Python extended syntax file highlighting +" ============================================================================= + +hi PythonBuiltin gui=none guifg=green3 +hi pythonBuiltinObj gui=none guifg=green3 +hi pythonDecorator gui=none guifg=green3 +hi pythonBuiltinFunc gui=none guifg=green3 +hi link pythonOperator Statement + +" ============================================================================= +" Taglist Plugin +" ============================================================================= +" +hi TagListFileName gui=none guibg=#192636 guifg=white + +" ============================================================================= diff --git a/.vim/colors/tetragrammaton.vim b/.vim/colors/tetragrammaton.vim new file mode 100644 index 0000000..10a1476 --- /dev/null +++ b/.vim/colors/tetragrammaton.vim @@ -0,0 +1,148 @@ +:set background=dark +:highlight clear +if version > 580 + hi clear + if exists("syntax_on") + syntax reset + endif +endif +let colors_name = "tetragrammaton" +":hi Normal guifg=White guibg=#403020 + +hi Normal guifg=#953434 guibg=#180000 +hi Cursor guibg=khaki guifg=slategrey +"hi VertSplit guibg=#c2bfa5 guifg=grey40 gui=none cterm=reverse +hi VertSplit guibg=#020f05 guifg=#ff5544 gui=none +hi Folded guibg=black guifg=grey40 +hi FoldColumn guibg=black guifg=grey20 +hi IncSearch guifg=#4444bb guibg=#bbff88 +hi ModeMsg guifg=goldenrod +hi MoreMsg guifg=SeaGreen +hi NonText guifg=RoyalBlue guibg=grey15 +hi Question guifg=springgreen +hi Search guibg=peru guifg=wheat +hi SpecialKey guifg=yellowgreen ctermfg=darkgreen +hi StatusLine guibg=#480000 guifg=#95171a gui=none +hi StatusLineNC guibg=#380000 guifg=#000000 gui=none +hi Title guifg=gold gui=bold +" if else do while etc +hi Statement guifg=#ccaa88 +hi Visual gui=none guifg=khaki guibg=olivedrab +hi WarningMsg guifg=salmon +hi String guifg=#884444 ctermfg=darkcyan +"hi Comment guifg=#689879 +hi Comment guifg=#689879 +hi Constant guifg=#cf8080 +hi Special guifg=darkkhaki +hi Identifier guifg=salmon +hi Include guifg=#86bb33 gui=bold +hi PreProc guifg=red guibg=white +hi Operator guifg=#bb9988 +hi Define guifg=gold gui=bold +hi Type guifg=#975546 +hi Function guifg=#bd3422 gui=bold +hi Structure guifg=green +hi LineNr guifg=grey50 +hi Ignore guifg=grey40 +hi Todo guifg=orangered guibg=yellow2 +hi Directory ctermfg=darkcyan guifg=Red +hi ErrorMsg guifg=White guibg=Red +hi VisualNOS cterm=bold,underline +hi WildMenu ctermfg=0 ctermbg=3 +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 +hi Underlined cterm=underline ctermfg=5 +hi Error guifg=White guibg=Red +hi SpellErrors guifg=White guibg=Red +hi StorageClass guifg=#cc3021 +" class implements extends +hi javaClassDecl guifg=#be7012 +" this +hi javaTypeDef guifg=#a63322 gui=bold +" try catch finally +hi javaExceptions guifg=#dc9a88 +" for while do +hi javaRepeat guifg=#bcba88 +" public private protected +hi javaScopeDecl guifg=#854433 +hi javaFuncDef guifg=#b53423 gui=bold +hi javaDebug guifg=#689879 +hi javaDocComment guifg=#88b899 +hi javaString guifg=#b87849 +"hi javaFuncDef gui=bold + +hi bufExplorerModBuf guibg=#000030 guifg=#222288 +hi bufExplorerLockedBuf guibg=#000030 guifg=#222288 +hi bufExplorerHidBuf guibg=#000030 guifg=#222288 +hi BufExplorerActBuf guibg=#000020 guifg=#424298 +hi bufExplorerCurBuf guibg=#000030 guifg=#ffffff +hi bufExplorerAltBuf guibg=#101070 guifg=#8888ff +hi bufExplorerUnlBuf guibg=#000030 guifg=#222288 +hi bufExplorerXxxBuf guibg=#101070 guifg=#8888ff + +hi bufExplorerBufNbr guibg=#000030 guifg=#222288 +hi bufExplorerHelp guibg=#000030 +hi bufExplorerTitle guibg=#000030 +hi bufExplorerSortType guibg=#000030 +hi bufExplorerSortBy guibg=#000030 +hi bufExplorerOpenIn guibg=#000030 +hi bufExplorerMapping guibg=#000030 +hi bufExplorerToggleSplit guibg=#000030 +hi bufExplorerToggleOpen guibg=#000030 + +hi CursorLine guibg=#280000 +hi CursorColumn guibg=#280000 + +hi MyTagListTagName guifg=#88bbff guibg=#000028 +hi MyTagListTagScope guifg=#589bcf guibg=#000028 +hi MyTagListTitle guifg=#88bbff guibg=#000028 +hi MyTagListComment guifg=#589bcf guibg=#000028 +hi MyTagListFileName guifg=#88bbff guibg=#000028 +"hi TagListNothing guifg=#488bbf guibg=#000028 + +" for ShowSources function +hi SourceLine guifg=#88bbff guibg=#000038 + + +hi MatchParen gui=bold guibg=#600000 +hi level1c guifg=#775533 +hi level2c guifg=Darkblue +hi level3c guifg=darkgray +hi level4c guifg=darkgreen +hi level5c guifg=darkcyan +hi level6c guifg=darkred +hi level7c guifg=darkmagenta +hi level8c guifg=#ffddbb +hi level9c guifg=#eeccaa +hi level10c guifg=#ffffff +hi level11c guifg=#ffddbb +hi level12c guifg=#eeccaa +hi level13c guifg=#ddbb99 +hi level14c guifg=#ccaa88 +hi level15c guifg=#bb9977 +hi level16c guifg=#aa8866 + + + +" These are the regions for each pair. +" This could be improved, perhaps, by makeing them match [ and { also, +" but I'm not going to take the time to figure out haw to make the +" end pattern match only the proper type. +syn region level1 matchgroup=level1c start=/(/ end=/)/ contains=TOP,level1,level2,level3,level4,level5,level6,level7,level8,level9,level10,level11,level12,level13,level14,level15, level16,NoInParens +syn region level2 matchgroup=level2c start=/(/ end=/)/ contains=TOP,level2,level3,level4,level5,level6,level7,level8,level9,level10,level11,level12,level13,level14,level15, level16,NoInParens +syn region level3 matchgroup=level3c start=/(/ end=/)/ contains=TOP,level3,level4,level5,level6,level7,level8,level9,level10,level11,level12,level13,level14,level15, level16,NoInParens +syn region level4 matchgroup=level4c start=/(/ end=/)/ contains=TOP,level4,level5,level6,level7,level8,level9,level10,level11,level12,level13,level14,level15, level16,NoInParens +syn region level5 matchgroup=level5c start=/(/ end=/)/ contains=TOP,level5,level6,level7,level8,level9,level10,level11,level12,level13,level14,level15, level16,NoInParens +syn region level6 matchgroup=level6c start=/(/ end=/)/ contains=TOP,level6,level7,level8,level9,level10,level11,level12,level13,level14,level15, level16,NoInParens +syn region level7 matchgroup=level7c start=/(/ end=/)/ contains=TOP,level7,level8,level9,level10,level11,level12,level13,level14,level15, level16,NoInParens +syn region level8 matchgroup=level8c start=/(/ end=/)/ contains=TOP,level8,level9,level10,level11,level12,level13,level14,level15, level16,NoInParens +syn region level9 matchgroup=level9c start=/(/ end=/)/ contains=TOP,level9,level10,level11,level12,level13,level14,level15, level16,NoInParens +syn region level10 matchgroup=level10c start=/(/ end=/)/ contains=TOP,level10,level11,level12,level13,level14,level15, level16,NoInParens +syn region level11 matchgroup=level11c start=/(/ end=/)/ contains=TOP,level11,level12,level13,level14,level15, level16,NoInParens +syn region level12 matchgroup=level12c start=/(/ end=/)/ contains=TOP,level12,level13,level14,level15, level16,NoInParens +syn region level13 matchgroup=level13c start=/(/ end=/)/ contains=TOP,level13,level14,level15, level16,NoInParens +syn region level14 matchgroup=level14c start=/(/ end=/)/ contains=TOP,level14,level15, level16,NoInParens +syn region level15 matchgroup=level15c start=/(/ end=/)/ contains=TOP,level15, level16,NoInParens +syn region level16 matchgroup=level16c start=/(/ end=/)/ contains=TOP,level16,NoInParens diff --git a/.vim/colors/textmate16.vim b/.vim/colors/textmate16.vim new file mode 100644 index 0000000..df66aa0 --- /dev/null +++ b/.vim/colors/textmate16.vim @@ -0,0 +1,46 @@ +" Vim color scheme +" +" Name: textmate16.vim +" Maintainer: Bruce Woodward +" Last Change: 06 Apr 2007 +" +" This is a color scheme based on the colors from textmate when editing ruby +" scripts. It was written to work under Mac OS X Terminal software using only +" 16 colors. +" +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "textmate16" + + +if ! has("gui_running") + set t_Co=16 + " do not change the background color + " It's expected that the user will change the background color to something + " dark. + highlight Normal ctermfg=White ctermbg=NONE + highlight Cursor ctermfg=Black ctermbg=Yellow + highlight Keyword ctermfg=Brown + highlight Define ctermfg=Brown + highlight Comment ctermfg=Darkmagenta + highlight rubySharpBang ctermfg=Darkmagenta + highlight Type ctermfg=White + highlight rubySymbol ctermfg=Darkcyan + highlight Identifier ctermfg=White + highlight rubyStringDelimiter ctermfg=Darkgreen + highlight rubyInterpolation ctermfg=White + highlight rubyPseudoVariable ctermfg=White + highlight Constant ctermfg=White + highlight Function ctermfg=White + highlight Include ctermfg=Brown + highlight Statement ctermfg=Brown + highlight String ctermfg=Darkgreen + highlight Search ctermbg=White + highlight RubyInteger ctermfg=Darkred + highlight RubyFloat ctermfg=Darkred + highlight RubyDocumentation ctermfg=White ctermbg=Darkgrey +endif + diff --git a/.vim/colors/thegoodluck.vim b/.vim/colors/thegoodluck.vim new file mode 100644 index 0000000..cce108f --- /dev/null +++ b/.vim/colors/thegoodluck.vim @@ -0,0 +1,58 @@ +" vim: sw=4 +" Vim color file +" Maintainer: Leonid Shvechikov (aka tGL) +" Vesion: 0.7 +" Last Change: 2008/07/30 + +" tGL - the Good Luck +" My personal light colorscheme for gvim. +" I prefere to decrease screen brightness at my worktime to the value, +" when the white color not tire my eyes. + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "thegoodluck" + +" Vim >= 7.0 specific colors +if version >= 700 + hi CursorLine guibg=#e8f2ff + hi CursorColumn guibg=#e8f2ff + hi MatchParen guibg=#ffff00 gui=bold + hi Pmenu guifg=Black guibg=#ddeeff + hi PmenuSel guifg=White guibg=#4088d0 +endif + +" General colors +hi Cursor guifg=White guibg=Black +hi lCursor guifg=White guibg=Black +hi Normal guifg=Black guibg=White +hi NonText guifg=gray40 guibg=gray95 +hi LineNR guifg=gray70 guibg=gray95 +hi SpecialKey guifg=#ff00ff +hi Title guifg=Black gui=bold +hi Visual guibg=#bbddff + +" Syntax highlighting +hi Comment guifg=#0066cc +hi Constant guifg=#aa0000 +hi Number guifg=#aa0000 +hi String guifg=#008000 +hi Identifier guifg=#0033cc +hi Operator guifg=#0066cc gui=bold +hi Function guifg=#aa0000 +hi PreProc guifg=#aa0000 +hi Special guifg=#cc6600 +hi Statement guifg=#008040 gui=bold +hi Type guifg=#0066cc gui=bold +hi Directory guifg=#0066cc gui=bold + +hi DiffAdd guibg=#ccffcc +hi DiffChange guibg=#ffffcc +hi DiffDelete guifg=#6699cc guibg=#bbeeff gui=bold +hi DiffText guibg=#ffcccc gui=bold + +hi FoldColumn guifg=DarkBlue guibg=gray95 +hi Folded guifg=gray30 guibg=gray95 diff --git a/.vim/colors/thestars.vim b/.vim/colors/thestars.vim new file mode 100644 index 0000000..fc68320 --- /dev/null +++ b/.vim/colors/thestars.vim @@ -0,0 +1,78 @@ +" Vim Color File +" Last Change: Thursday, October 20, 2005 +" Maintainer: Michael Wiseman (thestarslookdown at gmail dot com) +let s:thestars_version = 1.0.1 + +" Color Help Screens +" h cterm-colors +" h group-name +" h highlight-groups + +set bg=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "thestars" + +"------------------------------------------------------------------------------ +" Highlight Groups +"------------------------------------------------------------------------------ + +hi Cursor guifg=#FFFAFA guibg=#2E473B gui=bold " ctermfg=black ctermbg=white cterm=bold +hi CursorLine guifg=#0E0E18 guibg=#FDF8FF " ctermfg=black ctermbg=white +hi DiffAdd guifg=white guibg=#FF4F00 " ctermfg=white ctermbg=darkyellow +hi DiffChange guifg=white guibg=#2E473B " ctermfg=white ctermbg=darkgray +hi Directory guifg=#2E473B guibg=black " ctermfg=darkgray ctermbg=black +hi ErrorMsg guifg=red guibg=black " ctermfg=red ctermbg=black +hi VertSplit guifg=#D5CFDE guibg=#605B73 " ctermfg=darkgray ctermbg=lightgray +hi Folded guifg=#605B73 guibg=#D5CFDE " ctermfg=darkgray ctermbg=lightgray +hi FoldColumn guifg=#605B73 guibg=#D5CFDE " ctermfg=darkgray ctermbg=lightgray +hi SignColumn guifg=red guibg=black " ctermfg=red ctermbg=black +hi IncSearch guifg=#FDF8FF guibg=#0E0E18 " ctermfg=white ctermbg=black +hi LineNr guifg=#605B73 guibg=#F8FBF1 " ctermfg=darkgray ctermbg=lightgray +hi ModeMsg guifg=white guibg=black " ctermfg=white ctermbg=black +hi MoreMsg guifg=white guibg=black " ctermfg=white ctermbg=black +hi NonText guifg=white guibg=black " ctermfg=white ctermbg=black +hi Normal guifg=white guibg=black " ctermfg=white ctermbg=black +hi MatchParen guifg=#FDF8FF guibg=#2E473B +hi Pmenu guifg=#DAF4F0 guibg=#A02712 " ctermfg=white ctermbg=darkred +hi PmenuSel guifg=#A02712 guibg=#DAF4F0 gui=bold +hi PmenuSbar guibg=#007B00 " ctermbg=gray +hi PmenuThumb guifg=#2E473B +hi Question guifg=darkgreen guibg=black " ctermfg=darkgreen ctermbg=black +hi Search guifg=#FDF8FF guibg=#0E0E18 +hi SpecialKey guifg=#C0C0C0 guibg=black " ctermfg=gray ctermbg=black +hi StatusLine guifg=#F8FBF1 guibg=#605B73 " ctermfg=white ctermbg=darkgray +hi StatusLineNC guifg=#605B73 guibg=#F8FBF1 " ctermfg=darkgray ctermbg=white +hi TabLine guifg=#F8FBF1 guibg=#605B73 gui=none " ctermfg=white ctermbg=darkgray +hi TabLineFill guibg=#FDF8FF " ctermbg=white +hi TabLineSel guifg=white guibg=black " ctermfg=white ctermbg=black +hi Title guifg=white guibg=black gui=bold " ctermfg=white ctermbg=black cterm=bold +hi Visual guifg=#0E0E18 guibg=#FDF8FF " ctermfg=black ctermbg=white +hi VisualNOS guifg=#0E0E18 guibg=#FDF8FF " ctermfg=black ctermbg=white +hi WarningMsg guifg=red guibg=black " ctermfg=red ctermbg=black +hi WildMenu guifg=#605B73 guibg=#D5CFDE gui=bold " ctermfg=darkgray ctermbg=lightgray + +"------------------------------------------------------------------------------ +" Group Name +"------------------------------------------------------------------------------ + +hi Comment guifg=#F8FEEF guibg=black gui=italic " ctermfg=white ctermbg=black +hi Constant guifg=#DAF4F0 guibg=black " ctermfg=red ctermbg=black +hi String guifg=#016D39 guibg=black gui=bold " ctermfg=darkred ctermbg=black cterm=bold +hi Character guifg=#00009C guibg=black " ctermfg=darkblue ctermbg=black +hi Number guifg=#DAF4F0 guibg=black " ctermfg=lightgray ctermbg=black +hi Boolean guifg=#8C1717 guibg=black " ctermfg=red ctermbg=black +hi Float guifg=#DAF4F0 guibg=black " ctermfg=yellow ctermbg=black +hi Identifier guifg=#A02712 guibg=black " ctermfg=darkgreen ctermbg=black +hi Statement guifg=#007B00 guibg=black " ctermfg=darkgreen ctermbg=black +hi Operator guifg=#FF2400 guibg=black gui=bold " ctermfg=darkgreen ctermbg=black cterm=bold +hi PreProc guifg=#1560BD guibg=black " ctermfg=darkblue ctermbg=black +hi Type guifg=#FF2400 guibg=black " ctermfg=darkgreen ctermbg=black +hi Special guifg=#0056A7 guibg=black " ctermfg=darkcyan ctermbg=black +hi Underlined guifg=white guibg=black gui=none " ctermfg=white ctermbg=black cterm=none +hi Ignore guibg=black guifg=black " ctermfg=black ctermbg=black +hi Error guibg=red guifg=white gui=bold " ctermfg=white ctermbg=red cterm=bold +hi Todo guifg=#006400 guibg=black gui=bold " ctermfg=darkgreen ctermbg=black cterm=bold diff --git a/.vim/colors/tibet.vim b/.vim/colors/tibet.vim new file mode 100644 index 0000000..48807bf --- /dev/null +++ b/.vim/colors/tibet.vim @@ -0,0 +1,101 @@ +" Vim color file +" Maintainer: Miguel Figueiredo + +" /usr/X11R6/lib/X11 +set background=dark + +if exists("syntax_on") + syntax reset +endif + +let g:colors_name="tibet" + +hi Normal guifg=ivory guibg=darkred + +" highlight groups +"hi Cursor guibg=khaki guifg=slategrey +hi Cursor guibg=blue4 guifg=white +"hi CursorIM +"hi Directory +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +"hi ErrorMsg +"hi VertSplit guibg=#c2bfa5 guifg=grey50 gui=none +hi VertSplit guibg=darkgreen guifg=white gui=none +hi Folded guibg=darkred guifg=gold +hi FoldColumn guibg=grey30 guifg=tan +hi IncSearch guifg=slategrey guibg=khaki +hi LineNr guifg=yellow guibg=darkred +hi ModeMsg guifg=goldenrod +hi MoreMsg guifg=SeaGreen +hi NonText guifg=LightBlue guibg=darkred +hi Question guifg=springgreen +hi Search guibg=peru guifg=wheat +hi SpecialKey guifg=yellowgreen +hi StatusLine guibg=#c2bfa5 guifg=black gui=none +hi StatusLineNC guibg=#c2bfa5 guifg=grey50 gui=none +hi Title guifg=indianred +"hi Visual gui=none guifg=khaki guibg=olivedrab +hi Visual gui=none guifg=white guibg=#003300 +"hi VisualNOS +hi WarningMsg guifg=salmon +"hi WildMenu +"hi Menu +"hi Scrollbar +"hi Tooltip + +" syntax highlighting groups +hi Comment guifg=goldenrod +hi Constant guifg=#ffa0a0 +"hi String guifg=blue +hi Identifier guifg=palegreen +hi Statement guifg=khaki +hi PreProc guifg=#ffa0a0 +"hi Type guifg=darkkhaki +hi Type guifg=khaki +hi Special guifg=navajowhite +"hi Underlined +hi Ignore guifg=grey40 +"hi Error +hi Todo guifg=yellow guibg=#003300 + +" color terminal definitions +hi SpecialKey ctermfg=darkgreen +hi NonText cterm=bold ctermfg=darkblue +hi Directory ctermfg=darkcyan +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green +hi Search cterm=NONE ctermfg=grey ctermbg=blue +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr ctermfg=3 +hi Question ctermfg=green +hi StatusLine cterm=bold,reverse +hi StatusLineNC cterm=reverse +hi VertSplit cterm=reverse +hi Title ctermfg=5 +hi Visual cterm=reverse +hi VisualNOS cterm=bold,underline +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=darkgrey ctermbg=NONE +hi FoldColumn ctermfg=darkgrey ctermbg=NONE +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 +hi Comment ctermfg=darkcyan +hi Constant ctermfg=brown +hi Special ctermfg=5 +hi Identifier ctermfg=6 +hi Statement ctermfg=3 +hi PreProc ctermfg=5 +hi Type ctermfg=2 +hi Underlined cterm=underline ctermfg=5 +hi Ignore ctermfg=darkgrey +hi Error cterm=bold ctermfg=7 ctermbg=1 + + +" diff --git a/.vim/colors/tidy.vim b/.vim/colors/tidy.vim new file mode 100644 index 0000000..cf7d6aa --- /dev/null +++ b/.vim/colors/tidy.vim @@ -0,0 +1,65 @@ +" Vim color file tidy.vim based on PerlTidy syntax, http://perltidy.sourceforge.net/ written by Steve Hancock +" Maintainer: Tomasz Kalkosinski +" Last Change: 2005-08-22 + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="tidy" + +hi Normal guibg=#F0F0F0 guifg=Black + + +" Search +hi Search guibg=#FFE568 guifg=Black gui=none +hi IncSearch guibg=#40FFFF guifg=Black gui=none + +" highlight groups +hi Cursor guibg=#D74141 guifg=#e3e3e3 +hi VertSplit guibg=#C0FFFF guifg=#075554 gui=none +hi Folded guibg=Grey80 guifg=Black +hi FoldColumn guibg=Grey80 guifg=Black +hi ModeMsg guibg=Grey90 guifg=Grey30 gui=bold +hi MoreMsg guibg=#188F90 guifg=DimGrey +hi NonText guibg=Grey90 guifg=DarkGreen +hi Question guifg=DarkOrange3 + +hi SpecialKey guifg=DarkOrange3 +hi StatusLine guibg=DimGrey guifg=White gui=bold +hi StatusLineNC guibg=Black guifg=White gui=none +hi Title guifg=#8DB8C3 +hi Visual guibg=DarkBlue guifg=White gui=none +hi WarningMsg guifg=#F60000 gui=underline + +" syntax highlighting groups +hi Comment guibg=Grey90 guifg=#228b22 +hi Constant guibg=White guifg=#CD5555 +hi Number guifg=#B452CD +hi Identifier guifg=#00688B +hi Statement guifg=#8B4513 gui=bold +hi PreProc guifg=DarkBlue gui=bold +hi Type guifg=Blue gui=bold +hi Special guifg=Red +hi Ignore guifg=Grey60 +hi Todo guibg=Yellow guifg=Black +hi Label guifg=firebrick3 gui=bold + +" Vim defaults +hi ErrorMsg guibg=Red guifg=White +hi DiffAdd guibg=#90B0D9 +hi DiffChange guibg=#B1E599 +hi DiffDelete guibg=#D9A465 guifg=Black gui=bold +hi DiffText guibg=Firebrick4 guifg=White gui=bold +hi Directory guifg=DarkGreen +hi LineNr guifg=DarkGreen +hi WildMenu guibg=Yellow guifg=Black +hi lCursor guibg=SeaGreen1 guifg=NONE +hi Underlined guifg=#80a0ff gui=underline +hi Error guibg=Red guifg=White diff --git a/.vim/colors/tir_black.vim b/.vim/colors/tir_black.vim new file mode 100644 index 0000000..802dec1 --- /dev/null +++ b/.vim/colors/tir_black.vim @@ -0,0 +1,130 @@ +" tir_black color scheme +" Based on ir_black from: http://blog.infinitered.com/entries/show/8 +" adds 256 color console support +" changed WildMenu color to be the same as PMenuSel + +set background=dark +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "tir_black" + +" General colors +hi Normal guifg=#f6f3e8 guibg=black ctermfg=white ctermbg=0 +hi NonText guifg=#070707 guibg=black ctermfg=232 ctermbg=0 + +hi Cursor guifg=black guibg=white ctermfg=0 ctermbg=15 +hi LineNr guifg=#3D3D3D guibg=black ctermfg=239 ctermbg=0 + +hi VertSplit guifg=#202020 guibg=#202020 ctermfg=235 ctermbg=235 +hi StatusLine guifg=#CCCCCC guibg=#202020 gui=italic ctermfg=235 ctermbg=254 +hi StatusLineNC guifg=black guibg=#202020 ctermfg=0 ctermbg=235 + +hi Folded guifg=#a0a8b0 guibg=#384048 ctermfg=103 ctermbg=60 +hi Title guifg=#f6f3e8 gui=bold ctermfg=187 cterm=bold +hi Visual guibg=#262D51 ctermbg=60 + +hi SpecialKey guifg=#808080 guibg=#343434 ctermfg=8 ctermbg=236 + +hi WildMenu guifg=black guibg=#cae682 ctermfg=0 ctermbg=195 +hi PmenuSbar guifg=black guibg=white ctermfg=0 ctermbg=15 + +hi Error gui=undercurl ctermfg=203 ctermbg=none cterm=underline guisp=#FF6C60 +hi ErrorMsg guifg=white guibg=#FF6C60 gui=bold ctermfg=white ctermbg=203 cterm=bold +hi WarningMsg guifg=white guibg=#FF6C60 gui=bold ctermfg=white ctermbg=203 cterm=bold + +hi ModeMsg guifg=black guibg=#C6C5FE gui=bold ctermfg=0 ctermbg=189 cterm=bold + +if version >= 700 " Vim 7.x specific colors + hi CursorLine guibg=#121212 gui=none ctermbg=234 cterm=none + hi CursorColumn guibg=#121212 gui=none ctermbg=234 cterm=none + hi MatchParen guifg=#f6f3e8 guibg=#857b6f gui=bold ctermfg=white ctermbg=darkgray + hi Pmenu guifg=#f6f3e8 guibg=#444444 ctermfg=white ctermbg=242 + hi PmenuSel guifg=#000000 guibg=#cae682 ctermfg=0 ctermbg=195 + hi Search guifg=#000000 guibg=#cae682 ctermfg=0 ctermbg=195 +endif + +" Syntax highlighting +hi Comment guifg=#7C7C7C ctermfg=8 +hi String guifg=#A8FF60 ctermfg=155 +hi Number guifg=#FF73FD ctermfg=207 + +hi Keyword guifg=#96CBFE ctermfg=117 +hi PreProc guifg=#96CBFE ctermfg=117 +hi Conditional guifg=#6699CC ctermfg=110 + +hi Todo guifg=#000000 guibg=#cae682 ctermfg=0 ctermbg=195 +hi Constant guifg=#99CC99 ctermfg=151 + +hi Identifier guifg=#C6C5FE ctermfg=189 +hi Function guifg=#FFD2A7 ctermfg=223 +hi Type guifg=#FFFFB6 ctermfg=229 +hi Statement guifg=#6699CC ctermfg=110 + +hi Special guifg=#E18964 ctermfg=173 +hi Delimiter guifg=#00A0A0 ctermfg=37 +hi Operator guifg=white ctermfg=white + +hi link Character Constant +hi link Boolean Constant +hi link Float Number +hi link Repeat Statement +hi link Label Statement +hi link Exception 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 SpecialComment Special +hi link Debug Special + +" Special for Ruby +hi rubyRegexp guifg=#B18A3D ctermfg=brown +hi rubyRegexpDelimiter guifg=#FF8000 ctermfg=brown +hi rubyEscape guifg=white ctermfg=cyan +hi rubyInterpolationDelimiter guifg=#00A0A0 ctermfg=blue +hi rubyControl guifg=#6699CC ctermfg=blue "and break, etc +hi rubyStringDelimiter guifg=#336633 ctermfg=lightgreen +hi link rubyClass Keyword +hi link rubyModule Keyword +hi link rubyKeyword Keyword +hi link rubyOperator Operator +hi link rubyIdentifier Identifier +hi link rubyInstanceVariable Identifier +hi link rubyGlobalVariable Identifier +hi link rubyClassVariable Identifier +hi link rubyConstant Type + +" Special for Java +hi link javaScopeDecl Identifier +hi link javaCommentTitle javaDocSeeTag +hi link javaDocTags javaDocSeeTag +hi link javaDocParam javaDocSeeTag +hi link javaDocSeeTagParam javaDocSeeTag + +hi javaDocSeeTag guifg=#CCCCCC ctermfg=darkgray +hi javaDocSeeTag guifg=#CCCCCC ctermfg=darkgray + +" Special for XML +hi link xmlTag Keyword +hi link xmlTagName Conditional +hi link xmlEndTag Identifier + +" Special for HTML +hi link htmlTag Keyword +hi link htmlTagName Conditional +hi link htmlEndTag Identifier + +" Special for Javascript +hi link javaScriptNumber Number + +" Special for CSharp +hi link csXmlTag Keyword diff --git a/.vim/colors/tolerable.vim b/.vim/colors/tolerable.vim new file mode 100644 index 0000000..7b97b9a --- /dev/null +++ b/.vim/colors/tolerable.vim @@ -0,0 +1,43 @@ +" Vim color file +" Maintainer: Ian Langworth +" Last Change: 2004 Dec 24 +" Email: + +" Color settings inspired by BBEdit for Mac OS, plus I liked +" the low-contrast comments from the 'oceandeep' colorscheme + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="tolerable" + +hi Cursor guifg=white guibg=darkgreen + +hi Normal gui=none guifg=black guibg=white +hi NonText gui=none guifg=orange guibg=white + +hi Statement gui=none guifg=blue +hi Special gui=none guifg=red +hi Constant gui=none guifg=darkred +hi Comment gui=none guifg=#555555 +hi Preproc gui=none guifg=darkcyan +hi Type gui=none guifg=darkmagenta +hi Identifier gui=none guifg=darkgreen +hi Title gui=none guifg=black + +hi StatusLine gui=none guibg=#333333 guifg=white +hi StatusLineNC gui=none guibg=#333333 guifg=white +hi VertSplit gui=none guibg=#333333 guifg=white + +hi Visual gui=none guibg=green guifg=black +hi Search gui=none guibg=yellow +hi Directory gui=none guifg=darkblue +hi WarningMsg gui=none guifg=red +hi Error gui=none guifg=white guibg=red +hi Todo gui=none guifg=black guibg=yellow + +hi MoreMsg gui=none +hi ModeMsg gui=none + diff --git a/.vim/colors/tomatosoup.vim b/.vim/colors/tomatosoup.vim new file mode 100644 index 0000000..7864aed --- /dev/null +++ b/.vim/colors/tomatosoup.vim @@ -0,0 +1,80 @@ +" Vim color file +" Maintainer: Michael Brailsford +" Date: $Date: 2002/04/11 03:29:51 $ +" Version: $Revision: 1.4 $ + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +" your pick: +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="tomatosoup" + +hi Normal guifg=black guibg=tomato1 ctermfg=14 + +"Toggle semicolon matching at the end of lines +nmap ; :call ToggleSemicolonHighlighting() +"{{{ +function! ToggleSemicolonHighlighting() + if exists("b:semicolon") + unlet b:semicolon + hi semicolon guifg=NONE gui=NONE ctermfg=NONE + else + syn match semicolon #;$# + hi semicolon guifg=red gui=bold ctermfg=1 + let b:semicolon = 1 + endif +endfunction +"}}} + +hi Cursor guifg=bg guibg=fg ctermfg=0 ctermbg=11 +"hi CursorIM +hi Directory gui=bold +hi DiffAdd guifg=yellow guibg=darkgreen ctermbg=0 +"hi DiffChange +"hi DiffDelete +"hi DiffText +hi ErrorMsg guibg=red ctermfg=1 +"hi VertSplit +hi Folded guibg=darkred ctermbg=4 guifg=gold ctermfg=11 gui=bold +hi FoldColumn guibg=darkred ctermbg=14 guifg=gold ctermfg=11 gui=bold +"hi IncSearch +hi LineNr guifg=yellow ctermfg=11 +hi ModeMsg guifg=yellow gui=bold +"hi MoreMsg +"hi NonText +"hi Question +hi Search guibg=yellow guifg=bg +"hi SpecialKey +hi StatusLine guifg=brown +hi StatusLineNC guifg=darkred +"hi Title +hi Visual guifg=fg guibg=bg +"hi VisualNOS +"hi WarningMsg +"hi WildMenu +"hi Menu +"hi Scrollbar +"hi Tooltip + +" syntax highlighting groups +hi Comment guifg=pink ctermfg=10 +hi Constant guifg=lightmagenta gui=bold ctermfg=13 +hi String guifg=grey85 ctermfg=5 +hi Character guifg=violet ctermfg=5 +hi Number guifg=red ctermfg=5 +"hi Identifier +hi Statement guifg=khaki1 gui=bold ctermfg=15 cterm=underline +hi PreProc guifg=white gui=italic ctermfg=9 +hi Type guifg=yellow gui=bold ctermfg=3 +hi Special guifg=red gui=bold +"hi Underlined +"hi Ignore +"hi Error +hi Todo guifg=yellow guibg=blue gui=bold diff --git a/.vim/colors/tony_light.vim b/.vim/colors/tony_light.vim new file mode 100644 index 0000000..20e24d7 --- /dev/null +++ b/.vim/colors/tony_light.vim @@ -0,0 +1,49 @@ +" Vim color file +" Maintainer: Tony Dunsworth +" Last Change: $Date: 2010/05/25 14:45:00 $ +" URL: http://brandrui.110mb.com +" Version: $Id: tony_light.vim,v 1.0 2010/05/25 11:55:00 $ + +set background=light +if version > 580 + " no guarantees for version 5.8 and below, but it will + " stop complaining + hi clear + if exists("syntax_on") + syntax reset + endif +endif +let g:colors_name="tony_light" + +hi Normal gui=none guifg=black guibg=white + +" highlight groups +hi Cursor guifg=white guibg=darkblue +hi NonText gui=none guifg=#c90016 guibg=white + +hi Statement gui=none guifg=darkcyan +hi Special gui=none guifg=blue +hi Constant gui=none guifg=#004d73 +hi String guifg=darkolivegreen gui=none +hi Number guifg=aquamarine4 gui=none +hi Boolean gui=none guifg=steelblue +hi Comment gui=italic guifg=darkgreen +hi Preproc gui=none guifg=#64314d +hi Type gui=none guifg=darkred +hi Identifier gui=none guifg=#221b4e +hi Title gui=none guifg=#4d2517 +hi LineNr gui=none guifg=deepskyblue3 + +hi StatusLine gui=none guibg=#b8bab2 guifg=black +hi StatusLineNC gui=none guibg=#b8bab2 guifg=black +hi VertSplit gui=none guibg=#b8bab2 guifg=black + +hi Visual gui=none guibg=#547741 guifg=black +hi Search gui=none guibg=#e5cf3e +hi Directory gui=none guifg=darkgreen +hi WarningMsg gui=none guifg=red +hi Error gui=none guifg=white guibg=red +hi Todo gui=none guifg=black guibg=yellow + +hi MoreMsg gui=none +hi ModeMsg gui=none diff --git a/.vim/colors/toothpik.vim b/.vim/colors/toothpik.vim new file mode 100644 index 0000000..8bbbf92 --- /dev/null +++ b/.vim/colors/toothpik.vim @@ -0,0 +1,51 @@ +" Vim color file +" Maintainer: s cunningham +" Last Change: 2006-08-30 +" Version: 0.3 +" URL: http://vim.sourceforge.net/script.php?script_id=480 + +set background=light +highlight clear +if exists( "syntax_on" ) + syntax reset +endif +let g:colors_name="toothpik" + +highlight Comment term=bold guifg=white +highlight Constant term=underline guifg=Blue guibg=grey +highlight Cursor gui=reverse guifg=White guibg=Black +highlight lCursor guifg=black guibg=green +highlight DiffAdd term=bold guibg=LightBlue +highlight DiffChange term=bold guibg=LightMagenta +highlight DiffDelete term=bold gui=bold guifg=Blue guibg=LightCyan +highlight DiffText term=reverse gui=bold guibg=Red +highlight Directory term=bold guifg=Blue +highlight Error term=reverse guifg=White guibg=Red +highlight ErrorMsg term=standout guifg=White guibg=Red +highlight Folded term=standout guifg=DarkBlue guibg=LightGrey +highlight FoldColumn term=standout guifg=DarkBlue guibg=Grey +highlight Identifier term=underline guifg=DarkCyan +highlight Ignore guifg=bg +highlight IncSearch term=reverse gui=reverse +highlight LineNr term=underline guifg=Brown +highlight MoreMsg term=bold gui=bold guifg=SeaGreen +highlight ModeMsg term=bold gui=bold +highlight NonText term=bold gui=bold guifg=green guibg=grey +highlight Normal guibg=grey +highlight Question term=standout gui=bold guifg=SeaGreen +highlight PreProc term=underline guifg=Purple +highlight Search term=reverse guibg=brown +highlight Special term=bold guifg=darkred guibg=grey +highlight SpecialKey term=bold guifg=Blue +highlight Statement term=bold gui=bold guifg=Brown +highlight StatusLine term=bold,reverse gui=bold,reverse +highlight StatusLineNC term=reverse gui=reverse +highlight Title term=bold gui=bold guifg=Magenta +highlight Todo term=standout guifg=Blue guibg=Yellow +highlight Type term=underline gui=bold guifg=DarkGreen +highlight Underlined term=underline gui=underline guifg=SlateBlue +highlight VertSplit term=reverse gui=reverse +highlight Visual term=reverse gui=reverse guifg=Yellow guibg=Black +highlight VisualNOS term=bold,underline gui=bold,underline +highlight WarningMsg term=standout guifg=Red +highlight WildMenu term=standout guifg=Black guibg=Yellow diff --git a/.vim/colors/torte.vim b/.vim/colors/torte.vim new file mode 100644 index 0000000..f28ed60 --- /dev/null +++ b/.vim/colors/torte.vim @@ -0,0 +1,51 @@ +" Vim color file +" Maintainer: Thorsten Maerz +" Last Change: 2001 Jul 23 +" grey on black +" optimized for TFT panels +" $Revision: 1.1 $ + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +"colorscheme default +let g:colors_name = "torte" + +" hardcoded colors : +" GUI Comment : #80a0ff = Light blue + +" GUI +highlight Normal guifg=Grey80 guibg=Black +highlight Search guifg=Black guibg=Red gui=bold +highlight Visual guifg=Grey25 gui=bold +highlight Cursor guifg=Black guibg=Green gui=bold +highlight Special guifg=Orange +highlight Comment guifg=#80a0ff +highlight StatusLine guifg=blue guibg=white +highlight Statement guifg=Yellow gui=NONE +highlight Type gui=NONE + +" Console +highlight Normal ctermfg=LightGrey ctermbg=Black +highlight Search ctermfg=Black ctermbg=Red cterm=NONE +highlight Visual cterm=reverse +highlight Cursor ctermfg=Black ctermbg=Green cterm=bold +highlight Special ctermfg=Brown +highlight Comment ctermfg=Blue +highlight StatusLine ctermfg=blue ctermbg=white +highlight Statement ctermfg=Yellow cterm=NONE +highlight Type cterm=NONE + +" only for vim 5 +if has("unix") + if v:version<600 + highlight Normal ctermfg=Grey ctermbg=Black cterm=NONE guifg=Grey80 guibg=Black gui=NONE + highlight Search ctermfg=Black ctermbg=Red cterm=bold guifg=Black guibg=Red gui=bold + highlight Visual ctermfg=Black ctermbg=yellow cterm=bold guifg=Grey25 gui=bold + highlight Special ctermfg=LightBlue cterm=NONE guifg=LightBlue gui=NONE + highlight Comment ctermfg=Cyan cterm=NONE guifg=LightBlue gui=NONE + endif +endif + diff --git a/.vim/colors/transparent.vim b/.vim/colors/transparent.vim new file mode 100644 index 0000000..ef79503 --- /dev/null +++ b/.vim/colors/transparent.vim @@ -0,0 +1,120 @@ +" Vim color file +" Maintainer: Sir Raorn +" Last Change: Apr, 10 2006 +" URL: http://people.altlinux.ru/~raorn/transparent.vim + +" This color scheme uses "transparent" background (dark dark blue in gvim) +" Looks really nice when vim (console) started in transparent aterm +" But gvim looks good too +set background=dark + +" First remove all existing highlighting. +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="transparent" + +" default groups +hi Normal ctermfg=Gray ctermbg=NONE guifg=Gray guibg=#00002A + +hi Cursor guifg=Black guibg=Green +if version >= 700 + hi CursorColumn cterm=reverse guibg=Gray40 + hi CursorLine cterm=underline guibg=Gray40 +endif +"hi CursorIM NONE guifg=Black guibg=Purple +hi Directory ctermfg=White guifg=White +hi DiffAdd ctermfg=White ctermbg=DarkCyan guifg=White guibg=DarkCyan +hi DiffChange ctermfg=Black ctermbg=Gray guifg=Black guibg=DarkGray +hi DiffDelete ctermfg=White ctermbg=DarkRed guifg=White guibg=DarkRed +hi DiffText cterm=bold ctermfg=White ctermbg=Gray gui=bold guifg=White guibg=DarkGray +hi ErrorMsg ctermfg=White ctermbg=DarkRed guifg=White guibg=DarkRed +hi VertSplit cterm=reverse gui=reverse +hi Folded cterm=bold ctermfg=Cyan ctermbg=NONE gui=bold guifg=Cyan guibg=DarkCyan +hi FoldColumn ctermfg=Green ctermbg=NONE guifg=Green guibg=#00002A +hi IncSearch ctermfg=White ctermbg=Black guifg=White guibg=Black +hi LineNr ctermfg=Yellow guifg=DarkCyan +if version >= 700 + hi MatchParen cterm=bold,underline ctermbg=NONE gui=bold,underline guibg=NONE +endif +hi ModeMsg cterm=bold ctermfg=White gui=bold guifg=White +hi MoreMsg cterm=bold ctermfg=White gui=bold guifg=White +hi NonText ctermfg=NONE guifg=NONE +if version >= 700 + hi Pmenu ctermfg=Black ctermbg=Cyan guifg=Black guibg=Cyan + hi PmenuSel ctermfg=Black ctermbg=Grey guifg=Black guibg=Grey + hi PmenuSbar ctermfg=Black ctermbg=Grey guifg=Black guibg=Grey + hi PmenuThumb cterm=reverse gui=reverse +endif +hi Question ctermfg=Green guifg=Green +hi Search cterm=reverse ctermfg=fg ctermbg=NONE gui=reverse guifg=fg guibg=bg +hi SpecialKey ctermfg=LightRed guifg=Red +if version >= 700 + hi SpellBad ctermbg=Red gui=undercurl guisp=Red + hi SpellCap ctermbg=Blue gui=undercurl guisp=Blue + hi SpellRare ctermbg=Magenta gui=undercurl guisp=Magenta + hi SpellLocal ctermbg=Cyan gui=undercurl guisp=Cyan +endif +hi StatusLine cterm=bold,reverse ctermfg=White ctermbg=Black gui=bold,reverse guifg=White guibg=Black +hi StatusLineNC cterm=reverse ctermfg=Gray ctermbg=Black gui=reverse guifg=DarkGray guibg=Black +if version >= 700 + hi TabLine cterm=underline ctermfg=Gray gui=underline guifg=Black guibg=DarkGray + hi TabLineSel cterm=bold,underline ctermfg=White gui=bold guifg=White + hi TabLineFill cterm=underline ctermfg=Gray gui=underline guifg=Black guibg=DarkGray +endif +hi Title ctermfg=LightGreen gui=bold guifg=Green +hi Visual cterm=inverse ctermfg=White ctermbg=DarkGray gui=inverse guifg=DarkGray guibg=Black +hi VisualNOS cterm=bold,underline gui=bold,underline +hi WarningMsg ctermfg=White ctermbg=DarkRed guifg=White guibg=DarkRed +hi WildMenu cterm=bold ctermfg=Black ctermbg=Yellow gui=bold guifg=Black guibg=Yellow +"hi Menu +"hi Scrollbar +"hi Tooltip + +" syntax highlighting groups +hi Comment ctermfg=DarkCyan guifg=DarkCyan + +hi Constant ctermfg=LightGreen guifg=LightGreen +hi String ctermfg=Yellow guifg=Yellow +hi Character ctermfg=Yellow guifg=Yellow +"hi Number +"hi Boolean +"hi Float + +hi Identifier ctermfg=LightCyan guifg=LightCyan +hi Function ctermfg=White guifg=White + +hi Statement ctermfg=Yellow guifg=Yellow +"hi Conditional +"hi Repeat +hi Label ctermfg=White guifg=White +hi Operator ctermfg=Green guifg=Green +"hi Keyword +hi Exception ctermfg=Black ctermbg=DarkRed guifg=Black guibg=DarkRed + +hi PreProc ctermfg=DarkGreen guifg=#00aa00 +"hi Include +"hi Define +"hi Macro +"hi PreCondit + +hi Type ctermfg=Green guifg=Green +"hi StorageClass +"hi Structure +hi Typedef ctermfg=Red guifg=Red + +hi Special ctermfg=Red guifg=Red +"hi SpecialChar +hi Tag ctermfg=LightGreen guifg=LightGreen +hi Delimiter ctermfg=Green guifg=Green +"hi SpecialComment +hi Debug ctermfg=White ctermbg=Black guifg=White guibg=Black + +hi Underlined cterm=underline gui=underline + +hi Ignore ctermfg=DarkBlue guifg=DarkBlue + +hi Error ctermfg=White ctermbg=DarkRed guifg=White guibg=DarkRed + +hi Todo ctermfg=Black ctermbg=Gray guifg=Black guibg=Gray diff --git a/.vim/colors/trivial256.vim b/.vim/colors/trivial256.vim new file mode 100644 index 0000000..9e11194 --- /dev/null +++ b/.vim/colors/trivial256.vim @@ -0,0 +1,42 @@ +" Vim color file +" Maintainer: drauh +" +" This theme is based on "simple256" theme by A. Rodin +" +" Ignored all GUI-mode colors. Set simple terminal colors +" to be visible on iTerm.app for OS X with a light background. + +set background=light +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="trivial256" + +" color terminal definitions +hi VertSplit ctermfg=lightgray ctermbg=darkgray cterm=reverse +hi Folded ctermfg=blue ctermbg=lightcyan +hi IncSearch ctermfg=darkgray ctermbg=yellow +hi Visual ctermfg=blue ctermbg=white cterm=reverse +hi Comment ctermfg=darkgray cterm=bold +hi Constant ctermfg=blue +hi Literal ctermfg=blue +hi Identifier ctermfg=magenta cterm=none +hi Keyword ctermfg=magenta +hi String ctermfg=red +hi Float ctermfg=magenta +hi Boolean ctermfg=darkblue +hi Number ctermfg=darkblue +hi Statement ctermfg=darkblue +hi PreProc ctermfg=blue +hi Type ctermfg=blue +hi Special ctermfg=darkblue cterm=none +hi Underlined ctermfg=blue cterm=underline +hi Todo ctermfg=blue ctermbg=yellow cterm=none + +" vim: set fdl=0 fdm=marker: + diff --git a/.vim/colors/trogdor.vim b/.vim/colors/trogdor.vim new file mode 100644 index 0000000..d71b590 --- /dev/null +++ b/.vim/colors/trogdor.vim @@ -0,0 +1,43 @@ +" Vim color scheme +" +" Name: trogdor.vim +" Maintainer: Bruce E. Gottlieb +" Last Change: 3 Feb 2009 +" License: public domain +" URL: http://renderguild.com/vim/colors/trogdor.vim +" Version: 1.0 +" +" This scheme was designed and was tested to work in the GUI (gVim) only. +" +" This theme was based on years and years of research into the ideal +" theme for minimizing eye strain. Many C/C++ programmers went blind or are +" wearing coke-bottle glasses just to bring this to you. +" Do not let their suffering be in vain. + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "trogdor" + +if has("gui_running") + highlight Normal guifg=Cyan guibg=Black + highlight Cursor guifg=Black guibg=CadetBlue + highlight Keyword guifg=green + highlight PreProc guifg=yellow + highlight Special guifg=yellow + highlight Todo guifg=yellow + highlight Comment guifg=LightCyan4 + highlight SpecialComment guifg=LightCyan4 + highlight Type guifg=green gui=NONE + highlight Identifier guifg=green gui=NONE + highlight Constant guifg=DarkOrange + highlight Statement guifg=green gui=NONE + highlight String guifg=DarkOrange + highlight Search guibg=SlateGray guifg=white + highlight CursorLine guibg=DeepSkyBlue + highlight Visual guifg=white guibg=SlateGray + highlight LineNr guifg=SlateGray +endif diff --git a/.vim/colors/turbo.vim b/.vim/colors/turbo.vim new file mode 100644 index 0000000..c5bc1d6 --- /dev/null +++ b/.vim/colors/turbo.vim @@ -0,0 +1,87 @@ +" Vim color file +" Maintainer: Bryant Casteel +" Web Site: http://bethings.provoplatinum.com +" Last Change: 2007 Jan. 22 + +" turbo: Intended to look like the color scheme +" from Borland's Turbo C++ and Turbo Pascal. + +set bg=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "turbo" + +hi Normal guifg=yellow guibg=#000040 ctermfg=brown + +hi ErrorMsg guifg=white guibg=#287eff +hi ErrorMsg ctermfg=white ctermbg=lightblue + +hi Visual guifg=#8080ff guibg=fg gui=reverse +hi Visual ctermfg=lightblue ctermbg=fg cterm=reverse + +hi VisualNOS guifg=#8080ff guibg=fg gui=reverse,underline +hi VisualNOS ctermfg=lightblue ctermbg=fg cterm=reverse,underline + +hi Todo guifg=#d14a14 guibg=#1248d1 ctermfg=red ctermbg=darkblue +hi Search guifg=#90fff0 guibg=#2050d0 ctermfg=white ctermbg=darkblue +hi IncSearch guifg=#b0ffff guibg=#2050d0 ctermfg=darkblue ctermbg=gray + +hi SpecialKey guifg=cyan ctermfg=darkcyan +hi Directory guifg=cyan ctermfg=cyan +hi Title guifg=magenta gui=none ctermfg=magenta cterm=bold +hi WarningMsg guifg=red ctermfg=red + +hi WildMenu guifg=yellow guibg=black +hi WildMenu ctermfg=yellow ctermbg=black cterm=none + +hi ModeMsg guifg=#22cce2 ctermfg=lightblue +hi MoreMsg guifg=darkgreen ctermfg=darkgreen +hi Question guifg=green gui=none ctermfg=green cterm=none +hi NonText guifg=#0030ff ctermfg=darkblue + +" Split window status bar +hi StatusLine guifg=blue guibg=yellow gui=none +hi StatusLine ctermfg=blue ctermbg=gray cterm=none + +hi StatusLineNC guifg=black guibg=green gui=none +hi StatusLineNC ctermfg=black ctermbg=gray cterm=none + +hi VertSplit guifg=black guibg=orange gui=none +hi VertSplit ctermfg=black ctermbg=gray cterm=none + +" Folded code +hi Folded guifg=#808080 guibg=#000040 +hi Folded ctermfg=darkgrey ctermbg=black cterm=bold +hi FoldColumn guifg=#808080 guibg=#000040 +hi FoldColumn ctermfg=darkgrey ctermbg=black cterm=bold + +hi LineNr guifg=#90f020 ctermfg=green cterm=none + + +hi DiffAdd guibg=darkblue ctermbg=darkblue cterm=none +hi DiffChange guibg=darkmagenta ctermbg=magenta cterm=none + +hi DiffDelete guifg=Blue guibg=DarkCyan gui=bold +hi DiffDelete ctermfg=blue ctermbg=cyan + +hi DiffText guibg=Red gui=bold ctermbg=red cterm=bold + +" Cursor +hi Cursor guifg=#000020 guibg=#ffaf38 cterm=reverse +hi lCursor guifg=white guibg=black ctermbg=darkgreen cterm=reverse + +" Syntax highlighting: +hi Comment guifg=darkcyan ctermfg=darkcyan +hi Constant guifg=darkred ctermfg=darkred cterm=none +hi Special guifg=magenta gui=none ctermfg=magenta cterm=none +hi Identifier guifg=green ctermfg=green cterm=none +hi Statement guifg=white gui=bold ctermfg=grey cterm=none +hi PreProc guifg=darkgreen gui=none ctermfg=darkgreen cterm=none +hi type guifg=grey gui=bold ctermfg=grey cterm=none +hi Underlined gui=underline cterm=none +hi Ignore gui=reverse cterm=reverse + + diff --git a/.vim/colors/tutticolori.vim b/.vim/colors/tutticolori.vim new file mode 100644 index 0000000..5c35cb3 --- /dev/null +++ b/.vim/colors/tutticolori.vim @@ -0,0 +1,47 @@ +" A VIM port of the Espresso tutti colori theme +" http://macrabbit.com/espresso/ +" +" Jon Raphaelson +" lygaret@gmail.com + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "tutticolori" + +highlight Normal guifg=#000000 guibg=#ffffff +highlight Cursor guifg=#000000 guibg=#cccecf +highlight CursorLine guibg=#dbebff +highlight Visual guibg=#dbebff +highlight Search guibg=#fbe9ad + +highlight NonText guifg=#e2e8ef guibg=#fefeff +highlight MatchParen guibg=#d4e9fa + +highlight LineNr guifg=#aabbcc guibg=#f2f8ff +highlight FoldColumn guifg=#aabbcc guibg=#f2f8ff +highlight Folded guifg=#667788 guibg=#f2f8ff + +highlight StatusLine guifg=#888888 guibg=#ffffff +highlight StatusLineNC guifg=#bbbbbb guibg=#ffffff +highlight VertSplit guifg=#888888 guibg=#ffffff + +highlight Comment guifg=#999999 guibg=#eeeeee gui=italic +highlight Constant guifg=#d44950 guibg=NONE +highlight Error guifg=#f9f2ce guibg=#f9323a +highlight Identifier guifg=#3a1d72 guibg=NONE +highlight Number guifg=#7653c1 guibg=#f3f2ff +highlight PreProc guifg=#222222 guibg=#eeeeee +highlight Special guifg=#2f6f9f guibg=NONE +highlight Statement guifg=#2f6f9f guibg=#f4faff gui=NONE +highlight Type guifg=#699d36 guibg=NONE gui=NONE +highlight Title guifg=#000000 guibg=NONE gui=NONE +highlight Underlined guifg=#2f4f6f guibg=NONE gui=underline + +" html/css/javascript + +highlight htmlHead guibg=#ffffff +highlight javaScript guifg=#434343 guibg=#ffffff diff --git a/.vim/colors/twilight.vim b/.vim/colors/twilight.vim new file mode 100644 index 0000000..f2ccdd3 --- /dev/null +++ b/.vim/colors/twilight.vim @@ -0,0 +1,114 @@ + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "twilight" + +let s:grey_blue = '#8a9597' +let s:light_grey_blue = '#a0a8b0' +let s:dark_grey_blue = '#34383c' +let s:mid_grey_blue = '#64686c' +let s:beige = '#ceb67f' +let s:light_orange = '#ebc471' +let s:yellow = '#e3d796' +let s:violet = '#a999ac' +let s:green = '#a2a96f' +let s:lightgreen = '#c2c98f' +let s:red = '#d08356' +let s:cyan = '#74dad9' +let s:darkgrey = '#1a1a1a' +let s:grey = '#303030' +let s:lightgrey = '#605958' +let s:white = '#fffedc' + +if version >= 700 + hi CursorLine guibg=#262626 + hi CursorColumn guibg=#262626 + hi MatchParen guifg=white guibg=#80a090 gui=bold + + "Tabpages + hi TabLine guifg=#a09998 guibg=#202020 gui=underline + hi TabLineFill guifg=#a09998 guibg=#202020 gui=underline + hi TabLineSel guifg=#a09998 guibg=#404850 gui=underline + + "P-Menu (auto-completion) + hi Pmenu guifg=#605958 guibg=#303030 gui=underline + hi PmenuSel guifg=#a09998 guibg=#404040 gui=underline + "PmenuSbar + "PmenuThumb +endif + +hi Visual guibg=#404040 + +"hi Cursor guifg=NONE guibg=#586068 +hi Cursor guibg=#b0d0f0 + + +exe 'hi Normal guifg='.s:white .' guibg='.s:darkgrey +exe 'hi Underlined guifg='.s:white .' guibg='.s:darkgrey .' gui=underline' +exe 'hi NonText guifg='.s:lightgrey .' guibg='.s:grey +exe 'hi SpecialKey guifg='.s:grey .' guibg='.s:darkgrey + +exe 'hi LineNr guifg='.s:mid_grey_blue .' guibg='.s:dark_grey_blue .' gui=none' +exe 'hi StatusLine guifg='.s:white .' guibg='.s:grey .' gui=italic,underline' +exe 'hi StatusLineNC guifg='.s:lightgrey .' guibg='.s:grey .' gui=italic,underline' +exe 'hi VertSplit guifg='.s:grey .' guibg='.s:grey .' gui=none' + +exe 'hi Folded guifg='.s:grey_blue .' guibg='.s:dark_grey_blue .' gui=none' +exe 'hi FoldColumn guifg='.s:grey_blue .' guibg='.s:dark_grey_blue .' gui=none' +exe 'hi SignColumn guifg='.s:grey_blue .' guibg='.s:dark_grey_blue .' gui=none' + +exe 'hi Comment guifg='.s:mid_grey_blue .' guibg='.s:darkgrey .' gui=italic' +exe 'hi TODO guifg='.s:grey_blue .' guibg='.s:darkgrey .' gui=italic,bold' + +exe 'hi Title guifg='.s:red .' guibg='.s:darkgrey .' gui=underline' + +exe 'hi Constant guifg='.s:red .' guibg='.s:darkgrey .' gui=none' +exe 'hi String guifg='.s:green .' guibg='.s:darkgrey .' gui=none' +exe 'hi Special guifg='.s:lightgreen .' guibg='.s:darkgrey .' gui=none' + +exe 'hi Identifier guifg='.s:grey_blue .' guibg='.s:darkgrey .' gui=none' +exe 'hi Statement guifg='.s:beige .' guibg='.s:darkgrey .' gui=none' +exe 'hi Conditional guifg='.s:beige .' guibg='.s:darkgrey .' gui=none' +exe 'hi Repeat guifg='.s:beige .' guibg='.s:darkgrey .' gui=none' +exe 'hi Structure guifg='.s:beige .' guibg='.s:darkgrey .' gui=none' +exe 'hi Function guifg='.s:violet .' guibg='.s:darkgrey .' gui=none' + +exe 'hi PreProc guifg='.s:grey_blue .' guibg='.s:darkgrey .' gui=none' +exe 'hi Operator guifg='.s:light_orange .' guibg='.s:darkgrey .' gui=none' +exe 'hi Type guifg='.s:yellow .' guibg='.s:darkgrey .' gui=italic' + +"hi Identifier guifg=#7587a6 +" Type d: 'class' +"hi Structure guifg=#9B859D gui=underline +"hi Function guifg=#dad085 +" dylan: method, library, ... d: if, return, ... +"hi Statement guifg=#7187a1 gui=NONE +" Keywords d: import, module... +"hi PreProc guifg=#8fbfdc +"gui=underline +"hi Operator guifg=#a07020 +"hi Repeat guifg=#906040 gui=underline +"hi Type guifg=#708090 + +"hi Type guifg=#f9ee98 gui=NONE + +"hi NonText guifg=#808080 guibg=#303030 + +"hi Macro guifg=#a0b0c0 gui=underline + +"Tabs, trailing spaces, etc (lcs) +"hi SpecialKey guifg=#808080 guibg=#343434 + +"hi TooLong guibg=#ff0000 guifg=#f8f8f8 + +hi Search guifg=#606000 guibg=#c0c000 gui=bold + +hi Directory guifg=#dad085 gui=NONE +hi Error guibg=#602020 + diff --git a/.vim/colors/twilight256.vim b/.vim/colors/twilight256.vim new file mode 100644 index 0000000..41302e9 --- /dev/null +++ b/.vim/colors/twilight256.vim @@ -0,0 +1,300 @@ +" twilight256 color scheme file +" Maintainer: Neal Milstein - neal dot milstein at gmail dot com +" Last Change: 2011 Feb 1 +" +" This theme copies the colors from the TextMate theme Twilight. +" +" The theme is designed to be used on a black background. I only tested it +" using a 256-color terminal; I do not think it will work on much else (gvim, +" 8-color terminal, etc.). +" +" The functions in this theme that convert hex color codes to the nearest +" xterm-256 color number are from the theme desert2 (desert256), developed by Henry So, Jr. +" +" The colors of this theme are based on the TextMate Twilight theme +" – www.macromates.com + +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="twilight256" + +if has("gui_running") || &t_Co == 88 || &t_Co == 256 + " functions {{{ + " returns an approximate grey index for the given grey level + fun 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 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 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 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 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 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 color(r, g, b) + " get the closest grey + let l:gx = grey_number(a:r) + let l:gy = grey_number(a:g) + let l:gz = grey_number(a:b) + + " get the closest color + let l:x = rgb_number(a:r) + let l:y = rgb_number(a:g) + let l:z = rgb_number(a:b) + + if l:gx == l:gy && l:gy == l:gz + " there are two possibilities + let l:dgr = grey_level(l:gx) - a:r + let l:dgg = grey_level(l:gy) - a:g + let l:dgb = grey_level(l:gz) - a:b + let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb) + let l:dr = rgb_level(l:gx) - a:r + let l:dg = rgb_level(l:gy) - a:g + let l:db = 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 grey_color(l:gx) + else + " use the color + return rgb_color(l:x, l:y, l:z) + endif + else + " only one possibility + return rgb_color(l:x, l:y, l:z) + endif + endfun + + " returns the palette index to approximate the 'rrggbb' hex string + fun 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 color(l:r, l:g, l:b) + endfun + + " sets the highlighting for the given group + fun X(group, fg, bg, attr) + if a:fg != "" + exec "hi " . a:group . " guifg=#" . a:fg . " ctermfg=" . rgb(a:fg) + endif + if a:bg != "" + exec "hi " . a:group . " guibg=#" . a:bg . " ctermbg=" . rgb(a:bg) + endif + if a:attr != "" + exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr + endif + endfun + " }}} + + call X("Normal", "ffffff", "", "") + + " highlight groups + "call X("Cursor", "708090", "f0e68c", "") + "CursorIM + "Directory + "DiffAdd + "DiffChange + "DiffDelete + "DiffText + "ErrorMsg + "call X("VertSplit", "c2bfa5", "7f7f7f", "reverse") + "call X("Folded", "ffd700", "4d4d4d", "") + "call X("FoldColumn", "d2b48c", "4d4d4d", "") + "call X("IncSearch", "708090", "f0e68c", "") + call X("LineNr", "CCCCCC", "", "") + "call X("ModeMsg", "D4D4D4", "", "") + "call X("MoreMsg", "2e8b57", "", "") + "call X("NonText", "addbe7", "000000", "bold") + "call X("Question", "00ff7f", "", "") + "call X("Search", "f5deb3", "cd853f", "") + "call X("SpecialKey", "9acd32", "", "") + "call X("StatusLine", "c2bfa5", "000000", "reverse") + "call X("StatusLineNC", "c2bfa5", "7f7f7f", "reverse") + "call X("Title", "cd5c5c", "", "") + call X("Visual", "D3D3D3", "3E3E3E", "reverse") + "VisualNOS + "call X("WarningMsg", "fa8072", "", "") + "WildMenu + "Menu + "Scrollbar + "Tooltip + + " syntax highlighting groups + call X("Comment", "828282", "", "") + call X("Constant", "CF6A4C", "", "") + call X("Identifier", "7587A6", "", "none") + call X("Function", "9B703F", "", "") + call X("Define", "CDA869", "", "none") + call X("Statement", "CDA869", "", "") + call X("String", "8F9D6A", "", "") + call X("PreProc", "AFC4DB", "", "") + call X("Type", "F9EE98", "", "") + call X("Special", "DAEFA3", "", "") + "Underlined + call X("Ignore", "666666", "", "") + "Error + call X("Todo", "ff4500", "eeee00", "") + + " delete functions {{{ + delf X + delf rgb + delf color + delf rgb_color + delf rgb_level + delf rgb_number + delf grey_color + delf grey_level + delf grey_number + " }}} +endif + +" vim: set fdl=0 fdm=marker: diff --git a/.vim/colors/two2tango.vim b/.vim/colors/two2tango.vim new file mode 100644 index 0000000..5a8f951 --- /dev/null +++ b/.vim/colors/two2tango.vim @@ -0,0 +1,104 @@ +" Vim color file +" Name: two2tango +" Maintainer: Erik Falor +" Version: 1.2 +" Date: Tue 05/25/2010 +" +" History: +" 1.2 - Thanks to Max Battcher for his suggestion for VisualNOS highlighting. +" Added styling for non-GUI tabline elements. +" +" 1.1 - Big props to Panos Laganakos for the +" original darktango.vim colorscheme upon which this scheme is based. + +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="two2tango" + +"Tango palette +"http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines +" {{{ +let s:Butter = ['#fce94f', '#edd400', '#c4a000'] +let s:Chameleon = ['#8ae234', '#73d216', '#4e9a06'] +let s:Orange = ['#fcaf3e', '#f57900', '#ce5c00'] +let s:SkyBlue = ['#729fcf', '#3465a4', '#204a87'] +let s:Plum = ['#ad7fa8', '#75507b', '#5c3566'] +let s:Chocolate = ['#e9b96e', '#c17d11', '#8f5902'] +let s:ScarletRed = ['#ef2929', '#cc0000', '#a40000'] +let s:Aluminium = ['#eeeeec', '#d3d7cf', '#babdb6', + \'#888a85', '#555753', '#2e3436'] +"This color isn't part of the Tango Palette; I use it because there +"isn't a Tango color that provides enough contrast +let s:Background = '#212628' +" }}} + +execute "hi Normal guibg=" . s:Aluminium[5] . " guifg=" . s:Aluminium[1] + +" {{{ syntax +execute "hi Comment gui=italic guifg=" . s:Aluminium[3] +execute "hi Conditional gui=bold guifg=" . s:Butter[2] +execute "hi Constant guifg=" . s:Chocolate[1] +execute "hi Error guifg=" . s:Aluminium[0] . " guibg=" . s:ScarletRed[2] +execute "hi Identifier guifg=" . s:Orange[2] +execute "hi Ignore guifg=" . s:Aluminium[5] . " guibg=" . s:Aluminium[5] +execute "hi Operator guifg=" . s:Butter[1] +execute "hi PreProc guifg=" . s:Chocolate[0] +execute "hi Repeat gui=bold guifg=" . s:Butter[2] +execute "hi Special guifg=" . s:SkyBlue[1] +execute "hi Statement guifg=" . s:Aluminium[3] +execute "hi String guifg=" . s:SkyBlue[0] +execute "hi Title guifg=" . s:Aluminium[0] +execute "hi Todo gui=bold guisp=NONE guibg=" . s:Orange[2] + \. " guifg=" . s:Aluminium[0] +execute "hi Type guifg=" . s:Orange[2] +execute "hi Underlined gui=underline guifg=" . s:SkyBlue[0] +" }}} + +" {{{ groups +execute "hi Cursor guibg=" . s:ScarletRed[0] . " guifg=" . s:Aluminium[5] +execute "hi CursorIM guibg=" . s:Chameleon[0] . " guifg=" . s:Aluminium[5] +execute "hi CursorLine guibg=" . s:Background +execute "hi CursorColumn guibg=" . s:Background +execute "hi Directory guifg=" . s:SkyBlue[0] +execute "hi ErrorMsg guifg=" . s:Aluminium[0] . " guibg=" . s:ScarletRed[2] +execute "hi FoldColumn guibg=" . s:Aluminium[5] . " guifg=" . s:Aluminium[4] +execute "hi Folded guibg=" . s:Aluminium[4] . " guifg=" . s:Aluminium[2] +execute "hi IncSearch gui=none guibg=" . s:Butter[0] . " guifg=" . s:Butter[2] +execute "hi LineNr guibg=" . s:Aluminium[5] . " guifg=" . s:Aluminium[4] +execute "hi MatchParen guibg=" . s:Aluminium[2] . " guifg=" . s:Aluminium[5] +execute "hi ModeMsg guifg=" . s:Orange[2] +execute "hi MoreMsg guifg=" . s:Orange[2] +execute "hi NonText guibg=" . s:Aluminium[5] . " guifg=" . s:Aluminium[4] +execute "hi Pmenu guibg=" . s:Aluminium[2] . " guifg=" . s:Aluminium[4] +execute "hi PmenuSel guibg=" . s:Aluminium[0] . " guifg=" . s:Aluminium[5] +execute "hi Question guifg=" . s:Plum[0] +execute "hi Search guibg=" . s:Butter[0] . " guifg=" . s:Butter[2] +execute "hi SpecialKey guifg=" . s:Orange[2] +execute "hi StatusLine gui=none guibg=" . s:Orange[2] . " guifg=" . s:Aluminium[0] +execute "hi StatusLineNC gui=none guibg=" . s:Aluminium[3] . " guifg=" . s:Aluminium[5] +execute "hi TabLine guibg=" . s:Aluminium[3] . " guifg=" . s:Aluminium[0] +execute "hi TabLineFill guibg=" . s:Aluminium[0] +execute "hi TabLineSel guibg=" . s:Aluminium[5] . " guifg=" . s:Aluminium[0] +execute "hi Tooltip gui=none guibg=" . s:SkyBlue[0] . " guifg=" . s:Aluminium[0] +execute "hi VertSplit gui=none guibg=" . s:Aluminium[3] . " guifg=" . s:Aluminium[5] +execute "hi Visual guibg=" . s:Orange[0] . " guifg=" . s:Orange[2] +hi VisualNOS gui=none guibg=black +execute "hi WarningMsg guifg=" . s:Orange[0] +execute "hi WildMenu guifg=" . s:Butter[2] . " guibg=" . s:Butter[0] +"hi Menu TODO +"hi Scrollbar TODO +" }}} + +" {{{ terminal +" TODO +" }}} + +" vim: sw=4 foldmethod=marker diff --git a/.vim/colors/umber-green.vim b/.vim/colors/umber-green.vim new file mode 100644 index 0000000..d1743a1 --- /dev/null +++ b/.vim/colors/umber-green.vim @@ -0,0 +1,89 @@ +" Vim color file +" Maintainer: horrorvacui-at-gmx.net +" Last Change: today... oh yes, it's 16.9.03 +" URL: + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +" your pick: +set background=dark " or light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="umber-green" + +"hi Normal + +" OR + +" highlight clear Normal +" set background& +" highlight clear +" if &background == "light" +" highlight Error ... +" ... +" else +" highlight Error ... +" ... +" endif + +" A good way to see what your colorscheme does is to follow this procedure: +" :w +" :so % +" +" Then to see what the current setting is use the highlight command. +" For example, +" :hi Cursor +" gives +" Cursor xxx guifg=bg guibg=fg + +" Uncomment and complete the commands you want to change from the default. + +hi Cursor guibg=#ffffff +"hi CursorIM +"hi Directory +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +"hi ErrorMsg +"hi VertSplit +"hi Folded +"hi FoldColumn +"hi IncSearch +hi LineNr guifg=#e2844d guibg=#000000 +"hi ModeMsg +"hi MoreMsg +"hi NonText +"hi Question +"hi Search +"hi SpecialKey +hi StatusLine guifg=#ffffff +hi StatusLineNC guifg=#ffffff +"hi Title +"hi Visual +"hi VisualNOS +"hi WarningMsg +"hi WildMenu +"hi Menu +"hi Scrollbar +"hi Tooltip + +" syntax highlighting groups +hi Normal guifg=#eeaa11 guibg=#333333 +hi Comment guifg=#ff5555 +hi Constant guifg=#eeaa11 +hi Identifier guifg=#0000ff +hi Statement guifg=#77ee44 +hi PreProc guifg=#ff0000 +hi Type guifg=#eecc88 +hi Special guifg=#ddffcc +"hi Underlined +"hi Ignore +"hi Error +"hi Todo + diff --git a/.vim/colors/understated.vim b/.vim/colors/understated.vim new file mode 100644 index 0000000..7c022c6 --- /dev/null +++ b/.vim/colors/understated.vim @@ -0,0 +1,58 @@ +" High Def: Color file for sensitive eyes. +" Maintainer: Adam Blinkinsop +" Last Change: 2006 Feb 1 +" URL: http://blinkinblogs.net + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="understated" + +hi Normal ctermfg=Grey ctermbg=Black guifg=Grey guibg=Black + +" internal coloring +hi Cursor ctermfg=Black ctermbg=White guifg=Black guibg=White +hi CursorIM ctermfg=Black ctermbg=White guifg=Black guibg=White +"hi Directory +hi DiffAdd ctermbg=DarkGreen guibg=DarkGreen ctermfg=White guifg=White +hi DiffChange ctermbg=DarkYellow guibg=DarkYellow ctermfg=White guifg=White +hi DiffDelete ctermbg=DarkRed guibg=DarkRed ctermfg=White guifg=White +hi DiffText ctermbg=DarkYellow guibg=DarkYellow ctermfg=White guifg=White +hi ErrorMsg ctermbg=DarkRed guibg=DarkRed +"hi VertSplit +"hi Folded +"hi FoldColumn +"hi IncSearch +"hi LineNr +"hi ModeMsg +"hi MoreMsg +"hi NonText +"hi Question +hi Search ctermfg=White guifg=White ctermbg=DarkCyan guibg=DarkCyan +"hi SpecialKey +hi StatusLine ctermfg=Black guifg=Black ctermbg=Grey guibg=Grey +hi StatusLineNC ctermfg=Black guifg=Black ctermbg=Grey guibg=Grey +"hi Title +hi Visual ctermfg=DarkGrey guifg=DarkGrey ctermbg=White guibg=White +hi VisualNOS ctermfg=DarkGrey guifg=DarkGrey ctermbg=White guibg=White +"hi WarningMsg +"hi WildMenu +"hi Menu +"hi Scrollbar +"hi Tooltip + +" language general coloring +hi Comment ctermfg=DarkGrey guifg=DarkGrey +hi Constant ctermfg=White guifg=White cterm=underline gui=underline +hi Identifier ctermfg=DarkCyan guifg=DarkCyan cterm=bold gui=bold +hi Statement ctermfg=DarkGreen guifg=DarkGreen cterm=bold gui=bold +hi PreProc ctermfg=DarkGreen guifg=DarkGreen cterm=underline gui=underline +hi Type ctermfg=DarkCyan guifg=DarkCyan cterm=underline gui=underline +hi Special ctermfg=DarkYellow guifg=DarkYellow +hi Underlined ctermfg=White guifg=White cterm=underline gui=underline +hi Ignore ctermfg=DarkGrey guifg=DarkGrey cterm=bold gui=bold +hi Error ctermbg=DarkRed guibg=DarkRed +hi Todo ctermfg=Black guifg=Black ctermbg=DarkYellow guibg=DarkYellow + diff --git a/.vim/colors/underwater-mod.vim b/.vim/colors/underwater-mod.vim new file mode 100644 index 0000000..cfccd57 --- /dev/null +++ b/.vim/colors/underwater-mod.vim @@ -0,0 +1,150 @@ +" Maintainer: Mario Gutierrez (mario@mgutz.com) +" Original Theme: Dmitry Kichenko (dmitrykichenko@gmail.com) +" Last Change: Dec 28, 2010 +" Version: 0.3 + +let colors_name = "underwater-mod" + +set background=dark +hi clear + +if exists("syntax_on") + syntax reset +endif + + +if version >= 700 + hi CursorLine guibg=#18374F + hi CursorColumn guibg=#18374F + hi MatchParen guifg=magenta guibg=bg gui=bold + hi Pmenu guifg=#dfeff6 guibg=#1E415E + hi PmenuSel guifg=#dfeff6 guibg=#2D7889 + + hi IncSearch guifg=bg guibg=#AF81F4 gui=bold + hi Search guifg=bg guibg=#AF81F4 gui=none +endif + +"""""""" General colors + +hi Cursor guifg=black guibg=#55A096 gui=none +hi Folded guifg=#68CEE8 guibg=#1A3951 gui=none +hi FoldColumn guifg=#1E415E guibg=#1A3951 gui=none +hi LineNr guifg=#1c3249 guibg=bg gui=none +hi Normal guifg=#e3f3fa guibg=#102235 gui=none +hi NonText guifg=#1c3249 guibg=bg gui=none +hi StatusLine guifg=#ffec99 guibg=#0a1721 gui=none +hi StatusLineNC guifg=#4e6f91 guibg=#0a1721 gui=none +hi TabLine guifg=#555555 guibg=#dddddd gui=none +hi TabLineSel guifg=#101010 guibg=#b0b0b0 gui=none +hi TabLineFill guifg=fg guibg=#dddddd gui=none +hi Title guifg=#ef7760 guibg=bg gui=none +hi VertSplit guifg=#0a1721 guibg=#0a1721 gui=none + " Selected text color +hi Visual guifg=#dfeff6 guibg=#24557A gui=none + +hi ErrorMsg guifg=fg guibg=#C62626 +hi WarningMsg guifg=#C62626 guibg=bg + + + +"""""""" Syntax highlighting + +hi Comment guifg=#4e6f91 guibg=bg gui=italic +hi Constant guifg=#ffc287 guibg=bg gui=none +hi Function guifg=#AF81F4 guibg=bg gui=none +hi Identifier guifg=#889ce8 guibg=bg gui=none +hi Ignore guifg=bg guibg=bg gui=none +hi link Number Constant +hi PreProc guifg=#ef7760 guibg=bg gui=none +hi Keyword guifg=#8ac6f2 guibg=bg gui=none +hi Special guifg=#b9e19d guibg=bg gui=none +hi Statement guifg=#68CEE8 guibg=bg gui=none +hi String guifg=#89e14b guibg=bg gui=italic +hi Todo guifg=#ADED80 guibg=bg gui=bold +hi Type guifg=#5ba0eb guibg=bg gui=none +hi Underlined guifg=#8ac6f2 guibg=bg gui=underline + + +"""""""" Coffee + +hi link coffeeInterpolation Special + + +"""""""" ERB + +hi link erubyDelimiter PreProc + + +"""""""" HAML + +hi link hamlAttributes htmlArg +hi link hamlTag htmlTag +hi link hamlTagName htmlTagName +hi link hamlIdChar hamlId +hi link hamlClassChar hamlClass +hi link hamlInterpolation Special + + +"""""""" HTML + +hi link htmlTag Statement +hi link htmlEndTag Statement +hi link htmlTagName Statement +hi link htmlSpecialChar Constant + + +"""""""" JavaScript + +hi link javaScriptFunction Function +hi link javaScriptDocSeeTag Underlined + + +"""""""" Markdown - tpope's + +hi link markdownCodeBlock Statement +hi link markdownCode Statement +hi link markdownCodeDelimiter Statement +hi link markdownHeadingDelimiter Title +hi link markdownLinkText Underlined +hi link markdownLinkTextDelimiter Comment +hi link markdownLinkDelimiter Comment +hi link markdownListMarker Constant +hi link markdownUrl Comment + + +"""""""" NERDTree + +hi link treeClosable PreProc +hi link treeDir Statement +hi link treeDirSlash NonText +hi link treeExecFile Type +hi treeFlag guifg=#3e71a1 guibg=bg gui=none +hi link treeHelp Comment +hi link treeLink Type +hi link treePart NonText +hi link treePartFile NonText +hi link treeOpenable treeClosable +hi link treeUp treeClosable + + +"""""""" Ruby + +hi rubyAccess guifg=#ef7760 guibg=bg gui=italic +hi link rubyBlockParameter Normal +hi link rubyInterpolation Special +hi link rubyInterpolationDelimiter Special +hi link rubyStringDelimiter String + + +"""""""" SH + +hi link shQuote String + + +"""""""" XML + +hi link xmlEndTag htmlEndTag +hi link xmlTag htmlTag +hi link xmlTagName htmlTagName + +" vim: set sw=4 sts=4 et : diff --git a/.vim/colors/underwater.vim b/.vim/colors/underwater.vim new file mode 100644 index 0000000..0149c4e --- /dev/null +++ b/.vim/colors/underwater.vim @@ -0,0 +1,66 @@ +" Maintainer: Dmitry Kichenko (dmitrykichenko@gmail.com) +" Last Change: February 20, 2009 + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "underwater" + +" Vim >= 7.0 specific colors +if version >= 700 + " highlights current line + hi CursorLine guibg=#18374F + " cursor's colour + hi CursorColumn guibg=#ffffff + hi MatchParen guifg=#ffffff guibg=#439ea9 gui=bold + hi Pmenu guifg=#dfeff6 guibg=#1E415E + hi PmenuSel guifg=#dfeff6 guibg=#2D7889 + + " Search + hi IncSearch gui=BOLD guifg=#E2DAEF guibg=#AF81F4 + hi Search gui=NONE guifg=#E2DAEF guibg=#AF81F4 +endif + +" General colors +hi Cursor guifg=NONE guibg=#55A096 gui=none +hi Normal guifg=#dfeff6 guibg=#102235 gui=none + " e.g. tildes at the end of file +hi NonText guifg=#96defa guibg=#122538 gui=none +hi LineNr guifg=#2F577C guibg=#0C1926 gui=none +hi StatusLine guifg=#96defa guibg=#0C1926 gui=italic +hi StatusLineNC guifg=#68CEE8 guibg=#0C1926 gui=none +hi VertSplit guifg=#1A3951 guibg=#1A3951 gui=none +hi Folded guifg=#68CEE8 guibg=#1A3951 gui=none +hi FoldColumn guifg=#1E415E guibg=#1A3951 gui=none +hi Title guifg=#dfeff6 guibg=NONE gui=bold + " Selected text color +hi Visual guifg=#dfeff6 guibg=#24557A gui=none +hi SpecialKey guifg=#3e71a1 guibg=#102235 gui=none + +" +" Syntax highlighting +" +hi Comment guifg=#3e71a1 gui=italic +hi Todo guifg=#ADED80 guibg=#579929 gui=bold +hi Constant guifg=#96defa gui=none +hi String guifg=#89e14b gui=italic + " names of variables in PHP +hi Identifier guifg=#8ac6f2 gui=none + " Function names as in python. currently purleish +hi Function guifg=#AF81F4 gui=none + " declarations of type, e.g. int blah +hi Type guifg=#41B2EA gui=none + " statement, such as 'hi' right here +hi Statement guifg=#68CEE8 gui=none +hi Keyword guifg=#8ac6f2 gui=none + " specified preprocessed words (like bold, italic etc. above) +hi PreProc guifg=#EF6145 gui=none +hi Number guifg=#96defa gui=none +hi Special guifg=#3e71a1 gui=none + + diff --git a/.vim/colors/up.vim b/.vim/colors/up.vim new file mode 100644 index 0000000..6568990 --- /dev/null +++ b/.vim/colors/up.vim @@ -0,0 +1,191 @@ +" Maintainer: Sasha Koss +" Version: 0.9 +" Last Change: 9 Dec 2010 +" Credits: Vim color scheme "up" originaly based on BusyBee colorscheme create by Patrick J. Anderson + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "up" + +"————————————————+———————————————————————————————————————————————+———+———————————————————————————————————————————————" +" | GUI | | TERMINAL " +" TYPE +———————————————+———————————————+———————————————+———+———————————————+———————————————+———————————————" +" | foreground | background | | | foreground | background | " +"————————————————+———————————————+———————————————+———————————————+———+———————————————+———————————————+———————————————" + +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" +" Guideline +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" + +hi Action guifg=#FBDE2D guibg=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE +hi Key guifg=#FBDE2D guibg=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE + +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" +" Interface " +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" + +hi CursorLine guifg=NONE guibg=#202020 ctermbg=234 cterm=NONE +hi CursorColumn guifg=NONE guibg=#202020 ctermbg=234 cterm=NONE +hi MatchParen guifg=#d0ffc0 guibg=#202020 gui=bold ctermfg=157 ctermbg=237 cterm=bold +hi Pmenu guifg=#ffffff guibg=#444444 ctermfg=255 ctermbg=238 cterm=NONE +hi PmenuSel guifg=#000000 guibg=#b1d631 ctermfg=0 ctermbg=148 cterm=NONE +hi PmenuSbar guifg=#000000 guibg=#808080 ctermfg=0 ctermbg=148 cterm=NONE +hi PmenuThumb guifg=#ffffff guibg=#000000 ctermfg=0 ctermbg=148 cterm=NONE + +hi Normal guifg=#e2e2e5 guibg=#1B1B1B gui=none ctermfg=253 ctermbg=234 cterm=NONE +hi NonText guifg=#333333 guibg=#232323 gui=none ctermfg=244 ctermbg=235 cterm=NONE + +hi LineNr guifg=#707070 guibg=#3E3E3E gui=none ctermfg=244 ctermbg=232 cterm=NONE + +hi StatusLine guifg=#0e0e0e guibg=#fe9e21 gui=none ctermfg=253 ctermbg=238 cterm=NONE +hi StatusLineNC guifg=#f0f6e6 guibg=#68774f gui=none ctermfg=246 ctermbg=238 cterm=NONE +hi VertSplit guifg=#828282 guibg=#828282 gui=none ctermfg=238 ctermbg=238 cterm=NONE +hi Folded guifg=#a0a8b0 guibg=#384048 gui=none ctermfg=248 ctermbg=4 cterm=NONE +hi Title guifg=#f6f3e8 guibg=NONE gui=bold ctermfg=254 cterm=bold +hi Visual guifg=#faf4c6 guibg=#3c414c gui=none ctermfg=254 ctermbg=4 cterm=NONE +hi SpecialKey guifg=#808080 guibg=#343434 gui=none ctermfg=244 ctermbg=236 cterm=NONE + +hi Cursor guifg=#000000 guibg=#DEFF8E gui=none ctermbg=241 ctermbg=NONE cterm=NONE +hi CursorLine guibg=#3c3c3c + + +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" +" VimL related colors +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" + +hi link vimGroup Action + +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" +" Colorscheme related colors +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" + +hi link vimHiGroup Action +hi vimHiGuiRgb guifg=#ABB78D guibg=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE + +" 7.3 features + +hi ColorColumn guifg=NONE guibg=#323232 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE + +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" +" Basic code highlight +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" + +hi Comment guifg=#605A4E gui=italic ctermfg=244 +hi SpecialComment guifg=#FAF4C6 gui=NONE ctermfg=244 +hi Todo guifg=#8f8f8f gui=NONE ctermfg=245 +hi Boolean guifg=#b1d631 gui=NONE ctermfg=148 +hi Identifier guifg=#b1d631 gui=NONE ctermfg=148 +hi Function guifg=#B7EF52 gui=NONE ctermfg=255 +hi Type guifg=#81C7FF gui=NONE ctermfg=103 +hi Typedef guifg=#7AFFFD gui=NONE ctermfg=103 +hi StorageClass guifg=#7AFFFD gui=NONE ctermfg=103 +hi Statement guifg=#7AFFFD gui=NONE ctermfg=103 +hi Keyword guifg=#ff9800 gui=NONE ctermfg=208 +hi Constant guifg=#14F2E7 gui=NONE ctermfg=208 +hi Number guifg=#FEFFD5 gui=NONE ctermfg=208 +hi Special guifg=#ff9800 gui=NONE ctermfg=208 +hi PreProc guifg=#faf4c6 gui=NONE ctermfg=230 +hi Define guifg=#7AFFFD gui=NONE ctermfg=230 + +hi String guifg=#8cd9a2 guibg=NONE gui=NONE ctermfg=148 +hi Character guifg=#22ff00 guibg=NONE gui=NONE ctermfg=148 +hi SpecialChar guifg=#22ff44 guibg=NONE gui=bold ctermfg=148 +hi Delimiter guifg=#ff9800 guibg=NONE gui=NONE ctermfg=148 + +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" +" NERDTree highlight +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" + +hi Directory guifg=#4784AA +hi treeCWD guifg=#BBE7FB + +hi treeDirSlash guifg=#4D4D4D +hi treePart guifg=#919191 + +hi treeUp guifg=#4D4D4D + +hi treeHelp guifg=#4D4D4D + +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" +" SQL +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" + +hi link sqlOperator Special + +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" +" Java +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" + +" nth special + +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" +" Ruby +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" + +hi link rubyFunction Action +hi link rubyStringEscape SpecialChar + +hi rubyLocalVariableOrMethod guifg=#F5F0C7 + +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" +" HTML +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" + +hi def link javaScript Normal + +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" +" HAML +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" + +hi link hamlTag htmlTagName + +hi link hamlClass Action +hi link hamlClassChar hamlClass + +hi hamlId guifg=#9FDC42 +hi link hamlIdChar hamlId + + +hi hamlRubyChar guifg=#C86161 +hi link hamlInterpolationDelimiter hamlRubyChar + + +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" +" CSS +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" + +hi link cssTagName htmlTagName +hi link cssClassName hamlClass +hi link cssInentifier hamlId +hi cssBoxProp guifg=#9BA789 +hi link cssColorProp cssBoxProp +hi link cssRenderProp cssBoxProp +hi link cssFontProp cssBoxProp +hi link cssTextProp cssBoxProp + +hi cssImportant guifg=#E8D1D1 + +hi cssUIAttr guifg=#F5F0C7 +hi link cssValueLength cssUIAttr +hi link cssColor cssUIAttr +hi link cssColorAttr cssUIAttr +hi link cssCommonAttr cssUIAttr +hi link cssTextAttr cssUIAttr +hi link cssFontAttr cssUIAttr +hi link cssRenderAttr cssUIAttr + +"hi cssBoxProp guibg=#3E2A2A +"hi cssColorProp guibg=#403E31 + +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" +" SASS +"————————————————————————————————————————————————————————————————————————————————————————————————————————————————————" + +hi link sassClassChar cssClass +hi link sassProperty cssDefinition diff --git a/.vim/colors/vanzan_color.vim b/.vim/colors/vanzan_color.vim new file mode 100644 index 0000000..231d418 --- /dev/null +++ b/.vim/colors/vanzan_color.vim @@ -0,0 +1,118 @@ + +set background=dark + +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "vanzan_color" + +if version >= 700 + hi CursorLine guibg=#1c281c + hi CursorColumn guibg=#101a2c + hi MatchParen guifg=white guibg=#747270 gui=bold + + "Tabpages + hi TabLine guifg=black guibg=#b0b8c0 gui=italic + hi TabLineFill guifg=#9098a0 + hi TabLineSel guifg=black guibg=#f0f0f0 gui=italic,bold + + "P-Menu (auto-completion) + hi Pmenu guifg=white guibg=#a4a2a0 + "PmenuSel + "PmenuSbar + "PmenuThumb +endif +" +" Html-Titles +hi Title guifg=#f0f0f0 gui=bold +hi Underlined guifg=#b0b0b0 gui=underline + + +hi Cursor guifg=black guibg=#b8b4b0 +hi lCursor guifg=black guibg=white +hi LineNr guifg=#68727c guibg=#101a2c gui=italic + +"hi Normal guifg=#b0b0b0 guibg=#181c20 +hi Normal guifg=#b0b0b0 guibg=#080a0c + +hi StatusLine guifg=white guibg=#181a1c gui=bold +hi StatusLineNC guifg=#909090 guibg=#383a3c gui=italic +hi VertSplit guifg=#181a1c guibg=#181a1c gui=NONE + +" hi Folded guifg=#708090 guibg=#c0d0e0 +hi Folded guifg=#848280 guibg=#282a2c gui=none + +hi Visual guibg=#102030 + +hi NonText guifg=#58626c guibg=#282c30 +" Kommentare +hi Comment guifg=#404a5c gui=none +hi Todo guifg=#404a5c guibg=NONE gui=italic,bold + +" Konstanten +hi Constant guifg=#808080 guibg=#282a2c gui=none +hi String guifg=#a05050 +"guibg=#2c2428 +" Python: %(...)s - constructs, encoding, D: \n etc +hi Special guifg=#a05050 guibg=#201010 gui=NONE + +hi Number guifg=#4a8057 +hi Float guifg=#6aa077 +"hi Statement guifg=#0070e0 gui=NONE +" Python: def and so on, html: tag-names +"hi Statement guifg=#607080 gui=bold + +" . D: debug, mixin, debug, scope, throw, Python: def +"hi Statement guifg=#907056 guibg=NONE gui=bold +hi Statement guifg=#506070 guibg=#081018 gui=underline +" D: "case" +hi Label guifg=#ff00ff +hi Keyword guifg=#60a0b0 +hi Exception guifg=#d03000 guibg=#080a0c gui=bold + +hi Operator guifg=#5070a0 gui=none +" HTML: arguments +"hi Type guifg=#202020 gui=none +hi Type guifg=#909060 gui=none +" Python: Standard exceptions, True&False, D: template +hi Structure guifg=#a07020 gui=underline +" Python class names, decorator names, function names +hi Function guifg=#d0a040 gui=italic,bold +"gui=italic,underline + +hi Macro guifg=#747270 gui=underline +hi Directory guifg=#949290 gui=none +" case +hi Label guifg=#708090 guibg=#202830 + +" lua: require +hi Identifier guifg=#5080a0 gui=none + +"hi Repeat guifg=#54f250 gui=underline +hi Repeat guifg=#907040 gui=bold +hi Conditional guifg=#50a040 gui=bold + +" Cheetah: #-Symbol, function-names, D: import +"hi PreProc guifg=#434b56 guibg=#101418 gui=none +hi PreProc guifg=#706080 gui=none guibg=#181020 +" Cheetah: def, attr, for and so on, Python: Decorators +hi Define guifg=#9080a0 gui=italic guibg=#181020 + +hi Error guifg=#a02000 guibg=white gui=bold,underline + +hi Search guifg=#e0d000 guibg=NONE gui=bold,underline + +" color of s etc... +"hi SpecialKey guifg=#d8a080 guibg=#e8e8e8 gui=italic +hi SpecialKey guifg=#c4c2c0 guibg=#14181c gui=italic,bold + +" Diff +"hi Normal guifg=#b0b0b0 guibg=#181c20 +hi DiffChange guifg=NONE guibg=#383c50 gui=italic +hi DiffText guibg=#888c60 guifg=#e0d060 gui=none +hi DiffAdd guifg=NONE guibg=#203030 gui=bold +hi DiffDelete guifg=NONE guibg=#302020 gui=italic,bold + + diff --git a/.vim/colors/vc.vim b/.vim/colors/vc.vim new file mode 100644 index 0000000..53ecc22 --- /dev/null +++ b/.vim/colors/vc.vim @@ -0,0 +1,24 @@ +" Vim color file +" Maintainer: Vladimir Vrzic +" Last Change: 28. june 2003. +" URL: http://galeb.etf.bg.ac.yu/~random/pub/vim/ + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="vc" + +hi Comment gui=NONE guifg=SeaGreen guibg=NONE +hi Constant gui=NONE guifg=#004488 guibg=NONE +"hi Identifier gui=NONE guifg=Blue guibg=NONE +hi Statement gui=NONE guifg=Blue guibg=NONE +hi PreProc gui=NONE guifg=Blue guibg=NONE +hi Type gui=NONE guifg=Blue guibg=NONE +hi Special gui=NONE guifg=SteelBlue guibg=NONE +"hi Underlined +"hi Ignore +"hi Error +"hi Todo + diff --git a/.vim/colors/vcbc.vim b/.vim/colors/vcbc.vim new file mode 100644 index 0000000..07777c3 --- /dev/null +++ b/.vim/colors/vcbc.vim @@ -0,0 +1,31 @@ +" Vim color file +" Maintainer: Rajas Sambhare +" Last Change: Nov 18, 2004 +" Version: 1.0 +" Based on the colors for Visual C++ 6.0 and Beyond Compare for diffs. +" Inspired by vc.vim by Vladimir Vrzic + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="vcbc" + +hi Normal cterm=NONE ctermfg=Black ctermbg=White gui=NONE guifg=NONE guibg=NONE +hi NonText cterm=NONE ctermfg=Black ctermbg=Grey gui=NONE guifg=NONE guibg=LightGrey +hi LineNr cterm=NONE ctermfg=Black ctermbg=LightGrey gui=NONE guifg=NONE guibg=LightGrey +hi Comment cterm=NONE ctermfg=DarkGreen ctermbg=White gui=italic guifg=DarkGreen guibg=NONE +hi Constant cterm=NONE ctermfg=Red ctermbg=White gui=NONE guifg=Red guibg=NONE +hi Identifier cterm=NONE ctermfg=LightBlue ctermbg=White gui=NONE guifg=LightBlue guibg=NONE +hi Statement cterm=bold ctermfg=Blue ctermbg=White gui=bold guifg=Blue guibg=NONE +hi PreProc cterm=NONE ctermfg=DarkRed ctermbg=White gui=NONE guifg=DarkRed guibg=NONE +hi Type cterm=NONE ctermfg=Blue ctermbg=White gui=NONE guifg=Blue guibg=NONE +hi Underlined cterm=NONE ctermfg=Black ctermbg=White gui=underline guifg=NONE guibg=NONE +hi Error cterm=NONE ctermfg=Yellow ctermbg=Red gui=NONE guifg=Yellow guibg=Red +hi Todo cterm=NONE ctermfg=Black ctermbg=Yellow gui=NONE guifg=NONE guibg=LightYellow +"Diff colors +hi DiffAdd cterm=NONE ctermfg=Red ctermbg=LightGrey gui=NONE guifg=Red guibg=#fff0f0 +hi DiffChange cterm=NONE ctermfg=Red ctermbg=LightGrey gui=NONE guifg=Red guibg=#fff0f0 +hi DiffText cterm=NONE ctermfg=White ctermbg=DarkRed gui=bold,italic guifg=Red guibg=#fff0f0 +hi DiffDelete cterm=NONE ctermfg=White ctermbg=LightGrey gui=NONE guifg=DarkGrey guibg=#f0f0f0 diff --git a/.vim/colors/vexorian.vim b/.vim/colors/vexorian.vim new file mode 100644 index 0000000..0fd5aa9 --- /dev/null +++ b/.vim/colors/vexorian.vim @@ -0,0 +1,42 @@ +" local syntax file - set colors on a per-machine basis: +" vim: tw=0 ts=4 sw=4 +" Vim color file +" +" by Victor Hugo Soliz Kuncar +" maintainer: Victor Hugo Soliz Kuncar +" Last Change: 2004 July +" + + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "ColorSchemeCreator" +hi Normal guifg=#000000 guibg=#FFFFFF +hi comment guifg=#008800 +hi constant guifg=#0000AA +hi statement guifg=#000000 gui=bold +hi preproc guifg=#777777 +hi type guifg=#0055AA gui=bold +hi special guifg=#0000AA gui=bold +hi String guifg=#0000AA gui=italic +hi Operator guifg=#AA5500 gui=bold +hi clear Visual +hi Visual term=reverse cterm=reverse gui=reverse +hi Exception guifg=#220000 +hi Boolean guifg=#0000AA +hi StorageClass guifg=#000000 +hi Define guifg=#777777 +hi Include guifg=#777777 +hi Number guifg=#0000AA +hi Float guifg=#0000AA +hi Function guifg=#000000 +hi Conditional guifg=#000000 +hi Statement guifg=#000000 +hi SpecialChar guifg=#AA5500 gui=italic +hi Todo guifg=#008800 +hi Structure guifg=#000000 +hi Identifier guifg=#000000 + diff --git a/.vim/colors/vibrantink.vim b/.vim/colors/vibrantink.vim new file mode 100644 index 0000000..46aa23f --- /dev/null +++ b/.vim/colors/vibrantink.vim @@ -0,0 +1,68 @@ +" Vim color scheme +" +" Name: vibrantink.vim +" Maintainer: Jo Vermeulen +" Last Change: 5 Mar 2009 +" License: public domain +" Version: 1.3 +" +" This scheme should work in the GUI and in xterm's 256 color mode. It +" won't work in 8/16 color terminals. +" +" I based it on John Lam's initial Vibrant Ink port to Vim [1]. Thanks +" to a great tutorial [2], I was able to convert it to xterm 256 color +" mode. And of course, credits go to Justin Palmer for creating the +" original Vibrant Ink TextMate color scheme [3]. +" +" [1] http://www.iunknown.com/articles/2006/09/04/vim-can-save-your-hands-too +" [2] http://frexx.de/xterm-256-notes/ +" [3] http://encytemedia.com/blog/articles/2006/01/03/textmate-vibrant-ink-theme-and-prototype-bundle + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "vibrantink" + +if has("gui_running") + highlight Normal guifg=White guibg=Black + highlight Cursor guifg=Black guibg=Yellow + highlight Keyword guifg=#FF6600 + highlight Define guifg=#FF6600 + highlight Comment guifg=#9933CC + highlight Type guifg=White gui=NONE + highlight rubySymbol guifg=#339999 gui=NONE + highlight Identifier guifg=White gui=NONE + highlight rubyStringDelimiter guifg=#66FF00 + highlight rubyInterpolation guifg=White + highlight rubyPseudoVariable guifg=#339999 + highlight Constant guifg=#FFEE98 + highlight Function guifg=#FFCC00 gui=NONE + highlight Include guifg=#FFCC00 gui=NONE + highlight Statement guifg=#FF6600 gui=NONE + highlight String guifg=#66FF00 + highlight Search guibg=White + highlight CursorLine guibg=#323300 +else + set t_Co=256 + highlight Normal ctermfg=White ctermbg=Black + highlight Cursor ctermfg=Black ctermbg=Yellow + highlight Keyword ctermfg=202 + highlight Define ctermfg=202 + highlight Comment ctermfg=98 + highlight Type ctermfg=White + highlight rubySymbol ctermfg=66 + highlight Identifier ctermfg=White + highlight rubyStringDelimiter ctermfg=82 + highlight rubyInterpolation ctermfg=White + highlight rubyPseudoVariable ctermfg=66 + highlight Constant ctermfg=228 + highlight Function ctermfg=220 + highlight Include ctermfg=220 + highlight Statement ctermfg=202 + highlight String ctermfg=82 + highlight Search ctermbg=White + highlight CursorLine cterm=NONE ctermbg=235 +endif diff --git a/.vim/colors/vilight.vim b/.vim/colors/vilight.vim new file mode 100644 index 0000000..feaa894 --- /dev/null +++ b/.vim/colors/vilight.vim @@ -0,0 +1,106 @@ +" rob.robb.ns + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name="vilight" + +hi Normal guifg=#b6b6b6 guibg=#212121 +hi Cursor guifg=#212121 guibg=#9ca9b7 +hi CursorLine guifg=#ffffff guibg=#6c8095 +hi Directory guifg=#6c8095 guibg=NONE +hi VertSplit guifg=#b6b6b6 guibg=#a6a6a6 +hi Folded guifg=#424242 guibg=NONE gui=italic +hi FoldColumn guifg=#9ca9b7 guibg=NONE gui=italic +hi vimFold guifg=#dee4ea guibg=NONE gui=italic +hi IncSearch guifg=#212121 guibg=#b6b6b6 +hi LineNr guifg=#424242 guibg=NONE +hi ModeMsg guifg=#8f9d6a guibg=NONE +hi MoreMsg guifg=#8f9d6a guibg=NONE +hi NonText guifg=#424242 guibg=NONE +hi Search guifg=#212121 guibg=#b6b6b6 gui=underline +hi StatusLine guifg=#9ca9b7 guibg=#424242 +hi StatusLineNC guifg=#9ca9b7 guibg=#212121 +hi Visual guifg=#212121 guibg=#9ca9b7 gui=italic +hi WildMenu guifg=#6c8095 guibg=#ffffff +hi MatchParen guifg=#ffffff guibg=#6c8095 gui=bold +hi ErrorMsg guifg=#cf6a4c guibg=NONE gui=NONE +hi WarningMsg guifg=#eedd82 guibg=NONE gui=NONE +hi Title guifg=#cf6a4c guibg=NONE + +"Syntax hilight groups + +hi Comment guifg=#424242 gui=italic +hi Constant guifg=#7587a6 gui=bold +hi Exception guifg=#cf6a4c gui=NONE +hi String guifg=#8f9d6a gui=NONE +hi Variable guifg=#7587a6 gui=NONE +hi Number guifg=#cf6a4c gui=NONE +hi Define guifg=#7587a6 gui=NONE +hi Boolean guifg=#CF6A4C gui=NONE +hi Float guifg=#cf6a4c gui=NONE +hi Identifier guifg=#7587a6 gui=NONE +hi Statement guifg=#cda869 gui=NONE +hi Keyword guifg=#cda869 gui=NONE +hi PreProc guifg=#7587a6 gui=NONE +hi Type guifg=#9b859d gui=NONE +hi Typedef guifg=#cda869 gui=NONE +hi Special guifg=#cda869 gui=NONE +hi SpecialChar guifg=#7587a6 gui=NONE +hi SpecialComment guifg=#4f94cd gui=NONE +hi Ignore guifg=#848484 gui=NONE +hi Error guifg=#cf6a4c guibg=NONE gui=underline +hi Todo guifg=#f9ee98 guibg=NONE gui=bold +hi Pmenu guifg=#212121 guibg=#9ca9b7 +hi PmenuSel guifg=#ffffff guibg=#6c8095 +hi PmenuSbar guibg=#b6b6b6 +hi PmenuThumb guifg=#424242 + +"more groups +hi pythonClass guifg=#cda869 guibg=NONE gui=NONE +hi pythonFunction guifg=#CF6A4C guibg=NONE gui=NONE +hi pythonInterpolationDelimiter guifg=NONE guibg=NONE gui=NONE +hi pythonSymbol guifg=NONE guibg=NONE gui=NONE +hi pythonBuiltin guifg=#9ca9b7 guibg=NONE gui=NONE +hi pythonInstanceVariable guifg=NONE guibg=NONE gui=NONE +hi pythonRequire guifg=#8F9D6A guibg=NONE gui=NONE +hi pythonGlobalVariable guifg=NONE guibg=NONE gui=NONE +hi pythonRegexp guifg=#6c8095 guibg=NONE gui=NONE +hi pythonRegexpDelimiter guifg=NONE guibg=NONE gui=NONE +hi pythonEscape guifg=NONE guibg=NONE gui=NONE +hi pythonControl guifg=#4f94cd guibg=NONE gui=NONE +hi pythonClassVariable guifg=NONE guibg=NONE gui=NONE +hi pythonOperator guifg=NONE guibg=NONE gui=NONE +hi pythonException guifg=#cf6a4c guibg=NONE gui=NONE +hi pythonPseudoVariable guifg=NONE guibg=NONE gui=NONE +hi makoDelimiter guifg=NONE guibg=NONE gui=NONE +hi makoComment guifg=NONE guibg=NONE gui=NONE +hi htmlTag guifg=#cda869 guibg=NONE gui=NONE +hi htmlEndTag guifg=#cda869 guibg=NONE gui=NONE +hi htmlTagName guifg=#b6b6b6 guibg=NONE gui=NONE +hi htmlArg guifg=NONE guibg=NONE gui=NONE +hi htmlSpecialChar guifg=#cf6a4c guibg=NONE gui=NONE +hi javaScriptFunction guifg=#cf6a4c guibg=NONE gui=NONE +hi javaScriptBraces guifg=NONE guibg=NONE gui=NONE +hi yamlKey guifg=#4f94cd guibg=NONE gui=NONE +hi yamlAnchor guifg=NONE guibg=NONE gui=NONE +hi yamlAlias guifg=NONE guibg=NONE gui=NONE +hi yamlDocumentHeader guifg=#cda869 guibg=NONE gui=NONE +hi cssURL guifg=NONE guibg=NONE gui=NONE +hi cssFunctionName guifg=NONE guibg=NONE gui=NONE +hi cssColor guifg=NONE guibg=NONE gui=NONE +hi cssPseudoClassId guifg=#7587a6 guibg=NONE gui=NONE +hi cssClassName guifg=#cda869 guibg=NONE gui=NONE +hi cssValueLength guifg=NONE guibg=NONE gui=NONE +hi cssCommonAttr guifg=#cf6a4c guibg=NONE gui=NONE +hi cssBraces guifg=NONE guibg=NONE gui=NONE + +"diff + +hi DiffAdd guifg=#8f9d6a guibg=NONE +hi DiffChange guifg=#cda869 guibg=NONE +hi DiffText guifg=#b6b6b6 guibg=NONE +hi DiffDelete guifg=#cf6a4c guibg=NONE diff --git a/.vim/colors/vividchalk.vim b/.vim/colors/vividchalk.vim new file mode 100644 index 0000000..638a8f4 --- /dev/null +++ b/.vim/colors/vividchalk.vim @@ -0,0 +1,191 @@ +" Vim color scheme +" Name: vividchalk.vim +" Author: Tim Pope +" Version: 2.0 +" GetLatestVimScripts: 1891 1 :AutoInstall: vividchalk.vim + +" Based on the Vibrank Ink theme for TextMate +" Distributable under the same terms as Vim itself (see :help license) + +if has("gui_running") + set background=dark +endif +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "vividchalk" + +" First two functions adapted from inkpot.vim + +" map a urxvt cube number to an xterm-256 cube number +fun! s:M(a) + return strpart("0245", a:a, 1) + 0 +endfun + +" map a urxvt colour to an xterm-256 colour +fun! s:X(a) + if &t_Co == 88 + return a:a + else + if a:a == 8 + return 237 + elseif a:a < 16 + return a:a + elseif a:a > 79 + return 232 + (3 * (a:a - 80)) + else + let l:b = a:a - 16 + let l:x = l:b % 4 + let l:y = (l:b / 4) % 4 + let l:z = (l:b / 16) + return 16 + s:M(l:x) + (6 * s:M(l:y)) + (36 * s:M(l:z)) + endif + endif +endfun + +function! E2T(a) + return s:X(a:a) +endfunction + +function! s:choose(mediocre,good) + if &t_Co != 88 && &t_Co != 256 + return a:mediocre + else + return s:X(a:good) + endif +endfunction + +function! s:hifg(group,guifg,first,second,...) + if a:0 && &t_Co == 256 + let ctermfg = a:1 + else + let ctermfg = s:choose(a:first,a:second) + endif + exe "highlight ".a:group." guifg=".a:guifg." ctermfg=".ctermfg +endfunction + +function! s:hibg(group,guibg,first,second) + let ctermbg = s:choose(a:first,a:second) + exe "highlight ".a:group." guibg=".a:guibg." ctermbg=".ctermbg +endfunction + +hi link railsMethod PreProc +hi link rubyDefine Keyword +hi link rubySymbol Constant +hi link rubyAccess rubyMethod +hi link rubyAttribute rubyMethod +hi link rubyEval rubyMethod +hi link rubyException rubyMethod +hi link rubyInclude rubyMethod +hi link rubyStringDelimiter rubyString +hi link rubyRegexp Regexp +hi link rubyRegexpDelimiter rubyRegexp +"hi link rubyConstant Variable +"hi link rubyGlobalVariable Variable +"hi link rubyClassVariable Variable +"hi link rubyInstanceVariable Variable +hi link javascriptRegexpString Regexp +hi link javascriptNumber Number +hi link javascriptNull Constant +highlight link diffAdded String +highlight link diffRemoved Statement +highlight link diffLine PreProc +highlight link diffSubname Comment + +call s:hifg("Normal","#EEEEEE","White",87) +if &background == "light" || has("gui_running") + hi Normal guibg=Black ctermbg=Black +else + hi Normal guibg=Black ctermbg=NONE +endif +highlight StatusLine guifg=Black guibg=#aabbee gui=bold ctermfg=Black ctermbg=White cterm=bold +highlight StatusLineNC guifg=#444444 guibg=#aaaaaa gui=none ctermfg=Black ctermbg=Grey cterm=none +"if &t_Co == 256 + "highlight StatusLine ctermbg=117 +"else + "highlight StatusLine ctermbg=43 +"endif + +highlight Ignore ctermfg=Black +highlight WildMenu guifg=Black guibg=#ffff00 gui=bold ctermfg=Black ctermbg=Yellow cterm=bold +highlight Cursor guifg=Black guibg=White ctermfg=Black ctermbg=White +highlight CursorLine guibg=#333333 guifg=NONE +highlight CursorColumn guibg=#333333 guifg=NONE +highlight NonText guifg=#404040 ctermfg=8 +highlight SpecialKey guifg=#404040 ctermfg=8 +highlight Directory none +high link Directory Identifier +highlight ErrorMsg guibg=Red ctermbg=DarkRed guifg=NONE ctermfg=NONE +highlight Search guifg=NONE ctermfg=NONE gui=none cterm=none +call s:hibg("Search" ,"#555555","DarkBlue",81) +highlight IncSearch guifg=White guibg=Black ctermfg=White ctermbg=Black +highlight MoreMsg guifg=#00AA00 ctermfg=Green +highlight LineNr guifg=#DDEEFF ctermfg=White +call s:hibg("LineNr" ,"#222222","DarkBlue",80) +highlight Question none +high link Question MoreMsg +highlight Title guifg=Magenta ctermfg=Magenta +highlight VisualNOS gui=none cterm=none +call s:hibg("Visual" ,"#555577","LightBlue",83) +call s:hibg("VisualNOS" ,"#444444","DarkBlue",81) +call s:hibg("MatchParen","#1100AA","DarkBlue",18) +highlight WarningMsg guifg=Red ctermfg=Red +highlight Error ctermbg=DarkRed +highlight SpellBad ctermbg=DarkRed +" FIXME: Comments +highlight SpellRare ctermbg=DarkMagenta +highlight SpellCap ctermbg=DarkBlue +highlight SpellLocal ctermbg=DarkCyan + +call s:hibg("Folded" ,"#110077","DarkBlue",17) +call s:hifg("Folded" ,"#aaddee","LightCyan",63) +highlight FoldColumn none +high link FoldColumn Folded +highlight DiffAdd ctermbg=4 guibg=DarkBlue +highlight DiffChange ctermbg=5 guibg=DarkMagenta +highlight DiffDelete ctermfg=12 ctermbg=6 gui=bold guifg=Blue guibg=DarkCyan +highlight DiffText ctermbg=DarkRed +highlight DiffText cterm=bold ctermbg=9 gui=bold guibg=Red + +highlight Pmenu guifg=White ctermfg=White gui=bold cterm=bold +highlight PmenuSel guifg=White ctermfg=White gui=bold cterm=bold +call s:hibg("Pmenu" ,"#000099","Blue",18) +call s:hibg("PmenuSel" ,"#5555ff","DarkCyan",39) +highlight PmenuSbar guibg=Grey ctermbg=Grey +highlight PmenuThumb guibg=White ctermbg=White +highlight TabLine gui=underline cterm=underline +call s:hifg("TabLine" ,"#bbbbbb","LightGrey",85) +call s:hibg("TabLine" ,"#333333","DarkGrey",80) +highlight TabLineSel guifg=White guibg=Black ctermfg=White ctermbg=Black +highlight TabLineFill gui=underline cterm=underline +call s:hifg("TabLineFill","#bbbbbb","LightGrey",85) +call s:hibg("TabLineFill","#808080","Grey",83) + +hi Type gui=none +hi Statement gui=none +if !has("gui_mac") + " Mac GUI degrades italics to ugly underlining. + hi Comment gui=italic + hi railsUserClass gui=italic + hi railsUserMethod gui=italic +endif +hi Identifier cterm=none +" Commented numbers at the end are *old* 256 color values +"highlight PreProc guifg=#EDF8F9 +call s:hifg("Comment" ,"#9933CC","DarkMagenta",34) " 92 +" 26 instead? +call s:hifg("Constant" ,"#339999","DarkCyan",21) " 30 +call s:hifg("rubyNumber" ,"#CCFF33","Yellow",60) " 190 +call s:hifg("String" ,"#66FF00","LightGreen",44,82) " 82 +call s:hifg("Identifier" ,"#FFCC00","Yellow",72) " 220 +call s:hifg("Statement" ,"#FF6600","Brown",68) " 202 +call s:hifg("PreProc" ,"#AAFFFF","LightCyan",47) " 213 +call s:hifg("railsUserMethod","#AACCFF","LightCyan",27) +call s:hifg("Type" ,"#AAAA77","Grey",57) " 101 +call s:hifg("railsUserClass" ,"#AAAAAA","Grey",7) " 101 +call s:hifg("Special" ,"#33AA00","DarkGreen",24) " 7 +call s:hifg("Regexp" ,"#44B4CC","DarkCyan",21) " 74 +call s:hifg("rubyMethod" ,"#DDE93D","Yellow",77) " 191 +"highlight railsMethod guifg=#EE1122 ctermfg=1 diff --git a/.vim/colors/vj.vim b/.vim/colors/vj.vim new file mode 100644 index 0000000..ea0d3b4 --- /dev/null +++ b/.vim/colors/vj.vim @@ -0,0 +1,379 @@ +" Vim color file +" Maintainer: Vijayandra Singh +" Date: $Date: 2006/20/7 $ +" Version: $Revision: 1.0 $ +" your pick: + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="vj" + +hi Normal guifg=slategray3 guibg=#000029 ctermfg=14 + +"Toggle semicolon matching at the end of lines +nmap ; :call ToggleSemicolonHighlighting() +"{{{ +function! ToggleSemicolonHighlighting() + if exists("b:semicolon") + unlet b:semicolon + hi semicolon guifg=NONE gui=NONE ctermfg=NONE + else + syn match semicolon #;$# + hi semicolon guifg=red3 gui=bold ctermfg=1 + let b:semicolon = 1 + endif +endfunction +"}}} + +hi Cursor guifg=bg guibg=fg ctermfg=0 ctermbg=11 +"hi CursorIM +hi Directory gui=bold +hi DiffAdd guifg=yellow3 guibg=darkgreen ctermbg=0 +"hi DiffChange +"hi DiffDelete +"hi DiffText +hi ErrorMsg guibg=red3 ctermfg=1 +"hi VertSplit +hi Folded guibg=#00001a ctermbg=4 guifg=yellow3 ctermfg=11 gui=NONE +hi FoldColumn guibg=steelblue3 ctermbg=14 guifg=navyblue ctermfg=11 gui=bold +"hi IncSearch +hi LineNr guifg=yellow3 ctermfg=11 +hi ModeMsg guifg=yellow3 gui=bold +"hi MoreMsg +"hi NonText +"hi Question +hi Search guibg=yellow3 guifg=bg +"hi SpecialKey +hi StatusLine guifg=steelblue3 +hi StatusLineNC guifg=steelblue4 +"hi Title +hi Visual guifg=fg guibg=bg +"hi VisualNOS +"hi WarningMsg +"hi WildMenu +"hi Menu +"hi Scrollbar +"hi Tooltip + +" syntax highlighting groups +hi Comment guifg=chartreuse3 ctermfg=10 +hi Constant guifg=plum3 gui=bold ctermfg=13 +hi String guifg=indianred3 ctermfg=5 +hi Character guifg=mediumpurple3 ctermfg=5 +hi Number guifg=turquoise3 ctermfg=5 +"hi Identifier +hi Statement guifg=khaki3 gui=bold ctermfg=15 cterm=underline +hi PreProc guifg=firebrick3 gui=italic ctermfg=9 +hi Type guifg=gold3 gui=bold ctermfg=3 +"hi Special +"hi Underlined +"hi Ignore +"hi Error +hi Todo guifg=yellow3 guibg=blue3 gui=bold + +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 + +if &background == "dark" +hi Normal guifg=#a0b4e0 guibg=#11121a "1a1823 +hi NonText guifg=#382920 guibg=bg + +hi Folded guibg=#232235 guifg=grey +hi FoldColumn guibg=#0a0a18 guifg=#dbcaa5 +hi LineNr guibg=#101124 guifg=#206aa9 +hi StatusLine guibg=#354070 guifg=#6880ea gui=none +hi StatusLineNC guibg=#2c3054 guifg=#5c6dbe gui=none +hi VertSplit guibg=#22253c guifg=#223355 gui=none + +hi tablinesel guibg=#515a71 guifg=#50aae5 gui=none +hi tabline guibg=#4d4d5f guifg=#5b7098 gui=none +hi tablinefill guibg=#2d2d3f guifg=#aaaaaa gui=none + +"hi SpellBad +"hi SpellCap +"hi SpellLocal +"hi SpellRare + +hi MatchParen guibg=#7b5a55 guifg=#001122 + +" syntax highlighting """""""""""""""""""""""""""""""""""""""" + + +hi Comment guifg=#349d58 guibg=bg +hi Title guifg=#e5e5ca gui=none +hi Underlined guifg=#bac5ba gui=none + +hi Statement guifg=#fca8ad gui=none "a080aa +hi Type guifg=#0490e8 gui=bold +hi Constant guifg=#5c78f0 "guibg=#111a2a +hi Number guifg=#4580b4 "guibg=#111a2a +hi PreProc guifg=#ba75cf +hi Special guifg=#aaaaca +hi Ignore guifg=grey40 +hi Todo guifg=orangered guibg=yellow2 +hi Error guibg=#b03452 +hi Function guifg=#bab588 guibg=bg gui=bold +hi Identifier guifg=#5094c4 +"""""this section borrowed from OceanDeep/Midnight""""" +highlight Conditional gui=None guifg=#d0688d guibg=bg +highlight Repeat gui=None guifg=#e06070 guibg=bg +"hi Label gui=None guifg=LightGreen guibg=bg +highlight Operator gui=None guifg=#e8cdc0 guibg=bg +highlight Keyword gui=bold guifg=grey guibg=bg +highlight Exception gui=bold guifg=#d0a8ad guibg=bg +""""""""""""""""""""""""""""""""""""""""""""""""""""""" +"end syntax highlighting """"""""""""""""""""""""""""""""""""" + +" highlight groups +"hi CursorIM +hi Directory guifg=#bbd0df +hi DiffText guibg=#004335 +hi DiffChange guibg=#685b5c +hi DiffAdd guibg=#0a4b8c +hi DiffDelete guifg=#300845 guibg=#200845 +hi ErrorMsg guibg=#ff4545 + +hi Cursor guibg=#cad5c0 guifg=#0000aa + + +hi Search guibg=darkyellow guifg=black +hi IncSearch guifg=#babeaa guibg=#3a4520 + +hi ModeMsg guifg=#00AACC +hi MoreMsg guifg=SeaGreen +hi Question guifg=#AABBCC +hi SpecialKey guifg=#90dcb0 +hi Visual guifg=#102030 guibg=#80a0f0 +hi VisualNOS guifg=#201a30 guibg=#a3a5FF +hi WarningMsg guifg=salmon +"hi WildMenu +"hi Menu +"hi Scrollbar guibg=grey30 guifg=tan +"hi Tooltip + + +" new Vim 7.0 items +hi Pmenu guibg=#3a6595 guifg=#9aadd5 +hi PmenuSel guibg=#4a85ba guifg=#b0d0f0 + + + + + +" color terminal definitions +hi Cursor ctermfg=black ctermbg=white +hi Normal ctermfg=grey ctermbg=black +hi Number ctermfg=darkgreen +highlight Operator ctermfg=yellow +highlight Conditional ctermfg=darkred +highlight Repeat ctermfg=darkred +hi Exception ctermfg=darkred +hi SpecialKey ctermfg=darkgreen +hi NonText cterm=bold ctermfg=darkgrey +hi Directory ctermfg=darkcyan +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE +hi Search ctermfg=black ctermbg=darkyellow cterm=NONE +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr ctermfg=darkcyan ctermbg=black +hi Question ctermfg=green +hi StatusLine ctermfg=yellow ctermbg=darkblue cterm=NONE +hi StatusLineNC ctermfg=grey ctermbg=darkblue cterm=NONE +hi VertSplit ctermfg=black ctermbg=darkgrey cterm=NONE +hi Title ctermfg=yellow cterm=NONE +hi Visual ctermbg=grey ctermfg=blue cterm=NONE +hi VisualNOS ctermbg=grey ctermfg=blue cterm=NONE +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=darkgreen ctermbg=darkblue cterm=NONE +hi FoldColumn ctermfg=yellow ctermbg=black +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 +hi Comment ctermfg=darkgreen ctermbg=black +hi Identifier ctermfg=cyan + +"set comments to grey on non-Windows OS's to make sure +"it is readable +if &term == "builtin_gui" || &term == "win32" + hi function ctermfg=grey + hi Type ctermfg=darkyellow ctermbg=darkblue + hi IncSearch ctermfg=black ctermbg=grey cterm=NONE + hi Search ctermfg=black ctermbg=darkgrey cterm=NONE +else + hi function ctermfg=white + hi Type ctermfg=grey + hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE + hi Search ctermfg=black ctermbg=darkyellow cterm=NONE +endif +"""""""""""""""""""""""""""""""""""""""""""""""""""""" + +hi Constant ctermfg=darkcyan +hi Special ctermfg=white +hi Statement ctermfg=yellow +hi PreProc ctermfg=darkred +hi Underlined ctermfg=cyan cterm=NONE +hi Ignore cterm=bold ctermfg=7 +hi Ignore ctermfg=darkgrey +hi Error cterm=bold ctermfg=7 ctermbg=1 + +" new Vim 7.0 items +hi Pmenu ctermbg=darkblue ctermfg=lightgrey +hi PmenuSel ctermbg=lightblue ctermfg=white + +hi tablinesel ctermfg=cyan ctermbg=blue +hi tabline ctermfg=black ctermbg=blue +hi tablinefill ctermfg=green ctermbg=darkblue +"vim: sw=4 +" +hi MatchParen ctermfg=black ctermbg=green + + +elseif &background == "light" + +hi Normal guifg=#003255 guibg=#e8ebf0 "greyish blue2 +hi NonText guifg=#382920 guibg=#152555 + +" syntax highlighting """""""""""""""""""""""""""""""""""""""" + +"set comments to grey on non-Windows OS's to make sure +"it is readable +if &term == "builtin_gui" || &term == "win32" + hi Comment guifg=#daddb8 guibg=#308ae5 +else + hi Comment guifg=darkyellow guibg=#207ada +endif +"""""""""""""""""""""""""""""""""""""""""""""""""""""" + +hi Title guifg=#857540 gui=none +hi Underlined guifg=#8a758a + +hi Statement guifg=#da302a gui=none +hi Type guifg=#307aca gui=none +hi Constant guifg=#3a40aa gui=none +hi PreProc guifg=#9570b5 +hi Identifier guifg=#856075 "gui=bold +hi Special guifg=#652a7a +hi Ignore guifg=grey40 +hi Todo guifg=orangered guibg=yellow2 +hi Error guibg=#b03452 +"""""this section borrowed from OceanDeep/Midnight""""" +hi Number guifg=#006bcd +hi Function gui=None guifg=#d06d50 "or green 50b3b0 +highlight Conditional gui=None guifg=#a50a4a +highlight Repeat gui=None guifg=#700d8a +"hi Label gui=None guifg=LightGreen guibg=bg +highlight Operator gui=None guifg=#e0b045 +highlight Keyword gui=bold guifg=grey guibg=bg +highlight Exception gui=none guifg=#ea5460 +""""""""""""""""""""""""""""""""""""""""""""""""""""""" +"end syntax highlighting """"""""""""""""""""""""""""""""""""" + +" highlight groups +"hi CursorIM +hi Directory guifg=#bbd0df +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +hi ErrorMsg guibg=#ff4545 + +hi Cursor guibg=#cadaca guifg=#05293d + +hi FoldColumn guibg=#409ae0 guifg=darkgrey +"hi FoldColumn guibg=#83a5cd guifg=#70459F +hi LineNr guibg=#409ae0 guifg=darkblue gui=bold +"hi LineNr guibg=#081c30 guifg=#80a0dA +hi StatusLine guibg=#20b5fd guifg=#0a150d gui=none +hi StatusLineNC guibg=#0580da guifg=#302d34 gui=none + +hi Search guibg=#babdad guifg=#3a4520 +hi IncSearch guifg=#dadeca guibg=#3a4520 + +hi VertSplit guibg=#525f95 guifg=grey50 gui=none +hi Folded guibg=#252f5d guifg=#BBDDCC +hi ModeMsg guifg=#00AACC +hi MoreMsg guifg=SeaGreen +hi Question guifg=#AABBCC +hi SpecialKey guifg=#308c70 +hi Visual guifg=#008FBF guibg=#33DFEF +"hi VisualNOS +hi WarningMsg guifg=salmon +"hi WildMenu +"hi Menu +"hi Scrollbar guibg=grey30 guifg=tan +"hi Tooltip + + +" new Vim 7.0 items +hi Pmenu guibg=#3a6595 guifg=#9aadd5 +hi PmenuSel guibg=#4a85ba guifg=#b0d0f0 + + + + + +" color terminal definitions +hi Normal ctermfg=black ctermbg=white +hi Number ctermfg=blue +highlight Operator ctermfg=yellow +highlight Conditional ctermfg=magenta +highlight Repeat ctermfg=magenta +hi Exception ctermfg=red +hi function ctermfg=darkyellow +hi SpecialKey ctermfg=darkgreen +hi NonText cterm=bold ctermfg=darkgrey ctermbg=grey +hi Directory ctermfg=darkcyan +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE +hi Search ctermfg=white ctermbg=darkyellow cterm=NONE +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr ctermfg=black ctermbg=blue +hi Question ctermfg=green +hi StatusLine ctermfg=cyan ctermbg=blue cterm=NONE +hi StatusLineNC ctermfg=grey ctermbg=darkblue cterm=NONE +hi VertSplit ctermfg=black ctermbg=black cterm=NONE +hi Title ctermfg=darkyellow ctermbg=white +hi Visual ctermbg=darkcyan ctermfg=cyan cterm=NONE +hi VisualNOS ctermbg=darkcyan ctermfg=white cterm=NONE +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=black ctermbg=white cterm=NONE +hi FoldColumn ctermfg=green ctermbg=blue +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 + +hi Comment ctermfg=grey ctermbg=blue + +hi Constant ctermfg=darkblue +hi Special ctermfg=darkmagenta +hi Identifier ctermfg=darkyellow cterm=NONE +hi Statement ctermfg=red +hi PreProc ctermfg=magenta +hi Type ctermfg=darkcyan "or darkcyan +hi Underlined ctermfg=black ctermbg=white +hi Ignore cterm=bold ctermfg=7 +hi Ignore ctermfg=darkgrey +hi Error cterm=bold ctermfg=7 ctermbg=1 + +" new Vim 7.0 items +hi Pmenu ctermbg=darkblue ctermfg=lightgrey +hi PmenuSel ctermbg=lightblue ctermfg=white + +"vim: sw=4 + +endif diff --git a/.vim/colors/void.vim b/.vim/colors/void.vim new file mode 100644 index 0000000..3240193 --- /dev/null +++ b/.vim/colors/void.vim @@ -0,0 +1,106 @@ +" Vim color file +" Maintainer: Andrew Lyon +" Last Change: $Date: 2010-11-20 12:27:30PST $ +" Version: 1.1 + +" Note that this color scheme is loosely based off of desert.vim (Hans Fugal +" ) mixed with some of slate.vim (Ralph Amissah +" ) but with much of my own modification. + +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="void" + +hi Normal guifg=#f5f5f5 guibg=grey15 + +" highlight groups +hi Cursor guibg=khaki guifg=slategrey +"hi CursorIM +"hi Directory +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +"hi ErrorMsg +hi VertSplit guibg=black guifg=black gui=none +hi Folded guibg=grey30 guifg=gold +hi FoldColumn guibg=grey30 guifg=tan +hi IncSearch guifg=slategrey guibg=khaki +"hi LineNr +hi ModeMsg guifg=goldenrod +hi MoreMsg guifg=SeaGreen +hi NonText guifg=LightBlue guibg=grey30 +hi Question guifg=springgreen +hi Search guibg=peru guifg=wheat +hi SpecialKey guifg=yellowgreen +hi StatusLine guibg=black guifg=#cccccc gui=none +hi StatusLineNC guibg=black guifg=grey40 gui=none +hi Title guifg=indianred +hi Visual gui=none guifg=khaki guibg=olivedrab +"hi VisualNOS +hi WarningMsg guifg=salmon +"hi WildMenu +"hi Menu +"hi Scrollbar +"hi Tooltip + +" syntax highlighting groups +hi Comment guifg=grey50 +hi Constant guifg=#e09085 +hi Identifier guifg=#f5f5f5 +hi Statement guifg=darkkhaki " #bbccee +hi PreProc guifg=#c8e0b0 +hi Type guifg=darkkhaki +hi Special guifg=#bbccee cterm=bold term=bold +hi Operator guifg=navajowhite cterm=NONE +"hi Underlined +hi Ignore guifg=grey40 +"hi Error +hi Todo guifg=orangered guibg=yellow2 +hi Todo guifg=orange guibg=gray40 + +" color terminal definitions +hi SpecialKey ctermfg=darkgreen +hi NonText guibg=grey15 cterm=bold ctermfg=darkblue +hi Directory ctermfg=brown guifg=#ddbb66 +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch cterm=NONE ctermfg=yellow ctermbg=green +hi Search cterm=NONE ctermfg=grey ctermbg=blue +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr guifg=grey50 ctermfg=3 +hi Question ctermfg=green +hi StatusLine cterm=bold,reverse +hi StatusLineNC cterm=reverse +hi VertSplit cterm=reverse +hi Title ctermfg=5 +hi Visual cterm=reverse +hi VisualNOS cterm=bold,underline +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=darkgrey ctermbg=NONE +hi FoldColumn ctermfg=darkgrey ctermbg=NONE +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 +hi Comment ctermfg=darkcyan +hi Constant ctermfg=brown +hi Special ctermfg=5 +hi Identifier ctermfg=6 +hi Statement ctermfg=3 +hi PreProc ctermfg=5 +hi Type ctermfg=2 +hi Underlined cterm=underline ctermfg=5 +hi Ignore cterm=bold ctermfg=7 +hi Ignore ctermfg=darkgrey +hi Error cterm=bold ctermfg=7 ctermbg=1 + + diff --git a/.vim/colors/vydark.vim b/.vim/colors/vydark.vim new file mode 100644 index 0000000..3269e70 --- /dev/null +++ b/.vim/colors/vydark.vim @@ -0,0 +1,84 @@ +" +" Vim colour file +" +" Maintainer: Vy-Shane Sin Fat +" Version: 1.1 +" +" This colour file is meant for GUI use. +" + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="vydark" + + +hi Normal guifg=#bbbbbb guibg=#282828 +hi Title guifg=white +hi Cursor guibg=#ffffff +hi LineNr guifg=#444455 guibg=#292929 +hi Visual guibg=#555555 +hi NonText guifg=#292929 guibg=#292929 +hi StatusLine guifg=#bbbbbb guibg=#353535 gui=none +hi StatusLineNC guifg=#777777 guibg=#353535 gui=none +hi VertSplit guifg=#353535 guibg=#353535 gui=none +hi ModeMsg guifg=#99dd99 guibg=#394439 gui=none +hi ErrorMsg guifg=#222222 guibg=#ff8888 gui=none +hi Error guifg=#ffaaaa guibg=#333333 gui=none + + +" Vim 7.x specific +if version >= 700 + hi MatchParen guibg=#364836 gui=none + hi Pmenu guifg=#bbbbbb guibg=#444444 gui=none + hi PmenuSel guifg=#222222 guibg=#99bbdd gui=none + hi PmenuSbar guifg=#494949 guibg=#494949 gui=bold + hi PmenuThumb guifg=#666666 guibg=#666666 gui=bold + hi Search guifg=#dddd99 guibg=#444433 gui=none + hi IncSearch guifg=#eeeeaa guibg=#666633 gui=bold + hi CursorLine guibg=#353535 gui=none + hi ColorColumn guibg=#252525 + hi SpellBad guisp=#774444 + hi SpellCap guisp=#774444 + hi SpellLocal guisp=#774444 + hi SpellRare guisp=#774444 +endif + + +" Syntax highlighting +hi Comment guifg=#666677 gui=none +hi Todo guifg=#8888aa guibg=#303030 gui=italic +hi Operator guifg=#bbbbbb gui=none +hi Identifier guifg=#bbbbbb gui=none +hi Statement guifg=#bbbbbb gui=none +hi Type guifg=#99bbcc gui=none +hi Constant guifg=#88cc99 gui=none +hi Conditional guifg=#99bbcc gui=none +hi Delimiter guifg=#99bbdd gui=none +hi PreProc guifg=#88ddcc gui=none +hi Special guifg=#99dd99 gui=bold +hi Keyword guifg=#bbbbbb gui=none + +hi link Function Normal +hi link Character Constant +hi link String Constant +hi link Boolean Constant +hi link Number Constant +hi link Float Number +hi link Repeat Conditional +hi link Label Statement +hi link Exception Statement +hi link Include Normal +hi link Define Type +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 SpecialComment Special +hi link Debug Special + diff --git a/.vim/colors/vylight.vim b/.vim/colors/vylight.vim new file mode 100644 index 0000000..156adf3 --- /dev/null +++ b/.vim/colors/vylight.vim @@ -0,0 +1,81 @@ +" +" Vim colour file +" +" Maintainer: Vy-Shane Sin Fat +" Last Change: 20 November 2009 +" Version: 1.1 +" +" This colour file is meant for GUI use. +" + +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="vylight" + + +hi Normal guifg=#1a1a1a guibg=white +hi Title guifg=black guibg=white +hi Cursor guibg=#111111 +hi LineNr guifg=#aaaaaa guibg=#f8f8f8 +hi Visual guibg=#bbddff +hi NonText guifg=#cccccc guibg=#fafafa +hi StatusLine guifg=#222222 guibg=#eeeeee gui=none +hi StatusLineNC guifg=#666666 guibg=#eeeeee gui=none +hi VertSplit guifg=#eeeeee guibg=#eeeeee gui=none +hi ModeMsg guifg=#007050 guibg=#eeeeee gui=none +hi ErrorMsg guifg=#f03050 guibg=#eeeeee gui=none +hi Error guifg=#bb3355 guibg=white gui=none + + +" Vim 7.x specific +if version >= 700 + hi CursorLine guibg=#eeeeee gui=none + hi MatchParen guibg=#ccffdd gui=none + hi Pmenu guifg=#60656f guibg=#f0f5ff gui=none + hi PmenuSel guifg=white guibg=#3585ef gui=bold + hi PmenuSbar guifg=#d0d5dd guibg=#e0e5ee gui=bold + hi PmenuThumb guifg=#e0e5ee guibg=#c0c5dd gui=bold + hi Search guibg=#fcfcaa gui=none + hi IncSearch guibg=#ffff33 gui=bold +endif + + +" Syntax highlighting +hi Comment guifg=#668866 gui=none +"hi Todo guifg=#225522 guibg=white gui=italic +hi Todo guifg=#446644 guibg=#ddeecc gui=italic +hi Operator guifg=#1a1a1a gui=none +hi Identifier guifg=#1a1a1a gui=none +hi Statement guifg=#0050b0 gui=none +hi Type guifg=#0050b0 gui=none +hi Constant guifg=#204070 gui=none +hi Conditional guifg=#006040 gui=none +hi Delimiter guifg=#1a1a1a gui=none +hi PreProc guifg=#007050 gui=none +hi Special guifg=#a05050 gui=none +hi Keyword guifg=#007050 gui=none + +hi link Function Normal +hi link Character Constant +hi link String Constant +hi link Boolean Constant +hi link Number Constant +hi link Float Number +hi link Repeat Conditional +hi link Label Statement +hi link Exception 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 SpecialComment Special +hi link Debug Special + diff --git a/.vim/colors/wargrey.vim b/.vim/colors/wargrey.vim new file mode 100644 index 0000000..3647e55 --- /dev/null +++ b/.vim/colors/wargrey.vim @@ -0,0 +1,257 @@ +" Vim color file +" Maintainer: WarGrey +" Last Change: $Date: 2008/07/28 21:30:30 $ +" Version: $Id: wargrey.vim, v1.0 2008/07/28 21:30:30 $ + +" help command +" :he group-name +" :he highiight-groups +" :he cterm-colors + +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="wargrey" + +" Boolean constant: true FALSE ... +hi Boolean ctermfg=red guifg=red + +" Character constant: 'A' 'b' ... +hi Character ctermfg=magenta guifg=magenta + +" Any comments +hi Comment ctermfg=darkgrey guifg=darkgrey + +" The condition-keywords: if switch endif ... +hi Conditional ctermfg=darkcyan guifg=darkcyan + +" Any constants +hi Constant ctermfg=red guifg=red + +" The column that the cursor is in +hi CursorColumn ctermfg=none ctermbg=none + +" The character under the cursor +hi Cursor guibg=khaki guifg=slategrey + +" [IM mode] The character under the cursor +hi CursorIM ctermbg=none ctermfg=none + +" The line that the cursor is in +hi CursorLine ctermfg=none ctermbg=none + +" Any debugging statement +hi Debug ctermfg=darkred guifg=darkred + +" Any preprocessors like '#define' in C/C++ language +hi Define ctermfg=blue guifg=blue + +" The character that needs attention: * ? ... +hi Delimiter ctermfg=yellow guifg=yellow + +" [Diff mode] The added line +hi DiffAdd ctermfg=green ctermbg=darkgray guifg=green guibg=darkgray + +" [Diff mode] The changed line +hi DiffChange ctermfg=yellow ctermbg=darkgrey guifg=yellow guibg=darkgrey + +" [Diff mode] The deleted line +hi DiffDelete ctermfg=black ctermbg=darkgrey guifg=black guibg=darkgrey + +" [Diff mode] The changed texts within the changed line +hi DiffText ctermfg=blue ctermbg=darkgrey guifg=blue guibg=darkgrey + +" Directory names or the items' label in the list +hi Directory ctermfg=darkcyan guifg=darkcyan + +" Any erroneous structure +hi Error cterm=bold ctermfg=darkred ctermbg=darkgray guifg=darkred guibg=darkgray + +" The error message on the command line +hi ErrorMsg cterm=bold ctermfg=darkred ctermbg=darkgray guifg=darkred guibg=darkgray + +" The exception-keywords: throws try finally ... +hi Exception ctermfg=darkmagenta guifg=darkmagenta + +" The floating point constants: 6.67e-11 +hi Float ctermfg=red guifg=red + +" The column with the specified width which indicates open and closed folds. +hi FoldColumn ctermfg=grey ctermbg=none guifg=grey + +" The lines used for closed folds +hi Folded ctermfg=grey ctermbg=none guibg=grey30 guifg=grey + +" The name of functions methods and classes ... +hi Function ctermfg=blue guifg=blue + +" Any variable's name, also be used for the global functions +hi Identifier ctermfg=brown guifg=brown + +" Any left blank and hidden +hi Ignore cterm=bold ctermfg=grey ctermbg=darkgrey guifg=grey guibg=darkgrey + +" The preprocessors for indicating the included sources +hi Include ctermfg=magenta guifg=magenta + +" The texts that been searched or replaced by the '%s///c' +hi IncSearch cterm=none ctermfg=yellow ctermbg=green guifg=yellow guibg=green + +" Any other keywords: native assert ... +hi Keyword ctermfg=darkcyan guifg=darkcyan + +" Any labels: case default ... +hi Label ctermfg=darkgray guifg=darkgray + +" The line number +hi LineNr ctermfg=brown guifg=brown + +" Any preprocessors like '#define' in C/C++ language +hi Macro ctermfg=darkmagenta guifg=darkmagenta + +" The character of the paired bracket which under the cursor or just before it, +hi MatchParen ctermfg=brown guifg=brown + +" The mode message: -- INSERT -- ... +hi ModeMsg cterm=none ctermfg=red guifg=red + +" The message is given with the '-- More --' +hi MoreMsg ctermfg=darkgreen guifg=darkgreen + +" The characters appear only when line wraps happen: '@' '-' +hi NonText cterm=bold ctermfg=black guifg=black + +" The keywords recongnized as name space: public internal ... +hi NameSpace ctermfg=darkgreen guifg=darkgreen + +" The normal Text +hi Normal guifg=white guifg=white + +" The number constants: 1987 0x00ff00 ... +hi Number ctermfg=red guifg=red + +" Any operators: 'new' '+' ... +hi Operator ctermfg=yellow guifg=yellow + +" [Popup menu] The normal items +hi Pmenu ctermfg=blue ctermbg=none guifg=blue + +" [Popup menu] The scrollbar +hi PmenuSbar ctermbg=none + +" [Popup menu] The selected item +hi PmenuSel ctermfg=green ctermbg=none guifg=green + +" [Popup menu] The thumb of the scrollbar +hi PmenuThumb ctermfg=darkcyan guifg=darkcyan + +" Any condition-preprocessors: #if #elseif ... +hi PreCondit ctermfg=cyan guifg=cyan + +" Any generic preprocessors +hi PreProc ctermfg=magenta guifg=magenta + +" The prompt message of command: 'y/q' ... +hi Question ctermfg=green guifg=green + +" The repeat-keywords: for each in ... +hi Repeat ctermfg=cyan guifg=cyan + +" The last searched pattern or +" the line in the quickfix window and some similiar items that need to stand out +hi Search ctermfg=cyan ctermbg=none guifg=cyan + +" The line where the signs displayed, +" the sign may be a breakpoint or an icon +hi SignColumn ctermbg=black ctermbg=black + +" Any special symbols such as a regular expressions etc. +hi Special ctermfg=darkmagenta guifg=darkmagenta + +" The special character within a constant +hi SpecialChar ctermfg=red guifg=red + +" The special things within the comment +hi SpecialComment ctermfg=darkgray guifg=darkgray + +" The meta and special keyboard keys or +" the text used to show the unprintable characters +hi SpecialKey ctermfg=darkcyan guifg=darkcyan + +" The word that does not recognized by the spellchecker +hi SpellBad ctermfg=darkred guifg=darkred + +" The word should starts with a capital +hi SpellCap ctermfg=green guifg=green + +" The word is recognized by the spellchecker and used in another region +hi SpellLocal ctermfg=brown guifg=brown + +" The word is recognized by the spellchecker and hardly ever used +hi SpellRare ctermfg=yellow guifg=yellow + +" Any statements +hi Statement ctermfg=darkcyan guifg=darkcyan + +" The status line of current window +hi StatusLine cterm=underline ctermfg=gray gui=underline guifg=gray + +" The status line of non-current window +hi StatusLineNC cterm=underline ctermfg=darkgray gui=underline guifg=darkgray + +" The limit-keywords of structures: static register ... +hi StorageClass ctermfg=cyan guifg=cyan + +" The string constant +hi String ctermfg=brown guifg=brown + +" Any structures seems that they are complex types: class union @interface ... +hi Structure ctermfg=green guifg=green + +" [Table line] Not active table page label +hi TabLine ctermfg=red guifg=red + +" [Table line] Where there are no labels +hi TabLineFill ctermfg=gray ctermbg=blue guifg=gray guibg=blue + +" [Table line] Active table page label +hi TabLineFillSel ctermfg=blue guifg=blue + +" Any tags which can use on +hi Tag ctermfg=darkmagenta guifg=darkmagenta + +" Any titles for output from ':autocmd' or ':set all' +hi Title ctermfg=green guifg=green + +" Any tasks which need extra attention that marked in the comment +hi Todo ctermfg=yellow ctermbg=none guifg=yellow + +" Any basic data types: int double ... +hi Type ctermfg=green guifg=green + +" Any type definition: public class; private set width; ... +hi Typedef ctermfg=blue guifg=blue + +" The text stand out the HTML link +hi Underlined cterm=underline ctermfg=blue gui=underline guifg=blue + +" The column sparating vertically split window +hi VertSplit cterm=none ctermfg=darkgray gui=none guifg=darkgray + +" The visual mode selection +hi Visual cterm=reverse gui=none guifg=khaki guibg=olivedrab + +" The visual mode selection 'NOT OWNED BY VIM' +hi VisualNOS cterm=bold,underline + +" The warning message +hi WarningMsg ctermfg=yellow guifg=yellow + +" The current match in 'wildmenu' completion +hi WildMenu ctermfg=black ctermbg=darkcyan guifg=black guibg=darkcyan diff --git a/.vim/colors/warm_grey.vim b/.vim/colors/warm_grey.vim new file mode 100644 index 0000000..96e78d3 --- /dev/null +++ b/.vim/colors/warm_grey.vim @@ -0,0 +1,101 @@ + +set background=light + +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "black_on_white" + +if version >= 700 + hi CursorLine guibg=#e4e2e0 + hi CursorColumn guibg=#e4e2e0 + hi MatchParen guifg=white guibg=#747270 gui=bold + + "Tabpages + hi TabLine guifg=black guibg=#b0b8c0 gui=italic + hi TabLineFill guifg=#9098a0 + hi TabLineSel guifg=black guibg=#f0f0f0 gui=italic,bold + + "P-Menu (auto-completion) + hi Pmenu guifg=white guibg=#a4a2a0 + "PmenuSel + "PmenuSbar + "PmenuThumb +endif +" +" Html-Titles +hi Title guifg=#202020 gui=bold +hi Underlined guifg=#202020 gui=underline + + +hi Cursor guifg=black guibg=#b8b4b0 +hi lCursor guifg=black guibg=white +hi LineNr guifg=#646260 guibg=#d8d4d0 gui=italic + +hi Normal guifg=#444240 guibg=#f0f0f0 + +hi StatusLine guifg=white guibg=#888480 gui=bold +hi StatusLineNC guifg=#848280 guibg=#c8c4c0 gui=italic +hi VertSplit guifg=#c8c4c0 guibg=#c8c4c0 gui=NONE + +" hi Folded guifg=#708090 guibg=#c0d0e0 +hi Folded guifg=#848280 guibg=#e8e4e0 gui=italic + +hi NonText guifg=#c0c0c0 guibg=#e0e0e0 +" Kommentare +hi Comment guifg=#848280 gui=italic + +" Konstanten +hi Constant guifg=#000000 +hi String guifg=#804020 +hi Number guifg=#406020 +hi Float guifg=#204000 +"hi Statement guifg=#0070e0 gui=NONE +" Python: def and so on, html: tag-names +"hi Statement guifg=#607080 gui=bold + +" . D: debug, mixin, scope, throw, Python: def +hi Statement guifg=#607080 gui=bold +hi Operator guifg=#747270 gui=bold +" HTML: arguments +"hi Type guifg=#202020 gui=none +hi Type guifg=#606060 gui=bold +" Python: Standard exceptions, True&False +hi Structure guifg=#405060 gui=underline,bold +hi Function guifg=#203040 gui=bold + + +hi Macro guifg=#545250 gui=none +hi Directory guifg=#949290 gui=none + + +hi Identifier guifg=#545250 gui=none + +hi Repeat guifg=#545250 gui=underline +hi Conditional guifg=#545250 gui=underline + +" Cheetah: #-Symbol, function-names, D: import +hi PreProc guifg=#705060 gui=bold +" Cheetah: def, attr, for and so on, Python: Decorators +hi Define guifg=#905080 gui=bold + +hi Error guifg=#a02000 guibg=white gui=bold,underline +hi Todo guifg=#848280 guibg=NONE gui=bold,underline + +" Python: %(...)s - constructs, encoding, D: \n etc +hi Special guifg=#602000 gui=none + + +" color of s etc... +"hi SpecialKey guifg=#d8a080 guibg=#e8e8e8 gui=italic +hi SpecialKey guifg=#c4c2c0 guibg=#e4e2e0 gui=italic,bold + +" Diff +hi DiffChange guifg=NONE guibg=#e4e2e0 gui=italic +hi DiffText guifg=NONE guibg=#f0e0a0 gui=none +hi DiffAdd guifg=NONE guibg=#c0e0d0 gui=bold +hi DiffDelete guifg=NONE guibg=#f0a0a0 gui=italic,bold + + diff --git a/.vim/colors/watermark.vim b/.vim/colors/watermark.vim new file mode 100644 index 0000000..09818e4 --- /dev/null +++ b/.vim/colors/watermark.vim @@ -0,0 +1,174 @@ +" Vim color file +" watermark v1.0b +" http://www.vim.org/scripts/script.php?script_id=1454 +" +" Maintainer: Shawn Axsom +" +" * Place :colo watermark in your VimRC/GVimRC file +" * GvimRC if using GUI any +" +" - Thanks to Desert and OceanDeep for their color scheme +" file layouts +" - Thanks to Raimon Grau for his feedback + +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="watermark" + +hi Normal guifg=#8b9aaa guibg=#1a202a "1a1823 +hi NonText guifg=#382920 guibg=bg + +hi Folded guibg=#222038 guifg=#BBDDCC +hi FoldColumn guibg=black guifg=#dbcaa5 +hi LineNr guibg=black guifg=#8095d5 +hi StatusLine guibg=grey guifg=#203ad5 gui=none +hi StatusLineNC guibg=grey guifg=#1b2058 gui=none +hi VertSplit guibg=#22253d guifg=#223355 gui=none + +hi tablinesel guibg=#515a71 guifg=#50aae5 gui=none +hi tabline guibg=#4d4d5f guifg=#5b7098 gui=none +hi tablinefill guibg=#2d2d3f guifg=#aaaaaa gui=none + +" syntax highlighting """""""""""""""""""""""""""""""""""""""" + +"set comments to grey on non-Windows OS's to make sure +"it is readable +if &term == "builtin_gui" || &term == "win32" + hi Comment guifg=#369960 guibg=bg +else + hi Comment guifg=#559988 guibg=bg +endif +"""""""""""""""""""""""""""""""""""""""""""""""""""""" + +hi Title guifg=#6d806a gui=none +hi Underlined guifg=#5b759a gui=none + +hi Statement guifg=#cac0c0 gui=none +hi Type guifg=#6ac0ba gui=none +hi Constant guifg=#70a0de +hi Number guifg=#1da5da +hi PreProc guifg=#c0a0b0 +hi Special guifg=#50a0b0 +hi Ignore guifg=grey40 +hi Todo guifg=orangered guibg=yellow2 +hi Error guibg=#f06070 +hi Function guifg=#a090a0 guibg=bg gui=None +hi Identifier guifg=#a090b0 +highlight Exception gui=none guifg=#aaa4a0 guibg=bg +"""""this section borrowed from OceanDeep/Midnight""""" +highlight Conditional gui=None guifg=#c08ac0 guibg=bg +highlight Repeat gui=None guifg=#c07ac0 guibg=bg +"hi Label gui=None guifg=LightGreen guibg=bg +highlight Operator gui=None guifg=#aa9a45 guibg=bg +highlight Keyword gui=bold guifg=grey guibg=bg +""""""""""""""""""""""""""""""""""""""""""""""""""""""" +"end syntax highlighting """"""""""""""""""""""""""""""""""""" + +" highlight groups +"hi CursorIM +hi Directory guifg=#bbd0df +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +hi ErrorMsg guibg=#ff4545 + +hi Cursor guibg=#cad5c0 guifg=#05293d + + +hi Search guibg=#808373 guifg=#3a4520 +hi IncSearch guifg=#babeaa guibg=#3a4520 + +hi ModeMsg guifg=#00AACC +hi MoreMsg guifg=SeaGreen +hi Question guifg=#AABBCC +hi SpecialKey guifg=#90dcb0 +hi Visual guifg=black guibg=#43D5FF +hi VisualNOS guifg=#201a30 guibg=#a3a5FF +hi WarningMsg guifg=salmon +"hi WildMenu +"hi Menu +"hi Scrollbar guibg=grey30 guifg=tan +"hi Tooltip + + +" new Vim 7.0 items +hi Pmenu guibg=#3a6595 guifg=#9aadd5 +hi PmenuSel guibg=#4a85ba guifg=#b0d0f0 + + + + + +" color terminal definitions +hi Normal ctermfg=grey +hi Number ctermfg=blue +highlight Operator ctermfg=yellow +highlight Conditional ctermfg=darkred +highlight Repeat ctermfg=darkred +hi Exception ctermfg=red +hi function ctermfg=darkyellow +hi SpecialKey ctermfg=darkgreen +hi NonText cterm=bold ctermfg=darkgrey +hi Directory ctermfg=darkcyan +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE +hi Search ctermfg=black ctermbg=darkyellow cterm=NONE +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr ctermfg=darkcyan ctermbg=NONE +hi Question ctermfg=green +hi StatusLine ctermfg=blue ctermbg=grey cterm=NONE +hi StatusLineNC ctermfg=black ctermbg=grey cterm=NONE +hi VertSplit ctermfg=black ctermbg=grey cterm=NONE +hi Title ctermfg=Yellow cterm=NONE +hi Visual ctermbg=darkcyan ctermfg=black cterm=NONE +hi VisualNOS ctermbg=darkcyan ctermfg=black cterm=NONE +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=darkgreen ctermbg=NONE cterm=NONE +hi FoldColumn ctermfg=green ctermbg=black +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 +hi identifier ctermfg=darkmagenta + +"set comments to grey on non-Windows OS's to make sure +"it is readable +if &term == "builtin_gui" || &term == "win32" + hi Comment ctermfg=darkgrey ctermbg=darkblue + hi IncSearch ctermfg=black ctermbg=grey cterm=NONE + hi Search ctermfg=black ctermbg=darkgrey cterm=NONE +else + hi Comment ctermfg=grey ctermbg=darkblue + hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE + hi Search ctermfg=black ctermbg=darkyellow cterm=NONE +endif +"""""""""""""""""""""""""""""""""""""""""""""""""""""" + +hi Constant ctermfg=blue +hi Special ctermfg=darkmagenta +hi Statement ctermfg=red +hi PreProc ctermfg=magenta +hi Type ctermfg=darkblue " ctermbg=darkblue +hi Underlined ctermfg=yellow cterm=NONE +hi Ignore cterm=bold ctermfg=7 +hi Ignore ctermfg=darkgrey +hi Error cterm=bold ctermfg=7 ctermbg=1 + +" new Vim 7.0 items +hi Pmenu ctermbg=darkblue ctermfg=lightgrey +hi PmenuSel ctermbg=lightblue ctermfg=white + +"vim: sw=4 + + diff --git a/.vim/colors/whitebox.vim b/.vim/colors/whitebox.vim new file mode 100644 index 0000000..7f6a5ae --- /dev/null +++ b/.vim/colors/whitebox.vim @@ -0,0 +1,86 @@ +set background=light +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "whitebox" + +hi Comment guifg=#8b8b8b +hi Constant guifg=#cc006c +hi Cursor guifg=#ffffff guibg=#0066ff +hi CursorColumn guibg=gray90 +hi CursorIM gui=None +hi CursorLine guifg=#00cc66 guibg=gray90 +hi DiffAdd guibg=lightblue +hi DiffChange guibg=plum1 +hi DiffDelete gui=bold guifg=blue guibg=lightcyan +hi DiffText gui=bold guibg=gray90 +hi Directory gui=bold guifg=#ec3300 +hi Error guifg=#339999 guibg=gray90 +hi ErrorMsg guifg=white guibg=red +hi FoldColumn guifg=darkblue guibg=grey +hi Folded guifg=#efffff guibg=#526d8e +hi Function guifg=#efc21e +hi Identifier guifg=darkcyan +hi Ignore guifg=white +hi IncSearch gui=reverse guifg=lightblue guibg=red +hi LineNr guifg=#519eff +hi MatchParen guibg=cyan +hi ModeMsg gui=bold +hi MoreMsg gui=bold guifg=seagreen +hi NonText gui=bold guifg=blue +hi Normal gui=None guifg=#526d8e +hi Pmenu guibg=#e3e8de +hi PmenuSbar guibg=grey +hi PmenuSel guibg=#86beda +hi PmenuThumb gui=reverse +hi PreProc guifg=#d5459c +hi Question gui=bold guifg=seagreen +hi Search guibg=#aec4e2 +hi SignColumn guifg=darkblue guibg=grey +hi Special guifg=slateblue +hi SpecialKey guifg=blue +hi SpellBad gui=undercurl +hi SpellCap gui=undercurl +hi SpellLocal gui=undercurl +hi SpellRare gui=undercurl +hi Statement gui=bold guifg=#d54271 +hi StatusLine gui=bold,reverse guifg=#222222 +hi StatusLineNC gui=reverse +hi String guifg=#ff3100 +hi TabLine gui=underline guibg=lightgrey +hi TabLineFill gui=reverse +hi TabLineSel gui=bold +hi Title gui=bold guifg=magenta +hi Todo guifg=blue guibg=yellow +hi Type gui=None guifg=#008F0F +hi Underlined gui=underline guifg=slateblue +hi VertSplit gui=reverse guifg=#c1b6a1 +hi Visual guibg=#a0b8cc +hi VisualNOS gui=bold,underline +hi WarningMsg guifg=red +hi WildMenu guifg=black guibg=yellow +hi link Boolean Constant +hi link Character Constant +hi link Conditional Statement +hi link Debug Special +hi link Define PreProc +hi link Delimiter Special +hi link Exception Statement +hi link Float Constant +hi link Include PreProc +hi link Keyword Statement +hi link Label Statement +hi link Macro PreProc +hi link Number Constant +hi link Operator Statement +hi link PreCondit PreProc +hi link Repeat Statement +hi link SpecialChar Special +hi link SpecialComment Special +hi link StorageClass Type +hi link String Constant +hi link Structure Type +hi link Tag Special +hi link Typedef Type + diff --git a/.vim/colors/whitedust.vim b/.vim/colors/whitedust.vim new file mode 100644 index 0000000..a12dc7d --- /dev/null +++ b/.vim/colors/whitedust.vim @@ -0,0 +1,62 @@ +set background=light +hi clear + +hi Boolean guifg=#235C5C gui=bold +hi Character guifg=#235C5C gui=bold +hi Comment guifg=#808080 +hi Condtional guifg=#700000 +hi Constant guifg=#235C5C gui=bold +hi Cursor guifg=#FFFFFF guibg=#515151 +hi Debug guifg=#235C5C gui=bold +hi Define guifg=#003050 gui=bold +hi Delimiter guifg=#707070 +hi DiffAdd guibg=#9EC3B9 +hi DiffChange guibg=#CCCCCC +hi DiffDelete guifg=#CCCCCC guibg=#B9B9B9 gui=none +hi DiffText guifg=#000000 guibg=#E0E0E0 gui=bold +hi Directory guifg=#000000 gui=bold +hi Error guifg=#FFFFFF guibg=#FF0000 +hi ErrorMsg guifg=#FFFFFF guibg=#FF3F30 +hi Exception guifg=#700000 gui=underline +hi Float guifg=#636C4C +hi FoldColumn guifg=#235C5C guibg=#B9B9B9 +hi Folded guifg=#235C5C guibg=#CCCCCC +hi Function guifg=#000070 +hi Identifier guifg=#000000 +hi Include guifg=#003050 gui=bold +hi IncSearch guifg=#FFFFFF guibg=#3EA399 +hi Keyword guifg=#000000 gui=bold +hi Label guifg=#700000 gui=underline +hi LineNr guifg=#808080 guibg=#B9B9B9 +hi Macro guifg=#003050 gui=bold +hi ModeMsg guifg=#235C5C gui=bold +hi MoreMsg guifg=#000000 gui=bold +hi NonText guifg=#E0E0E0 +hi Normal guifg=#333333 guibg=#C0C0C0 +hi Number guifg=#535F5C +hi Operator guifg=#000000 +hi PreCondit guifg=#205070 gui=bold +hi PreProc guifg=#003050 gui=bold +hi Question guifg=#000000 gui=bold +hi Repeat guifg=#700000 gui=underline +hi Search guifg=#FFFFFF guibg=#3EA399 +hi SpecialChar guifg=#235C5C gui=bold +hi SpecialComment guifg=#235C5C gui=bold +hi Special guifg=#808080 +hi SpecialKey guifg=#818181 +hi Statement guifg=#700000 +hi StatusLine guifg=#CCCCCC guibg=#0E7369 +hi StatusLineNC guifg=#CCCCCC guibg=#333333 +hi StorageClass guifg=#000000 gui=bold +hi String guifg=#336C6C +hi Structure guifg=#000000 gui=bold,underline +hi Tag guifg=#235C5C gui=bold +hi Title guifg=#000000 guibg=#CCCCCC gui=bold +hi Todo guifg=#000000 guibg=#FFFFFF gui=bold +hi Typedef guifg=#000000 gui=bold,underline +hi Type guifg=#000000 gui=bold +hi VertSplit guifg=#CCCCCC guibg=#333333 +hi Visual guifg=#CCCCCC guibg=#0E7369 gui=reverse +hi VisualNOS guifg=#CCCCCC guibg=#0E7369 gui=bold,underline +hi WarningMsg guifg=#000000 guibg=#CCCCCC gui=bold +hi WildMenu guifg=#FFFFFF guibg=#235C5C diff --git a/.vim/colors/widower.vim b/.vim/colors/widower.vim new file mode 100644 index 0000000..d4975bf --- /dev/null +++ b/.vim/colors/widower.vim @@ -0,0 +1,43 @@ +" Vim color file +" Dark (red on black) color scheme. +" Maintainer: greg frohring +" Last Change: 1/13/2009 +" Licence: Public Domain + +" INSTALLATION: copy this file to ~/vimXX/colors/ directory +" and add "colorscheme widower" to your ~/.vimrc file + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +"colorscheme default +let g:colors_name = "widower" + +" hardcoded colors : +" GUI Comment : +" #572829 = plumish +" #F1A107 = orange + +" GUI +highlight Normal guifg=Red guibg=Black +highlight Search guifg=#572829 guibg=Yellow gui=underline +highlight Visual guifg=Black guibg=DarkGrey +highlight Cursor guifg=Black guibg=Green gui=bold +highlight Special guifg=Orange +highlight Comment guifg=#777799 +highlight Statement guifg=Orange guibg=#444444 gui=underline +highlight Type guifg=#F1A107 + +highlight VertSplit gui=bold guifg=Grey25 guibg=Black +highlight StatusLine gui=bold guifg=White guibg=Grey25 +highlight StatusLineNC gui=NONE guifg=LightGrey guibg=Grey25 + +highlight FoldColumn gui=bold guifg=White guibg=Black + +highlight String guifg=#CCAAAA +highlight Constant guifg=Green +highlight Include guifg=#d632D4 +highlight Operator guifg=Orange guibg=#222222 + diff --git a/.vim/colors/win9xblueback.vim b/.vim/colors/win9xblueback.vim new file mode 100644 index 0000000..1a26ee0 --- /dev/null +++ b/.vim/colors/win9xblueback.vim @@ -0,0 +1,79 @@ +" Name: win9xblueback.vim +" Maintainer: Kojo Sugita +" Last Change: 2008-09-08 +" Revision: 1.0 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name = 'win9xblueback' + +hi Cursor guifg=#505050 guibg=#ffffff +hi lCursor guifg=#505050 guibg=#ffffff +hi CursorIM guifg=#505050 guibg=#ffffff +hi Directory guifg=#ffffff guibg=#0000b0 gui=bold +hi DiffAdd guifg=#ffffff guibg=#505050 gui=none +hi DiffChange guifg=#ffffff guibg=#505050 gui=none +hi DiffDelete guifg=#404040 guibg=#404040 gui=none +hi DiffText guifg=#ffffff guibg=#448844 gui=bold +hi ErrorMsg guifg=#ee1111 guibg=#0000b0 +hi VertSplit guifg=#d0d0d0 guibg=#b0b0b0 +hi Folded guifg=#d0d0d0 guibg=#0000b0 +hi FoldColumn guifg=#909090 guibg=#102010 +hi IncSearch guifg=#505050 guibg=#d0d0d0 gui=none +hi LineNr guifg=#909090 guibg=#0000b0 gui=none +hi ModeMsg guifg=#d0d0d0 guibg=#0000b0 +hi MoreMsg guifg=#d0d0d0 guibg=#0000b0 +hi Normal guifg=#d0d0d0 guibg=#0000b0 +hi Question guifg=#d0d0d0 guibg=#0000b0 +hi Search guifg=#404040 guibg=#d0d0d0 gui=none +hi NonText guifg=#606060 gui=none +hi SpecialKey guifg=#909090 +"\n, \0, %d, %s, etc... +hi Special guifg=#d0d0d0 guibg=#0000b0 gui=bold,underline +" status line +hi StatusLine guifg=#0000b0 guibg=#d0d0d0 gui=bold +hi StatusLineNC guifg=#0000b0 guibg=#b0b0b0 gui=none +hi Title guifg=#0000b0 guibg=#d0d0d0 gui=bold +hi Visual guifg=#0000b0 guibg=#e0e0e0 gui=none +hi VisualNOS guifg=#d0d0d0 guibg=#0000b0 +hi WarningMsg guifg=#ffffff guibg=#0000b0 +hi WildMenu guifg=#505050 guibg=#ffffff +hi Number guifg=#0000b0 guibg=#b0b0b0 gui=underline +hi Char guifg=#0000b0 guibg=#b0b0b0 gui=underline +hi String guifg=#0000b0 guibg=#b0b0b0 gui=underline +hi Boolean guifg=#0000b0 guibg=#b0b0b0 gui=underline +hi Comment guifg=#909090 +hi Constant guifg=#ffffff gui=none +hi Identifier guifg=#ffffff +hi Statement guifg=#ffffff gui=bold + +"Procedure name +hi Function guifg=#ffffff + +" Matches +hi MatchParen guifg=#ffffff guibg=darkblue + +"Define, def +hi PreProc guifg=#ffffff gui=bold +hi Type guifg=#ffffff gui=bold +hi Underlined guifg=#ffffff gui=underline +hi Error guifg=#ee1111 guibg=#0000b0 +hi Todo guifg=#404040 guibg=#d0d0d0 gui=none +hi SignColumn guibg=#0000b0 + +if version >= 700 + " Pmenu + hi Pmenu guibg=darkblue + hi PmenuSel guibg=white guifg=#0000b0 + hi PmenuSbar guibg=darkblue + + " Tab + hi TabLine guifg=#d0d0d0 guibg=darkblue gui=none + hi TabLineFill guifg=#ffffff guibg=darkblue gui=none + hi TabLineSel guifg=#ffffff guibg=#0000b0 gui=bold +endif + +" vim:set ts=8 sts=2 sw=2 tw=0: diff --git a/.vim/colors/winter.vim b/.vim/colors/winter.vim new file mode 100644 index 0000000..4212187 --- /dev/null +++ b/.vim/colors/winter.vim @@ -0,0 +1,87 @@ + +"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" " +" File_Name__: winter.vim " +" Abstract___: A color sheme file (only for GVIM) which uses a light grey " +" background makes the VIM look like the scenes of winter. " +" Author_____: CHE Wenlong " +" Version____: 1.3 " +" Last_Change: February 26, 2009 " +" " +"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + +" Preprocess {{{ + +if !has("gui_running") + runtime! colors/default.vim + finish +endif + +set background=light + +hi clear + +if version > 580 + hi clear + if exists("syntax_on") + syntax reset + endif +endif + +let colors_name = "winter" + +" }}} + +" Common {{{ + +hi Normal guifg=#000000 guibg=#D4D0C8 gui=NONE +hi Visual guifg=#FFFFFF guibg=#000080 gui=NONE +hi Cursor guifg=#D4D0C8 guibg=#FF0000 gui=NONE +hi LineNr guifg=#707070 guibg=NONE gui=NONE +hi Title guifg=#202020 guibg=NONE gui=NONE +hi Underlined guifg=#202020 guibg=NONE gui=UNDERLINE + +" }}} + +" Split {{{ + +hi StatusLine guifg=#E0E0E0 guibg=#707070 gui=NONE +hi StatusLineNC guifg=#E0E0E0 guibg=#909090 gui=NONE +hi VertSplit guifg=#909090 guibg=#909090 gui=NONE + +" }}} + +" Folder {{{ + +hi Folded guifg=#707070 guibg=#E0E0E0 gui=NONE + +" }}} + +" Syntax {{{ + +hi Type guifg=#0000FF guibg=NONE gui=NONE +hi Define guifg=#0000FF guibg=NONE gui=NONE +hi Comment guifg=#008000 guibg=NONE gui=NONE +hi Constant guifg=#A000A0 guibg=NONE gui=NONE +hi String guifg=#008080 guibg=NONE gui=NONE +hi Number guifg=#FF0000 guibg=NONE gui=NONE +hi Statement guifg=#0000FF guibg=NONE gui=NONE + +" }}} + +" Others {{{ + +hi PreProc guifg=#A000A0 guibg=NONE gui=NONE +hi Special guifg=#A000A0 guibg=NONE gui=NONE +hi SpecialKey guifg=#707070 guibg=#E0E0E0 gui=NONE +hi Error guifg=#FF0000 guibg=#FFFFFF gui=UNDERLINE +hi Todo guifg=#FF0000 guibg=#FFFF00 gui=UNDERLINE + +" }}} + +"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" " +" vim:foldmethod=marker:tabstop=4 +" " +"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + diff --git a/.vim/colors/wintersday.vim b/.vim/colors/wintersday.vim new file mode 100644 index 0000000..9a77f7e --- /dev/null +++ b/.vim/colors/wintersday.vim @@ -0,0 +1,60 @@ +" Vim color file +" Mark Thomas +" Sun Feb 16, 2003 + +" This color scheme uses a dark background. + +" First remove all existing highlighting. +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "wintersday" + +hi Normal guifg=#CCCCCC guibg=#000000 + +hi Cursor gui=NONE guifg=#B9D3EE guibg=#8B8878 +"hi CursorIM +hi Directory gui=NONE guifg=#FFFFFF guibg=#000000 +hi DiffAdd gui=NONE guifg=#A0D0FF guibg=#0020A0 +hi DiffChange gui=NONE guifg=#E03870 guibg=#601830 +hi DiffDelete gui=NONE guifg=#A0D0FF guibg=#0020A0 +hi DiffText gui=NONE guifg=#FF9933 guibg=#A02860 +hi ErrorMsg gui=BOLD guifg=#FF6347 guibg=NONE +hi VertSplit gui=BOLD guifg=#FFFFFF guibg=#8B4513 +hi Folded gui=NONE guifg=#40F0F0 guibg=#005080 +hi FoldColumn gui=NONE guifg=#40C0FF guibg=#00305C +hi IncSearch gui=UNDERLINE guifg=#FFD700 guibg=#778899 +hi LineNr gui=NONE guifg=#696969 +hi ModeMsg gui=BOLD guifg=#990000 guibg=NONE +hi MoreMsg gui=BOLD guifg=#CC6666 guibg=NONE +hi NonText gui=BOLD guifg=#CC00FF guibg=NONE +hi Question gui=BOLD guifg=#CC00FF guibg=NONE +hi Search gui=NONE guifg=#FFD700 guibg=#778899 +hi SpecialKey gui=BOLD guifg=#CCCCCC guibg=NONE +hi StatusLine gui=BOLD guifg=#FFFFFF guibg=#8B4513 +hi StatusLineNC gui=BOLD guifg=#8B4513 guibg=#FFFFFF +hi Title gui=BOLD guifg=#CCCCCC guibg=NONE +hi Visual gui=NONE guifg=#B9D3EE guibg=#8B8878 +"hi VisualNOS +hi WarningMsg gui=BOLD guifg=#FFA0FF guibg=NONE +hi WildMenu gui=NONE guifg=#000000 guibg=#a0a0ff +"hi Menu +"hi Scrollbar +"hi Tooltip + +" syntax highlighting groups +hi Comment gui=NONE guifg=#6699CC guibg=NONE +hi Constant gui=NONE guifg=#99CCFF guibg=NONE +hi Identifier gui=NONE guifg=#FFD700 guibg=NONE +hi Statement gui=NONE guifg=#CC6666 guibg=NONE +hi PreProc gui=NONE guifg=#40F0A0 guibg=NONE +hi Type gui=NONE guifg=#B0C4DE guibg=NONE +hi Special gui=NONE guifg=#00FFCC guibg=NONE +hi Underlined gui=NONE guifg=#FFFFFF guibg=NONE +hi Ignore gui=NONE guifg=#000000 guibg=NONE +hi Error gui=NONE guifg=#FFFFFF guibg=#FF0088 +hi Todo gui=BOLD guifg=#FFA0A0 guibg=NONE +hi Number gui=NONE guifg=#FFCCCC guibg=NONE diff --git a/.vim/colors/wombat.vim b/.vim/colors/wombat.vim new file mode 100644 index 0000000..9ad1e56 --- /dev/null +++ b/.vim/colors/wombat.vim @@ -0,0 +1,51 @@ +" Maintainer: Lars H. Nielsen (dengmao@gmail.com) +" Last Change: January 22 2007 + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "wombat" + + +" Vim >= 7.0 specific colors +if version >= 700 + hi CursorLine guibg=#2d2d2d + hi CursorColumn guibg=#2d2d2d + hi MatchParen guifg=#f6f3e8 guibg=#857b6f gui=bold + hi Pmenu guifg=#f6f3e8 guibg=#444444 + hi PmenuSel guifg=#000000 guibg=#cae682 +endif + +" General colors +hi Cursor guifg=NONE guibg=#656565 gui=none +hi Normal guifg=#f6f3e8 guibg=#242424 gui=none +hi NonText guifg=#808080 guibg=#303030 gui=none +hi LineNr guifg=#857b6f guibg=#000000 gui=none +hi StatusLine guifg=#f6f3e8 guibg=#444444 gui=italic +hi StatusLineNC guifg=#857b6f guibg=#444444 gui=none +hi VertSplit guifg=#444444 guibg=#444444 gui=none +hi Folded guibg=#384048 guifg=#a0a8b0 gui=none +hi Title guifg=#f6f3e8 guibg=NONE gui=bold +hi Visual guifg=#f6f3e8 guibg=#444444 gui=none +hi SpecialKey guifg=#808080 guibg=#343434 gui=none + +" Syntax highlighting +hi Comment guifg=#99968b gui=italic +hi Todo guifg=#8f8f8f gui=italic +hi Constant guifg=#e5786d gui=none +hi String guifg=#95e454 gui=italic +hi Identifier guifg=#cae682 gui=none +hi Function guifg=#cae682 gui=none +hi Type guifg=#cae682 gui=none +hi Statement guifg=#8ac6f2 gui=none +hi Keyword guifg=#8ac6f2 gui=none +hi PreProc guifg=#e5786d gui=none +hi Number guifg=#e5786d gui=none +hi Special guifg=#e7f6da gui=none + + diff --git a/.vim/colors/wombat256.vim b/.vim/colors/wombat256.vim new file mode 100644 index 0000000..21e3a5f --- /dev/null +++ b/.vim/colors/wombat256.vim @@ -0,0 +1,302 @@ +" 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 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 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 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 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 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 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 color(r, g, b) + " get the closest grey + let l:gx = grey_number(a:r) + let l:gy = grey_number(a:g) + let l:gz = grey_number(a:b) + + " get the closest color + let l:x = rgb_number(a:r) + let l:y = rgb_number(a:g) + let l:z = rgb_number(a:b) + + if l:gx == l:gy && l:gy == l:gz + " there are two possibilities + let l:dgr = grey_level(l:gx) - a:r + let l:dgg = grey_level(l:gy) - a:g + let l:dgb = grey_level(l:gz) - a:b + let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb) + let l:dr = rgb_level(l:gx) - a:r + let l:dg = rgb_level(l:gy) - a:g + let l:db = 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 grey_color(l:gx) + else + " use the color + return rgb_color(l:x, l:y, l:z) + endif + else + " only one possibility + return rgb_color(l:x, l:y, l:z) + endif +endfun + +" returns the palette index to approximate the 'rrggbb' hex string +fun 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 color(l:r, l:g, l:b) +endfun + +" sets the highlighting for the given group +fun X(group, fg, bg, attr) + if a:fg != "" + exec "hi ".a:group." guifg=#".a:fg." ctermfg=".rgb(a:fg) + endif + if a:bg != "" + exec "hi ".a:group." guibg=#".a:bg." ctermbg=".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 X("Normal", "cccccc", "242424", "none") +call X("Cursor", "222222", "ecee90", "none") +call X("CursorLine", "", "32322e", "none") +call X("CursorColumn", "", "2d2d2d", "") + "CursorIM + "Question + "IncSearch +call X("Search", "d787ff", "5f5f5f", "") +call X("MatchParen", "ecee90", "857b6f", "bold") +call X("SpecialKey", "6c6c6c", "2d2d2d", "none") +call X("Visual", "ecee90", "597418", "none") +call X("LineNr", "857b6f", "121212", "none") +call X("Folded", "a0a8b0", "404048", "none") +call X("Title", "f6f3e8", "", "bold") +call X("VertSplit", "444444", "444444", "none") +call X("StatusLine", "f6f3e8", "444444", "italic") +call X("StatusLineNC", "857b6f", "444444", "none") + "Scrollbar + "Tooltip + "Menu + "WildMenu +call X("Pmenu", "f6f3e8", "444444", "") +call X("PmenuSel", "121212", "caeb82", "") +call X("WarningMsg", "ff0000", "", "") + "ErrorMsg + "ModeMsg + "MoreMsg + "Directory + "DiffAdd + "DiffChange + "DiffDelete + "DiffText + +" syntax highlighting +call X("Number", "e5786d", "", "none") +call X("Constant", "e5786d", "", "none") +call X("String", "95e454", "", "italic") +call X("Comment", "c0bc6c", "", "italic") +call X("Identifier", "caeb82", "", "none") +call X("Keyword", "87afff", "", "none") +call X("Statement", "87afff", "", "none") +call X("Function", "caeb82", "", "none") +call X("PreProc", "e5786d", "", "none") +call X("Type", "caeb82", "", "none") +call X("Special", "ffdead", "", "none") +call X("Todo", "857b6f", "", "italic") + "Underlined + "Error + "Ignore + +hi! link VisualNOS Visual +hi! link NonText LineNr +hi! link FoldColumn Folded + +" delete functions {{{ +delf X +delf rgb +delf color +delf rgb_color +delf rgb_level +delf rgb_number +delf grey_color +delf grey_level +delf grey_number +" }}} + +" vim:set ts=4 sw=4 noet fdm=marker: diff --git a/.vim/colors/wombat256mod.vim b/.vim/colors/wombat256mod.vim new file mode 100644 index 0000000..1137eb8 --- /dev/null +++ b/.vim/colors/wombat256mod.vim @@ -0,0 +1,96 @@ +" Vim color file +" Original Maintainer: Lars H. Nielsen (dengmao@gmail.com) +" Last Change: 2010-07-23 +" +" Modified version of wombat for 256-color terminals by +" David Liang (bmdavll@gmail.com) +" based on version by +" Danila Bespalov (danila.bespalov@gmail.com) + +set background=dark + +if version > 580 + hi clear + if exists("syntax_on") + syntax reset + endif +endif + +let colors_name = "wombat256mod" + + +" General colors +hi Normal ctermfg=252 ctermbg=234 cterm=none guifg=#e3e0d7 guibg=#242424 gui=none +hi Cursor ctermfg=234 ctermbg=228 cterm=none guifg=#242424 guibg=#eae788 gui=none +hi Visual ctermfg=251 ctermbg=239 cterm=none guifg=#c3c6ca guibg=#554d4b gui=none +hi VisualNOS ctermfg=251 ctermbg=236 cterm=none guifg=#c3c6ca guibg=#303030 gui=none +hi Search ctermfg=177 ctermbg=241 cterm=none guifg=#d787ff guibg=#636066 gui=none +hi Folded ctermfg=103 ctermbg=237 cterm=none guifg=#a0a8b0 guibg=#3a4046 gui=none +hi Title ctermfg=230 cterm=bold guifg=#ffffd7 gui=bold +hi StatusLine ctermfg=230 ctermbg=238 cterm=none guifg=#ffffd7 guibg=#444444 gui=italic +hi VertSplit ctermfg=238 ctermbg=238 cterm=none guifg=#444444 guibg=#444444 gui=none +hi StatusLineNC ctermfg=241 ctermbg=238 cterm=none guifg=#857b6f guibg=#444444 gui=none +hi LineNr ctermfg=241 ctermbg=232 cterm=none guifg=#857b6f guibg=#080808 gui=none +hi SpecialKey ctermfg=241 ctermbg=235 cterm=none guifg=#626262 guibg=#2b2b2b gui=none +hi WarningMsg ctermfg=203 guifg=#ff5f55 +hi ErrorMsg ctermfg=196 ctermbg=236 cterm=bold guifg=#ff2026 guibg=#3a3a3a gui=bold + +" Vim >= 7.0 specific colors +if version >= 700 +hi CursorLine ctermbg=236 cterm=none guibg=#32322f +hi MatchParen ctermfg=228 ctermbg=101 cterm=bold guifg=#eae788 guibg=#857b6f gui=bold +hi Pmenu ctermfg=230 ctermbg=238 guifg=#ffffd7 guibg=#444444 +hi PmenuSel ctermfg=232 ctermbg=192 guifg=#080808 guibg=#cae982 +endif + +" Diff highlighting +hi DiffAdd ctermbg=17 guibg=#2a0d6a +hi DiffDelete ctermfg=234 ctermbg=60 cterm=none guifg=#242424 guibg=#3e3969 gui=none +hi DiffText ctermbg=53 cterm=none guibg=#73186e gui=none +hi DiffChange ctermbg=237 guibg=#382a37 + +"hi CursorIM +"hi Directory +"hi IncSearch +"hi Menu +"hi ModeMsg +"hi MoreMsg +"hi PmenuSbar +"hi PmenuThumb +"hi Question +"hi Scrollbar +"hi SignColumn +"hi SpellBad +"hi SpellCap +"hi SpellLocal +"hi SpellRare +"hi TabLine +"hi TabLineFill +"hi TabLineSel +"hi Tooltip +"hi User1 +"hi User9 +"hi WildMenu + + +" Syntax highlighting +hi Keyword ctermfg=111 cterm=none guifg=#88b8f6 gui=none +hi Statement ctermfg=111 cterm=none guifg=#88b8f6 gui=none +hi Constant ctermfg=173 cterm=none guifg=#e5786d gui=none +hi Number ctermfg=173 cterm=none guifg=#e5786d gui=none +hi PreProc ctermfg=173 cterm=none guifg=#e5786d gui=none +hi Function ctermfg=192 cterm=none guifg=#cae982 gui=none +hi Identifier ctermfg=192 cterm=none guifg=#cae982 gui=none +hi Type ctermfg=186 cterm=none guifg=#d4d987 gui=none +hi Special ctermfg=229 cterm=none guifg=#eadead gui=none +hi String ctermfg=113 cterm=none guifg=#95e454 gui=italic +hi Comment ctermfg=246 cterm=none guifg=#9c998e gui=italic +hi Todo ctermfg=101 cterm=none guifg=#857b6f gui=italic + + +" Links +hi! link FoldColumn Folded +hi! link CursorColumn CursorLine +hi! link NonText LineNr + +" vim:set ts=4 sw=4 noet: diff --git a/.vim/colors/wood.vim b/.vim/colors/wood.vim new file mode 100644 index 0000000..2f6059e --- /dev/null +++ b/.vim/colors/wood.vim @@ -0,0 +1,39 @@ +" Vim color file +" Maintainer: freddydaoud@netscape.net +" Last Change: 09 Apr 2005 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="wood" + +hi Normal guibg=#81816A guifg=linen +hi Cursor guibg=#CFCFC6 guifg=black gui=bold +hi VertSplit guifg=#81816A guibg=#CCCCAA gui=none +hi Folded guibg=black guifg=white +hi FoldColumn guibg=lightgray guifg=#292926 +hi ModeMsg guifg=black guibg=#CFCFC6 +hi MoreMsg guifg=black guibg=#CFCFC6 +hi NonText guifg=white guibg=#61614A gui=none +hi Question guifg=snow +hi Search guibg=#CFCFC6 guifg=black gui=bold +hi SpecialKey guifg=yellow +hi StatusLine guibg=#DFDFD6 guifg=black gui=none +hi StatusLineNC guibg=#BFBFB6 guifg=black gui=none +hi Title guifg=bisque3 +hi Subtitle guifg=black +hi Visual guifg=#292926 guibg=#CFCFC6 gui=none +hi WarningMsg guifg=salmon4 guibg=gray60 gui=bold +hi Comment guifg=#D1D1BA +hi Constant guifg=#FFFFCC gui=bold +hi Identifier guifg=#FFFFCC +hi Statement guifg=#000000 +hi PreProc guifg=black gui=bold +hi Type guifg=#FFE0C0 +hi Special guifg=navajowhite +hi Ignore guifg=grey29 +hi Todo guibg=black guifg=white +hi WildMenu guibg=brown +hi LineNr guifg=#CCCCAA guibg=#61614A diff --git a/.vim/colors/wuye.vim b/.vim/colors/wuye.vim new file mode 100644 index 0000000..88a6126 --- /dev/null +++ b/.vim/colors/wuye.vim @@ -0,0 +1,82 @@ +" Vim color file +" Name: WuYe +" Maintainer: Yeii +" Last Change: 2009-08-12 +" Version: 1.2.1 +" URL: http://www.vim.org/scripts/script.php?script_id=2088 + +" Init +highlight clear +set background=dark +if exists("syntax_on") + syntax reset +endif +let g:colors_name = "wuye" + +""""""""\ Highlighting groups for various occasions \"""""""" +hi SpecialKey guifg=SlateBlue ctermfg=Blue +hi NonText guifg=MidnightBlue ctermfg=DarkBlue +hi Directory gui=BOLD guifg=LightSeaGreen ctermfg=DarkCyan +hi ErrorMsg guifg=Yellow guibg=Firebrick ctermfg=Yellow ctermbg=DarkRed +hi IncSearch gui=BOLD guifg=Red cterm=BOLD ctermfg=Red +hi Search gui=BOLD guifg=MintCream guibg=Red cterm=BOLD ctermfg=White ctermbg=Red +hi MoreMsg gui=BOLD guifg=MediumSpringGreen cterm=BOLD ctermfg=DarkCyan +hi ModeMsg guifg=LawnGreen guibg=DeepSkyBlue4 ctermfg=Yellow ctermbg=DarkCyan +hi LineNr gui=UNDERLINE guifg=LightSkyBlue3 guibg=Gray10 cterm=UNDERLINE ctermfg=DarkGray +hi Question gui=BOLD guifg=green cterm=BOLD ctermfg=green +hi StatusLine gui=BOLD guifg=White guibg=RoyalBlue4 cterm=BOLD ctermfg=White ctermbg=DarkBlue +hi StatusLineNC gui=BOLD guifg=Bisque guibg=DimGray cterm=BOLD ctermfg=Black ctermbg=Gray +hi VertSplit gui=BOLD guifg=Bisque guibg=DimGray cterm=BOLD ctermfg=Black ctermbg=Gray +hi Title gui=BOLD guifg=DodgerBlue cterm=BOLD ctermfg=LightBlue +hi Visual gui=REVERSE guibg=Yellow guifg=SlateBlue4 cterm=REVERSE ctermbg=Yellow ctermfg=DarkBlue +hi WarningMsg guifg=Gold ctermfg=Yellow +hi WildMenu gui=BOLD guifg=Black guibg=Chartreuse cterm=BOLD ctermfg=Black ctermbg=Darkgreen +hi Folded guifg=LightCyan guibg=DodgerBlue4 ctermfg=White ctermbg=DarkBlue +hi FoldColumn gui=BOLD guifg=DodgerBlue guibg=Gray16 cterm=BOLD ctermfg=Blue ctermbg=DarkGray +hi DiffAdd guifg=White guibg=Turquoise4 ctermfg=White ctermbg=Darkcyan +hi DiffChange guifg=White guibg=ForestGreen ctermbg=Darkgreen +hi DiffDelete guifg=HotPink4 guibg=SlateGray4 ctermfg=DarkMagenta ctermbg=DarkGray +hi DiffText gui=BOLD guifg=Tomato guibg=DarkBlue cterm=BOLD ctermfg=Magenta ctermbg=DarkBlue +hi Cursor guifg=Black guibg=Green ctermfg=Black ctermbg=Green +hi CursorIM guifg=Black guibg=Red ctermfg=Black ctermbg=Red +hi CursorLine gui=BOLD guibg=Black +hi CursorColumn gui=BOLD guibg=Black + +""""""\ Syntax highlighting groups \"""""" +hi Normal gui=NONE guifg=GhostWhite guibg=Gray8 cterm=NONE ctermfg=LightGray ctermbg=NONE +hi MatchParen gui=BOLD guifg=Gold cterm=BOLD ctermfg=Yellow +hi Comment guifg=LightSlateGray ctermfg=DarkGray +hi Constant guifg=CornflowerBlue ctermfg=DarkCyan + hi String guifg=SteelBlue1 ctermfg=DarkCyan + hi Character guifg=SteelBlue ctermfg=DarkCyan + hi Number guifg=Turquoise ctermfg=DarkCyan + hi Boolean gui=BOLD guifg=DarkTurquoise cterm=BOLD ctermfg=DarkCyan + hi Float guifg=Turquoise ctermfg=DarkCyan +hi Identifier guifg=DeepSkyBlue ctermfg=lightcyan + hi Function gui=BOLD guifg=DeepSkyBlue cterm=BOLD ctermfg=lightcyan +hi Statement guifg=SpringGreen ctermfg=LightGreen + hi Conditional guifg=SeaGreen1 ctermfg=LightGreen + hi Repeat guifg=SpringGreen ctermfg=LightGreen + hi Label guifg=MediumSpringGreen ctermfg=LightGreen + hi Operator guifg=Green2 ctermfg=LightGreen + hi Keyword gui=BOLD guifg=SpringGreen cterm=BOLD ctermfg=LightGreen + hi Exception gui=BOLD guifg=SpringGreen2 cterm=BOLD ctermfg=LightGreen +hi PreProc guifg=Purple ctermfg=DarkMagenta + hi Include guifg=Purple2 ctermfg=DarkMagenta + hi Define guifg=BlueViolet ctermfg=DarkMagenta + hi Macro guifg=DarkViolet ctermfg=DarkMagenta + hi PreCondit guifg=DarkOrchid ctermfg=DarkMagenta +hi Type gui=BOLD guifg=RoyalBlue cterm=BOLD ctermfg=LightBlue + hi StorageClass gui=BOLD guifg=RoyalBlue2 cterm=BOLD ctermfg=LightBlue + hi Structure gui=BOLD guifg=DodgerBlue3 cterm=BOLD ctermfg=LightBlue + hi Typedef gui=BOLD guifg=RoyalBlue1 cterm=BOLD ctermfg=LightBlue +hi Special guifg=BurlyWood ctermfg=DarkYellow + hi Tag guifg=Moccasin ctermfg=DarkYellow + hi Specialchar guifg=Tan ctermfg=DarkYellow + hi Delimiter guifg=Wheat3 ctermfg=DarkYellow + hi Debug guifg=peru ctermfg=DarkYellow +hi Underlined gui=UNDERLINE cterm=UNDERLINE +hi Ignore guifg=Gray75 ctermfg=DarkGray +hi Error guifg=Khaki guibg=VioletRed ctermfg=Yellow ctermbg=LightMagenta +hi Todo guifg=Yellow guibg=NavyBlue ctermfg=Yellow ctermbg=DarkBlue + diff --git a/.vim/colors/xemacs.vim b/.vim/colors/xemacs.vim new file mode 100644 index 0000000..c47607c --- /dev/null +++ b/.vim/colors/xemacs.vim @@ -0,0 +1,46 @@ + +" Vim color file +" Maintainer: tranquility@portugalmail.pt +" Last Change: 5 June 2002 + + +" cool help screens +" :he group-name +" :he highlight-groups +" :he cterm-colors + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="xemacs" + +hi Normal guibg=#cdcecd guifg=black +hi Cursor guibg=red guifg=grey gui=bold +hi VertSplit guibg=grey60 guifg=black gui=none +hi Folded guibg=royalblue3 guifg=white +hi FoldColumn guibg=royalblue4 guifg=white +hi ModeMsg guifg=#cdcecd guibg=black +hi MoreMsg guifg=#cdcecd guibg=black +hi NonText guifg=black guibg=#cdcecd gui=none +hi Question guifg=black +hi Search guibg=#aceeee +hi SpecialKey guifg=navyblue +hi Special guifg=navyblue +hi StatusLine guibg=#b7b7b7 guifg=black gui=none +hi StatusLineNC guibg=#a6b7b7 guifg=black gui=none +hi Title guifg=bisque3 +hi Subtitle guifg=black +hi Visual guibg=#a4a5a3 guifg=black gui=none +hi WarningMsg guibg=#cdcecd guifg=black gui=bold +hi Comment guifg=#00008b +hi Constant guifg=#008900 +hi Identifier guibg=#cdcecd guifg=black +hi Statement guifg=royalblue4 +hi PreProc guifg=#0000cd +hi Type guifg=#4a81b4 gui=NONE +hi Ignore guifg=grey29 +hi Todo guibg=gold guifg=black +hi WildMenu guibg=#b7b7b7 guibg=grey91 +hi Directory guibg=#cdcecd guifg=navyblue diff --git a/.vim/colors/xian.vim b/.vim/colors/xian.vim new file mode 100644 index 0000000..3cc02d8 --- /dev/null +++ b/.vim/colors/xian.vim @@ -0,0 +1,50 @@ +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "xian" + +hi Comment guifg=#C0C0C0 guibg=#946464 gui=underline +hi Constant guifg=#00FF80 guibg=#946464 gui=none +hi Cursor guifg=#00FFFF guibg=#000000 gui=reverse +hi DiffAdd guifg=#00FFFF guibg=#754F4F gui=bold,underline +hi DiffChange guibg=#754F4F +hi DiffDelete guifg=#C0C0C0 guibg=#754F4F gui=bold +hi DiffText guifg=#000000 guibg=#FF0000 gui=bold,underline +hi Directory guifg=#FFFF00 guibg=#946464 gui=underline +hi Error guifg=#000000 guibg=#FF0000 gui=bold,underline +hi ErrorMsg guifg=#000000 guibg=#FF0000 gui=bold,underline +hi FoldColumn guifg=#ffff74 guibg=#754F4F gui=bold +hi Folded guifg=#ffff74 guibg=#754F4F gui=underline +hi Identifier guifg=#EEAA73 guibg=#946464 gui=none +hi Ignore guifg=#946464 guibg=#946464 gui=none +hi IncSearch guifg=#FFFFFF guibg=#946464 gui=reverse +hi lCursor guifg=#FFFFFF guibg=#946464 gui=none +hi LineNr guifg=#C0C0C0 guibg=#754F4F gui=bold +hi Match guifg=#0000FF guibg=#FFFF00 gui=bold,reverse +hi ModeMsg guifg=#FFFFFF guibg=#946464 gui=bold +hi MoreMsg guifg=#d174a8 guibg=#946464 gui=bold +hi NonText guifg=#C0C0C0 guibg=#946464 gui=none +hi Normal guifg=#FFFFFF guibg=#946464 gui=none +hi PreProc guifg=#FFFF00 guibg=#946464 gui=none +hi Question guifg=#d174a8 guibg=#946464 gui=bold +hi Search guifg=#FFFF00 guibg=#FF8500 gui=underline +hi Special guifg=#bfbfef guibg=#946464 gui=none +hi SpecialKey guifg=#FFFF00 guibg=#946464 gui=none +hi Statement guifg=#5ad5d5 guibg=#946464 gui=bold +hi StatusLine guifg=#000000 guibg=#FFFFFF gui=bold +hi StatusLineNC guifg=#C0C0C0 guibg=#754F4F gui=bold +hi Title guifg=#74FF74 guibg=#946464 gui=bold +hi Todo guifg=#FFFF00 guibg=#0000FF gui=none +hi Type guifg=#FF74A8 guibg=#946464 gui=bold +hi User1 guifg=#999933 guibg=#45637F gui=bold +hi User2 guifg=#E7E77F guibg=#45637F gui=bold +hi User3 guifg=#000000 guibg=#45637F gui=bold +hi User4 guifg=#33CC99 guibg=#45637F gui=bold +hi VertSplit guifg=#FFFF00 guibg=#000000 gui=bold +hi Visual guifg=#FFFF00 guibg=#6B959B gui=none +hi VisualNOS guifg=#FFFFFF guibg=#946464 gui=underline +hi WarningMsg guifg=#000000 guibg=#FF0000 gui=bold,underline +hi WildMenu guifg=#FFFFFF guibg=#0000FF gui=none diff --git a/.vim/colors/xmaslights.vim b/.vim/colors/xmaslights.vim new file mode 100644 index 0000000..dc5e014 --- /dev/null +++ b/.vim/colors/xmaslights.vim @@ -0,0 +1,34 @@ +python << EOL +# xmaslights.vim +# Version: 0.1 +# Author: Ryan (gt3 Kulla +# Python script for Vim to make your text appear as animated Christmas lights +# +# You will not be able to use vim until you press ctrl+c to stop the script because this script makes +# vim act like a screensaver. This script only changes the color of 'guifg' and was made and tested using +# gvim 6.2 for win32. Modify it if needed. +# +# Usage: +# (Note: you must have vim compiled with +python for this to work) +# 1) Put xmaslights.vim in your Vim plugins directory. +# 2) open a file that uses syntax highlighting like a .html file +# 3) type ":py xmas()" +import vim +import time +import random + +colors = ("red", "green") # feel free to add more colors + +attribs = ("comment", "underlined", "cursor", "constant", "identifier", "statement", "preproc", "type", "special", "error", "todo", "directory", "statusline", "normal", "search", "nontext", "errormsg", "warningmsg", "modemsg", "moremsg", "incsearch", "linenr", "title", "statuslinenc", "label", "operator", "clear visual", "visual", "diffchange", "difftext", "diffadd", "diffdelete", "folded", "foldedcolumn", "clf0") # take items out you know you don't want colorized + +def xmas(): + if not vim.eval("&syntax"): + print "Open a file that uses syntax highlighting and try again." + return + while 1: + for attrib in attribs: + vim.command("hi %s guifg=%s" % (attrib, random.choice(colors))) + time.sleep(1) # if this is too slow, use a fraction of a second like sleep(.3) + vim.command("redraw") + +EOL diff --git a/.vim/colors/xoria256.vim b/.vim/colors/xoria256.vim new file mode 100644 index 0000000..5b988b3 --- /dev/null +++ b/.vim/colors/xoria256.vim @@ -0,0 +1,94 @@ +" Vim color file +" +" Name: xoria256.vim +" Version: 1.1 +" Maintainer: Dmitriy Y. Zotikov (xio) +" +" Should work in recent 256 color terminals. 88-color terms like urxvt are +" unsupported. +" +" Don't forget to install 'ncurses-term' and set TERM to xterm-256color or +" similar value. +" +" Color numbers (0-255) see: +" http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html + + + +" Bla-bla ---------------------------------------------------------------------- + +if &t_Co != 256 && ! has("gui_running") + echomsg "" + echomsg "err: please use GUI or a 256-color terminal (so that t_Co=256 could be set)" + echomsg "" + finish +endif + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "xoria256" + + + +" The real part ---------------------------------------------------------------- + +"" General colors +hi Normal ctermfg=252 guifg=#d0d0d0 ctermbg=234 guibg=#181818 cterm=none gui=none +hi CursorColumn ctermbg=238 guibg=#444444 +hi Cursor ctermbg=214 guibg=#ffaf00 +hi CursorLine ctermbg=238 guibg=#444444 +hi FoldColumn ctermfg=248 guifg=#a8a8a8 ctermbg=bg guibg=bg +hi Folded ctermfg=255 guifg=#eeeeee ctermbg=60 guibg=#5f5f87 +hi IncSearch ctermfg=0 guifg=#000000 ctermbg=223 guibg=#ffdfaf cterm=none gui=none +hi NonText ctermfg=248 guifg=#a8a8a8 guibg=#101010 cterm=bold gui=bold +hi Pmenu ctermfg=0 guifg=#000000 ctermbg=246 guibg=#949494 +hi PmenuSbar ctermbg=243 guibg=#767676 +hi PmenuSel ctermfg=0 guifg=#000000 ctermbg=243 guibg=#767676 +hi PmenuThumb ctermbg=252 guibg=#d0d0d0 +hi Search ctermfg=0 guifg=#000000 ctermbg=149 guibg=#afdf5f +hi SignColumn ctermfg=248 guifg=#a8a8a8 +hi SpecialKey ctermfg=77 guifg=#5fdf5f +hi StatusLine ctermbg=239 guibg=#4e4e4e cterm=bold gui=bold +hi StatusLineNC ctermbg=237 guibg=#3a3a3a cterm=none gui=none +hi TabLine ctermfg=fg guifg=fg ctermbg=242 guibg=#666666 cterm=underline gui=underline +hi TabLineFill ctermfg=fg guifg=fg ctermbg=242 guibg=#666666 cterm=underline gui=underline +hi VertSplit ctermfg=237 guifg=#3a3a3a ctermbg=237 guibg=#3a3a3a cterm=none gui=none +hi Visual ctermfg=24 guifg=#005f87 ctermbg=153 guibg=#afdfff +hi VIsualNOS ctermfg=24 guifg=#005f87 ctermbg=153 guibg=#afdfff cterm=none gui=none +hi WildMenu ctermfg=0 guifg=#000000 ctermbg=184 guibg=#afdf87 cterm=bold gui=bold + +"" Syntax highlighting +hi Comment ctermfg=244 guifg=#808080 +hi Constant ctermfg=229 guifg=#ffffaf +hi Error ctermfg=15 guifg=#ffffff ctermbg=1 guibg=#800000 +hi ErrorMsg ctermfg=15 guifg=#ffffff ctermbg=1 guibg=#800000 +hi Identifier ctermfg=182 guifg=#dfafdf cterm=none +hi Ignore ctermfg=238 guifg=#444444 +hi LineNr ctermfg=248 guifg=#a8a8a8 guibg=#101010 +hi MatchParen ctermfg=188 guifg=#dfdfdf ctermbg=68 guibg=#5f87df cterm=bold gui=bold +hi Number ctermfg=180 guifg=#dfaf87 +hi PreProc ctermfg=150 guifg=#afdf87 +hi Special ctermfg=174 guifg=#df8787 +hi Statement ctermfg=110 guifg=#87afdf cterm=none gui=none +hi Todo ctermfg=0 guifg=#000000 ctermbg=184 guibg=#dfdf00 +hi Type ctermfg=146 guifg=#afafdf cterm=none gui=none +hi Underlined ctermfg=39 guifg=#00afff cterm=underline gui=underline + +"" Special +""" .diff +hi diffAdded ctermfg=150 guifg=#afdf87 +hi diffRemoved ctermfg=174 guifg=#df8787 +""" vimdiff +hi diffAdd ctermfg=bg guifg=bg ctermbg=151 guibg=#afdfaf +"hi diffDelete ctermfg=bg guifg=bg ctermbg=186 guibg=#dfdf87 cterm=none gui=none +hi diffDelete ctermfg=bg guifg=bg ctermbg=246 guibg=#949494 cterm=none gui=none +hi diffChange ctermfg=bg guifg=bg ctermbg=181 guibg=#dfafaf +hi diffText ctermfg=bg guifg=bg ctermbg=174 guibg=#df8787 cterm=none gui=none + +" vim: set expandtab tabstop=2 shiftwidth=2 smarttab softtabstop=2: diff --git a/.vim/colors/yaml.vim b/.vim/colors/yaml.vim new file mode 100644 index 0000000..b922047 --- /dev/null +++ b/.vim/colors/yaml.vim @@ -0,0 +1,62 @@ +" To make this file do stuff, add something like the following (without the +" leading ") to your ~/.vimrc: +" au BufNewFile,BufRead *.yaml,*.yml so ~/src/PyYaml/YAML.vim + +" Vim syntax/macro file +" Language: YAML +" Author: Igor Vergeichik +" Sponsor: Tom Sawyer +" Stayven: Ryan King +" Copyright (c) 2002 Tom Saywer + +" Add an item to a gangly list: +"map , o-o +" Convert to Canonical form: +"map \c :%!python -c 'from yaml.redump import redump; import sys; print redump(sys.stdin.read()).rstrip()' + +if version < 600 + syntax clear +elseif exists("b:current_syntax") + finish +endif +syntax clear + +syn match yamlDelimiter "[:,-]" +syn match yamlBlock "[\[\]\{\}\|\>]" +syn match yamlOperator "[?^+-]\|=>" + +syn region yamlComment start="\#" end="$" +syn match yamlIndicator "#YAML:\S\+" + +syn region yamlString start="'" end="'" skip="\\'" +syn region yamlString start='"' end='"' skip='\\"' contains=yamlEscape +syn match yamlEscape +\\[abfnrtv'"\\]+ contained +syn match yamlEscape "\\\o\o\=\o\=" contained +syn match yamlEscape "\\x\x\+" contained + +syn match yamlType "!\S\+" + +syn keyword yamlConstant NULL Null null NONE None none NIL Nil nil +syn keyword yamlConstant TRUE True true YES Yes yes ON On on +syn keyword yamlConstant FALSE False false NO No no OFF Off off + +syn match yamlKey "\w\+\ze\s*:" +syn match yamlAnchor "&\S\+" +syn match yamlAlias "*\S\+" + +" Setupt the hilighting links + +hi link yamlConstant Keyword +hi link yamlIndicator PreCondit +hi link yamlAnchor Function +hi link yamlAlias Function +hi link yamlKey Identifier +hi link yamlType Type + +hi link yamlComment Comment +hi link yamlBlock Operator +hi link yamlOperator Operator +hi link yamlDelimiter Delimiter +hi link yamlString String +hi link yamlEscape Special + diff --git a/.vim/colors/yeller.vim b/.vim/colors/yeller.vim new file mode 100644 index 0000000..36ea644 --- /dev/null +++ b/.vim/colors/yeller.vim @@ -0,0 +1,165 @@ +" Vim color file +" yeller v1.0b +" http://www.vim.org/scripts/script.php?script_id=1454 +" +" Maintainer: Shawn Axsom +" +" * Place :colo yeller in your VimRC/GVimRC file +" * GvimRC if using GUI any +" +" - Thanks to Desert and OceanDeep for their color scheme +" file layouts +" - Thanks to Raimon Grau for his feedback + +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="yeller" + +hi Normal guifg=#cbdcef guibg=#203327 "1a1823 +hi NonText guifg=#382920 guibg=#151b15 + +hi Folded guibg=#201f32 guifg=#BBDDCC +hi FoldColumn guibg=#22302f guifg=#dbcaa5 +hi LineNr guibg=#23302d guifg=#50c5b5 +hi StatusLine guibg=#2c3a3a guifg=#6a955d gui=none +hi StatusLineNC guibg=#253835 guifg=#151318 gui=none +hi VertSplit guibg=#22353a guifg=grey50 gui=none + +" syntax highlighting """""""""""""""""""""""""""""""""""""""" + +hi Comment guifg=#3a504a +hi Title guifg=#fb4c2f gui=none +hi Underlined guifg=#fb4c5a gui=none + +hi Statement guifg=#ffef60 gui=none +hi Type guifg=#aab56a gui=none +hi Constant guifg=#f09a5a +hi Number guifg=#f0aa8a +hi PreProc guifg=#d045a3 +hi Identifier guifg=#b08aaa +hi Special guifg=#a0aa95 +hi Operator guifg=#4a4a50 +"hi Keyword guifg=green +"hi Error guibg=#408452 +hi Function guifg=#c05a3a guibg=bg "or green 50b3b0 +hi Conditional guifg=#f5a05a guibg=bg +hi Repeat guifg=#f5705a guibg=bg +hi Exception guifg=#ffff30 +"hi Ignore guifg=grey40 +"hi Todo guifg=orangered guibg=yellow2 +"""""this section borrowed from OceanDeep/Midnight""""" +"hi Label gui=None guifg=LightGreen guibg=bg +"highlight Operator gui=None guifg=#daca65 guibg=bg +"highlight Keyword gui=bold guifg=grey guibg=bg +"highlight Exception gui=none guifg=#ea5460 guibg=bg +""""""""""""""""""""""""""""""""""""""""""""""""""""""" +"end syntax highlighting """"""""""""""""""""""""""""""""""""" + +" highlight groups +"hi CursorIM +hi Directory guifg=#bbd0df +"hi DiffAdd +"hi DiffChange +"hi DiffDelete +"hi DiffText +hi ErrorMsg guibg=#ff4545 + +hi Cursor guibg=#cad5c0 guifg=#05293d + + +hi Search guibg=#9a9d8d guifg=#3a4520 +hi IncSearch guifg=#caceba guibg=#3a4520 + +hi ModeMsg guifg=#00AACC +hi MoreMsg guifg=SeaGreen +hi Question guifg=#AABBCC +hi SpecialKey guifg=#90dcb0 +hi Visual guifg=#4a2F3F guibg=#935FdF +"hi VisualNOS +hi WarningMsg guifg=salmon +"hi WildMenu +"hi Menu +"hi Scrollbar guibg=grey30 guifg=tan +"hi Tooltip + + +" new Vim 7.0 items +hi Pmenu guibg=#3a6595 guifg=#9aadd5 +hi PmenuSel guibg=#4a85ba guifg=#b0d0f0 + + + + + +" color terminal definitions +hi Normal ctermfg=grey +hi Number ctermfg=blue +highlight Operator ctermfg=yellow +highlight Conditional ctermfg=darkred +highlight Repeat ctermfg=darkred +hi Exception ctermfg=red +hi function ctermfg=darkyellow +hi SpecialKey ctermfg=darkgreen +hi NonText cterm=bold ctermfg=darkgrey +hi Directory ctermfg=darkcyan +hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1 +hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE +hi Search ctermfg=black ctermbg=darkyellow cterm=NONE +hi MoreMsg ctermfg=darkgreen +hi ModeMsg cterm=NONE ctermfg=brown +hi LineNr ctermfg=darkcyan ctermbg=NONE +hi Question ctermfg=green +hi StatusLine ctermfg=blue ctermbg=grey cterm=NONE +hi StatusLineNC ctermfg=black ctermbg=grey cterm=NONE +hi VertSplit ctermfg=black ctermbg=grey cterm=NONE +hi Title ctermfg=Yellow cterm=NONE +hi Visual ctermbg=darkcyan ctermfg=black cterm=NONE +hi VisualNOS ctermbg=darkcyan ctermfg=black cterm=NONE +hi WarningMsg ctermfg=1 +hi WildMenu ctermfg=0 ctermbg=3 +hi Folded ctermfg=darkgreen ctermbg=NONE cterm=NONE +hi FoldColumn ctermfg=green ctermbg=black +hi DiffAdd ctermbg=4 +hi DiffChange ctermbg=5 +hi DiffDelete cterm=bold ctermfg=4 ctermbg=6 +hi DiffText cterm=bold ctermbg=1 +hi identifier ctermfg=darkmagenta + +"set comments to grey on non-Windows OS's to make sure +"it is readable +if &term == "builtin_gui" || &term == "win32" + hi Comment ctermfg=darkgrey ctermbg=darkblue + hi IncSearch ctermfg=black ctermbg=grey cterm=NONE + hi Search ctermfg=black ctermbg=darkgrey cterm=NONE +else + hi Comment ctermfg=grey ctermbg=darkblue + hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE + hi Search ctermfg=black ctermbg=darkyellow cterm=NONE +endif +"""""""""""""""""""""""""""""""""""""""""""""""""""""" + +hi Constant ctermfg=blue +hi Special ctermfg=darkmagenta +hi Statement ctermfg=red +hi PreProc ctermfg=magenta +hi Type ctermfg=darkblue " ctermbg=darkblue +hi Underlined ctermfg=yellow cterm=NONE +hi Ignore cterm=bold ctermfg=7 +hi Ignore ctermfg=darkgrey +hi Error cterm=bold ctermfg=7 ctermbg=1 + +" new Vim 7.0 items +hi Pmenu ctermbg=darkblue ctermfg=lightgrey +hi PmenuSel ctermbg=lightblue ctermfg=white + +"vim: sw=4 + + diff --git a/.vim/colors/zazen.vim b/.vim/colors/zazen.vim new file mode 100644 index 0000000..84f8b4e --- /dev/null +++ b/.vim/colors/zazen.vim @@ -0,0 +1,135 @@ +" ============================================================================= +" File: zazen.vim +" Description: Vim color scheme file +" Maintainer: Zoltan Dezso +" ============================================================================= +set background=dark +highlight clear +if exists("syntax_on") + syntax reset +endif +let colors_name = "zazen" + +hi Normal guifg=#cccccc guibg=#1a1a1a gui=NONE +hi CursorLine guifg=NONE guibg=#555555 gui=NONE +hi CursorColumn guifg=NONE guibg=#000000 gui=NONE +hi LineNr guifg=#555555 guibg=NONE gui=NONE +hi Statement guifg=#a6a6a6 guibg=NONE gui=bold +hi Function guifg=#eeeeee guibg=NONE gui=bold +hi String guifg=#838383 guibg=NONE gui=NONE +hi Type guifg=#eeeeee guibg=NONE gui=bold +hi Conditional guifg=#787878 guibg=NONE gui=bold +hi Todo guifg=#ff0000 guibg=NONE gui=underline +hi Comment guifg=#777777 guibg=NONE gui=NONE +hi PmenuSel guifg=#000000 guibg=#a9a9aa gui=bold +hi Special guifg=#868585 guibg=NONE gui=NONE +hi Identifier guifg=#ffffff guibg=NONE gui=bold +hi Keyword guifg=#666666 guibg=NONE gui=bold +hi PreProc guifg=#6b6b6b guibg=NONE gui=bold +hi Include guifg=#cc7833 guibg=NONE gui=NONE +hi Constant guifg=#838383 guibg=#222222 gui=bold +hi Delimiter guifg=#838383 guibg=NONE gui=NONE + +hi Visual guifg=#ffffff guibg=#515151 gui=NONE +hi ColorColumn guifg=NONE guibg=#e6e6e6 +hi Cursor guifg=bg guibg=fg gui=NONE +hi CursorIM guifg=bg guibg=fg gui=NONE +hi lCursor guifg=bg guibg=fg gui=NONE + +hi DiffAdd guifg=fg guibg=#444444 gui=NONE +hi DiffChange guifg=bg guibg=#909090 gui=NONE +hi DiffDelete guifg=NONE guibg=#292929 gui=NONE +hi DiffText guifg=NONE guibg=#383838 gui=NONE + +hi Directory guifg=#929292 guibg=bg gui=NONE +hi ErrorMsg guifg=#6f6f6f guibg=NONE gui=NONE +hi FoldColumn guifg=#555555 guibg=#414141 gui=bold +hi Folded guifg=#828282 guibg=#212121 gui=italic + +hi IncSearch guifg=#000000 guibg=#adadad gui=NONE +hi Search guifg=#000000 guibg=#c5c3c3 gui=NONE +hi MatchParen guifg=#000000 guibg=#a8a8a8 gui=bold +hi ModeMsg guifg=#ffffff guibg=#767676 gui=bold +hi MoreMsg guifg=#7c7c7c guibg=bg gui=bold +hi NonText guifg=#7e7e7e guibg=bg gui=bold + +hi Pmenu guifg=#656565 guibg=#3f3f3f gui=NONE +hi PmenuSbar guifg=fg guibg=#5d5d5d gui=NONE +hi PmenuThumb guifg=fg guibg=#777777 gui=NONE + +hi Question guifg=#454545 guibg=bg gui=bold +hi SignColumn guifg=#ffffff guibg=#696969 gui=NONE + +hi SpecialKey guifg=#ffffff guibg=#696969 gui=NONE + +hi SpellBad guisp=#ffffff guibg=#000000 gui=undercurl guisp=#ffc0c0 +hi SpellCap guisp=#5d5d5d gui=undercurl +hi SpellLocal guisp=#434343 gui=undercurl +hi SpellRare guisp=#7d7d7d gui=undercurl +hi StatusLine guifg=#000000 guibg=#727272 gui=bold +hi StatusLineNC guifg=#5a5959 guibg=#222222 gui=italic +hi TabLine guifg=fg guibg=#757575 gui=underline +hi TabLineFill guifg=fg guibg=bg gui=reverse +hi TabLineSel guifg=fg guibg=bg gui=bold +hi Title guifg=#6d6d6d guibg=bg gui=bold +hi VertSplit guifg=#222222 guibg=#222222 +hi WarningMsg guifg=#cfcfcf guibg=#5b5b5b gui=NONE +hi WildMenu guifg=#000000 guibg=#828282 gui=NONE +hi Boolean guifg=#616060 guibg=NONE gui=bold +hi Ignore guifg=bg guibg=NONE gui=NONE +hi Error guifg=#ff7272 guibg=NONE gui=undercurl guisp=#ff0000 +" ----------------------------------------------------------------------------- +hi VimError guifg=#b6b6b6 guibg=#313131 gui=bold +hi VimCommentTitle guifg=#5c5c5c guibg=bg gui=bold,italic +hi qfFileName guifg=#6a6a6a guibg=NONE gui=italic +hi qfLineNr guifg=fg guibg=NONE gui=NONE +hi qfError guifg=fg guibg=#000000 gui=undercurl + +" ----------------------------------------------------------------------------- +hi pythonDecorator guifg=#3b3b3b guibg=NONE gui=bold +hi link pythonDecoratorFunction pythonDecorator +" ----------------------------------------------------------------------------- +hi htmlLink guifg=#666666 guibg=NONE gui=underline,italic + +hi htmlTagName guifg=NONE guibg=NONE gui=NONE +hi link htmlScriptTag htmlTagName +hi link htmlTagN htmlTagName +hi link htmlEndTag htmlTagName +hi link htmlSpecialTagName htmlTagName + +hi link cssRenderAttr Constant +hi link cssTextAttr Constant +hi link cssUIAttr Constant +hi link cssTableAttr Constant +hi link cssColorAttr Constant +hi link cssBoxAttr Constant +hi link cssCommonAttr Constant +hi link cssFunctionName Constant +hi link cssRenderProp Type +hi link cssBoxProp cssRenderProp + +hi link cssTagName Statement +hi link cssClassName cssTagName +hi link cssIdentifier cssTagName +hi link cssPseudoClass cssTagName +hi link cssPseudoClassId cssTagName + +hi cssBraces guifg=fg guibg=bg gui=NONE +hi javaScript guifg=fg guibg=NONE +hi link javaScriptFunction Statement +hi link javaScriptMember Statement +hi link javaScriptValue Constant + +hi link objcClass Type +hi link cocoaClass objcClass +hi link objcSubclass objcClass +hi link objcSuperclass objcClass +hi link cocoaFunction Function +hi link objcMethodName Identifier +hi link objcMethodArg Normal +hi link objcMessageName Identifier + +hi link javaType Statement +hi link cppStatement Statement + + diff --git a/.vim/colors/zen.vim b/.vim/colors/zen.vim new file mode 100644 index 0000000..beca424 --- /dev/null +++ b/.vim/colors/zen.vim @@ -0,0 +1,23 @@ +" Vim color file +" Maintainer: Rudá Moura +" Last Change: Mon Oct 18 23:09:26 BRST 2010 + +set background=light +highlight clear +if exists("syntax on") + syntax reset +endif + +let g:colors_name = "zen" + +highlight Normal term=none ctermfg=black cterm=none guifg=black gui=none +highlight Comment term=none ctermfg=cyan cterm=none guifg=cyan gui=none +highlight Constant term=none ctermfg=red cterm=none guifg=red gui=none +highlight Special term=none ctermfg=red cterm=bold guifg=red gui=bold +highlight Identifier term=none ctermfg=black cterm=none guifg=black gui=none +highlight Statement term=bold ctermfg=black cterm=bold guifg=black gui=bold +highlight Operator term=bold ctermfg=black cterm=bold guifg=black gui=bold +highlight PreProc term=bold ctermfg=green cterm=none guifg=green gui=none +highlight Type term=bold ctermfg=magenta cterm=none guifg=magenta gui=none +highlight String term=none ctermfg=red cterm=none guifg=red gui=none +highlight Number term=none ctermfg=red cterm=none guifg=red gui=none diff --git a/.vim/colors/zenburn.vim b/.vim/colors/zenburn.vim new file mode 100644 index 0000000..edbd6d7 --- /dev/null +++ b/.vim/colors/zenburn.vim @@ -0,0 +1,351 @@ +" Vim color file +" Maintainer: Jani Nurminen +" Last Change: $Id: zenburn.vim,v 2.13 2009/10/24 10:16:01 slinky Exp $ +" URL: http://slinky.imukuppi.org/zenburnpage/ +" License: GPL +" +" Nothing too fancy, just some alien fruit salad to keep you in the zone. +" This syntax file was designed to be used with dark environments and +" low light situations. Of course, if it works during a daybright office, go +" ahead :) +" +" Owes heavily to other Vim color files! With special mentions +" to "BlackDust", "Camo" and "Desert". +" +" To install, copy to ~/.vim/colors directory. +" +" Alternatively, you can use Vimball installation: +" vim zenburn.vba +" :so % +" :q +" +" For details, see :help vimball +" +" After installation, use it with :colorscheme zenburn. +" See also :help syntax +" +" Credits: +" - Jani Nurminen - original Zenburn +" - Steve Hall & Cream posse - higher-contrast Visual selection +" - Kurt Maier - 256 color console coloring, low and high contrast toggle, +" bug fixing +" - Charlie - spotted too bright StatusLine in non-high contrast mode +" - Pablo Castellazzi - CursorLine fix for 256 color mode +" - Tim Smith - force dark background +" - John Gabriele - spotted bad Ignore-group handling +" - Zac Thompson - spotted invisible NonText in low contrast mode +" - Christophe-Marie Duquesne - suggested making a Vimball +" +" CONFIGURABLE PARAMETERS: +" +" You can use the default (don't set any parameters), or you can +" set some parameters to tweak the Zenburn colours. +" +" To use them, put them into your .vimrc file before loading the color scheme, +" example: +" let g:zenburn_high_Contrast=1 +" colors zenburn +" +" * You can now set a darker background for bright environments. To activate, use: +" contrast Zenburn, use: +" +" let g:zenburn_high_Contrast = 1 +" +" * For example, Vim help files uses the Ignore-group for the pipes in tags +" like "|somelink.txt|". By default, the pipes are not visible, as they +" map to Ignore group. If you wish to enable coloring of the Ignore group, +" set the following parameter to 1. Warning, it might make some syntax files +" look strange. +" +" let g:zenburn_color_also_Ignore = 1 +" +" * To get more contrast to the Visual selection, use +" +" let g:zenburn_alternate_Visual = 1 +" +" * To use alternate colouring for Error message, use +" +" let g:zenburn_alternate_Error = 1 +" +" * The new default for Include is a duller orange. To use the original +" colouring for Include, use +" +" let g:zenburn_alternate_Include = 1 +" +" * Work-around to a Vim bug, it seems to misinterpret ctermfg and 234 and 237 +" as light values, and sets background to light for some people. If you have +" this problem, use: +" +" let g:zenburn_force_dark_Background = 1 +" +" NOTE: +" +" * To turn the parameter(s) back to defaults, use UNLET: +" +" unlet g:zenburn_alternate_Include +" +" Setting to 0 won't work! +" +" That's it, enjoy! +" +" TODO +" - Visual alternate color is broken? Try GVim >= 7.0.66 if you have trouble +" - IME colouring (CursorIM) + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="zenburn" + +hi Boolean guifg=#dca3a3 +hi Character guifg=#dca3a3 gui=bold +hi Comment guifg=#7f9f7f gui=italic +hi Conditional guifg=#f0dfaf gui=bold +hi Constant guifg=#dca3a3 gui=bold +hi Cursor guifg=#000d18 guibg=#8faf9f gui=bold +hi Debug guifg=#bca3a3 gui=bold +hi Define guifg=#ffcfaf gui=bold +hi Delimiter guifg=#8f8f8f +hi DiffAdd guifg=#709080 guibg=#313c36 gui=bold +hi DiffChange guibg=#333333 +hi DiffDelete guifg=#333333 guibg=#464646 +hi DiffText guifg=#ecbcbc guibg=#41363c gui=bold +hi Directory guifg=#dcdccc gui=bold +hi ErrorMsg guifg=#80d4aa guibg=#2f2f2f gui=bold +hi Exception guifg=#c3bf9f gui=bold +hi Float guifg=#c0bed1 +hi FoldColumn guifg=#93b3a3 guibg=#3f4040 +hi Folded guifg=#93b3a3 guibg=#3f4040 +hi Function guifg=#efef8f +hi Identifier guifg=#efdcbc +hi IncSearch guibg=#f8f893 guifg=#385f38 +hi Keyword guifg=#f0dfaf gui=bold +hi Label guifg=#dfcfaf gui=underline +hi LineNr guifg=#9fafaf guibg=#262626 +hi Macro guifg=#ffcfaf gui=bold +hi ModeMsg guifg=#ffcfaf gui=none +hi MoreMsg guifg=#ffffff gui=bold +hi Number guifg=#8cd0d3 +hi Operator guifg=#f0efd0 +hi PreCondit guifg=#dfaf8f gui=bold +hi PreProc guifg=#ffcfaf gui=bold +hi Question guifg=#ffffff gui=bold +hi Repeat guifg=#ffd7a7 gui=bold +hi Search guifg=#ffffe0 guibg=#284f28 +hi SpecialChar guifg=#dca3a3 gui=bold +hi SpecialComment guifg=#82a282 gui=bold +hi Special guifg=#cfbfaf +hi SpecialKey guifg=#9ece9e +hi Statement guifg=#e3ceab gui=none +hi StatusLine guifg=#313633 guibg=#ccdc90 +hi StatusLineNC guifg=#2e3330 guibg=#88b090 +hi StorageClass guifg=#c3bf9f gui=bold +hi String guifg=#cc9393 +hi Structure guifg=#efefaf gui=bold +hi Tag guifg=#e89393 gui=bold +hi Title guifg=#efefef gui=bold +hi Todo guifg=#dfdfdf guibg=bg gui=bold +hi Typedef guifg=#dfe4cf gui=bold +hi Type guifg=#dfdfbf gui=bold +hi Underlined guifg=#dcdccc gui=underline +hi VertSplit guifg=#2e3330 guibg=#688060 +hi VisualNOS guifg=#333333 guibg=#f18c96 gui=bold,underline +hi WarningMsg guifg=#ffffff guibg=#333333 gui=bold +hi WildMenu guibg=#2c302d guifg=#cbecd0 gui=underline + +hi SpellBad guisp=#bc6c4c guifg=#dc8c6c +hi SpellCap guisp=#6c6c9c guifg=#8c8cbc +hi SpellRare guisp=#bc6c9c guifg=#bc8cbc +hi SpellLocal guisp=#7cac7c guifg=#9ccc9c + +" Entering Kurt zone +if &t_Co > 255 + hi Boolean ctermfg=181 + hi Character ctermfg=181 cterm=bold + 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 DiffAdd ctermfg=66 ctermbg=237 cterm=bold + 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 Keyword ctermfg=223 cterm=bold + hi Label ctermfg=187 cterm=underline + 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 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 SpecialChar ctermfg=181 cterm=bold + hi SpecialComment ctermfg=108 cterm=bold + hi Special ctermfg=181 + hi SpecialKey ctermfg=151 + hi Statement ctermfg=187 ctermbg=234 cterm=none + hi StatusLine ctermfg=236 ctermbg=186 + hi StatusLineNC ctermfg=235 ctermbg=108 + hi StorageClass ctermfg=249 cterm=bold + hi String ctermfg=174 + hi Structure ctermfg=229 cterm=bold + hi Tag ctermfg=181 cterm=bold + hi Title ctermfg=7 ctermbg=234 cterm=bold + hi Todo ctermfg=108 ctermbg=234 cterm=bold + hi Typedef ctermfg=253 cterm=bold + hi Type ctermfg=187 cterm=bold + hi Underlined ctermfg=188 ctermbg=234 cterm=bold + hi VertSplit ctermfg=236 ctermbg=65 + 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 CursorLine ctermbg=236 cterm=none + + " spellchecking, always "bright" background + hi SpellLocal ctermfg=14 ctermbg=237 + hi SpellBad ctermfg=9 ctermbg=237 + hi SpellCap ctermfg=12 ctermbg=237 + hi SpellRare ctermfg=13 ctermbg=237 + + " pmenu + hi PMenu ctermfg=248 ctermbg=0 + hi PMenuSel ctermfg=223 ctermbg=235 + + if exists("g:zenburn_high_Contrast") + hi Normal ctermfg=188 ctermbg=234 + hi NonText ctermfg=238 + + if exists("g:zenburn_color_also_Ignore") + hi Ignore ctermfg=238 + endif + else + hi Normal ctermfg=188 ctermbg=237 + hi Cursor ctermbg=109 + hi diffadd ctermbg=237 + hi diffdelete ctermbg=238 + hi difftext ctermbg=237 + hi errormsg ctermbg=237 + hi foldcolumn ctermbg=238 + hi folded ctermbg=238 + hi incsearch ctermbg=228 + hi linenr ctermbg=238 + hi search ctermbg=238 + hi statement ctermbg=237 + hi statusline ctermbg=144 + hi statuslinenc ctermbg=108 + hi title ctermbg=237 + hi todo ctermbg=237 + hi underlined ctermbg=237 + hi vertsplit ctermbg=65 + hi visualnos ctermbg=210 + hi warningmsg ctermbg=236 + hi wildmenu ctermbg=236 + hi NonText ctermfg=240 + + if exists("g:zenburn_color_also_Ignore") + hi Ignore ctermfg=240 + endif + endif + + if exists("g:zenburn_alternate_Error") + " use more jumpy Error + hi Error ctermfg=210 ctermbg=52 gui=bold + else + " default is something more zenburn-compatible + hi Error ctermfg=228 ctermbg=95 gui=bold + endif +endif + +if exists("g:zenburn_force_dark_Background") + " Force dark background, because of a bug in VIM: VIM sets background + " automatically during "hi Normal ctermfg=X"; it misinterprets the high + " value (234 or 237 above) as a light color, and wrongly sets background to + " light. See ":help highlight" for details. + set background=dark +endif + +if exists("g:zenburn_high_Contrast") + " use new darker background + hi Normal guifg=#dcdccc guibg=#1f1f1f + hi CursorLine guibg=#121212 gui=bold + hi Pmenu guibg=#242424 guifg=#ccccbc + hi PMenuSel guibg=#353a37 guifg=#ccdc90 gui=bold + hi PmenuSbar guibg=#2e3330 guifg=#000000 + hi PMenuThumb guibg=#a0afa0 guifg=#040404 + hi MatchParen guifg=#f0f0c0 guibg=#383838 gui=bold + hi SignColumn guifg=#9fafaf guibg=#181818 gui=bold + hi TabLineFill guifg=#cfcfaf guibg=#181818 gui=bold + hi TabLineSel guifg=#efefef guibg=#1c1c1b gui=bold + hi TabLine guifg=#b6bf98 guibg=#181818 gui=bold + hi CursorColumn guifg=#dcdccc guibg=#2b2b2b + hi NonText guifg=#404040 gui=bold +else + " Original, lighter background + hi Normal guifg=#dcdccc guibg=#3f3f3f + hi CursorLine guibg=#434443 + hi Pmenu guibg=#2c2e2e guifg=#9f9f9f + hi PMenuSel guibg=#242424 guifg=#d0d0a0 gui=bold + hi PmenuSbar guibg=#2e3330 guifg=#000000 + hi PMenuThumb guibg=#a0afa0 guifg=#040404 + hi MatchParen guifg=#b2b2a0 guibg=#2e2e2e gui=bold + hi SignColumn guifg=#9fafaf guibg=#343434 gui=bold + hi TabLineFill guifg=#cfcfaf guibg=#353535 gui=bold + hi TabLineSel guifg=#efefef guibg=#3a3a39 gui=bold + hi TabLine guifg=#b6bf98 guibg=#353535 gui=bold + hi CursorColumn guifg=#dcdccc guibg=#4f4f4f + hi NonText guifg=#5b605e gui=bold +endif + + +if exists("g:zenburn_alternate_Visual") + " Visual with more contrast, thanks to Steve Hall & Cream posse + " gui=none fixes weird highlight problem in at least GVim 7.0.66, thanks to Kurt Maier + hi Visual guifg=#000000 guibg=#71d3b4 gui=none + hi VisualNOS guifg=#000000 guibg=#71d3b4 gui=none +else + " use default visual + hi Visual guifg=#233323 guibg=#71d3b4 gui=none + hi VisualNOS guifg=#233323 guibg=#71d3b4 gui=none +endif + +if exists("g:zenburn_alternate_Error") + " use more jumpy Error + hi Error guifg=#e37170 guibg=#664040 gui=bold +else + " default is something more zenburn-compatible + hi Error guifg=#e37170 guibg=#3d3535 gui=none +endif + +if exists("g:zenburn_alternate_Include") + " original setting + hi Include guifg=#ffcfaf gui=bold +else + " new, less contrasted one + hi Include guifg=#dfaf8f gui=bold +endif + +if exists("g:zenburn_color_also_Ignore") + " color the Ignore groups + " note: if you get strange coloring for your files, turn this off (unlet) + hi Ignore guifg=#545a4f +endif + +" TODO check for more obscure syntax groups that they're ok diff --git a/.vim/colors/zenesque.vim b/.vim/colors/zenesque.vim new file mode 100644 index 0000000..9789aad --- /dev/null +++ b/.vim/colors/zenesque.vim @@ -0,0 +1,384 @@ +" ============================================================================= +" File: zenesque.vim +" Description: Vim color scheme file +" Maintainer: Paul L +" ============================================================================= +set background=light +highlight clear +if exists("syntax_on") + syntax reset +endif +let colors_name = "zenesque" +" ============================================================================= + +" default scheme + +hi Normal guifg=#000000 guibg=#e0e0d8 gui=NONE +hi CursorLine guifg=NONE guibg=#e1e1d0 gui=NONE +hi CursorColumn guifg=NONE guibg=#e1e1d0 gui=NONE +hi LineNr guifg=#a9a99e guibg=NONE gui=NONE +hi Constant guifg=#353535 guibg=NONE gui=bold +hi Statement guifg=#363636 guibg=NONE gui=italic +hi Function guifg=fg guibg=NONE gui=bold +hi String guifg=#3c3c3c guibg=NONE gui=NONE +hi Type guifg=#616161 guibg=NONE gui=bold,italic +hi Conditional guifg=#4d4d4d guibg=NONE gui=bold +hi Todo guifg=fg guibg=NONE gui=bold,underline +hi Comment guifg=#797979 guibg=NONE gui=italic +hi PmenuSel guifg=fg guibg=#a9a9aa gui=bold +hi ColorColumn guifg=NONE guibg=#e6e6e6 +hi Cursor guifg=bg guibg=fg gui=NONE +hi CursorIM guifg=bg guibg=fg gui=NONE +hi lCursor guifg=bg guibg=fg gui=NONE +hi DiffAdd guifg=NONE guibg=#d1d1d1 gui=NONE +hi DiffChange guifg=NONE guibg=#9d9d9d gui=NONE +hi DiffDelete guifg=NONE guibg=#949494 gui=NONE +hi DiffText guifg=#000000 guibg=#bababa gui=bold +hi Directory guifg=#525252 guibg=bg gui=NONE +hi ErrorMsg guifg=#6f6f6f guibg=NONE gui=NONE +hi FoldColumn guifg=#555555 guibg=#cccbcb gui=bold +hi Folded guifg=#555555 guibg=#cccccc gui=italic + +hi IncSearch guifg=#000000 guibg=#adadad gui=NONE +hi Search guifg=#000000 guibg=#c5c3c3 gui=NONE +hi MatchParen guifg=#000000 guibg=#a8a8a8 gui=bold +hi ModeMsg guifg=#ffffff guibg=#767676 gui=bold +hi MoreMsg guifg=#7c7c7c guibg=bg gui=bold +hi NonText guifg=#7e7e7e guibg=bg gui=bold + +hi Pmenu guifg=#646564 guibg=#b1b2b1 gui=reverse +hi PmenuSbar guifg=#ffffff guibg=#989898 gui=NONE +hi PmenuThumb guifg=#ffffff guibg=#777777 gui=NONE + +hi Question guifg=#454545 guibg=bg gui=bold +hi SignColumn guifg=#ffffff guibg=#696969 gui=NONE + +hi SpecialKey guifg=#ffffff guibg=#696969 gui=NONE + +hi SpellBad guisp=#323232 guibg=#d1cdcd gui=undercurl +hi SpellCap guisp=#5d5d5d gui=undercurl +hi SpellLocal guisp=#434343 gui=undercurl +hi SpellRare guisp=#7d7d7d gui=undercurl +hi StatusLine guifg=#e8e8e8 guibg=#858585 gui=bold +hi StatusLineNC guifg=#808080 guibg=#bbbbbb gui=italic +hi TabLine guifg=fg guibg=#898a8b gui=underline +hi TabLineFill guifg=fg guibg=bg gui=reverse +hi TabLineSel guifg=fg guibg=bg gui=bold +hi Title guifg=#6d6d6d guibg=bg gui=bold +hi VertSplit guifg=#b9b9b9 guibg=#b9b9b9 +hi Visual guifg=#ffffff guibg=#9a9a9a gui=NONE +hi WarningMsg guifg=#cfcfcf guibg=#5b5b5b gui=NONE +hi WildMenu guifg=#000000 guibg=#c2c2c2 gui=NONE + +hi Boolean guifg=#616060 guibg=NONE gui=bold +hi Identifier guifg=#141414 guibg=NONE gui=bold +hi Keyword guifg=#666666 guibg=NONE gui=underline +hi PreProc guifg=#6b6b6b guibg=NONE gui=NONE +hi Special guifg=#6e6e6e guibg=NONE gui=NONE +hi Ignore guifg=bg guibg=NONE gui=NONE +hi Error guifg=#727272 guibg=NONE gui=undercurl +" ----------------------------------------------------------------------------- +hi VimError guifg=#b6b6b6 guibg=#313131 gui=bold +hi VimCommentTitle guifg=#5c5c5c guibg=bg gui=bold,italic +hi qfFileName guifg=#6a6a6a guibg=NONE gui=italic +hi qfLineNr guifg=fg guibg=NONE gui=NONE +hi qfError guifg=fg guibg=#c4c2c2 gui=undercurl + +" ----------------------------------------------------------------------------- +hi pythonDecorator guifg=#3b3b3b guibg=NONE gui=bold +hi link pythonDecoratorFunction pythonDecorator + +" ----------------------------------------------------------------------------- +hi htmlLink guifg=#666666 guibg=NONE gui=underline,italic + +if exists('g:zenesque_colors') && g:zenesque_colors==1 + " light scheme with colors + + hi Normal guifg=#0b092c guibg=#e5e5d8 gui=NONE + hi CursorLine guifg=NONE guibg=#d4d4c0 gui=NONE + hi CursorColumn guifg=NONE guibg=#d4d4c0 gui=NONE + hi LineNr guifg=#888875 guibg=NONE gui=NONE + hi Constant guifg=#73221A guibg=NONE gui=NONE + hi String guifg=#073010 guibg=NONE gui=NONE + hi Function guifg=#3b1c5b guibg=NONE gui=bold + hi Statement guifg=#100051 guibg=NONE gui=italic + hi Conditional guifg=#6e220e guibg=NONE gui=NONE + hi Type guifg=#421b4d guibg=NONE gui=italic + hi Todo guifg=#6c0303 guibg=NONE gui=NONE + hi Comment guifg=#6e6e6e guibg=NONE gui=italic + hi PmenuSel guifg=fg guibg=#c37a23 gui=bold + hi ColorColumn guifg=NONE guibg=#e6e6e6 + hi Cursor guifg=bg guibg=fg gui=NONE + hi CursorIM guifg=bg guibg=fg gui=NONE + hi lCursor guifg=bg guibg=fg gui=NONE + + hi diffAdd guifg=bg guibg=#5a7e5d gui=none + hi diffDelete guifg=#bf6a6a guibg=#3d2424 gui=none + hi diffChange guifg=bg guibg=#b55c5c gui=none + hi diffText guifg=bg guibg=#264928 gui=none + + hi Directory guifg=#525252 guibg=bg gui=NONE + hi ErrorMsg guifg=#6f6f6f guibg=NONE gui=NONE + hi FoldColumn guifg=#555555 guibg=#cccbcb gui=bold + hi Folded guifg=#555555 guibg=#cccccc gui=italic + + hi IncSearch guifg=#000000 guibg=#adadad gui=NONE + hi Search guifg=#000000 guibg=#c5c3c3 gui=NONE + hi MatchParen guifg=#000000 guibg=#a8a8a8 gui=bold + hi ModeMsg guifg=#ffffff guibg=#767676 gui=bold + hi MoreMsg guifg=#7c7c7c guibg=bg gui=bold + hi NonText guifg=#7e7e7e guibg=bg gui=bold + + hi Pmenu guifg=#646564 guibg=#b1b2b1 gui=reverse + hi PmenuSbar guifg=#ffffff guibg=#989898 gui=NONE + hi PmenuThumb guifg=#ffffff guibg=#777777 gui=NONE + + hi Question guifg=#454545 guibg=bg gui=bold + hi SignColumn guifg=#ffffff guibg=#696969 gui=NONE + + hi SpecialKey guifg=#ffffff guibg=#696969 gui=NONE + + hi SpellBad guisp=#323232 guibg=#d1cdcd gui=undercurl + hi SpellCap guisp=#5d5d5d gui=undercurl + hi SpellLocal guisp=#434343 gui=undercurl + hi SpellRare guisp=#7d7d7d gui=undercurl + hi StatusLine guifg=fg guibg=#c0bebe gui=bold + hi StatusLineNC guifg=#808080 guibg=#c5c5af gui=italic + hi TabLine guifg=fg guibg=#898a8b gui=underline + hi TabLineFill guifg=fg guibg=bg gui=reverse + hi TabLineSel guifg=fg guibg=bg gui=bold + hi Title guifg=#6d6d6d guibg=bg gui=bold + hi VertSplit guifg=#c5c5af guibg=#c5c5af + hi Visual guifg=#ffffff guibg=#9a9a9a gui=NONE + hi WarningMsg guifg=#cfcfcf guibg=#5b5b5b gui=NONE + hi WildMenu guifg=#000000 guibg=#c2c2c2 gui=NONE + hi Boolean guifg=#616060 guibg=NONE gui=bold + hi Identifier guifg=#141414 guibg=NONE gui=bold + hi Keyword guifg=#666666 guibg=NONE gui=underline + hi PreProc guifg=#272c61 guibg=NONE gui=NONE + hi Special guifg=#6e6e6e guibg=NONE gui=NONE + hi Ignore guifg=bg guibg=NONE gui=NONE + hi Error guifg=#727272 guibg=NONE gui=undercurl + " ----------------------------------------------------------------------------- +hi VimError guifg=#b6b6b6 guibg=#313131 gui=bold +hi VimCommentTitle guifg=#5c5c5c guibg=bg gui=bold,italic +hi qfFileName guifg=#6a6a6a guibg=NONE gui=italic +hi qfLineNr guifg=fg guibg=NONE gui=NONE +hi qfError guifg=fg guibg=#c4c2c2 gui=undercurl + +" ----------------------------------------------------------------------------- +hi pythonDecorator guifg=#3b3b3b guibg=NONE gui=bold +hi link pythonDecoratorFunction pythonDecorator +" ----------------------------------------------------------------------------- +hi htmlLink guifg=#666666 guibg=NONE gui=underline,italic +elseif exists('g:zenesque_colors') && g:zenesque_colors==2 + " dark scheme without colors + + set background=dark + + hi Normal guifg=#adadad guibg=#1a1a1a gui=NONE + hi CursorLine guifg=NONE guibg=#000000 gui=NONE + hi CursorColumn guifg=NONE guibg=#000000 gui=NONE + hi LineNr guifg=#555555 guibg=NONE gui=NONE + hi Constant guifg=#848484 guibg=NONE gui=bold + hi Statement guifg=#a6a6a6 guibg=NONE gui=italic + hi Function guifg=#919191 guibg=NONE gui=bold + hi String guifg=#838383 guibg=NONE gui=italic + hi Type guifg=#838383 guibg=NONE gui=bold,italic + hi Conditional guifg=#787878 guibg=NONE gui=bold + hi Todo guifg=#ffffff guibg=NONE gui=underline + hi Comment guifg=#555555 guibg=NONE gui=NONE + hi PmenuSel guifg=#000000 guibg=#a9a9aa gui=bold + hi Special guifg=#868585 guibg=NONE gui=NONE + hi Identifier guifg=#626262 guibg=NONE gui=bold + hi Keyword guifg=#858585 guibg=NONE gui=underline + hi PreProc guifg=#6b6b6b guibg=NONE gui=italic + + + hi Visual guifg=NONE guibg=#313131 gui=NONE + hi ColorColumn guifg=NONE guibg=#e6e6e6 + hi Cursor guifg=bg guibg=fg gui=NONE + hi CursorIM guifg=bg guibg=fg gui=NONE + hi lCursor guifg=bg guibg=fg gui=NONE + + hi DiffAdd guifg=fg guibg=#444444 gui=NONE + hi DiffChange guifg=bg guibg=#909090 gui=NONE + hi DiffDelete guifg=NONE guibg=#292929 gui=NONE + hi DiffText guifg=NONE guibg=#383838 gui=NONE + + hi Directory guifg=#525252 guibg=bg gui=NONE + hi ErrorMsg guifg=#6f6f6f guibg=NONE gui=NONE + hi FoldColumn guifg=#555555 guibg=#414141 gui=bold + hi Folded guifg=#828282 guibg=#212121 gui=italic + + hi IncSearch guifg=#000000 guibg=#adadad gui=NONE + hi Search guifg=#000000 guibg=#c5c3c3 gui=NONE + hi MatchParen guifg=#000000 guibg=#a8a8a8 gui=bold + hi ModeMsg guifg=#ffffff guibg=#767676 gui=bold + hi MoreMsg guifg=#7c7c7c guibg=bg gui=bold + hi NonText guifg=#7e7e7e guibg=bg gui=bold + + hi Pmenu guifg=#656565 guibg=#3f3f3f gui=NONE + hi PmenuSbar guifg=fg guibg=#5d5d5d gui=NONE + hi PmenuThumb guifg=fg guibg=#777777 gui=NONE + + hi Question guifg=#454545 guibg=bg gui=bold + hi SignColumn guifg=#ffffff guibg=#696969 gui=NONE + + hi SpecialKey guifg=#ffffff guibg=#696969 gui=NONE + + hi SpellBad guisp=#ffffff guibg=#000000 gui=undercurl + hi SpellCap guisp=#5d5d5d gui=undercurl + hi SpellLocal guisp=#434343 gui=undercurl + hi SpellRare guisp=#7d7d7d gui=undercurl + hi StatusLine guifg=#000000 guibg=#727272 gui=bold + hi StatusLineNC guifg=#5a5959 guibg=#222222 gui=italic + hi TabLine guifg=fg guibg=#757575 gui=underline + hi TabLineFill guifg=fg guibg=bg gui=reverse + hi TabLineSel guifg=fg guibg=bg gui=bold + hi Title guifg=#6d6d6d guibg=bg gui=bold + hi VertSplit guifg=#222222 guibg=#222222 + hi WarningMsg guifg=#cfcfcf guibg=#5b5b5b gui=NONE + hi WildMenu guifg=#000000 guibg=#828282 gui=NONE + hi Boolean guifg=#616060 guibg=NONE gui=bold + hi Ignore guifg=bg guibg=NONE gui=NONE + hi Error guifg=#727272 guibg=NONE gui=undercurl + " ----------------------------------------------------------------------------- + hi VimError guifg=#b6b6b6 guibg=#313131 gui=bold + hi VimCommentTitle guifg=#5c5c5c guibg=bg gui=bold,italic + hi qfFileName guifg=#6a6a6a guibg=NONE gui=italic + hi qfLineNr guifg=fg guibg=NONE gui=NONE + hi qfError guifg=fg guibg=#000000 gui=undercurl + + " ----------------------------------------------------------------------------- + hi pythonDecorator guifg=#3b3b3b guibg=NONE gui=bold + hi link pythonDecoratorFunction pythonDecorator + " ----------------------------------------------------------------------------- + hi htmlLink guifg=#666666 guibg=NONE gui=underline,italic + +elseif exists('g:zenesque_colors') && g:zenesque_colors==3 + " dark scheme with colors + + set background=dark + + hi Normal guifg=#adadad guibg=#0f1216 gui=NONE + hi CursorLine guifg=NONE guibg=#000000 gui=NONE + hi CursorColumn guifg=NONE guibg=#000000 gui=NONE + hi LineNr guifg=#4d4d44 guibg=NONE gui=NONE + hi Constant guifg=#8d5c57 guibg=NONE gui=NONE + hi String guifg=#5d7a64 guibg=NONE gui=NONE + hi Function guifg=#9784a2 guibg=NONE gui=NONE + hi Statement guifg=#5a89a4 guibg=NONE gui=italic + hi Conditional guifg=#8c7867 guibg=NONE gui=NONE + hi Type guifg=#518991 guibg=NONE gui=italic + hi Todo guifg=#9b3535 guibg=NONE gui=NONE + hi Comment guifg=#777777 guibg=NONE gui=NONE + hi PmenuSel guifg=bg guibg=#9b601a gui=bold + hi Special guifg=#a7a863 guibg=NONE gui=NONE + hi Identifier guifg=#a16f51 guibg=NONE gui=NONE + hi Keyword guifg=#737354 guibg=NONE gui=underline + hi PreProc guifg=#5567a1 guibg=NONE gui=NONE + hi Visual guifg=NONE guibg=#462e44 gui=NONE + hi ColorColumn guifg=NONE guibg=#e6e6e6 + hi Cursor guifg=bg guibg=fg gui=NONE + hi CursorIM guifg=bg guibg=fg gui=NONE + hi lCursor guifg=bg guibg=fg gui=NONE + hi diffAdd guifg=bg guibg=#5a7e5d gui=none + hi diffDelete guifg=#bf6a6a guibg=#2d1212 gui=none + hi diffChange guifg=bg guibg=#7e4444 gui=none + hi diffText guifg=bg guibg=#345535 gui=none + + + hi Directory guifg=#525252 guibg=bg gui=NONE + hi ErrorMsg guifg=#6f6f6f guibg=NONE gui=NONE + hi FoldColumn guifg=#555555 guibg=#414141 gui=bold + hi Folded guifg=#828282 guibg=#212121 gui=italic + + hi IncSearch guifg=#000000 guibg=#adadad gui=NONE + hi Search guifg=#000000 guibg=#c5c3c3 gui=NONE + hi MatchParen guifg=#000000 guibg=#a8a8a8 gui=bold + hi ModeMsg guifg=#ffffff guibg=#767676 gui=bold + hi MoreMsg guifg=#7c7c7c guibg=bg gui=bold + hi NonText guifg=#7e7e7e guibg=bg gui=bold + + hi Pmenu guifg=#656565 guibg=#3f3f3f gui=NONE + hi PmenuSbar guifg=fg guibg=#5d5d5d gui=NONE + hi PmenuThumb guifg=fg guibg=#777777 gui=NONE + + hi Question guifg=#454545 guibg=bg gui=bold + hi SignColumn guifg=#ffffff guibg=#696969 gui=NONE + + hi SpecialKey guifg=#ffffff guibg=#696969 gui=NONE + + hi SpellBad guisp=#ffffff guibg=#000000 gui=undercurl + hi SpellCap guisp=#5d5d5d gui=undercurl + hi SpellLocal guisp=#434343 gui=undercurl + hi SpellRare guisp=#7d7d7d gui=undercurl + hi StatusLine guifg=#000000 guibg=#727272 gui=bold + hi StatusLineNC guifg=#5a5959 guibg=#222222 gui=italic + hi TabLine guifg=fg guibg=#5f5f5f gui=underline + hi TabLineFill guifg=fg guibg=bg gui=reverse + hi TabLineSel guifg=fg guibg=bg gui=bold + hi Title guifg=#6d6d6d guibg=bg gui=bold + hi VertSplit guifg=#222222 guibg=#222222 + hi WarningMsg guifg=#cfcfcf guibg=#5b5b5b gui=NONE + hi WildMenu guifg=#000000 guibg=#828282 gui=NONE + hi Boolean guifg=#616060 guibg=NONE gui=bold + hi Ignore guifg=bg guibg=NONE gui=NONE + hi Error guifg=#727272 guibg=NONE gui=undercurl + " ----------------------------------------------------------------------------- + hi VimError guifg=#b6b6b6 guibg=#313131 gui=bold + hi VimCommentTitle guifg=#5c5c5c guibg=bg gui=bold,italic + hi qfFileName guifg=#6a6a6a guibg=NONE gui=italic + hi qfLineNr guifg=fg guibg=NONE gui=NONE + hi qfError guifg=fg guibg=#000000 gui=undercurl + + " ----------------------------------------------------------------------------- + hi pythonDecorator guifg=#3b3b3b guibg=NONE gui=bold + hi link pythonDecoratorFunction pythonDecorator + " ----------------------------------------------------------------------------- + hi htmlLink guifg=#666666 guibg=NONE gui=underline,italic +endif + +hi htmlTagName guifg=NONE guibg=NONE gui=NONE +hi link htmlScriptTag htmlTagName +hi link htmlTagN htmlTagName +hi link htmlEndTag htmlTagName +hi link htmlSpecialTagName htmlTagName + +hi link cssRenderAttr Constant +hi link cssTextAttr Constant +hi link cssUIAttr Constant +hi link cssTableAttr Constant +hi link cssColorAttr Constant +hi link cssBoxAttr Constant +hi link cssCommonAttr Constant +hi link cssFunctionName Constant +hi link cssRenderProp Type +hi link cssBoxProp cssRenderProp + +hi link cssTagName Statement +hi link cssClassName cssTagName +hi link cssIdentifier cssTagName +hi link cssPseudoClass cssTagName +hi link cssPseudoClassId cssTagName + +hi cssBraces guifg=fg guibg=bg gui=NONE +hi javaScript guifg=fg guibg=NONE +hi link javaScriptFunction Statement +hi link javaScriptMember Statement +hi link javaScriptValue Constant + +hi link objcClass Type +hi link cocoaClass objcClass +hi link objcSubclass objcClass +hi link objcSuperclass objcClass +hi link cocoaFunction Function +hi link objcMethodName Identifier +hi link objcMethodArg Normal +hi link objcMessageName Identifier + +hi link javaType Statement +hi link cppStatement Statement + + diff --git a/.vim/colors/zephyr.vim b/.vim/colors/zephyr.vim new file mode 100644 index 0000000..b3f774a --- /dev/null +++ b/.vim/colors/zephyr.vim @@ -0,0 +1,204 @@ +" Vim color file +" Original Maintainer: Matt Creenan + +" Zephyr v1.01 +" A modification of the gardener colorscheme v1.1 + +" 1.01 +" - Updated some colors +" +" 1.0 +" - Initial release + +" Dark scheme, easy on eyes, very distinct colors to make +" code easier to read + +set background=dark +hi clear +syntax reset + +hi linenr cterm=BOLD ctermfg=244 ctermbg=235 + +exec "hi Cursor cterm=BOLD ctermfg=255 ctermbg=167" +exec "hi CursorIM cterm=BOLD ctermfg=255 ctermbg=167" + +exec "hi Normal cterm=NONE ctermfg=255 ctermbg=0" +exec "hi NonText cterm=NONE ctermfg=230 ctermbg=60" +exec "hi Visual cterm=NONE ctermfg=255 ctermbg=68" + +exec "hi Linear cterm=NONE ctermfg=248 ctermbg=NONE" + +exec "hi Directory cterm=NONE ctermfg=64 ctermbg=NONE" + +exec "hi IncSearch cterm=NONE ctermfg=255 ctermbg=25" + +exec "hi ErrorMsg cterm=BOLD ctermfg=196 ctermbg=NONE" +exec "hi WarningMsg cterm=BOLD ctermfg=196 ctermbg=NONE" +exec "hi ModeMsg cterm=NONE ctermfg=230 ctermbg=NONE" +exec "hi MoreMsg cterm=NONE ctermfg=230 ctermbg=NONE" +exec "hi Question cterm=NONE ctermfg=194 ctermbg=NONE" + +exec "hi StatusLineNC cterm=NONE ctermfg=16 ctermbg=229" +exec "hi StatusLine cterm=BOLD ctermfg=255 ctermbg=167" +exec "hi VertSplit cterm=NONE ctermfg=16 ctermbg=229" + +exec "hi Constant cterm=BOLD ctermfg=255 ctermbg=NONE" +exec "hi String cterm=NONE ctermfg=230 ctermbg=NONE" +exec "hi Character cterm=BOLD ctermfg=230 ctermbg=NONE" +exec "hi Number cterm=BOLD ctermfg=153 ctermbg=NONE" +exec "hi Boolean cterm=NONE ctermfg=207 ctermbg=NONE" +exec "hi Float cterm=BOLD ctermfg=153 ctermbg=NONE" + +exec "hi Identifier cterm=NONE ctermfg=223 ctermbg=NONE" +exec "hi Function cterm=BOLD ctermfg=229 ctermbg=NONE" +exec "hi Statement cterm=BOLD ctermfg=230 ctermbg=NONE" + + +exec "hi Repeat cterm=BOLD ctermfg=208 ctermbg=NONE" +exec "hi Label cterm=BOLD ctermfg=225 ctermbg=NONE" +exec "hi Exception cterm=BOLD ctermfg=86 ctermbg=NONE" + +exec "hi PreProc cterm=BOLD ctermfg=222 ctermbg=NONE" +exec "hi Include cterm=BOLD ctermfg=114 ctermbg=NONE" +exec "hi Macro cterm=BOLD ctermfg=114 ctermbg=NONE" +exec "hi PreCondit cterm=BOLD ctermfg=114 ctermbg=NONE" + +exec "hi Type cterm=BOLD ctermfg=193 ctermbg=NONE" +exec "hi StorageClass cterm=BOLD ctermfg=78 ctermbg=NONE" +exec "hi Structure cterm=BOLD ctermfg=114 ctermbg=NONE" +exec "hi Typedef cterm=BOLD ctermfg=114 ctermbg=NONE" + +exec "hi Special cterm=BOLD ctermfg=153 ctermbg=NONE" +exec "hi SpecialChar cterm=BOLD ctermfg=153 ctermbg=NONE" +exec "hi Tag cterm=BOLD ctermfg=153 ctermbg=NONE" +exec "hi Delimiter cterm=BOLD ctermfg=255 ctermbg=NONE" +exec "hi SpecialComment cterm=BOLD ctermfg=253 ctermbg=24" +exec "hi Debug cterm=NONE ctermfg=210 ctermbg=NONE" + +exec "hi Title cterm=BOLD ctermfg=255 ctermbg=60" +exec "hi Ignore cterm=NONE ctermfg=251 ctermbg=NONE" +exec "hi Error cterm=NONE ctermfg=255 ctermbg=196" +exec "hi Ignore cterm=NONE ctermfg=196 ctermbg=60" + +exec "hi htmlH1 cterm=BOLD ctermfg=255 ctermbg=NONE" +exec "hi htmlH2 cterm=BOLD ctermfg=253 ctermbg=NONE" +exec "hi htmlH3 cterm=BOLD ctermfg=251 ctermbg=NONE" +exec "hi htmlH4 cterm=BOLD ctermfg=249 ctermbg=NONE" +exec "hi htmlH5 cterm=BOLD ctermfg=247 ctermbg=NONE" +exec "hi htmlH6 cterm=BOLD ctermfg=245 ctermbg=NONE" + +"""""""""""""""""""""""""""""" +" Begin zephyr modifications " +"""""""""""""""""""""""""""""" + +" Check for extra whitespace +hi WhitespaceEOL ctermbg=red guibg=red +match WhitespaceEOL /\s\+$/ +match WhitespaceEOL /^(\ \+)[^\*]/ + +" Highlight whitespace at beginning +hi WhitespaceBOL ctermfg=238 +match WhitespaceBOL /^\t\+\ */ + +" Tabs (not the whitespace kind) +if exists("g:zephyr_no_tabs") +else + hi TabLine ctermbg=238 ctermfg=243 + hi TabLineFill ctermbg=94 ctermfg=235 + hi TabLineSel ctermbg=24 ctermfg=253 +endif + +" Diff +if exists("g:zephyr_no_diff") +else + hi DiffChange term=reverse cterm=bold ctermbg=235 ctermfg=252 + hi DiffDelete term=reverse cterm=bold ctermbg=232 ctermfg=241 + hi DiffText term=reverse cterm=bold ctermbg=166 ctermfg=252 + hi DiffAdd term=reverse cterm=bold ctermbg=22 ctermfg=252 +endif + +hi Define ctermfg=68 ctermbg=none cterm=bold +hi Number ctermfg=124 +hi Boolean ctermfg=124 +hi Float ctermfg=124 +hi Function ctermfg=73 ctermbg=none cterm=bold +hi Statement ctermfg=68 +hi Constant ctermfg=88 +hi Comment ctermfg=154 ctermbg=none +hi SpecialComment ctermfg=154 ctermbg=none +hi Identifier ctermfg=172 +hi Operator ctermfg=221 ctermbg=none +hi Keyword ctermfg=221 ctermbg=none +hi String ctermfg=241 +hi Conditional ctermfg=68 +hi Repeat ctermfg=68 +hi Label ctermfg=68 +hi Include ctermfg=24 +hi Normal ctermfg=251 +hi Structure ctermfg=214 +hi Type ctermfg=70 +hi SpecialChar ctermfg=231 +hi Pmenu ctermbg=238 ctermfg=231 + +" HTML/CSS specific +hi htmlstring ctermfg=240 +hi htmltagname ctermfg=130 +hi htmltag ctermfg=66 +hi htmlendtag ctermfg=66 +hi htmlarg ctermfg=72 +hi htmllink ctermfg=32 cterm=underline +hi htmlspecialtagname ctermfg=208 " Extra highlighting for special tag names, brighter +hi htmlevent ctermfg=157 +hi cssstyle ctermbg=233 +hi csstagname ctermbg=233 ctermfg=167 +hi cssselectorop ctermbg=233 ctermfg=107 +hi cssselectorop2 ctermbg=233 ctermfg=107 +hi cssattributeselector ctermbg=233 +hi cssidentifier ctermbg=233 ctermfg=143 +hi cssmedia ctermbg=233 +hi cssmediatype ctermbg=233 +hi cssmediacomma ctermbg=233 +hi cssmediablock ctermbg=233 +hi cssvalueinteger ctermbg=233 +hi cssvaluenumber ctermbg=233 +hi cssvaluelength ctermbg=233 +hi cssvalueangle ctermbg=233 +hi cssvaluetime ctermbg=233 +hi cssvaluefrequency ctermbg=233 +hi cssfontdescriptor ctermbg=233 +hi cssfontdescriptorblock ctermbg=233 +hi csscolor ctermbg=233 ctermfg=68 +hi csscomment ctermbg=233 ctermfg=154 +hi cssimportant ctermbg=233 +hi csscommonattr ctermbg=233 +hi cssfontprop ctermbg=233 ctermfg=145 +hi cssfontattr ctermbg=233 ctermfg=white +hi csscolorprop ctermbg=233 ctermfg=145 +hi csscolorattr ctermbg=233 ctermfg=white +hi csstextprop ctermbg=233 ctermfg=145 +hi csstextattr ctermbg=233 ctermfg=white +hi cssboxprop ctermbg=233 ctermfg=145 +hi cssboxattr ctermbg=233 ctermfg=white +hi cssuiprop ctermbg=233 ctermfg=145 +hi cssuiattr ctermbg=233 ctermfg=white +hi cssrenderprop ctermbg=233 ctermfg=145 +hi cssrenderattr ctermbg=233 ctermfg=white +hi cssgeneratedcontentprop ctermbg=233 ctermfg=145 +hi cssgeneratedcontentattr ctermbg=233 ctermfg=white +hi csspagingprop ctermbg=233 ctermfg=145 +hi csspagingattr ctermbg=233 ctermfg=white +hi cssinclude ctermbg=233 +hi cssbraces ctermbg=233 +hi cssdefinition ctermbg=233 +hi csspseudoclass ctermbg=233 +hi csspseudoclassid ctermbg=233 + +" PHP Specific +hi phpRegionDelimiter cterm=bold ctermfg=228 +hi phpSpecialFunction cterm=bold ctermfg=79 + +let php_sql_query = 0 +let php_htmlInStrings = 0 + +let g:colors_name = "zephyr" +let colors_name = "zephyr" diff --git a/.vim/colors/zmrok.vim b/.vim/colors/zmrok.vim new file mode 100644 index 0000000..122b051 --- /dev/null +++ b/.vim/colors/zmrok.vim @@ -0,0 +1,59 @@ +" Maintainer: Krzysztof Goj +" Last Change: 27th March 2009 + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name="zmrok" + +" general colors +hi Normal guifg=#F8F8F8 guibg=#141414 +hi Cursor guifg=Black guibg=Green gui=none +hi LineNr guifg=#777777 guibg=Black +hi NonText guifg=#808080 guibg=#202020 + +hi StatusLine guifg=#F8F8F8 guibg=#202020 gui=bold +hi StatusLineNC guifg=#777777 guibg=#202020 gui=none +hi VertSplit guifg=#202020 guibg=#202020 gui=none + +" Vim >= 7.0 specific colors +if version >= 700 + hi CursorLine guibg=#0d0d0d + hi CursorColumn guibg=#0d0d0d + hi MatchParen guifg=Black guibg=#FFCC20 gui=bold + + hi Pmenu guifg=#141414 guibg=#CDA869 + hi PmenuSel guifg=#F8F8F8 guibg=#9B703F + hi PmenuSbar guibg=#DAEFA3 + hi PmenuThumb guifg=#8F9D6A +endif + +"Syntax hilighting + +hi Comment guifg=#888888 +hi Error guifg=red guibg=#141414 +hi Todo guifg=red guibg=#141414 gui=bold + +hi Constant guifg=#CF593C +hi Exception guifg=#CF593C +hi Operator guifg=#DFCC77 + +hi Special guifg=orange +hi SpecialChar guifg=orange +hi String guifg=#D9FF77 +hi Character guifg=#FFCE43 +hi Number guifg=#FACE43 + +hi Statement guifg=#A56A30 gui=bold +hi Keyword guifg=#A56A30 gui=bold +hi Label guifg=#A56A30 gui=bold + +hi Identifier guifg=#C7CA87 gui=none +hi Type guifg=#C7CA87 gui=none +hi Function guifg=#C7CA87 gui=none +hi StorageClass guifg=#C7CA87 gui=none + +hi PreProc guifg=khaki4 diff --git a/.vim/de/kotka/vimclojure/gencompletions.clj b/.vim/de/kotka/vimclojure/gencompletions.clj new file mode 100644 index 0000000..83e82e0 --- /dev/null +++ b/.vim/de/kotka/vimclojure/gencompletions.clj @@ -0,0 +1,30 @@ +; Copyright (c) 2008 Parth Malwankar +; Copyright (c) 2008 Meikel Brandmeyer +; All rights reserved. +; +; A small script to generate a dictionary of Clojure's core +; functions. The script was written by Parth Malwankar. It +; is included in VimClojure with his permission. +; -- Meikel Brandmeyer, 16 August 2008 +; Frankfurt am Main, Germany +; +; Move to new main functionality. +; -- Meikel Brandmeyer, 23 November 2008 +; +; See also: http://en.wikibooks.org/wiki/Clojure_Programming + +(ns de.kotka.vimclojure.gencompletions + (:gen-class + :main true)) + +(defmacro with-out-file [pathname & body] + `(with-open [stream# (new java.io.FileWriter ~pathname)] + (binding [*out* stream#] + ~@body))) + +(defn -main + [nspace] + (let [completions (keys (ns-publics (symbol nspace)))] + (with-out-file (str nspace "-keys.txt") + (doseq [x (sort completions)] + (println x))))) diff --git a/.vim/doc/NERD_tree.txt b/.vim/doc/NERD_tree.txt new file mode 100644 index 0000000..a6a0390 --- /dev/null +++ b/.vim/doc/NERD_tree.txt @@ -0,0 +1,1314 @@ +*NERD_tree.txt* A tree explorer plugin that owns your momma! + + + + omg its ... ~ + + ________ ________ _ ____________ ____ __________ ____________~ + /_ __/ / / / ____/ / | / / ____/ __ \/ __ \ /_ __/ __ \/ ____/ ____/~ + / / / /_/ / __/ / |/ / __/ / /_/ / / / / / / / /_/ / __/ / __/ ~ + / / / __ / /___ / /| / /___/ _, _/ /_/ / / / / _, _/ /___/ /___ ~ + /_/ /_/ /_/_____/ /_/ |_/_____/_/ |_/_____/ /_/ /_/ |_/_____/_____/ ~ + + + Reference Manual~ + + + + +============================================================================== +CONTENTS *NERDTree-contents* + + 1.Intro...................................|NERDTree| + 2.Functionality provided..................|NERDTreeFunctionality| + 2.1.Global commands...................|NERDTreeGlobalCommands| + 2.2.Bookmarks.........................|NERDTreeBookmarks| + 2.2.1.The bookmark table..........|NERDTreeBookmarkTable| + 2.2.2.Bookmark commands...........|NERDTreeBookmarkCommands| + 2.2.3.Invalid bookmarks...........|NERDTreeInvalidBookmarks| + 2.3.NERD tree mappings................|NERDTreeMappings| + 2.4.The NERD tree menu................|NERDTreeMenu| + 3.Options.................................|NERDTreeOptions| + 3.1.Option summary....................|NERDTreeOptionSummary| + 3.2.Option details....................|NERDTreeOptionDetails| + 4.The NERD tree API.......................|NERDTreeAPI| + 4.1.Key map API.......................|NERDTreeKeymapAPI| + 4.2.Menu API..........................|NERDTreeMenuAPI| + 5.About...................................|NERDTreeAbout| + 6.Changelog...............................|NERDTreeChangelog| + 7.Credits.................................|NERDTreeCredits| + 8.License.................................|NERDTreeLicense| + +============================================================================== +1. Intro *NERDTree* + +What is this "NERD tree"?? + +The NERD tree allows you to explore your filesystem and to open files and +directories. It presents the filesystem to you in the form of a tree which you +manipulate with the keyboard and/or mouse. It also allows you to perform +simple filesystem operations. + +The following features and functionality are provided by the NERD tree: + * Files and directories are displayed in a hierarchical tree structure + * Different highlighting is provided for the following types of nodes: + * files + * directories + * sym-links + * windows .lnk files + * read-only files + * executable files + * Many (customisable) mappings are provided to manipulate the tree: + * Mappings to open/close/explore directory nodes + * Mappings to open files in new/existing windows/tabs + * Mappings to change the current root of the tree + * Mappings to navigate around the tree + * ... + * Directories and files can be bookmarked. + * Most NERD tree navigation can also be done with the mouse + * Filtering of tree content (can be toggled at runtime) + * custom file filters to prevent e.g. vim backup files being displayed + * optional displaying of hidden files (. files) + * files can be "turned off" so that only directories are displayed + * The position and size of the NERD tree window can be customised + * The order in which the nodes in the tree are listed can be customised. + * A model of your filesystem is created/maintained as you explore it. This + has several advantages: + * All filesystem information is cached and is only re-read on demand + * If you revisit a part of the tree that you left earlier in your + session, the directory nodes will be opened/closed as you left them + * The script remembers the cursor position and window position in the NERD + tree so you can toggle it off (or just close the tree window) and then + reopen it (with NERDTreeToggle) the NERD tree window will appear exactly + as you left it + * You can have a separate NERD tree for each tab, share trees across tabs, + or a mix of both. + * By default the script overrides the default file browser (netw), so if + you :edit a directory a (slighly modified) NERD tree will appear in the + current window + * A programmable menu system is provided (simulates right clicking on a + node) + * one default menu plugin is provided to perform basic filesytem + operations (create/delete/move/copy files/directories) + * There's an API for adding your own keymappings + + +============================================================================== +2. Functionality provided *NERDTreeFunctionality* + +------------------------------------------------------------------------------ +2.1. Global Commands *NERDTreeGlobalCommands* + +:NERDTree [ | ] *:NERDTree* + Opens a fresh NERD tree. The root of the tree depends on the argument + given. There are 3 cases: If no argument is given, the current directory + will be used. If a directory is given, that will be used. If a bookmark + name is given, the corresponding directory will be used. For example: > + :NERDTree /home/marty/vim7/src + :NERDTree foo (foo is the name of a bookmark) +< +:NERDTreeFromBookmark *:NERDTreeFromBookmark* + Opens a fresh NERD tree with the root initialized to the dir for + . This only reason to use this command over :NERDTree is for + the completion (which is for bookmarks rather than directories). + +:NERDTreeToggle [ | ] *:NERDTreeToggle* + If a NERD tree already exists for this tab, it is reopened and rendered + again. If no NERD tree exists for this tab then this command acts the + same as the |:NERDTree| command. + +:NERDTreeMirror *:NERDTreeMirror* + Shares an existing NERD tree, from another tab, in the current tab. + Changes made to one tree are reflected in both as they are actually the + same buffer. + + If only one other NERD tree exists, that tree is automatically mirrored. If + more than one exists, the script will ask which tree to mirror. + +:NERDTreeClose *:NERDTreeClose* + Close the NERD tree in this tab. + +:NERDTreeFind *:NERDTreeFind* + Find the current file in the tree. + + If not tree exists and the current file is under vim's CWD, then init a + tree at the CWD and reveal the file. Otherwise init a tree in the current + file's directory. + + In any case, the current file is revealed and the cursor is placed on it. + +------------------------------------------------------------------------------ +2.2. Bookmarks *NERDTreeBookmarks* + +Bookmarks in the NERD tree are a way to tag files or directories of interest. +For example, you could use bookmarks to tag all of your project directories. + +------------------------------------------------------------------------------ +2.2.1. The Bookmark Table *NERDTreeBookmarkTable* + +If the bookmark table is active (see |NERDTree-B| and +|'NERDTreeShowBookmarks'|), it will be rendered above the tree. You can double +click bookmarks or use the |NERDTree-o| mapping to activate them. See also, +|NERDTree-t| and |NERDTree-T| + +------------------------------------------------------------------------------ +2.2.2. Bookmark commands *NERDTreeBookmarkCommands* + +Note that the following commands are only available in the NERD tree buffer. + +:Bookmark + Bookmark the current node as . If there is already a + bookmark, it is overwritten. must not contain spaces. + If is not provided, it defaults to the file or directory name. + For directories, a trailing slash is present. + +:BookmarkToRoot + Make the directory corresponding to the new root. If a treenode + corresponding to is already cached somewhere in the tree then + the current tree will be used, otherwise a fresh tree will be opened. + Note that if points to a file then its parent will be used + instead. + +:RevealBookmark + If the node is cached under the current root then it will be revealed + (i.e. directory nodes above it will be opened) and the cursor will be + placed on it. + +:OpenBookmark + must point to a file. The file is opened as though |NERDTree-o| + was applied. If the node is cached under the current root then it will be + revealed and the cursor will be placed on it. + +:ClearBookmarks [] + Remove all the given bookmarks. If no bookmarks are given then remove all + bookmarks on the current node. + +:ClearAllBookmarks + Remove all bookmarks. + +:ReadBookmarks + Re-read the bookmarks in the |'NERDTreeBookmarksFile'|. + +See also |:NERDTree| and |:NERDTreeFromBookmark|. + +------------------------------------------------------------------------------ +2.2.3. Invalid Bookmarks *NERDTreeInvalidBookmarks* + +If invalid bookmarks are detected, the script will issue an error message and +the invalid bookmarks will become unavailable for use. + +These bookmarks will still be stored in the bookmarks file (see +|'NERDTreeBookmarksFile'|), down the bottom. There will always be a blank line +after the valid bookmarks but before the invalid ones. + +Each line in the bookmarks file represents one bookmark. The proper format is: + + +After you have corrected any invalid bookmarks, either restart vim, or go +:ReadBookmarks from the NERD tree window. + +------------------------------------------------------------------------------ +2.3. NERD tree Mappings *NERDTreeMappings* + +Default Description~ help-tag~ +Key~ + +o.......Open files, directories and bookmarks....................|NERDTree-o| +go......Open selected file, but leave cursor in the NERDTree.....|NERDTree-go| +t.......Open selected node/bookmark in a new tab.................|NERDTree-t| +T.......Same as 't' but keep the focus on the current tab........|NERDTree-T| +i.......Open selected file in a split window.....................|NERDTree-i| +gi......Same as i, but leave the cursor on the NERDTree..........|NERDTree-gi| +s.......Open selected file in a new vsplit.......................|NERDTree-s| +gs......Same as s, but leave the cursor on the NERDTree..........|NERDTree-gs| +O.......Recursively open the selected directory..................|NERDTree-O| +x.......Close the current nodes parent...........................|NERDTree-x| +X.......Recursively close all children of the current node.......|NERDTree-X| +e.......Edit the current dif.....................................|NERDTree-e| + +...............same as |NERDTree-o|. +double-click.......same as the |NERDTree-o| map. +middle-click.......same as |NERDTree-i| for files, same as + |NERDTree-e| for dirs. + +D.......Delete the current bookmark .............................|NERDTree-D| + +P.......Jump to the root node....................................|NERDTree-P| +p.......Jump to current nodes parent.............................|NERDTree-p| +K.......Jump up inside directories at the current tree depth.....|NERDTree-K| +J.......Jump down inside directories at the current tree depth...|NERDTree-J| +...Jump down to the next sibling of the current directory...|NERDTree-C-J| +...Jump up to the previous sibling of the current directory.|NERDTree-C-K| + +C.......Change the tree root to the selected dir.................|NERDTree-C| +u.......Move the tree root up one directory......................|NERDTree-u| +U.......Same as 'u' except the old root node is left open........|NERDTree-U| +r.......Recursively refresh the current directory................|NERDTree-r| +R.......Recursively refresh the current root.....................|NERDTree-R| +m.......Display the NERD tree menu...............................|NERDTree-m| +cd......Change the CWD to the dir of the selected node...........|NERDTree-cd| + +I.......Toggle whether hidden files displayed....................|NERDTree-I| +f.......Toggle whether the file filters are used.................|NERDTree-f| +F.......Toggle whether files are displayed.......................|NERDTree-F| +B.......Toggle whether the bookmark table is displayed...........|NERDTree-B| + +q.......Close the NERDTree window................................|NERDTree-q| +A.......Zoom (maximize/minimize) the NERDTree window.............|NERDTree-A| +?.......Toggle the display of the quick help.....................|NERDTree-?| + +------------------------------------------------------------------------------ + *NERDTree-o* +Default key: o +Map option: NERDTreeMapActivateNode +Applies to: files and directories. + +If a file node is selected, it is opened in the previous window. + +If a directory is selected it is opened or closed depending on its current +state. + +If a bookmark that links to a directory is selected then that directory +becomes the new root. + +If a bookmark that links to a file is selected then that file is opened in the +previous window. + +------------------------------------------------------------------------------ + *NERDTree-go* +Default key: go +Map option: None +Applies to: files. + +If a file node is selected, it is opened in the previous window, but the +cursor does not move. + +The key combo for this mapping is always "g" + NERDTreeMapActivateNode (see +|NERDTree-o|). + +------------------------------------------------------------------------------ + *NERDTree-t* +Default key: t +Map option: NERDTreeMapOpenInTab +Applies to: files and directories. + +Opens the selected file in a new tab. If a directory is selected, a fresh +NERD Tree for that directory is opened in a new tab. + +If a bookmark which points to a directory is selected, open a NERD tree for +that directory in a new tab. If the bookmark points to a file, open that file +in a new tab. + +------------------------------------------------------------------------------ + *NERDTree-T* +Default key: T +Map option: NERDTreeMapOpenInTabSilent +Applies to: files and directories. + +The same as |NERDTree-t| except that the focus is kept in the current tab. + +------------------------------------------------------------------------------ + *NERDTree-i* +Default key: i +Map option: NERDTreeMapOpenSplit +Applies to: files. + +Opens the selected file in a new split window and puts the cursor in the new +window. + +------------------------------------------------------------------------------ + *NERDTree-gi* +Default key: gi +Map option: None +Applies to: files. + +The same as |NERDTree-i| except that the cursor is not moved. + +The key combo for this mapping is always "g" + NERDTreeMapOpenSplit (see +|NERDTree-i|). + +------------------------------------------------------------------------------ + *NERDTree-s* +Default key: s +Map option: NERDTreeMapOpenVSplit +Applies to: files. + +Opens the selected file in a new vertically split window and puts the cursor in +the new window. + +------------------------------------------------------------------------------ + *NERDTree-gs* +Default key: gs +Map option: None +Applies to: files. + +The same as |NERDTree-s| except that the cursor is not moved. + +The key combo for this mapping is always "g" + NERDTreeMapOpenVSplit (see +|NERDTree-s|). + +------------------------------------------------------------------------------ + *NERDTree-O* +Default key: O +Map option: NERDTreeMapOpenRecursively +Applies to: directories. + +Recursively opens the selelected directory. + +All files and directories are cached, but if a directory would not be +displayed due to file filters (see |'NERDTreeIgnore'| |NERDTree-f|) or the +hidden file filter (see |'NERDTreeShowHidden'|) then its contents are not +cached. This is handy, especially if you have .svn directories. + +------------------------------------------------------------------------------ + *NERDTree-x* +Default key: x +Map option: NERDTreeMapCloseDir +Applies to: files and directories. + +Closes the parent of the selected node. + +------------------------------------------------------------------------------ + *NERDTree-X* +Default key: X +Map option: NERDTreeMapCloseChildren +Applies to: directories. + +Recursively closes all children of the selected directory. + +Tip: To quickly "reset" the tree, use |NERDTree-P| with this mapping. + +------------------------------------------------------------------------------ + *NERDTree-e* +Default key: e +Map option: NERDTreeMapOpenExpl +Applies to: files and directories. + +|:edit|s the selected directory, or the selected file's directory. This could +result in a NERD tree or a netrw being opened, depending on +|'NERDTreeHijackNetrw'|. + +------------------------------------------------------------------------------ + *NERDTree-D* +Default key: D +Map option: NERDTreeMapDeleteBookmark +Applies to: lines in the bookmarks table + +Deletes the currently selected bookmark. + +------------------------------------------------------------------------------ + *NERDTree-P* +Default key: P +Map option: NERDTreeMapJumpRoot +Applies to: no restrictions. + +Jump to the tree root. + +------------------------------------------------------------------------------ + *NERDTree-p* +Default key: p +Map option: NERDTreeMapJumpParent +Applies to: files and directories. + +Jump to the parent node of the selected node. + +------------------------------------------------------------------------------ + *NERDTree-K* +Default key: K +Map option: NERDTreeMapJumpFirstChild +Applies to: files and directories. + +Jump to the first child of the current nodes parent. + +If the cursor is already on the first node then do the following: + * loop back thru the siblings of the current nodes parent until we find an + open dir with children + * go to the first child of that node + +------------------------------------------------------------------------------ + *NERDTree-J* +Default key: J +Map option: NERDTreeMapJumpLastChild +Applies to: files and directories. + +Jump to the last child of the current nodes parent. + +If the cursor is already on the last node then do the following: + * loop forward thru the siblings of the current nodes parent until we find + an open dir with children + * go to the last child of that node + +------------------------------------------------------------------------------ + *NERDTree-C-J* +Default key: +Map option: NERDTreeMapJumpNextSibling +Applies to: files and directories. + +Jump to the next sibling of the selected node. + +------------------------------------------------------------------------------ + *NERDTree-C-K* +Default key: +Map option: NERDTreeMapJumpPrevSibling +Applies to: files and directories. + +Jump to the previous sibling of the selected node. + +------------------------------------------------------------------------------ + *NERDTree-C* +Default key: C +Map option: NERDTreeMapChdir +Applies to: directories. + +Make the selected directory node the new tree root. If a file is selected, its +parent is used. + +------------------------------------------------------------------------------ + *NERDTree-u* +Default key: u +Map option: NERDTreeMapUpdir +Applies to: no restrictions. + +Move the tree root up a dir (like doing a "cd .."). + +------------------------------------------------------------------------------ + *NERDTree-U* +Default key: U +Map option: NERDTreeMapUpdirKeepOpen +Applies to: no restrictions. + +Like |NERDTree-u| except that the old tree root is kept open. + +------------------------------------------------------------------------------ + *NERDTree-r* +Default key: r +Map option: NERDTreeMapRefresh +Applies to: files and directories. + +If a dir is selected, recursively refresh that dir, i.e. scan the filesystem +for changes and represent them in the tree. + +If a file node is selected then the above is done on it's parent. + +------------------------------------------------------------------------------ + *NERDTree-R* +Default key: R +Map option: NERDTreeMapRefreshRoot +Applies to: no restrictions. + +Recursively refresh the tree root. + +------------------------------------------------------------------------------ + *NERDTree-m* +Default key: m +Map option: NERDTreeMapMenu +Applies to: files and directories. + +Display the NERD tree menu. See |NERDTreeMenu| for details. + +------------------------------------------------------------------------------ + *NERDTree-cd* +Default key: cd +Map option: NERDTreeMapChdir +Applies to: files and directories. + +Change vims current working directory to that of the selected node. + +------------------------------------------------------------------------------ + *NERDTree-I* +Default key: I +Map option: NERDTreeMapToggleHidden +Applies to: no restrictions. + +Toggles whether hidden files (i.e. "dot files") are displayed. + +------------------------------------------------------------------------------ + *NERDTree-f* +Default key: f +Map option: NERDTreeMapToggleFilters +Applies to: no restrictions. + +Toggles whether file filters are used. See |'NERDTreeIgnore'| for details. + +------------------------------------------------------------------------------ + *NERDTree-F* +Default key: F +Map option: NERDTreeMapToggleFiles +Applies to: no restrictions. + +Toggles whether file nodes are displayed. + +------------------------------------------------------------------------------ + *NERDTree-B* +Default key: B +Map option: NERDTreeMapToggleBookmarks +Applies to: no restrictions. + +Toggles whether the bookmarks table is displayed. + +------------------------------------------------------------------------------ + *NERDTree-q* +Default key: q +Map option: NERDTreeMapQuit +Applies to: no restrictions. + +Closes the NERDtree window. + +------------------------------------------------------------------------------ + *NERDTree-A* +Default key: A +Map option: NERDTreeMapToggleZoom +Applies to: no restrictions. + +Maximize (zoom) and minimize the NERDtree window. + +------------------------------------------------------------------------------ + *NERDTree-?* +Default key: ? +Map option: NERDTreeMapHelp +Applies to: no restrictions. + +Toggles whether the quickhelp is displayed. + +------------------------------------------------------------------------------ +2.3. The NERD tree menu *NERDTreeMenu* + +The NERD tree has a menu that can be programmed via the an API (see +|NERDTreeMenuAPI|). The idea is to simulate the "right click" menus that most +file explorers have. + +The script comes with two default menu plugins: exec_menuitem.vim and +fs_menu.vim. fs_menu.vim adds some basic filesystem operations to the menu for +creating/deleting/moving/copying files and dirs. exec_menuitem.vim provides a +menu item to execute executable files. + +Related tags: |NERDTree-m| |NERDTreeApi| + +============================================================================== +3. Customisation *NERDTreeOptions* + + +------------------------------------------------------------------------------ +3.1. Customisation summary *NERDTreeOptionSummary* + +The script provides the following options that can customise the behaviour the +NERD tree. These options should be set in your vimrc. + +|'loaded_nerd_tree'| Turns off the script. + +|'NERDChristmasTree'| Tells the NERD tree to make itself colourful + and pretty. + +|'NERDTreeAutoCenter'| Controls whether the NERD tree window centers + when the cursor moves within a specified + distance to the top/bottom of the window. +|'NERDTreeAutoCenterThreshold'| Controls the sensitivity of autocentering. + +|'NERDTreeCaseSensitiveSort'| Tells the NERD tree whether to be case + sensitive or not when sorting nodes. + +|'NERDTreeChDirMode'| Tells the NERD tree if/when it should change + vim's current working directory. + +|'NERDTreeHighlightCursorline'| Tell the NERD tree whether to highlight the + current cursor line. + +|'NERDTreeHijackNetrw'| Tell the NERD tree whether to replace the netrw + autocommands for exploring local directories. + +|'NERDTreeIgnore'| Tells the NERD tree which files to ignore. + +|'NERDTreeBookmarksFile'| Where the bookmarks are stored. + +|'NERDTreeMouseMode'| Tells the NERD tree how to handle mouse + clicks. + +|'NERDTreeQuitOnOpen'| Closes the tree window after opening a file. + +|'NERDTreeShowBookmarks'| Tells the NERD tree whether to display the + bookmarks table on startup. + +|'NERDTreeShowFiles'| Tells the NERD tree whether to display files + in the tree on startup. + +|'NERDTreeShowHidden'| Tells the NERD tree whether to display hidden + files on startup. + +|'NERDTreeShowLineNumbers'| Tells the NERD tree whether to display line + numbers in the tree window. + +|'NERDTreeSortOrder'| Tell the NERD tree how to sort the nodes in + the tree. + +|'NERDTreeStatusline'| Set a statusline for NERD tree windows. + +|'NERDTreeWinPos'| Tells the script where to put the NERD tree + window. + +|'NERDTreeWinSize'| Sets the window size when the NERD tree is + opened. + +|'NERDTreeMinimalUI'| Disables display of the 'Bookmarks' label and + 'Press ? for help' text. + +|'NERDTreeDirArrows'| Tells the NERD tree to use arrows instead of + + ~ chars when displaying directories. + +------------------------------------------------------------------------------ +3.2. Customisation details *NERDTreeOptionDetails* + +To enable any of the below options you should put the given line in your +~/.vimrc + + *'loaded_nerd_tree'* +If this plugin is making you feel homicidal, it may be a good idea to turn it +off with this line in your vimrc: > + let loaded_nerd_tree=1 +< +------------------------------------------------------------------------------ + *'NERDChristmasTree'* +Values: 0 or 1. +Default: 1. + +If this option is set to 1 then some extra syntax highlighting elements are +added to the nerd tree to make it more colourful. + +Set it to 0 for a more vanilla looking tree. + +------------------------------------------------------------------------------ + *'NERDTreeAutoCenter'* +Values: 0 or 1. +Default: 1 + +If set to 1, the NERD tree window will center around the cursor if it moves to +within |'NERDTreeAutoCenterThreshold'| lines of the top/bottom of the window. + +This is ONLY done in response to tree navigation mappings, +i.e. |NERDTree-J| |NERDTree-K| |NERDTree-C-J| |NERDTree-C-K| |NERDTree-p| +|NERDTree-P| + +The centering is done with a |zz| operation. + +------------------------------------------------------------------------------ + *'NERDTreeAutoCenterThreshold'* +Values: Any natural number. +Default: 3 + +This option controls the "sensitivity" of the NERD tree auto centering. See +|'NERDTreeAutoCenter'| for details. + +------------------------------------------------------------------------------ + *'NERDTreeCaseSensitiveSort'* +Values: 0 or 1. +Default: 0. + +By default the NERD tree does not sort nodes case sensitively, i.e. nodes +could appear like this: > + bar.c + Baz.c + blarg.c + boner.c + Foo.c +< +But, if you set this option to 1 then the case of the nodes will be taken into +account. The above nodes would then be sorted like this: > + Baz.c + Foo.c + bar.c + blarg.c + boner.c +< +------------------------------------------------------------------------------ + *'NERDTreeChDirMode'* + +Values: 0, 1 or 2. +Default: 0. + +Use this option to tell the script when (if at all) to change the current +working directory (CWD) for vim. + +If it is set to 0 then the CWD is never changed by the NERD tree. + +If set to 1 then the CWD is changed when the NERD tree is first loaded to the +directory it is initialized in. For example, if you start the NERD tree with > + :NERDTree /home/marty/foobar +< +then the CWD will be changed to /home/marty/foobar and will not be changed +again unless you init another NERD tree with a similar command. + +If the option is set to 2 then it behaves the same as if set to 1 except that +the CWD is changed whenever the tree root is changed. For example, if the CWD +is /home/marty/foobar and you make the node for /home/marty/foobar/baz the new +root then the CWD will become /home/marty/foobar/baz. + +------------------------------------------------------------------------------ + *'NERDTreeHighlightCursorline'* +Values: 0 or 1. +Default: 1. + +If set to 1, the current cursor line in the NERD tree buffer will be +highlighted. This is done using the |'cursorline'| option. + +------------------------------------------------------------------------------ + *'NERDTreeHijackNetrw'* +Values: 0 or 1. +Default: 1. + +If set to 1, doing a > + :edit +< +will open up a "secondary" NERD tree instead of a netrw in the target window. + +Secondary NERD trees behaves slighly different from a regular trees in the +following respects: + 1. 'o' will open the selected file in the same window as the tree, + replacing it. + 2. you can have as many secondary tree as you want in the same tab. + +------------------------------------------------------------------------------ + *'NERDTreeIgnore'* +Values: a list of regular expressions. +Default: ['\~$']. + +This option is used to specify which files the NERD tree should ignore. It +must be a list of regular expressions. When the NERD tree is rendered, any +files/dirs that match any of the regex's in 'NERDTreeIgnore' wont be +displayed. + +For example if you put the following line in your vimrc: > + let NERDTreeIgnore=['\.vim$', '\~$'] +< +then all files ending in .vim or ~ will be ignored. + +There are 2 magic flags that can be appended to the end of each regular +expression to specify that the regex should match only files or only dirs. +These flags are "[[dir]]" and "[[file]]". Example: > + let NERDTreeIgnore=['.d$[[dir]]', '.o$[[file]]'] +< +This will cause all dirs ending in ".d" to be ignored and all files ending in +".o" to be ignored. + +Note: to tell the NERD tree not to ignore any files you must use the following +line: > + let NERDTreeIgnore=[] +< + +The file filters can be turned on and off dynamically with the |NERDTree-f| +mapping. + +------------------------------------------------------------------------------ + *'NERDTreeBookmarksFile'* +Values: a path +Default: $HOME/.NERDTreeBookmarks + +This is where bookmarks are saved. See |NERDTreeBookmarkCommands|. + +------------------------------------------------------------------------------ + *'NERDTreeMouseMode'* +Values: 1, 2 or 3. +Default: 1. + +If set to 1 then a double click on a node is required to open it. +If set to 2 then a single click will open directory nodes, while a double +click will still be required for file nodes. +If set to 3 then a single click will open any node. + +Note: a double click anywhere on a line that a tree node is on will +activate it, but all single-click activations must be done on name of the node +itself. For example, if you have the following node: > + | | |-application.rb +< +then (to single click activate it) you must click somewhere in +'application.rb'. + +------------------------------------------------------------------------------ + *'NERDTreeQuitOnOpen'* + +Values: 0 or 1. +Default: 0 + +If set to 1, the NERD tree window will close after opening a file with the +|NERDTree-o|, |NERDTree-i|, |NERDTree-t| and |NERDTree-T| mappings. + +------------------------------------------------------------------------------ + *'NERDTreeShowBookmarks'* +Values: 0 or 1. +Default: 0. + +If this option is set to 1 then the bookmarks table will be displayed. + +This option can be toggled dynamically, per tree, with the |NERDTree-B| +mapping. + +------------------------------------------------------------------------------ + *'NERDTreeShowFiles'* +Values: 0 or 1. +Default: 1. + +If this option is set to 1 then files are displayed in the NERD tree. If it is +set to 0 then only directories are displayed. + +This option can be toggled dynamically, per tree, with the |NERDTree-F| +mapping and is useful for drastically shrinking the tree when you are +navigating to a different part of the tree. + +------------------------------------------------------------------------------ + *'NERDTreeShowHidden'* +Values: 0 or 1. +Default: 0. + +This option tells vim whether to display hidden files by default. This option +can be dynamically toggled, per tree, with the |NERDTree-I| mapping. Use one +of the follow lines to set this option: > + let NERDTreeShowHidden=0 + let NERDTreeShowHidden=1 +< + +------------------------------------------------------------------------------ + *'NERDTreeShowLineNumbers'* +Values: 0 or 1. +Default: 0. + +This option tells vim whether to display line numbers for the NERD tree +window. Use one of the follow lines to set this option: > + let NERDTreeShowLineNumbers=0 + let NERDTreeShowLineNumbers=1 +< + +------------------------------------------------------------------------------ + *'NERDTreeSortOrder'* +Values: a list of regular expressions. +Default: ['\/$', '*', '\.swp$', '\.bak$', '\~$'] + +This option is set to a list of regular expressions which are used to +specify the order of nodes under their parent. + +For example, if the option is set to: > + ['\.vim$', '\.c$', '\.h$', '*', 'foobar'] +< +then all .vim files will be placed at the top, followed by all .c files then +all .h files. All files containing the string 'foobar' will be placed at the +end. The star is a special flag: it tells the script that every node that +doesnt match any of the other regexps should be placed here. + +If no star is present in 'NERDTreeSortOrder' then one is automatically +appended to the array. + +The regex '\/$' should be used to match directory nodes. + +After this sorting is done, the files in each group are sorted alphabetically. + +Other examples: > + (1) ['*', '\/$'] + (2) [] + (3) ['\/$', '\.rb$', '\.php$', '*', '\.swp$', '\.bak$', '\~$'] +< +1. Directories will appear last, everything else will appear above. +2. Everything will simply appear in alphabetical order. +3. Dirs will appear first, then ruby and php. Swap files, bak files and vim + backup files will appear last with everything else preceding them. + +------------------------------------------------------------------------------ + *'NERDTreeStatusline'* +Values: Any valid statusline setting. +Default: %{b:NERDTreeRoot.path.strForOS(0)} + +Tells the script what to use as the |'statusline'| setting for NERD tree +windows. + +Note that the statusline is set using |:let-&| not |:set| so escaping spaces +isn't necessary. + +Setting this option to -1 will will deactivate it so that your global +statusline setting is used instead. + +------------------------------------------------------------------------------ + *'NERDTreeWinPos'* +Values: "left" or "right" +Default: "left". + +This option is used to determine where NERD tree window is placed on the +screen. + +This option makes it possible to use two different explorer plugins +simultaneously. For example, you could have the taglist plugin on the left of +the window and the NERD tree on the right. + +------------------------------------------------------------------------------ + *'NERDTreeWinSize'* +Values: a positive integer. +Default: 31. + +This option is used to change the size of the NERD tree when it is loaded. + +------------------------------------------------------------------------------ + *'NERDTreeMinimalUI'* +Values: 0 or 1 +Default: 0 + +This options disables the 'Bookmarks' label 'Press ? for help' text. Use one +of the following lines to set this option: > + let NERDTreeMinimalUI=0 + let NERDTreeMinimalUI=1 +< + +------------------------------------------------------------------------------ + *'NERDTreeDirArrows'* +Values: 0 or 1 +Default: 0. + +This option is used to change the default look of directory nodes displayed in +the tree. When set to 0 it shows old-school bars (|), + and ~ chars. If set to +1 it shows right and down arrows. Use one of the follow lines to set this +option: > + let NERDTreeDirArrows=0 + let NERDTreeDirArrows=1 +< + +============================================================================== +4. The NERD tree API *NERDTreeAPI* + +The NERD tree script allows you to add custom key mappings and menu items via +a set of API calls. Any scripts that use this API should be placed in +~/.vim/nerdtree_plugin/ (*nix) or ~/vimfiles/nerdtree_plugin (windows). + +The script exposes some prototype objects that can be used to manipulate the +tree and/or get information from it: > + g:NERDTreePath + g:NERDTreeDirNode + g:NERDTreeFileNode + g:NERDTreeBookmark +< +See the code/comments in NERD_tree.vim to find how to use these objects. The +following code conventions are used: + * class members start with a capital letter + * instance members start with a lower case letter + * private members start with an underscore + +See this blog post for more details: + http://got-ravings.blogspot.com/2008/09/vim-pr0n-prototype-based-objects.html + +------------------------------------------------------------------------------ +4.1. Key map API *NERDTreeKeymapAPI* + +NERDTreeAddKeyMap({options}) *NERDTreeAddKeyMap()* + Adds a new keymapping for all NERD tree buffers. + {options} must be a dictionary, and must contain the following keys: + "key" - the trigger key for the new mapping + "callback" - the function the new mapping will be bound to + "quickhelpText" - the text that will appear in the quickhelp (see + |NERDTree-?|) + + Additionally, a "scope" argument may be supplied. This constrains the + mapping so that it is only activated if the cursor is on a certain object. + That object is then passed into the handling method. Possible values are: + "FileNode" - a file node + "DirNode" - a directory node + "Node" - a file or directory node + "Bookmark" - A bookmark + "all" - the keymap is not constrained to any scope (default). When + thei is used, the handling function is not passed any arguments. + + + Example: > + call NERDTreeAddKeyMap({ + \ 'key': 'foo', + \ 'callback': 'NERDTreeCDHandler', + \ 'quickhelpText': 'echo full path of current node' }) + \ 'scope': 'DirNode' + + function! NERDTreeCDHandler(dirnode) + call a:dirnode.changeToDir() + endfunction +< + This code should sit in a file like ~/.vim/nerdtree_plugin/mymapping.vim. + It adds a (redundant) mapping on 'foo' which changes vim's CWD to that of + the current dir node. Note this mapping will only fire when the cursor is + on a directory node. + +------------------------------------------------------------------------------ +4.2. Menu API *NERDTreeMenuAPI* + +NERDTreeAddSubmenu({options}) *NERDTreeAddSubmenu()* + Creates and returns a new submenu. + + {options} must be a dictionary and must contain the following keys: + "text" - the text of the submenu that the user will see + "shortcut" - a shortcut key for the submenu (need not be unique) + + The following keys are optional: + "isActiveCallback" - a function that will be called to determine whether + this submenu item will be displayed or not. The callback function must return + 0 or 1. + "parent" - the parent submenu of the new submenu (returned from a previous + invocation of NERDTreeAddSubmenu()). If this key is left out then the new + submenu will sit under the top level menu. + + See below for an example. + +NERDTreeAddMenuItem({options}) *NERDTreeAddMenuItem()* + Adds a new menu item to the NERD tree menu (see |NERDTreeMenu|). + + {options} must be a dictionary and must contain the + following keys: + "text" - the text of the menu item which the user will see + "shortcut" - a shortcut key for the menu item (need not be unique) + "callback" - the function that will be called when the user activates the + menu item. + + The following keys are optional: + "isActiveCallback" - a function that will be called to determine whether + this menu item will be displayed or not. The callback function must return + 0 or 1. + "parent" - if the menu item belongs under a submenu then this key must be + specified. This value for this key will be the object that + was returned when the submenu was created with |NERDTreeAddSubmenu()|. + + See below for an example. + +NERDTreeAddMenuSeparator([{options}]) *NERDTreeAddMenuSeparator()* + Adds a menu separator (a row of dashes). + + {options} is an optional dictionary that may contain the following keys: + "isActiveCallback" - see description in |NERDTreeAddMenuItem()|. + +Below is an example of the menu API in action. > + call NERDTreeAddMenuSeparator() + + call NERDTreeAddMenuItem({ + \ 'text': 'a (t)op level menu item', + \ 'shortcut': 't', + \ 'callback': 'SomeFunction' }) + + let submenu = NERDTreeAddSubmenu({ + \ 'text': 'a (s)ub menu', + \ 'shortcut': 's' }) + + call NERDTreeAddMenuItem({ + \ 'text': '(n)ested item 1', + \ 'shortcut': 'n', + \ 'callback': 'SomeFunction', + \ 'parent': submenu }) + + call NERDTreeAddMenuItem({ + \ 'text': '(n)ested item 2', + \ 'shortcut': 'n', + \ 'callback': 'SomeFunction', + \ 'parent': submenu }) +< +This will create the following menu: > + -------------------- + a (t)op level menu item + a (s)ub menu +< +Where selecting "a (s)ub menu" will lead to a second menu: > + (n)ested item 1 + (n)ested item 2 +< +When any of the 3 concrete menu items are selected the function "SomeFunction" +will be called. + +------------------------------------------------------------------------------ +NERDTreeRender() *NERDTreeRender()* + Re-renders the NERD tree buffer. Useful if you change the state of the + tree and you want to it to be reflected in the UI. + +============================================================================== +5. About *NERDTreeAbout* + +The author of the NERD tree is a terrible terrible monster called Martyzilla +who gobbles up small children with milk and sugar for breakfast. + +He can be reached at martin.grenfell at gmail dot com. He would love to hear +from you, so feel free to send him suggestions and/or comments about this +plugin. Don't be shy --- the worst he can do is slaughter you and stuff you in +the fridge for later ;) + +The latest stable versions can be found at + http://www.vim.org/scripts/script.php?script_id=1658 + +The latest dev versions are on github + http://github.com/scrooloose/nerdtree + + +============================================================================== +6. Changelog *NERDTreeChangelog* + +Next + - add 'scope' argument to the key map API + - add NERDTreeCustomIgnoreFilter hook - needs doc + - add magic [[dir]] and [[file]] flags to NERDTreeIgnore + +4.2.0 + - Add NERDTreeDirArrows option to make the UI use pretty arrow chars + instead of the old +~| chars to define the tree structure (sickill) + - shift the syntax highlighting out into its own syntax file (gnap) + - add some mac specific options to the filesystem menu - for macvim + only (andersonfreitas) + - Add NERDTreeMinimalUI option to remove some non functional parts of the + nerdtree ui (camthompson) + - tweak the behaviour of :NERDTreeFind - see :help :NERDTreeFind for the + new behaviour (benjamingeiger) + - if no name is given to :Bookmark, make it default to the name of the + target file/dir (minyoung) + - use 'file' completion when doing copying, create, and move + operations (EvanDotPro) + - lots of misc bug fixes (paddyoloughlin, sdewald, camthompson, Vitaly + Bogdanov, AndrewRadev, mathias, scottstvnsn, kml, wycats, me RAWR!) + +4.1.0 + features: + - NERDTreeFind to reveal the node for the current buffer in the tree, + see |NERDTreeFind|. This effectively merges the FindInNERDTree plugin (by + Doug McInnes) into the script. + - make NERDTreeQuitOnOpen apply to the t/T keymaps too. Thanks to Stefan + Ritter and Rémi Prévost. + - truncate the root node if wider than the tree window. Thanks to Victor + Gonzalez. + + bugfixes: + - really fix window state restoring + - fix some win32 path escaping issues. Thanks to Stephan Baumeister, Ricky, + jfilip1024, and Chris Chambers + +4.0.0 + - add a new programmable menu system (see :help NERDTreeMenu). + - add new APIs to add menus/menu-items to the menu system as well as + custom key mappings to the NERD tree buffer (see :help NERDTreeAPI). + - removed the old API functions + - added a mapping to maximize/restore the size of nerd tree window, thanks + to Guillaume Duranceau for the patch. See :help NERDTree-A for details. + + - fix a bug where secondary nerd trees (netrw hijacked trees) and + NERDTreeQuitOnOpen didnt play nicely, thanks to Curtis Harvey. + - fix a bug where the script ignored directories whose name ended in a dot, + thanks to Aggelos Orfanakos for the patch. + - fix a bug when using the x mapping on the tree root, thanks to Bryan + Venteicher for the patch. + - fix a bug where the cursor position/window size of the nerd tree buffer + wasnt being stored on closing the window, thanks to Richard Hart. + - fix a bug where NERDTreeMirror would mirror the wrong tree + +3.1.1 + - fix a bug where a non-listed no-name buffer was getting created every + time the tree windows was created, thanks to Derek Wyatt and owen1 + - make behave the same as the 'o' mapping + - some helptag fixes in the doc, thanks strull + - fix a bug when using :set nohidden and opening a file where the previous + buf was modified. Thanks iElectric + - other minor fixes + +3.1.0 + New features: + - add mappings to open files in a vsplit, see :help NERDTree-s and :help + NERDTree-gs + - make the statusline for the nerd tree window default to something + hopefully more useful. See :help 'NERDTreeStatusline' + Bugfixes: + - make the hijack netrw functionality work when vim is started with "vim + " (thanks to Alf Mikula for the patch). + - fix a bug where the CWD wasnt being changed for some operations even when + NERDTreeChDirMode==2 (thanks to Lucas S. Buchala) + - add -bar to all the nerd tree :commands so they can chain with other + :commands (thanks to tpope) + - fix bugs when ignorecase was set (thanks to nach) + - fix a bug with the relative path code (thanks to nach) + - fix a bug where doing a :cd would cause :NERDTreeToggle to fail (thanks nach) + + +3.0.1 + Bugfixes: + - fix bugs with :NERDTreeToggle and :NERDTreeMirror when 'hidden + was not set + - fix a bug where :NERDTree would fail if was relative and + didnt start with a ./ or ../ Thanks to James Kanze. + - make the q mapping work with secondary (:e style) trees, + thanks to jamessan + - fix a bunch of small bugs with secondary trees + + More insane refactoring. + +3.0.0 + - hijack netrw so that doing an :edit will put a NERD tree in + the window rather than a netrw browser. See :help 'NERDTreeHijackNetrw' + - allow sharing of trees across tabs, see :help :NERDTreeMirror + - remove "top" and "bottom" as valid settings for NERDTreeWinPos + - change the '' mapping to 'i' + - change the 'H' mapping to 'I' + - lots of refactoring + +============================================================================== +7. Credits *NERDTreeCredits* + +Thanks to the following people for testing, bug reports, ideas etc. Without +you I probably would have got bored of the hacking the NERD tree and +just downloaded pr0n instead. + + Tim Carey-Smith (halorgium) + Vigil + Nick Brettell + Thomas Scott Urban + Terrance Cohen + Yegappan Lakshmanan + Jason Mills + Michael Geddes (frogonwheels) + Yu Jun + Michael Madsen + AOYAMA Shotaro + Zhang Weiwu + Niels Aan de Brugh + Olivier Yiptong + Zhang Shuhan + Cory Echols + Piotr Czachur + Yuan Jiang + Matan Nassau + Maxim Kim + Charlton Wang + Matt Wozniski (godlygeek) + knekk + Sean Chou + Ryan Penn + Simon Peter Nicholls + Michael Foobar + Tomasz Chomiuk + Denis Pokataev + Tim Pope (tpope) + James Kanze + James Vega (jamessan) + Frederic Chanal (nach) + Alf Mikula + Lucas S. Buchala + Curtis Harvey + Guillaume Duranceau + Richard Hart (hates) + Doug McInnes + Stefan Ritter + Rémi Prévost + Victor Gonzalez + Stephan Baumeister + Ricky + jfilip1024 + Chris Chambers + Vitaly Bogdanov + Patrick O'Loughlin (paddyoloughlin) + Cam Thompson (camthompson) + Marcin Kulik (sickill) + Steve DeWald (sdewald) + Ivan Necas (iNecas) + George Ang (gnap) + Evan Coury (EvanDotPro) + Andrew Radev (AndrewRadev) + Matt Gauger (mathias) + Scott Stevenson (scottstvnsn) + Anderson Freitas (andersonfreitas) + Kamil K. Lemański (kml) + Yehuda Katz (wycats) + Min-Young Wu (minyoung) + Benjamin Geiger (benjamingeiger) + +============================================================================== +8. License *NERDTreeLicense* + +The NERD tree is released under the wtfpl. +See http://sam.zoy.org/wtfpl/COPYING. diff --git a/.vim/doc/clojure.txt b/.vim/doc/clojure.txt new file mode 100644 index 0000000..e55bddc --- /dev/null +++ b/.vim/doc/clojure.txt @@ -0,0 +1,266 @@ +*vimclojure.txt* *clojure.vim* + +VimClojure - A Clojure Environment +================================== + +Introduction +------------ + +VimClojure is a filetype plugin and development environment for Clojure. It +provides indenting, syntax highlighting and – if configured – interactive +features like omni completion, documentation lookup and a Repl running in a +Vim buffer. + +Nailgun Server *clj-nailgun-server* +-------------- + +To use the interactive part you have to start the nailgun server via the jar +file. Make sure, that clojure and clojure-contrib are in your classpath and +start the com.martiansoftware.nailgun.NGServer class. Example invocation: +> + java -cp clojure.jar:clojure-contrib.jar:vimclojure.jar com.martiansoftware.nailgun.NGServer 127.0.0.1 +< +This may look different depending on your system. + +You can stop the server by invoking the nailgun client with the ng-stop +argument. +> + ng ng-stop +< +Set the clj_want_gorilla variable in your vimrc. +> + let g:clj_want_gorilla = 1 +< +Note: Should there be an error when executing an interactive command +and the error message goes away to quickly, you can use |:messages| to +recall the message and read it conveniently without time pressure. + +Syntax Highlighting *ft-clj-syntax* +------------------- + +The clojure syntax highlighting provides several options: +> + g:clj_highlight_builtins + If it exists and is nonzero, then Clojure's builtin functions + are highlighted. This useful to distuingish macros and special + forms from functions. + + g:clj_highlight_contrib + If it exists and is nonzero, then Clojure-Contrib's functions + are highlighted. (Currently incomplete) + + g:clj_paren_rainbow + If it exists and is nonzero, then differing levels of + parenthesisation will receive different highlighting. +< +The g:clj_paren_rainbow option provides 10 levels of individual colorisation +for the parentheses. Because of the quantity of colorisation levels, unlike +non-rainbow highlighting, the rainbow mode specifies its highlighting using +ctermfg and guifg, thereby bypassing the usual colorscheme control using +standard highlighting groups. The actual highlighting used depends on the +dark/bright setting (see |'bg'|). + +Keybindings +----------- + +Note: is a Vim feature. More information can be found +under the |maplocalleader| help topic. + +You can redefine any key mapping using some autocommand in your .vimrc file. +All mappings use so-called Plugs. Simply prepend Clojure to the given +Plug name and your setting will override the default mapping. +> + aucmd BufRead,BufNewFile *.clj nmap xyz ClojureEvalToplevel +< + +et *et* *EvalToplevel* + Send off the toplevel sexpression currently + containing the cursor to the Clojure server. + +ef *ef* *EvalFile* + Send off the current file to the Clojure Server. + +eb *eb* *EvalBlock* + Send off the the mark visual block to the + Clojure server. Obviously this mapping is only + active in visual mode. + Note: This does not check for structure. + +el *el* *EvalLine* + Send off the current line to the Clojure Server. + Note: This does not check for structure. + +ep *ep* *EvalParagraph* + Send off the current paragraph to the Clojure Server. + Note: This does not check for structure. + +rf *rf* *RequireFile* + Require the namespace of the current file with + the :reload flag. Note: For this to work with + a remote Clojure server, the files have to put in + place before issueing the command, eg. via scp + or NFS. + +rF *rF* *RequireFileAll* + Require the namespace of the current file with + the :reload-all flag. Note: For this to work with + a remote Clojure server, the files have to put in + place before issueing the command, eg. via scp + or NFS. + +me *me* *MacroExpand* + Expand the innermost sexpression currently + containing the cursor using macroexpand. + +m1 *m1* *MacroExpand1* + Same as MacroExpand, but use macroexpand-1. + + +lw *lw* *DocLookupWord* + Lookup up the word under the cursor and print + the documentation for it via (doc). + +li *li* *DocLookupInteractive* + Lookup the documentation of an arbitrary word. + The user is prompted for input. + +fd *fd* *FindDoc* + Find a the documentation for a given pattern + with (find-doc). The user is prompted for input. + +jw *jw* *JavadocLookupWord* + Open the javadoc for the word under the cursor + in an external browser. + +ji *ji* *JavadocLookupInteractive* + Open the javadoc for an arbitrary word in an + external browser. The user is prompted for input. + +sw *sw* *SourceLookupWord* + Show a read-only view of the source the word under + the cursor. For this to work, the source must be + available in the Classpath or as a file (depending + on how the source was loaded). + +si *si* *SourceLookupInteractive* + Show a read-only view of the source of an arbitrary + word. For this to work, the source must be available + in the Classpath or as a file (depending on how the + source was loaded). + +gw *gw* *GotoSourceWord* + Goto the source of the word under the cursor. For this + to work, the source must be available in a directory + of the |'path'| option. The directories in the + CLOJURE_SOURCE_DIRS environment variable will be added + to the |'path'| setting. + +gi *gi* *GotoSourceInteractive* + Goto the source of an arbitrary word. For this to work, + the source must be available in a directory of the + |'path'| option. The directories in the + CLOJURE_SOURCE_DIRS environment variable will be added + to the |'path'| setting. + +mw *mw* *MetaLookupWord* + Lookup the meta data of the word under the cursor. + +mi *mi* *MetaLookupInteractive* + Lookup the meta data of an arbitrary word. The + user is prompted for input. + +sr *sr* *StartRepl* + Start a new Vim Repl in a fresh buffer. There + might be multiple Repls at the same time. + +Vim Repl +-------- + +Start a Repl via the |sr| shortcut. At the prompt just type expressions. +Hitting enter will determine, whether the expression is complete and +will send it to the Clojure instance. In case the expression is incomplete, +eg. after "(defn foo" will result in a newline for multiline expressions. + +Previously sent expressions may be recalled via and . +Note: sending multiple expressions will save them in the same history +entry. So playing back with will again send all of the contained +expressions. + +The Plugs are: + - ClojureReplEnterHook for the enter key + - ClojureReplUpHistory for going backwards in history () + - ClojureReplDownHistory for going forwards in history () + +The following convenience commands are provided: + + - ,close - close the Repl and free the Repl resources in the server process + - ,st - print a stack trace of *e as with clojure.contrib.stacktrace + - ,ct - print a cause trace of *e as with clojure.contrib.stacktrace + +Pretty Printing +--------------- + +In case Tom Faulhaber's cl-format package is available in the Classpath +it will be used for pretty printing, eg. of macroexpansions. The Repl +can be told to use pretty printing via a global Var. +> + (set! de.kotka.vimclojure.repl/*print-pretty* true) +< + +Omni Completion +--------------- + +VimClojure supports omni completion for Clojure code. Hitting in +insert mode will try to provide completions for the item in front of the +cursor. + +The completion tries to be somewhat intelligent in what it completes. + + - a word starting with an upper case letter will be completed to an + imported class. + Str => String, StringBuilder, ... + + - a word containing dots will be completed to a namespace. + c.c => clojure.core, clojure.contrib.repl-utils, ... + + - everything else will be completed to a Var, an alias or namespace. + + - a word containing a slash will be handled differently + - if the word starts with an upper case letter, will complete + static fields of the given class + String/va => String/valueOf + + - otherwise it is treated as a namespace or alias + clojure.core/re => clojure.core/read, ... + +The completion uses certain characters to split the matching. This are +hyphens and (for namespaces) dots. So r-s matches read-string. + +Note: Completion of symbols and keywords is also provided via the +functionality of Vim. + +License +------- + +Copyright (c) 2008,2009 Meikel Brandmeyer, Frankfurt am Main +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +============================================================================== +.. vim: set ft=help norl ts=8 tw=78 et : diff --git a/.vim/doc/rails.txt b/.vim/doc/rails.txt new file mode 100644 index 0000000..66dc409 --- /dev/null +++ b/.vim/doc/rails.txt @@ -0,0 +1,1122 @@ +*rails.txt* Plugin for working with Ruby on Rails applications + +Author: Tim Pope |rails-plugin-author| + +|rails-introduction| Introduction and Feature Summary +|rails-installation| Installation and Usage +|rails-install-vim| Installing and Configuring Vim +|rails-install-plugin| Installing and Using the Plugin +|rails-commands| General Commands +|rails-navigation| Navigation +|rails-gf| File Under Cursor - gf +|rails-alternate-related| Alternate and Related Files +|rails-model-navigation| Model Navigation Commands +|rails-controller-navigation| Controller Navigation Commands +|rails-misc-navigation| Miscellaneous Navigation Commands +|rails-custom-navigation| Custom Navigation Commands +|rails-scripts| Script Wrappers +|rails-refactoring| Refactoring Helpers +|rails-partials| Partial Extraction +|rails-migrations| Migration Inversion +|rails-integration| Integration +|rails-vim-integration| Integration with the Vim Universe +|rails-rails-integration| Integration with the Rails Universe +|rails-abbreviations| Abbreviations +|rails-syntax| Syntax Highlighting +|rails-options| Managed Vim Options +|rails-configuration| Configuration +|rails-global-settings| Global Settings +|rails-about| About rails.vim +|rails-license| License + +This plugin is only available if 'compatible' is not set. + +{Vi does not have any of this} + +============================================================================== +INTRODUCTION *rails-introduction* *rails* + +TextMate may be the latest craze for developing Ruby on Rails applications, +but Vim is forever. This plugin offers the following features for Ruby on +Rails application development. + +1. Automatically detects buffers containing files from Rails applications, + and applies settings to those buffers (and only those buffers). You can + use an autocommand to apply your own custom settings as well. + |rails-configuration| + +2. Unintrusive. Only files in a Rails application should be affected; regular + Ruby scripts are left untouched. Even when enabled, the plugin should keep + out of your way if you're not using its features. (If you find a situation + where this is not a case, contact the |rails-plugin-author|.) + +3. Provides reasonable settings for working with Rails applications. Rake is + the 'makeprg' (and it always knows where your Rakefile is), 'shiftwidth' + is 2, and 'path' includes an appropriate collection of directories from + your application. |rails-options| + +4. Easy navigation of the Rails directory structure. |gf| considers context + and knows about partials, fixtures, and much more. There are two commands, + :A (alternate) and :R (related) for easy jumping between files, including + favorites like model to migration, template to helper, and controller to + functional test. For more advanced usage, :Rmodel, :Rview, :Rcontroller, + and several other commands are provided. |rails-navigation| + +5. Enhanced syntax highlighting. From has_and_belongs_to_many to + distance_of_time_in_words, it's here. For Vim 7 users, 'completefunc' is + set to enable syntax based completion on |i_CTRL-X_CTRL-U|, making it easy + to complete such long method names. |rails-syntax| + +6. Interface to script/*. Generally, use ":Rscript about" to call + "script/about". Most commands have wrappers with additional features: + ":Rgenerate controller Blog" generates a blog controller and edits + app/controllers/blog_controller.rb. |rails-scripts| + +7. Partial extraction and migration inversion. |:Rextract| {file} replaces + the desired range (ideally selected in visual line mode) with "render + :partial => '{file}'", which is automatically created with your content. + The @{file} instance variable is replaced with the {file} local variable. + |:Rinvert| takes a self.up migration and writes a self.down. + |rails-refactoring| + +8. Integration with other plugins. |:Rproject| creates a new project.vim + project. |:Rdbext| loads database settings from database.yml for dbext.vim + (and this happens by default under most circumstances). Cream users get + some additional mappings, and all GUI users get a menu. |rails-integration| + +============================================================================== +INSTALLATION AND USAGE *rails-installation* + +If you are familiar Vim and have the latest version installed, you may skip +directly to |rails-install-plugin| below. + +Installing and Configuring Vim ~ + *rails-install-vim* +Because it is common for users to utilize an older version of Vim that came +installed on a system, rails.vim has a design goal of remaining compatible +with versions of Vim 6.2 and newer. However, if you have a choice in the +matter, you are strongly encouraged to install the latest version available. +Older versions of Vim should work, but increasingly, new plugin features will +require Vim 7 or newer. If possible, install a version of Vim with the |Ruby| +interface compiled in, as a few features will make use of it when available. + +If you are new to Vim, you need to create a vimrc. For Windows, this file +goes in ~\_vimrc (try :e ~\_vimrc if you don't know where this is). On other +platforms, use ~/.vimrc. A very minimal example file is shown below. +> + set nocompatible + syntax on + filetype plugin indent on +> +Installing and Using the Plugin ~ + *rails-install-plugin* +If you have the zip file, extract it to vimfiles (Windows) or ~/.vim +(everything else). You should have the following files: > + autoload/rails.vim + plugin/rails.vim + doc/rails.txt +See |add-local-help| for instructions on enabling the documentation. In a +nutshell: > + :helptags ~/.vim/doc + +Whenever you edit a file in a Rails application, this plugin will be +automatically activated. This sets various options and defines a few +buffer-specific commands. + +If you are in a hurry to get started, with a minimal amount of reading, you +are encouraged to at least skim through the headings and command names in this +file, to get a better idea of what is offered. If you only read one thing, +make sure it is the navigation section: |rails-navigation|. + +============================================================================== +GENERAL COMMANDS *rails-commands* + +All commands are buffer local, unless otherwise stated. This means you must +actually edit a file from a Rails application. + + *rails-:Rails* +:Rails {directory} The only global command. Creates a new Rails + application in {directory}, and loads the README. + + *rails-:Rake* +:Rake {targets} Like calling |:make| {targets} (with 'makeprg' being + rake). However, in some contexts, if {targets} are + omitted, :Rake defaults to something sensible (like + db:migrate in a migration, or your current test). + + *rails-:Rake!* +:Rake! {targets} Called with a bang, :Rake will use an alternate + 'errorformat' which attempts to parse the full stack + backtrace. + + *rails-:Rcd* +:Rcd [{directory}] |:cd| to /path/to/railsapp/{directory}. + + *rails-:Rlcd* +:Rlcd [{directory}] |:lcd| to /path/to/railsapp/{directory}. + + *rails-:Rdoc* +:Rdoc Browse to the Rails API, either in doc/api in the + current Rails application, gem_server if it is + running, or http://api.rubyonrails.org/ . Requires + :OpenURL to be defined (see |rails-:OpenURL|). + + *rails-:Rdoc!* +:Rdoc! Make the appropriate |:helptags| call and invoke + |:help| rails. + + *rails-:Redit* +:Redit {file} Edit {file}, relative to the application root. + + *rails-:Rlog* +:Rlog [{logfile}] Split window and open {logfile} ($RAILS_ENV or + development by default). The control characters used + for highlighting are removed. If you have a :Tail + command (provided by |tailminusf|.vim), that is used; + otherwise, the file does NOT reload upon change. + Use |:checktime| to tell Vim to check for changes. + |G| has been mapped to do just that prior to jumping + to the end of the file, and q is mapped to close the + window. If the delay in loading is too long, you + might like :Rake log:clear. + + *rails-:Rpreview* +:Rpreview [{path}] Creates a URL from http://localhost:3000/ and the + {path} given. If {path} is omitted, a sensible + default is used (considers the current + controller/template, but does not take routing into + account). The not too useful default is to then edit + this URL using Vim itself, allowing |netrw| to + download it. More useful is to define a :OpenURL + command, which will be used instead (see + |rails-:OpenURL|). + + *rails-:Rpreview!* +:Rpreview! [{path}] As with :Rpreview, except :OpenURL is never used. + + *rails-:Rtags* +:Rtags Calls ctags -R on the current application root. + Exuberant ctags must be installed. + + *rails-:Rrefresh* +:Rrefresh Refreshes certain cached settings. Most noticeably, + this clears the cached list of classes that are syntax + highlighted as railsUserClass. + + *rails-:Rrefresh!* +:Rrefresh! As above, and also reloads rails.vim. + + *rails-:OpenURL* +:OpenURL {url} This is not a command provided by the plugin, but + rather provided by user and utilized by other plugin + features. This command should be defined to open the + provided {url} in a web browser. An example command + on a Mac might be: > + :command -bar -nargs=1 OpenURL :!open +< The following appears to work on Windows: > + :command -bar -nargs=1 OpenURL :!start cmd /cstart /b +< On Debian compatible distributions, the following is + the preferred method: > + :command -bar -nargs=1 OpenURL :!sensible-browser +< If exists("$SECURITYSESSIONID"), has("gui_win32"), or + executable("sensible-browser") is true, the + corresponding command above will be automatically + defined. Otherwise, you must provide your own (which + is recommended, regardless). + +============================================================================== +NAVIGATION *rails-navigation* + +Navigation is where the real power of this plugin lies. Efficient use of the +following features will greatly ease navigating the Rails file structure. + +The 'path' has been modified to include all the best places to be. +> + :find blog_controller + :find book_test +< + *rails-:Rfind* +:Rfind [{file}] Find {file}. Very similar to :find, but things like + BlogController are properly handled, and if + genutils.vim is installed (1.x not 2.x), tab complete + works. The default filename is taken from under the + cursor in a manner quite similar to gf, described + below. + +File Under Cursor - gf ~ + *rails-gf* +The |gf| command, which normally edits the current file under the cursor, has +been remapped to take context into account. |CTRL-W_f|(open in new window) and +|CTRL-W_gf| (open in new tab) are also remapped. + +Example uses of |gf|, and where they might lead. +(* indicates cursor position) +> + Pos*t.find(:first) +< app/models/post.rb ~ +> + has_many :c*omments +< app/models/comment.rb ~ +> + link_to "Home", :controller => :bl*og +< app/controllers/blog_controller.rb ~ +> + <%= render :partial => 'sh*ared/sidebar' %> +< app/views/shared/_sidebar.rhtml ~ +> + <%= stylesheet_link_tag :scaf*fold %> +< public/stylesheets/scaffold.css ~ +> + class BlogController < Applica*tionController +< app/controllers/application.rb ~ +> + class ApplicationController < ActionCont*roller::Base +< .../action_controller/base.rb ~ +> + fixtures :pos*ts +< test/fixtures/posts.yml ~ +> + layout :pri*nt +< app/views/layouts/print.rhtml ~ +> + <%= link_to "New", new_comme*nt_path %> +< app/controllers/comments_controller.rb (jumps to def new) ~ + +In the last example, the controller and action for the named route are +determined by evaluating routes.rb as Ruby and doing some introspection. This +means code from the application is executed. Keep this in mind when +navigating unfamiliar applications. + +Alternate and Related Files ~ + *rails-alternate-related* +Two commands, :A and :R, are used quickly jump to an "alternate" and a +"related" file, defined below. + + *rails-:A* *rails-:AE* *rails-:AS* *rails-:AV* *rails-:AT* +:A These commands were picked to mimic Michael Sharpe's +:AE a.vim. Briefly, they edit the "alternate" file, in +:AS either the same window (:A and :AE), a new split +:AV window (:AS), a new vertically split window (:AV), or +:AT a new tab (:AT). A mapping for :A is [f . + + *rails-:R* *rails-:RE* *rails-:RS* *rails-:RV* *rails-:RT* +:R These are similar |rails-:A| and friends above, only +:RE they jump to the "related" file rather than the +:RS "alternate." A mapping for :R is ]f . +:RV +:RT + + *rails-alternate* *rails-related* +The alternate file is most frequently the test file, though there are +exceptions. The related file varies, and is sometimes dependent on current +current location in the file. For example, when editing a controller, the +related file is template for the method currently being edited. + +The easiest way to learn these commands is to experiment. A few examples of +alternate and related files follow: + +Current file Alternate file Related file ~ +model unit test related migration +controller (in method) functional test template (view) +template (view) helper controller (jump to method) +migration previous migration next migration +config/routes.rb config/database.yml config/environment.rb + +Suggestions for further contexts to consider for the alternate file, related +file, and file under the cursor are welcome. They are subtly tweaked from +release to release. + +For the less common cases, a more deliberate set of commands are provided. +Each of the following takes an optional argument (with tab completion) but +defaults to a reasonable guess that follows Rails conventions. For example, +when editing app/models/employee.rb, :Rcontroller will default to +app/controllers/employees_controller.rb. The controller and model options, +ideally set from |rails-modelines|, can override the mapping from model +related files to controller related files (Rset controller=hiring) and vice +versa (Rset model=employee). See |rails-:Rset|. + +Each of the following commands has variants for splitting, vertical splitting +and opening in a new tab. For :Rmodel, those variants would be :RSmodel, +:RVmodel, and :RTmodel. There is also :REmodel which is a synonym for :Rmodel +(future versions might allow customization of the behavior of :Rmodel). + + +Model Navigation Commands ~ + *rails-model-navigation* +The default for model navigation commands is the current model, if it can be +determined. For example, test/unit/post_test.rb would have a current model +of post. Otherwise, if a controller name can be determined, said controller +name will be singularized and used. To override this, use a command or +modeline like: > + Rset model=comment + +:Rmodel |rails-:Rmodel| +:Rmigration |rails-:Rmigration| +:Robserver |rails-:Robserver| +:Rfixtures |rails-:Rfixtures| +:Runittest |rails-:Runittest| + + *rails-:Rmodel* +:Rmodel [{name}] Edit the specified model. + + *rails-:Rmigration* +:Rmigration [{pattern}] If {pattern} is a number, find the migration for that + particular set of digits, zero-padding if necessary. + Otherwise, find the newest migration containing the + given pattern. The pattern defaults to the current + model name, pluralized. So when editing the Post + model, :Rmigration with no arguments might find + create_posts.rb, or add_date_to_posts.rb. + + *rails-:Robserver* +:Robserver [{name}] Find the observer with a name like + {model}_observer.rb. When in an observer, most + commands (like :Rmodel) will seek based on the + observed model ({model}) and not the actual observer + ({model}_observer). However, for the command + :Runittest, a file of the form + {model}_observer_test.rb will be found. + + *rails-:Rfixtures* +:Rfixtures [{name}] Edit the fixtures for the given model. If an argument + is given, it must be pluralized, like the final + filename (this may change in the future). If omitted, + the current model is pluralized automatically. An + optional extension can be given, to distinguish + between YAML and CSV fixtures. + + *rails-:Runittest* +:Runittest [{name}] Edit the unit test for the specified model. + +Controller Navigation Commands ~ + *rails-controller-navigation* +The default for controller navigation commands is the current controller, if +it can be determined. For example, test/functional/blog_test.rb would have a +current controller of blog. Otherwise, if a model name can be determined, +said model name will be pluralized and used. To override this, use a command +or modeline like: > + Rset controller=blog + +:Rcontroller |rails-:Rcontroller| +:Rhelper |rails-:Rhelper| +:Rview |rails-:Rview| +:Rlayout |rails-:Rlayout| +:Rfunctionaltest |rails-:Rfunctionaltest| + + *rails-:Rcontroller* +:Rcontroller [{name}] Edit the specified controller. + + *rails-:Rhelper* +:Rhelper [{name}] Edit the helper for the specified controller. + + *rails-:Rview* +:Rview [[{controller}/]{view}] + Edit the specified view. The controller will default + sensibly, and the view name can be omitted when + editing a method of a controller. If a view name is + given with an extension, a new file will be created. + This is a quick way to create a new view. + + *rails-:Rlayout* +:Rlayout [{name}] Edit the specified layout. Defaults to the layout for + the current controller, or the application layout if + that cannot be found. A new layout will be created if + an extension is given. + + *rails-:Rapi* +:Rapi [{name}] Edit the API for the specified controller. This + command is deprecated; add it yourself with + |:Rcommand| if you still desire it. + + *rails-:Rfunctionaltest* +:Rfunctionaltest [{name}] + Edit the functional test for the specified controller. + +Miscellaneous Navigation Commands ~ + *rails-misc-navigation* + +The following commands are not clearly associated with models or controllers. + +:Rstylesheet |rails-:Rstylesheet| +:Rjavascript |rails-:Rjavascript| +:Rplugin |rails-:Rplugin| +:Rlib |rails-:Rlib| +:Rtask |rails-:Rtask| +:Rintegrationtest |rails-:Rintegrationtest| + + *rails-:Rstylesheet* +:Rstylesheet [{name}] Edit the stylesheet for the specified name, defaulting + to the current controller's name. + + *rails-:Rjavascript* +:Rjavascript [{name}] Edit the javascript for the specified name, defaulting + to the current controller's name. + + *rails-:Rplugin* +:Rplugin {plugin}[/{path}] + Edits a file within a plugin. If the path to the file + is omitted, it defaults to init.rb. + + *rails-:Rlib* +:Rlib {name} Edit the library from the lib directory for the + specified name. If the current file is part of a + plugin, the libraries from that plugin can be + specified as well. + + *rails-:Rtask* +:Rtask [{name}] Edit the .rake file from lib/tasks for the specified + name. If the current file is part of a plugin, the + tasks for that plugin can be specified as well. If no + argument is given, either the current plugin's + Rakefile or the application Rakefile will be edited. + + *rails-:Rintegrationtest* +:Rintegrationtest [{name}] + Edit the integration test specified. The default + is based on the current controller or model, with no + singularization or pluralization done. + +Custom Navigation Commands ~ + *rails-custom-navigation* + +It is also possible to create custom navigation commands. This is best done +in an initialization routine of some sort (e.g., an autocommand); see +|rails-configuration| for details. + + *rails-:Rcommand* +:Rcommand [options] {name} [{path} ...] + Create a navigation command with the supplied + name, looking in the supplied paths, using the + supplied options. The -suffix option specifies what + suffix to filter on, and strip from the filename, and + defaults to -suffix=.rb . The -glob option specifies + a file glob to use to find files, _excluding_ the + suffix. Useful values include -glob=* and -glob=**/*. + The -default option specifies a default argument (not + a full path). If it is specified as -default=model(), + -default=controller(), or -default=both(), the current + model, controller, or both (as with :Rintegrationtest) + is used as a default. + +:Rcommand is still under development and far from fully documented, but the +following examples should illustrate the basics: +> + Rcommand api app/apis -glob=**/* -suffix=_api.rb + Rcommand config config -glob=*.* -suffix= -default=routes.rb + Rcommand environment config/environments -default=../environment + Rcommand concern app/concerns -glob=**/* + +Finally, one Vim feature that proves helpful in conjunction with all of the +above is |CTRL-^|. This keystroke edits the previous file, and is helpful to +back out of any of the above commands. + +============================================================================== +SCRIPT WRAPPERS *rails-scripts* + +The following commands are wrappers around the scripts in the script directory +of the Rails application. Most have extra features beyond calling the script. +A limited amount of completion with is supported. + + *rails-:Rscript* +:Rscript {script} {options} + Call ruby script/{script} {options}. + + *rails-:Rconsole* +:Rconsole {options} Start script/console. On Windows it will be launched + in the background with |!start|. In the terminal + version GNU Screen is used if it is running and + |g:rails_gnu_screen| is set. + + *rails-:Rrunner* +:[range]Rrunner {code} Executes {code} with script/runner. Differs from + :Rscript runner {code} in that the code is passed as + one argument. Also, |system()| is used instead of + |:!|. This is to help eliminate annoying "Press + ENTER" prompts. If a line number is given in the + range slot, the output is pasted into the buffer after + that line. + + *rails-:Rp* +:[range]Rp {code} Like :Rrunner, but call the Ruby p method on the + result. Literally "p begin {code} end". + + *rails-:Rpp* *rails-:Ry* +:[range]Rpp {code} Like :Rp, but with pp (pretty print) or y (YAML +:[range]Ry {code} output). + + *rails-:Rgenerate* +:Rgenerate {options} Calls script/generate {options}, and then edits the + first file generated. Respects |g:rails_subversion|. + + *rails-:Rdestroy* +:Rdestroy {options} Calls script/destroy {options}. Respects + |g:rails_subversion|. + + *rails-:Rserver* +:Rserver {options} Launches script/server {options} in the background. + On win32, this means |!start|. On other systems, this + uses the --daemon option. + + *rails-:Rserver!* +:Rserver! {options} Same as |:Rserver|, only first attempts to kill any + other server using the same port. On non-Windows + systems, lsof must be installed for this to work. + +============================================================================== +REFACTORING HELPERS *rails-refactoring* + +A few features are dedicated to helping you refactor your code. + +Partial Extraction ~ + *rails-partials* + +The :Rextract command can be used to extract a partial to a new file. + + *rails-:Rextract* +:[range]Rextract [{controller}/]{name} + Create a {name} partial from [range] lines (default: + current line). + + *rails-:Rpartial* +:[range]Rpartial [{controller}/]{name} + Deprecated alias for :Rextract. + +If this is your file, in app/views/blog/show.rhtml: > + + 1
+ 2

<%= @post.title %>

+ 3

<%= @post.body %>

+ 4
+ +And you issue this command: > + + :2,3Rextract post + +Your file will change to this: > + + 1
+ 2 <%= render :partial => 'post' %> + 3
+ +And app/views/blog/_post.rhtml will now contain: > + + 1

<%= post.title %>

+ 2

<%= post.body %>

+ +As a special case, if the file had looked like this: > + + 1 <% for object in @posts -%> + 2

<%= object.title %>

+ 3

<%= object.body %>

+ 4 <% end -%> +< +The end result would have been this: > + + 1 <%= render :partial => 'post', :collection => @posts %> +< +The easiest way to choose what to extract is to use |linewise-visual| mode. +Then, a simple > + :'<,'>Rextract blog/post +will suffice. (Note the use of a controller name in this example.) + +Migration Inversion ~ + *rails-migrations* *rails-:Rinvert* +:Rinvert In a migration, rewrite the self.up method into a + self.down method. If self.up is empty, the process is + reversed. This chokes on more complicated + instructions, but works reasonably well for simple + calls to create_table, add_column, and the like. + +============================================================================== +INTEGRATION *rails-integration* + +Having one foot in Rails and one in Vim, rails.vim has two worlds with which +to interact. + +Integration with the Vim Universe ~ + *rails-vim-integration* + +A handful of Vim plugins are enhanced by rails.vim. All plugins mentioned can +be found at http://www.vim.org/. Cream and GUI menus (for lack of a better +place) are also covered in this section. + + *rails-:Rproject* *rails-project* +:Rproject [{file}] This command is only provided when the |project| + plugin is installed. Invoke :Project (typically + without an argument), and search for the root of the + current Rails application. If it is not found, create + a new project, with appropriate directories (app, + etc., but not vendor). + + *rails-:Rproject!* +:Rproject! [{file}] Same as :Rproject, only delete existing project if it + exists and recreate it. The logic to delete the old + project is convoluted and possibly erroneous; report + any problems to the |rails-plugin-author|. A handy + mapping might look something like: > + autocmd User Rails map :Rproject!|silent w +< As a bonus, this command organizes views into separate + directories for easier navigation. The downside of + this is that you will have to regenerate your project + each time you add another view directory (which is why + this command recreates your project each time!). + + *rails-:Rdbext* *rails-dbext* +:Rdbext [{environment}] This command is only provided when the |dbext| plugin + is installed. Loads the {environment} configuration + (defaults to $RAILS_ENV or development) from + config/database.yml and uses it to configure dbext. + The configuration is cached until a different Rails + application is edited. This command is called for you + automatically when |g:rails_dbext| is set (default on + non-Windows systems). + + *rails-:Rdbext!* +:Rdbext! [{environment}] + Load the database configuration as above, and then + attempt a CREATE DATABASE for it. This is primarily + useful for demonstrations. + + *rails-surround* +The |surround| plugin available from vim.org enables adding and removing +"surroundings" like parentheses, quotes, and HTML tags. Even by itself, it is +quite useful for Rails development, particularly eRuby editing. When coupled +with this plugin, a few additional replacement surroundings are available in +eRuby files. See the |surround| documentation for details on how to use them. +The table below uses ^ to represent the position of the surrounded text. + +Key Surrounding ~ += <%= ^ %> +- <% ^ -%> +# <%# ^ %> + <% ^ -%>\n<% end -%> + +The last surrounding is particularly useful in insert mode with the following +map in one's vimrc. Use Alt+o to open a new line below the current one. This +works nicely even in a terminal (where most alt/meta maps will fail) because +most terminals send as o anyways. +> + imap o +< +One can also use the surrounding in a plain Ruby file to append a bare +"end" on the following line. + + *rails-cream* +This plugin provides a few additional key bindings if it is running under +Cream, the user friendly editor which uses Vim as a back-end. Ctrl+Enter +finds the file under the cursor (as in |rails-gf|), and Alt+[ and Alt+] find +the alternate (|rails-alternate|) and related (|rails-related|) files. + + *rails-menu* +If the GUI is running, a menu for several commonly used features is provided. +Also on this menu is a list of recently accessed projects. This list of +projects can persist across restarts if a 'viminfo' flag is set to enable +retaining certain global variables. If this interests you, add something like +the following to your vimrc: > + set viminfo^=! +< +Integration with the Rails Universe ~ + *rails-rails-integration* +The general policy of rails.vim is to focus exclusively on the Ruby on Rails +core. Supporting plugins and other add-ons to Rails has the potential to +rapidly get out of hand. However, a few pragmatic exceptions have been made. + + *rails-template-types* +Commands like :Rview use a hardwired list of extensions (rhtml, rjs, etc.) +when searching for files. In order to facilitate working with non-standard +template types, several popular extensions are featured in this list, +including haml, liquid, and mab (markaby). These extensions will disappear +once a related configuration option is added to rails.vim. + + *rails-rspec* +Support for RSpec is currently experimental and incomplete, with only a +handful of features being implemented. :A knows about specs and will jump to +them, but only if no test file is found. The associated controller or model +of a spec is detected, so all navigation commands should work as expected +inside a spec file. :Rfixtures will find spec fixtures, but the extension is +mandatory and tab completion will not work. :Rake will run the currently +edited spec. + +While there are currently no built-in dedicated RSpec navigation commands, you +can approximate your own with |:Rcommand|. +> + Rcommand specmodel spec/models -glob=**/* + \ -suffix=_spec.rb -default=model() + Rcommand spechelper spec/helpers -glob=**/* + \ -suffix=_helper_spec.rb -default=controller() + Rcommand speccontroller spec/controllers -glob=**/* + \ -suffix=_controller_spec.rb -default=controller() + Rcommand specview spec/views -glob=**/* -suffix=_view_spec.rb +< +============================================================================== +ABBREVIATIONS *rails-abbreviations* *rails-snippets* + +Abbreviations are still experimental. They may later be extracted into a +separate plugin, or removed entirely. + + *rails-:Rabbrev* +:Rabbrev List all Rails abbreviations. + +:Rabbrev {abbr} {expn} [{extra}] + Define a new Rails abbreviation. {extra} is permitted + if and only if {expn} ends with "(". + + *rails-:Rabbrev!* +:Rabbrev! {abbr} Remove an abbreviation. + +Rails abbreviations differ from regular abbreviations in that they only expand +after a (see |i_CTRL-]|) or a (if does not work, it is +likely mapped by another plugin). If the abbreviation ends in certain +punctuation marks, additional expansions are possible. A few examples will +hopefully clear this up (all of the following are enabled by default in +appropriate file types). + +Command Sequence typed Resulting text ~ +Rabbrev rp( render :partial\ => rp( render(:partial => +Rabbrev rp( render :partial\ => rp render :partial => +Rabbrev vs( validates_size_of vs( validates_size_of( +Rabbrev pa[ params pa[:id] params[:id] +Rabbrev pa[ params pa params +Rabbrev pa[ params pa.inspect params.inspect +Rabbrev AR:: ActionRecord AR::Base ActiveRecord::Base +Rabbrev :a :action\ =>\ render :a render :action => + +In short, :: expands on :, ( expands on (, and [ expands on both . and [. +These trailing punctuation marks are NOT part of the final abbreviation, and +you cannot have two mappings that differ only by punctuation. + +You must escape spaces in your expansion, either as "\ " or as "". For +an abbreviation ending with "(", you may define where to insert the +parenthesis by splitting the expansion into two parts (divided by an unescaped +space). + +Many abbreviations abbreviations are provided by default: use :Rabbrev to list +them. They vary depending on the type of file (models have different +abbreviations than controllers). There is one "smart" abbreviation, :c, which +expands to ":controller => ", ":collection => ", or ":conditions => " +depending on context. + +============================================================================== +SYNTAX HIGHLIGHTING *rails-syntax* + +Syntax highlighting is by and large a transparent process. For the full +effect, however, you need a colorscheme which accentuates rails.vim +extensions. One such colorscheme is vividchalk, available from vim.org. + +The following is a summary of the changes made by rails.vim to the standard +syntax highlighting. + + *rails-syntax-keywords* +Rails specific keywords are highlighted in a filetype specific manner. For +example, in a model, has_many is highlighted, whereas in a controller, +before_filter is highlighted. A wide variety of syntax groups are used but +they all link by default to railsMethod. + +If you feel a method has been wrongfully omitted, submit it to the +|rails-plugin-author|. + + *rails-@params* *rails-syntax-deprecated* +Certain deprecated syntax (like @params and render_text) is highlighted as an +error. If you trigger this highlighting, generally it means you need to +update your code. + + *rails-syntax-classes* +Models, helpers, and controllers are given special highlighting. Depending on +the version of Vim installed, you may need a rails.vim aware colorscheme in +order to see this. Said colorscheme needs to provide highlighting for the +railsUserClass syntax group. + +The class names are determined by camelizing filenames from certain +directories of your application. If app/models/line_item.rb exists, the class +"LineItem" will be highlighted. + +The list of classes is refreshed automatically after certain commands like +|:Rgenerate|. Use |:Rrefresh| to trigger the process manually. + + *rails-syntax-assertions* +If you define custom assertions in test_helper.rb, these will be highlighted +in your tests. These are found by scanning test_helper.rb for lines of the +form " def assert_..." and extracting the method name. The railsUserMethod +syntax group is used. The list of assertions can be refreshed with +|:Rrefresh|. + + *rails-syntax-strings* +In the following line of code, the "?" in the conditions clause and the "ASC" +in the order clause will be highlighted: > + Post.find(:all, :conditions => ["body like ?","%e%"] :order => "title ASC") +< +A string literal using %Q<> delimiters will have its contents highlighted as +HTML. This is sometimes useful when writing helpers. > + link = %Q<Vim> +< + *rails-syntax-yaml* +YAML syntax highlighting has been extended to highlight eRuby, which can be +used in most Rails YAML files (including database.yml and fixtures). + +============================================================================== +MANAGED VIM OPTIONS *rails-options* + +The following options are set local to buffers where the plugin is active. + + *rails-'shiftwidth'* *rails-'sw'* + *rails-'softtabstop'* *rails-'sts'* + *rails-'expandtab'* *rails-'et'* +A value of 2 is used for 'shiftwidth' (and 'softtabstop'), and 'expandtab' is +enabled. This is a strong convention in Rails, so the conventional wisdom +that this is a user preference has been ignored. + + *rails-'path'* *rails-'pa'* +All the relevant directories from your application are added to your 'path'. +This makes it easy to access a buried file: > + :find blog_controller.rb +< + *rails-'suffixesadd'* *rails-'sua'* +This is filetype dependent, but typically includes .rb, .rhtml, and several +others. This allows shortening the above example: > + :find blog_controller +< + *rails-'includeexpr'* *rails-'inex'* +The 'includeexpr' option is set to enable the magic described in |rails-gf|. + + *rails-'statusline'* *rails-'stl'* +Useful information is added to the 'statusline', when |g:rails_statusline| is +enabled. + + *rails-'makeprg'* *rails-'mp'* + *rails-'errorformat'* *rails-'efm'* +Rake is used as the 'makeprg', so |:make| will work as expected. Also, +'errorformat' is set appropriately to handle your tests. + + *rails-'filetype'* *rails-'ft'* +The 'filetype' is sometimes adjusted for Rails files. Most notably, *.rxml +and *.rjs are treated as Ruby files, and files that have been falsely +identified as Mason sources are changed back to eRuby files (but only when +they are part of a Rails application). + + *rails-'completefunc'* *rails-'cfu'* +A 'completefunc' is provided (if not already set). It is very simple, as it +uses syntax highlighting to make its guess. See |i_CTRL-X_CTRL-U|. + +============================================================================== +CONFIGURATION *rails-configuration* + +Very little configuration is actually required; this plugin automatically +detects your Rails application and adjusts Vim sensibly. + + *rails-:autocmd* *rails-autocommands* +If you would like to set your own custom Vim settings whenever a Rails file is +loaded, you can use an autocommand like the following in your vimrc: > + autocmd User Rails silent! Rlcd + autocmd User Rails map :Rake +You can also have autocommands that only apply to certain types of files. +These are based off the information shown in the 'statusline' (see +|rails-'statusline'|), with hyphens changed to periods. A few examples: > + autocmd User Rails.controller* iabbr wsn wsdl_service_name + autocmd User Rails.model.arb* iabbr vfo validates_format_of + autocmd User Rails.view.rhtml* imap <%= %>3h +End all such Rails autocommands with asterisks, even if you have an exact +specification. There is also a filename matching syntax: > + autocmd User Rails/db/schema.rb Rset task=db:schema:dump + autocmd User Rails/**/foo_bar.rb Rabbrev FB:: FooBar +Use the filetype based syntax whenever possible, reserving the filename based +syntax for more advanced cases. + + *macros/rails.vim* +If you have several commands to run on initialization for all file types, they +can be placed in a "macros/rails.vim" file in the 'runtimepath' (for example, +"~/.vim/macros/rails.vim"). This file is sourced by rails.vim each time a +Rails file is loaded. + + *config/rails.vim* +If you have settings particular to a specific project, they can be put in a +config/rails.vim file in the root directory of the application. The file is +sourced in the |sandbox| for security reasons. This only works in Vim 7 or +newer. + + *rails-:Rset* +:Rset {option}[={value}] + Query or set a local option. This command may be + called directly, from an autocommand, or from + config/rails.vim. + +Options may be set set in one of four scopes, which my be indicated by an +optional prefix. These scopes determine how broadly an option will apply. +Generally, the default scope is sufficient + +Scope Description ~ +a: All files in one Rails application +b: Buffer (file) specific +g: Global to all applications +l: Local to method (same as b: in non-Ruby files) + +Options are shown below with their default scope, which should be omitted. +While you may override the scope with a prefix, this is rarely necessary and +oftentimes useless. (For example, setting g:task is useless because the +default rake task will apply before considering this option.) + +Option Meaning ~ +b:alternate Custom alternate file for :A, relative to the Rails root +b:controller Default controller for certain commands (e.g., :Rhelper) +b:model Default model for certain commands (e.g., :Rfixtures) +l:preview URL stub for :Rpreview (e.g., blog/show/1) +b:task Default task used with :Rake +l:related Custom related file for :R, relative to the Rails root +a:root_url Root URL for commands like :Rpreview +a:ruby_fork_port Experimental: use ruby_fork on given port to speed things up + +Examples: > + :Rset root_url=http://localhost:12345 + :Rset related=app/views/blog/edit.rhtml preview=blog/edit/1 + :Rset alternate=app/models/ + :Rset l:task=preview " Special pseudo-task for :Rake + +Note the use of a scope prefix in the last example. + + *rails-modelines* +If |g:rails_modelines| is enabled, these options can also be set from +modelines near the beginning or end of the file. These modelines will always +set buffer-local options; scope should never be specified. Examples: > + # Rset task=db:schema:load + <%# Rset alternate=app/views/layouts/application.rhtml %> +Modelines can also be local to a method. Example: > + def test_comment + # rset alternate=app/models/comment.rb +These two forms differ only in case. + +============================================================================== +GLOBAL SETTINGS *rails-global-settings* + +A few global variables control the behavior of this plugin. In general, they +can be enabled by setting them to 1 in your vimrc, and disabled by setting +them to 0. > + let g:rails_some_option=1 + let g:rails_some_option=0 +Most of these should never need to be used. The few that might be interesting +are |g:rails_expensive|, |g:rails_subversion|, and |g:rails_default_database|. + + *g:loaded_rails* > + let g:loaded_rails=1 +Do not load the plugin. For emergency use only. + + *g:rails_abbreviations* +Enable Rails abbreviations. See |rails-abbreviations|. Enabled by default. + + *g:rails_dbext* > + let g:rails_dbext=1 +Enable integration with the dbext plugin, if it is installed. Defaults to the +value of |g:rails_expensive|. When this option is set, dbext settings are +automagically extracted from config/database.yml. Then, you can use features +like table name completion and commands like > + :Create database brablog_development + :Select * from posts where title like '%Denmark%' +Note that dbext is a complicated plugin, and may require additional +configuration. See |dbext| (if installed) and |sql-completion-dynamic| (in +Vim 7). + + *g:rails_default_file* > + let g:rails_default_file='config/database.yml' +File to load when a new Rails application is created, or when loading an +existing project from the menu. Defaults to the README. + + *g:rails_default_database* > + let g:rails_default_database='sqlite3' +Database to use for new applications. Defaults to letting Rails decide. + + *rails-slow* *g:rails_expensive* > + let g:rails_expensive=1 +Enables or disables expensive (slow) features (typically involving calls to +the Ruby interpreter). Recommended for moderately fast computers. This +option used to be disabled by default on Windows, but now it is enabled by +default everywhere. If the Vim Ruby interface is available, this option is +mostly ignored, as spawning a new process is generally the bottleneck for most +expensive operations. Set this option to 0 if you experience painful delays +when first editing a file from a Rails application. + + *rails-screen* *g:rails_gnu_screen* > + let g:rails_gnu_screen=1 +Use GNU Screen (if it is running) to launch |:Rconsole| and |:Rserver| in the +background. Enabled by default. + + *g:rails_history_size* > + let g:rails_history_size=5 +Number of projects to remember. Set to 0 to disable. See |rails-menu| for +information on retaining these projects across a restart. + + *g:rails_mappings* > + let g:rails_mappings=1 +Enables a few mappings (mostly for |rails-navigation|). Enabled by default. + + *g:rails_modelines* > + let g:rails_modelines=1 +Enable modelines like the following: > + # Rset task=db:schema:load +Modelines set buffer-local options using the :Rset command. +Also enables method specific modelines (note the case difference): > + def show + # rset preview=blog/show/1 +Modelines are extremely useful but may cause security concerns when editing +projects from an untrusted source. Enabled by default. + + *g:rails_menu* > + let g:rails_menu=1 +When 2, a Rails menu is created. When 1, this menu is a submenu under the +Plugin menu. The default is 1. + + *g:rails_url* > + let g:rails_url='http://localhost:3000/' +Used for the |:Rpreview| command. Default is as shown above. Overridden by +b:rails_url. + + *g:rails_statusline* > + let g:rails_statusline=1 +Give a clue in the statusline when this plugin is enabled. Enabled by +default. + + *g:rails_subversion* > + let g:rails_subversion=1 +Automatically add/remove files to the subversion repository for commands like +|:Rgenerate| and |:Rdestroy| (but not |:Rscript|). Ignored when the +application is not part of a subversion repository. Deprecated and disabled +by default. + + *g:rails_syntax* > + let g:rails_syntax=1 +When enabled, this tweaks the syntax highlighting to be more Rails friendly. +Enabled by default. See |rails-syntax|. + + *rails-tabs* *g:rails_tabstop* > + let g:rails_tabstop=4 +This option now requires the plugin railstab.vim from vim.org: + http://www.vim.org/scripts/script.php?script_id=2253 + +If your goal is simply just override this plugin's settings and use your own +custom 'shiftwidth', adjust things manually in an autocommand: > + autocmd User Rails set sw=4 sts=4 noet +This is highly discouraged: don't fight Rails. + +============================================================================== +ABOUT *rails-about* *rails-plugin-author* + +This plugin was written by Tim Pope. Email him at . He +can also be found on Freenode's IRC network, hanging out in #rubyonrails and +#vim as tpope. + +The official homepage is + http://rails.vim.tpope.net +The latest stable version can be found at + http://www.vim.org/scripts/script.php?script_id=1567 +In Vim 7, you can keep up to date with |GetLatestVimScripts|. + +The very latest development versions can be retrieved from Git: + http://git.tpope.net/?p=vim-rails.git + git clone git://git.tpope.net/git/vim-rails.git + +Feedback is highly desired on this plugin. Please send all comments, +complaints, and compliments to the author. No bug is too small to report. + + *rails-license* +This plugin is distributable under the same terms as Vim itself. See +|license|. No warranties, expressed or implied. + +============================================================================== +vim:tw=78:ts=8:ft=help:norl: diff --git a/.vim/doc/tags b/.vim/doc/tags new file mode 100644 index 0000000..0eb61ff --- /dev/null +++ b/.vim/doc/tags @@ -0,0 +1,350 @@ +'NERDChristmasTree' NERD_tree.txt /*'NERDChristmasTree'* +'NERDTreeAutoCenter' NERD_tree.txt /*'NERDTreeAutoCenter'* +'NERDTreeAutoCenterThreshold' NERD_tree.txt /*'NERDTreeAutoCenterThreshold'* +'NERDTreeBookmarksFile' NERD_tree.txt /*'NERDTreeBookmarksFile'* +'NERDTreeCaseSensitiveSort' NERD_tree.txt /*'NERDTreeCaseSensitiveSort'* +'NERDTreeChDirMode' NERD_tree.txt /*'NERDTreeChDirMode'* +'NERDTreeDirArrows' NERD_tree.txt /*'NERDTreeDirArrows'* +'NERDTreeHighlightCursorline' NERD_tree.txt /*'NERDTreeHighlightCursorline'* +'NERDTreeHijackNetrw' NERD_tree.txt /*'NERDTreeHijackNetrw'* +'NERDTreeIgnore' NERD_tree.txt /*'NERDTreeIgnore'* +'NERDTreeMinimalUI' NERD_tree.txt /*'NERDTreeMinimalUI'* +'NERDTreeMouseMode' NERD_tree.txt /*'NERDTreeMouseMode'* +'NERDTreeQuitOnOpen' NERD_tree.txt /*'NERDTreeQuitOnOpen'* +'NERDTreeShowBookmarks' NERD_tree.txt /*'NERDTreeShowBookmarks'* +'NERDTreeShowFiles' NERD_tree.txt /*'NERDTreeShowFiles'* +'NERDTreeShowHidden' NERD_tree.txt /*'NERDTreeShowHidden'* +'NERDTreeShowLineNumbers' NERD_tree.txt /*'NERDTreeShowLineNumbers'* +'NERDTreeSortOrder' NERD_tree.txt /*'NERDTreeSortOrder'* +'NERDTreeStatusline' NERD_tree.txt /*'NERDTreeStatusline'* +'NERDTreeWinPos' NERD_tree.txt /*'NERDTreeWinPos'* +'NERDTreeWinSize' NERD_tree.txt /*'NERDTreeWinSize'* +'erlang_completion_cache' vimerl.txt /*'erlang_completion_cache'* +'erlang_folding' vimerl.txt /*'erlang_folding'* +'erlang_highlight_bif' vimerl.txt /*'erlang_highlight_bif'* +'erlang_keywordprg' vimerl.txt /*'erlang_keywordprg'* +'erlang_show_errors' vimerl.txt /*'erlang_show_errors'* +'erlang_skel_header' vimerl.txt /*'erlang_skel_header'* +'erlang_skel_replace' vimerl.txt /*'erlang_skel_replace'* +'loaded_nerd_tree' NERD_tree.txt /*'loaded_nerd_tree'* +:ErlangApplication vimerl.txt /*:ErlangApplication* +:ErlangDisableShowErrors vimerl.txt /*:ErlangDisableShowErrors* +:ErlangEnableShowErrors vimerl.txt /*:ErlangEnableShowErrors* +:ErlangGenEvent vimerl.txt /*:ErlangGenEvent* +:ErlangGenFsm vimerl.txt /*:ErlangGenFsm* +:ErlangGenServer vimerl.txt /*:ErlangGenServer* +:ErlangSupervisor vimerl.txt /*:ErlangSupervisor* +:NERDTree NERD_tree.txt /*:NERDTree* +:NERDTreeClose NERD_tree.txt /*:NERDTreeClose* +:NERDTreeFind NERD_tree.txt /*:NERDTreeFind* +:NERDTreeFromBookmark NERD_tree.txt /*:NERDTreeFromBookmark* +:NERDTreeMirror NERD_tree.txt /*:NERDTreeMirror* +:NERDTreeToggle NERD_tree.txt /*:NERDTreeToggle* +DocLookupInteractive clojure.txt /*DocLookupInteractive* +DocLookupWord clojure.txt /*DocLookupWord* +EvalBlock clojure.txt /*EvalBlock* +EvalFile clojure.txt /*EvalFile* +EvalLine clojure.txt /*EvalLine* +EvalParagraph clojure.txt /*EvalParagraph* +EvalToplevel clojure.txt /*EvalToplevel* +FindDoc clojure.txt /*FindDoc* +GotoSourceInteractive clojure.txt /*GotoSourceInteractive* +GotoSourceWord clojure.txt /*GotoSourceWord* +JavadocLookupInteractive clojure.txt /*JavadocLookupInteractive* +JavadocLookupWord clojure.txt /*JavadocLookupWord* +MacroExpand clojure.txt /*MacroExpand* +MacroExpand1 clojure.txt /*MacroExpand1* +MetaLookupInteractive clojure.txt /*MetaLookupInteractive* +MetaLookupWord clojure.txt /*MetaLookupWord* +NERDTree NERD_tree.txt /*NERDTree* +NERDTree-? NERD_tree.txt /*NERDTree-?* +NERDTree-A NERD_tree.txt /*NERDTree-A* +NERDTree-B NERD_tree.txt /*NERDTree-B* +NERDTree-C NERD_tree.txt /*NERDTree-C* +NERDTree-C-J NERD_tree.txt /*NERDTree-C-J* +NERDTree-C-K NERD_tree.txt /*NERDTree-C-K* +NERDTree-D NERD_tree.txt /*NERDTree-D* +NERDTree-F NERD_tree.txt /*NERDTree-F* +NERDTree-I NERD_tree.txt /*NERDTree-I* +NERDTree-J NERD_tree.txt /*NERDTree-J* +NERDTree-K NERD_tree.txt /*NERDTree-K* +NERDTree-O NERD_tree.txt /*NERDTree-O* +NERDTree-P NERD_tree.txt /*NERDTree-P* +NERDTree-R NERD_tree.txt /*NERDTree-R* +NERDTree-T NERD_tree.txt /*NERDTree-T* +NERDTree-U NERD_tree.txt /*NERDTree-U* +NERDTree-X NERD_tree.txt /*NERDTree-X* +NERDTree-cd NERD_tree.txt /*NERDTree-cd* +NERDTree-contents NERD_tree.txt /*NERDTree-contents* +NERDTree-e NERD_tree.txt /*NERDTree-e* +NERDTree-f NERD_tree.txt /*NERDTree-f* +NERDTree-gi NERD_tree.txt /*NERDTree-gi* +NERDTree-go NERD_tree.txt /*NERDTree-go* +NERDTree-gs NERD_tree.txt /*NERDTree-gs* +NERDTree-i NERD_tree.txt /*NERDTree-i* +NERDTree-m NERD_tree.txt /*NERDTree-m* +NERDTree-o NERD_tree.txt /*NERDTree-o* +NERDTree-p NERD_tree.txt /*NERDTree-p* +NERDTree-q NERD_tree.txt /*NERDTree-q* +NERDTree-r NERD_tree.txt /*NERDTree-r* +NERDTree-s NERD_tree.txt /*NERDTree-s* +NERDTree-t NERD_tree.txt /*NERDTree-t* +NERDTree-u NERD_tree.txt /*NERDTree-u* +NERDTree-x NERD_tree.txt /*NERDTree-x* +NERDTreeAPI NERD_tree.txt /*NERDTreeAPI* +NERDTreeAbout NERD_tree.txt /*NERDTreeAbout* +NERDTreeAddKeyMap() NERD_tree.txt /*NERDTreeAddKeyMap()* +NERDTreeAddMenuItem() NERD_tree.txt /*NERDTreeAddMenuItem()* +NERDTreeAddMenuSeparator() NERD_tree.txt /*NERDTreeAddMenuSeparator()* +NERDTreeAddSubmenu() NERD_tree.txt /*NERDTreeAddSubmenu()* +NERDTreeBookmarkCommands NERD_tree.txt /*NERDTreeBookmarkCommands* +NERDTreeBookmarkTable NERD_tree.txt /*NERDTreeBookmarkTable* +NERDTreeBookmarks NERD_tree.txt /*NERDTreeBookmarks* +NERDTreeChangelog NERD_tree.txt /*NERDTreeChangelog* +NERDTreeCredits NERD_tree.txt /*NERDTreeCredits* +NERDTreeFunctionality NERD_tree.txt /*NERDTreeFunctionality* +NERDTreeGlobalCommands NERD_tree.txt /*NERDTreeGlobalCommands* +NERDTreeInvalidBookmarks NERD_tree.txt /*NERDTreeInvalidBookmarks* +NERDTreeKeymapAPI NERD_tree.txt /*NERDTreeKeymapAPI* +NERDTreeLicense NERD_tree.txt /*NERDTreeLicense* +NERDTreeMappings NERD_tree.txt /*NERDTreeMappings* +NERDTreeMenu NERD_tree.txt /*NERDTreeMenu* +NERDTreeMenuAPI NERD_tree.txt /*NERDTreeMenuAPI* +NERDTreeOptionDetails NERD_tree.txt /*NERDTreeOptionDetails* +NERDTreeOptionSummary NERD_tree.txt /*NERDTreeOptionSummary* +NERDTreeOptions NERD_tree.txt /*NERDTreeOptions* +NERDTreeRender() NERD_tree.txt /*NERDTreeRender()* +NERD_tree.txt NERD_tree.txt /*NERD_tree.txt* +RequireFile clojure.txt /*RequireFile* +RequireFileAll clojure.txt /*RequireFileAll* +SourceLookupInteractive clojure.txt /*SourceLookupInteractive* +SourceLookupWord clojure.txt /*SourceLookupWord* +StartRepl clojure.txt /*StartRepl* +VimExplorer vimExplorer.txt /*VimExplorer* +VimExplorer-author vimExplorer.txt /*VimExplorer-author* +VimExplorer-browse vimExplorer.txt /*VimExplorer-browse* +VimExplorer-changelog vimExplorer.txt /*VimExplorer-changelog* +VimExplorer-commands vimExplorer.txt /*VimExplorer-commands* +VimExplorer-contents vimExplorer.txt /*VimExplorer-contents* +VimExplorer-custcommand vimExplorer.txt /*VimExplorer-custcommand* +VimExplorer-custhotkey vimExplorer.txt /*VimExplorer-custhotkey* +VimExplorer-custnormal vimExplorer.txt /*VimExplorer-custnormal* +VimExplorer-customize vimExplorer.txt /*VimExplorer-customize* +VimExplorer-delete vimExplorer.txt /*VimExplorer-delete* +VimExplorer-diff vimExplorer.txt /*VimExplorer-diff* +VimExplorer-favorite vimExplorer.txt /*VimExplorer-favorite* +VimExplorer-filebrowse vimExplorer.txt /*VimExplorer-filebrowse* +VimExplorer-filehotkey vimExplorer.txt /*VimExplorer-filehotkey* +VimExplorer-fileoperation vimExplorer.txt /*VimExplorer-fileoperation* +VimExplorer-forbackward vimExplorer.txt /*VimExplorer-forbackward* +VimExplorer-functionality vimExplorer.txt /*VimExplorer-functionality* +VimExplorer-mark vimExplorer.txt /*VimExplorer-mark* +VimExplorer-markregexp vimExplorer.txt /*VimExplorer-markregexp* +VimExplorer-marksingle vimExplorer.txt /*VimExplorer-marksingle* +VimExplorer-markvisual vimExplorer.txt /*VimExplorer-markvisual* +VimExplorer-move vimExplorer.txt /*VimExplorer-move* +VimExplorer-new vimExplorer.txt /*VimExplorer-new* +VimExplorer-otherfileopt vimExplorer.txt /*VimExplorer-otherfileopt* +VimExplorer-otherfuncs vimExplorer.txt /*VimExplorer-otherfuncs* +VimExplorer-p1 vimExplorer.txt /*VimExplorer-p1* +VimExplorer-p2 vimExplorer.txt /*VimExplorer-p2* +VimExplorer-problems vimExplorer.txt /*VimExplorer-problems* +VimExplorer-search vimExplorer.txt /*VimExplorer-search* +VimExplorer-start vimExplorer.txt /*VimExplorer-start* +VimExplorer-tempmark vimExplorer.txt /*VimExplorer-tempmark* +VimExplorer-todo vimExplorer.txt /*VimExplorer-todo* +VimExplorer-treebrowse vimExplorer.txt /*VimExplorer-treebrowse* +VimExplorer-treehotkey vimExplorer.txt /*VimExplorer-treehotkey* +clj-nailgun-server clojure.txt /*clj-nailgun-server* +clojure.vim clojure.txt /*clojure.vim* +config/rails.vim rails.txt /*config\/rails.vim* +eb clojure.txt /*eb* +ef clojure.txt /*ef* +el clojure.txt /*el* +ep clojure.txt /*ep* +et clojure.txt /*et* +fd clojure.txt /*fd* +ft-clj-syntax clojure.txt /*ft-clj-syntax* +g:loaded_rails rails.txt /*g:loaded_rails* +g:rails_abbreviations rails.txt /*g:rails_abbreviations* +g:rails_dbext rails.txt /*g:rails_dbext* +g:rails_default_database rails.txt /*g:rails_default_database* +g:rails_default_file rails.txt /*g:rails_default_file* +g:rails_expensive rails.txt /*g:rails_expensive* +g:rails_gnu_screen rails.txt /*g:rails_gnu_screen* +g:rails_history_size rails.txt /*g:rails_history_size* +g:rails_mappings rails.txt /*g:rails_mappings* +g:rails_menu rails.txt /*g:rails_menu* +g:rails_modelines rails.txt /*g:rails_modelines* +g:rails_statusline rails.txt /*g:rails_statusline* +g:rails_subversion rails.txt /*g:rails_subversion* +g:rails_syntax rails.txt /*g:rails_syntax* +g:rails_tabstop rails.txt /*g:rails_tabstop* +g:rails_url rails.txt /*g:rails_url* +gi clojure.txt /*gi* +gw clojure.txt /*gw* +ji clojure.txt /*ji* +jw clojure.txt /*jw* +li clojure.txt /*li* +lw clojure.txt /*lw* +m1 clojure.txt /*m1* +macros/rails.vim rails.txt /*macros\/rails.vim* +me clojure.txt /*me* +mi clojure.txt /*mi* +mw clojure.txt /*mw* +rF clojure.txt /*rF* +rails rails.txt /*rails* +rails-'cfu' rails.txt /*rails-'cfu'* +rails-'completefunc' rails.txt /*rails-'completefunc'* +rails-'efm' rails.txt /*rails-'efm'* +rails-'errorformat' rails.txt /*rails-'errorformat'* +rails-'et' rails.txt /*rails-'et'* +rails-'expandtab' rails.txt /*rails-'expandtab'* +rails-'filetype' rails.txt /*rails-'filetype'* +rails-'ft' rails.txt /*rails-'ft'* +rails-'includeexpr' rails.txt /*rails-'includeexpr'* +rails-'inex' rails.txt /*rails-'inex'* +rails-'makeprg' rails.txt /*rails-'makeprg'* +rails-'mp' rails.txt /*rails-'mp'* +rails-'pa' rails.txt /*rails-'pa'* +rails-'path' rails.txt /*rails-'path'* +rails-'shiftwidth' rails.txt /*rails-'shiftwidth'* +rails-'softtabstop' rails.txt /*rails-'softtabstop'* +rails-'statusline' rails.txt /*rails-'statusline'* +rails-'stl' rails.txt /*rails-'stl'* +rails-'sts' rails.txt /*rails-'sts'* +rails-'sua' rails.txt /*rails-'sua'* +rails-'suffixesadd' rails.txt /*rails-'suffixesadd'* +rails-'sw' rails.txt /*rails-'sw'* +rails-:A rails.txt /*rails-:A* +rails-:AE rails.txt /*rails-:AE* +rails-:AS rails.txt /*rails-:AS* +rails-:AT rails.txt /*rails-:AT* +rails-:AV rails.txt /*rails-:AV* +rails-:OpenURL rails.txt /*rails-:OpenURL* +rails-:R rails.txt /*rails-:R* +rails-:RE rails.txt /*rails-:RE* +rails-:RS rails.txt /*rails-:RS* +rails-:RT rails.txt /*rails-:RT* +rails-:RV rails.txt /*rails-:RV* +rails-:Rabbrev rails.txt /*rails-:Rabbrev* +rails-:Rabbrev! rails.txt /*rails-:Rabbrev!* +rails-:Rails rails.txt /*rails-:Rails* +rails-:Rake rails.txt /*rails-:Rake* +rails-:Rake! rails.txt /*rails-:Rake!* +rails-:Rapi rails.txt /*rails-:Rapi* +rails-:Rcd rails.txt /*rails-:Rcd* +rails-:Rcommand rails.txt /*rails-:Rcommand* +rails-:Rconsole rails.txt /*rails-:Rconsole* +rails-:Rcontroller rails.txt /*rails-:Rcontroller* +rails-:Rdbext rails.txt /*rails-:Rdbext* +rails-:Rdbext! rails.txt /*rails-:Rdbext!* +rails-:Rdestroy rails.txt /*rails-:Rdestroy* +rails-:Rdoc rails.txt /*rails-:Rdoc* +rails-:Rdoc! rails.txt /*rails-:Rdoc!* +rails-:Redit rails.txt /*rails-:Redit* +rails-:Rextract rails.txt /*rails-:Rextract* +rails-:Rfind rails.txt /*rails-:Rfind* +rails-:Rfixtures rails.txt /*rails-:Rfixtures* +rails-:Rfunctionaltest rails.txt /*rails-:Rfunctionaltest* +rails-:Rgenerate rails.txt /*rails-:Rgenerate* +rails-:Rhelper rails.txt /*rails-:Rhelper* +rails-:Rintegrationtest rails.txt /*rails-:Rintegrationtest* +rails-:Rinvert rails.txt /*rails-:Rinvert* +rails-:Rjavascript rails.txt /*rails-:Rjavascript* +rails-:Rlayout rails.txt /*rails-:Rlayout* +rails-:Rlcd rails.txt /*rails-:Rlcd* +rails-:Rlib rails.txt /*rails-:Rlib* +rails-:Rlog rails.txt /*rails-:Rlog* +rails-:Rmigration rails.txt /*rails-:Rmigration* +rails-:Rmodel rails.txt /*rails-:Rmodel* +rails-:Robserver rails.txt /*rails-:Robserver* +rails-:Rp rails.txt /*rails-:Rp* +rails-:Rpartial rails.txt /*rails-:Rpartial* +rails-:Rplugin rails.txt /*rails-:Rplugin* +rails-:Rpp rails.txt /*rails-:Rpp* +rails-:Rpreview rails.txt /*rails-:Rpreview* +rails-:Rpreview! rails.txt /*rails-:Rpreview!* +rails-:Rproject rails.txt /*rails-:Rproject* +rails-:Rproject! rails.txt /*rails-:Rproject!* +rails-:Rrefresh rails.txt /*rails-:Rrefresh* +rails-:Rrefresh! rails.txt /*rails-:Rrefresh!* +rails-:Rrunner rails.txt /*rails-:Rrunner* +rails-:Rscript rails.txt /*rails-:Rscript* +rails-:Rserver rails.txt /*rails-:Rserver* +rails-:Rserver! rails.txt /*rails-:Rserver!* +rails-:Rset rails.txt /*rails-:Rset* +rails-:Rstylesheet rails.txt /*rails-:Rstylesheet* +rails-:Rtags rails.txt /*rails-:Rtags* +rails-:Rtask rails.txt /*rails-:Rtask* +rails-:Runittest rails.txt /*rails-:Runittest* +rails-:Rview rails.txt /*rails-:Rview* +rails-:Ry rails.txt /*rails-:Ry* +rails-:autocmd rails.txt /*rails-:autocmd* +rails-@params rails.txt /*rails-@params* +rails-abbreviations rails.txt /*rails-abbreviations* +rails-about rails.txt /*rails-about* +rails-alternate rails.txt /*rails-alternate* +rails-alternate-related rails.txt /*rails-alternate-related* +rails-autocommands rails.txt /*rails-autocommands* +rails-commands rails.txt /*rails-commands* +rails-configuration rails.txt /*rails-configuration* +rails-controller-navigation rails.txt /*rails-controller-navigation* +rails-cream rails.txt /*rails-cream* +rails-custom-navigation rails.txt /*rails-custom-navigation* +rails-dbext rails.txt /*rails-dbext* +rails-gf rails.txt /*rails-gf* +rails-global-settings rails.txt /*rails-global-settings* +rails-install-plugin rails.txt /*rails-install-plugin* +rails-install-vim rails.txt /*rails-install-vim* +rails-installation rails.txt /*rails-installation* +rails-integration rails.txt /*rails-integration* +rails-introduction rails.txt /*rails-introduction* +rails-license rails.txt /*rails-license* +rails-menu rails.txt /*rails-menu* +rails-migrations rails.txt /*rails-migrations* +rails-misc-navigation rails.txt /*rails-misc-navigation* +rails-model-navigation rails.txt /*rails-model-navigation* +rails-modelines rails.txt /*rails-modelines* +rails-navigation rails.txt /*rails-navigation* +rails-options rails.txt /*rails-options* +rails-partials rails.txt /*rails-partials* +rails-plugin-author rails.txt /*rails-plugin-author* +rails-project rails.txt /*rails-project* +rails-rails-integration rails.txt /*rails-rails-integration* +rails-refactoring rails.txt /*rails-refactoring* +rails-related rails.txt /*rails-related* +rails-rspec rails.txt /*rails-rspec* +rails-screen rails.txt /*rails-screen* +rails-scripts rails.txt /*rails-scripts* +rails-slow rails.txt /*rails-slow* +rails-snippets rails.txt /*rails-snippets* +rails-surround rails.txt /*rails-surround* +rails-syntax rails.txt /*rails-syntax* +rails-syntax-assertions rails.txt /*rails-syntax-assertions* +rails-syntax-classes rails.txt /*rails-syntax-classes* +rails-syntax-deprecated rails.txt /*rails-syntax-deprecated* +rails-syntax-keywords rails.txt /*rails-syntax-keywords* +rails-syntax-strings rails.txt /*rails-syntax-strings* +rails-syntax-yaml rails.txt /*rails-syntax-yaml* +rails-tabs rails.txt /*rails-tabs* +rails-template-types rails.txt /*rails-template-types* +rails-vim-integration rails.txt /*rails-vim-integration* +rails.txt rails.txt /*rails.txt* +rf clojure.txt /*rf* +si clojure.txt /*si* +sr clojure.txt /*sr* +sw clojure.txt /*sw* +vimclojure.txt clojure.txt /*vimclojure.txt* +vimerl vimerl.txt /*vimerl* +vimerl-commands vimerl.txt /*vimerl-commands* +vimerl-folding vimerl.txt /*vimerl-folding* +vimerl-indenting vimerl.txt /*vimerl-indenting* +vimerl-intro vimerl.txt /*vimerl-intro* +vimerl-license vimerl.txt /*vimerl-license* +vimerl-omni-completion vimerl.txt /*vimerl-omni-completion* +vimerl-options vimerl.txt /*vimerl-options* +vimerl-skeletons vimerl.txt /*vimerl-skeletons* +vimerl-syntax-checking vimerl.txt /*vimerl-syntax-checking* +vimerl-usage vimerl.txt /*vimerl-usage* +vimerl.txt vimerl.txt /*vimerl.txt* diff --git a/.vim/doc/vimExplorer.txt b/.vim/doc/vimExplorer.txt new file mode 100644 index 0000000..7bf6c46 --- /dev/null +++ b/.vim/doc/vimExplorer.txt @@ -0,0 +1,542 @@ +*VimExplorer* A powerful file manager v0.98 + + + VimExplorer Reference Manual + by Ming Bai (mbbill AT gmail.com) + + +============================================================================== +CONTENTS *VimExplorer-contents* + +1. Intro.......................................|VimExplorer-start| +2. Functionality...............................|VimExplorer-functionality| + 2.1 Tree Panel Hotkeys.....................|VimExplorer-treehotkey| + 2.2 File Panel Hotkeys.....................|VimExplorer-filehotkey| + 2.3 Commands...............................|VimExplorer-commands| +3. Directory Browsing..........................|VimExplorer-browse| + 3.1 Tree Browsing..........................|VimExplorer-treebrowse| + 3.2 File Browsing..........................|VimExplorer-filebrowse| + 3.3 Forward and Backward...................|VimExplorer-forbackward| + 3.4 Favorites..............................|VimExplorer-favorite| + 3.5 Temp Marks.............................|VimExplorer-tempmark| +4. Marks.......................................|VimExplorer-mark| + 4.1 Single File Marks......................|VimExplorer-marksingle| + 4.2 Visual Marks...........................|VimExplorer-markvisual| + 4.3 Regexp Marks...........................|VimExplorer-markregexp| +5. File operations.............................|VimExplorer-fileoperation| + 5.1 Create.................................|VimExplorer-new| + 5.2 Move...................................|VimExplorer-move| + 5.3 Delete.................................|VimExplorer-delete| + 5.4 Diff...................................|VimExplorer-diff| + 5.5 Search.................................|VimExplorer-search| + 5.6 Other Operations.......................|VimExplorer-otherfileopt| +6. Other Functionalities.......................|VimExplorer-otherfuncs| +7. Customization...............................|VimExplorer-customize| + 7.1 Normal Options.........................|VimExplorer-custnormal| + 7.2 Hotkey Customization...................|VimExplorer-custhotkey| + 7.3 Command Customization..................|VimExplorer-custcommand| +8. The Author..................................|VimExplorer-author| +9. Problems and Fixes..........................|VimExplorer-problems| +10. Changelog...................................|VimExplorer-changelog| +11. TODO........................................|VimExplorer-todo| + + +============================================================================== +1. Intro *VimExplorer-start* + +What is VimExplorer ? +VimExplorer is a file manager, it can do a lot of file operations such as +copy, delete, move, preview, search and so on. Also it has a variety of other +capacities and customization abilities. + +You can start VimExplorer by the following command: +> + :VE +< +Then it will ask you for the starting directory, default is the current path. +> + VimExplorer (directory): /home/username/ +< +You can change it to some other directories or just push "Enter" to start it. + +The second approach to start VimExplorer: +> + :VE [directory] +< +Example: +> + :VE /usr/src/ +< +Now, VimExplorer will start using the path '/usr/src/'. When you are typing +the path, and will help you to complete the path automatically. +After all of these operations, you can see a new tab which has two panels +within it, one is the "Tree Panel" and the other is "File Panel". From now you +will have a happy journey using the powerful file manager. + + +============================================================================== +2. Functionality *VimExplorer-functionality* + +2.1 Tree Panel Hotkeys *VimExplorer-treehotkey* + +Member of |VEConf_treeHotkey|, refer to section 7.2 . + +Mapping Key Description~ +help ? Help. +toggleNode Open/Close/Switch to current node. +toggleNodeMouse <2-LeftMouse> Open/Close/Switch to current node. +refresh r Refresh the tree panel. +favorite f View favorite folder list. +addToFavorite F Add the folder under cursor to + favorite list. If no path under + cursor, use current working path. +browseHistory b View browse history. +toggleFilePanel t Toggle the file panel. +toUpperDir Go to upper directory. +switchPanel Switch to File Panel. +gotoPath Change to another path. +quitVE Q Quit VimExplorer. + +2.2 File Panel Hotkeys *VimExplorer-filehotkey* + +Member of |VEConf_fileHotkey|, refer to section 7.2 . + +Mapping Default Description~ +help ? Help. +itemClicked Enter the directory or open the file + by default association. +itemClickMouse <2-LeftMouse> Enter the directory or open the file + by default association. +refresh r Refresh. +toggleTreePanel t Toggle the Tree Panel. +toggleModes i Toggle file sort mode (type/data/file + extension). +newFile +f Create a new file. +newDirectory +d Create a new directory. +switchPanel Switch to the Tree Panel. +quitVE Q Quit VimExplorer. +toggleHidden H Toggle show hidden files.(files start + with '.') +search g/ Search. +markPlace m{a-z} Put current path to register(a-z). +gotoPlace '{a-z} Jump to path in register(a-z). +viewMarks J View path in register. +toUpperDir Go to upper directory. +gotoForward Forward. +gotoBackward Backward. +favorite f View favorite folder list. +addToFavorite F Add the folder under cursor to + favorite list. If no path under + cursor, use current working path. +browseHistory b View browse history. +gotoPath Change to another path. +rename R Rename the file under cursor. +yankSingle yy Copy file under cursor. +cutSingle xx Cut file under cursor. +showYankList yl Show clipboard. +deleteSingle dd Delete file under cursor. +openPreview u Preview. +closePreview U Close the preview panel. +toggleSelectUp Move the cursor up and mark/unmark the + file under cursor. +toggleSelectDown Mark/unmark the file under cursor and + move the cursor down. +markViaRegexp Mr Mark via regular expression. +markVimFiles Mv Mark all vim files. +markDirectory Md Mark all directories. +markExecutable Me Mark all executable files. +clearSelect Mc Clear all marks. +deleteSelected sd Delete marked files. +yankSelected sy Copy marked files. +cutSelected sx Cut marked files. +tabViewMulti se Edit every marked file in separate + tabs. +paste p Paste. +diff2files = Diff two files. +tabView e Edit file in new tab. +openRenamer ;r Open Renamer (Note 1) +startShell ;c Start a shell from current path. +startExplorer ;e Start another file + manager(nautilus,konquer,explorer.exe). + +Visual Mode Hotkeys~ +visualSelect Mark files. +visualDelete d Delete files. +visualYank y Copy files. +visualCut x Cut files. +tabView e View files in new tabs. + +2.3 Commands *VimExplorer-commands* +> + VE +< +Start VimExplorer. + +> + VEC +< +Close VimExplorer, Hotkey |Q| has the same ability. + +============================================================================== +3. Directory Browsing *VimExplorer-browse* + +3.1 Tree Browsing *VimExplorer-treebrowse* + +Press "Enter" on one tree node will change the path and add the new path to +browse history. By default, if a directory has it's own child directories, |+| +will be displayed before it's name, and It will cause a little performance +lost. If you don't need this feature ,set the following variable to zero can +disable it. +> + let VEConf_showFolderStatus = 0 +< +There are some differences between win32 and other platforms. In win32, there +are several root nodes (such as C:\,D:\), but one root node (/) in other +platforms. + +3.2 File Browsing *VimExplorer-filebrowse* + +The file panel consist of two parts: the path in the top and the following +file list. Every line of the file list consist from the following regions: + +[*] {file-name} [file-size] {permission} {modify-time} + +The file panel can sort by type, file name and date. Hotkey |i| is used to +cycle between these modes. Default sort mode controlled by following variable: +> + VEConf_filePanelSortType + +< +See Customization section for more details. + +3.3 Forward and Backward *VimExplorer-forbackward* + +When using "Enter" switch to an new folder, the path will be add to browse +history. Then you can use || and || to go backward and forward. +Hotkey |b| is used to list all browse history, select by number or mouse can +take you directory to that path. + +By default, the depth of browse history is 100. Controled by this variable: +> + VEConf_browseHistory +< + +3.4 Favorites *VimExplorer-favorite* + +The favorite folder list is saved to the file $HOME/.ve_favorite . It will be +updated when new folder is added to favorite by hotkey |F|. The format of +".ve_favorite" is very simple: every line is a path, so edit it is quite +easy. + +3.5 Temp Marks *VimExplorer-tempmark* + +Just like the favorites, |ma| put current path into register 'a', and |'a| can +jump to the path. |J| is used to list every non empty register. All paths in +register will disappear after VimExplorer exists. + +============================================================================== +4. Marks *VimExplorer-mark* + +The simplest way is to press upon a file. There will be a '*' before +marked files and also be displayed in a different color. +There are three way to mark files: + +4.1 Single File Marks *VimExplorer-marksingle* + + Invert selection, move the cursor down. + Move the cursor up, then invert selection. +Just like most of vim commands, 5 will mark 5 files start from current +cursor. + +4.2 Visual Marks *VimExplorer-markvisual* + + in visual mode will invert selected these files. + +4.3 Regexp Marks *VimExplorer-markregexp* + +Hotkey: |Mr| +Only the file name is the target of regexp match. Example: +> + Mark file (regexp): ^abc.*\.vim$ +< +It will mark all vim scripts start with abc. The following functionalities is +derived from this feature: +|Mv| mark all vim scripts. +|Me| mark all executable files. +|Md| mark all directories. +and |Mc| to clear all marks. + +============================================================================== +5. File Operations *VimExplorer-fileoperation* + +5.1 Create *VimExplorer-new* + +|+f| and |+d| is used to create new files and directories. + +5.2 Move *VimExplorer-move* + +There are several hotkey used to copy/cut files: +|yy| and |sy| in normal mode ,|y| in visual mode is to copy file. +|xx| and |sx| in normal mode ,|x| in visual mode is to cut file. +|p| paste file. +Note that the clipboard is shared between all VimExplorers ,you can cut in one +VE tab and paste in another. +If you want to view the clipboard, |yl| can be help. + +5.3 Delete *VimExplorer-delete* + +|dd| in normal mode and |d| in visual mode. Feel good? + +5.4 Diff *VimExplorer-diff* + +|=| is used to diff 2 files, so make sure you have selected 2 files before +using this command. + +5.5 Search *VimExplorer-search* + +Just like / ,but the pattern here is not the regexp in vim, it will be +expended by shell. + +5.6 Other Operations *VimExplorer-otherfileopt* + +|e| |R| |u| and so on ... Refer to section 2.2 + +============================================================================== +6. Other Functionalities *VimExplorer-otherfuncs* + +|;r| |;c| |;e| and so on ...Rever to section 2.2 + +============================================================================== +7. Customization *VimExplorer-customize* + +7.1 Normal Options *VimExplorer-custnormal* + +Common Options~ + +|g:VEConf_systemEncoding| It controls the encoding of vim calling + function system(). If your system encoding + is different from '&encoding', set this + value to system encoding. Example: let + g:VEConf_systemEncoding = 'utf-8' + ,Default: '' (empty) + +|g:VEConf_win32Disks| The default value is all 26 volumes. Set this + value to fit your system can increase the + startup speed. If you are not using + Microsoft Windows, ignore it. Example: + let VEConf_win32Disks = + ["A:","B:","C:","D:"] + +|g:VEConf_browseHistory| Depth of browse history. Default: 100 + +|g:VEConf_previewSplitLocation| Split location of preview panel. Optional + parameters are: + "belowright","topleft","leftabove","botright". + Default: "belowright" + +|g:VEConf_showHiddenFiles| Show hidden files, 1: show,0: hide. Default: 1 + +|g:VEConf_externalExplorer| Name of the external file explorer. You can + set this value according to you system. + Default: "explorer.exe"(win32) "nautilus" + (gnome) + +|g:VEConf_sortCaseSensitive| 0: not case sensitive 1: case sensitive + Default: 1 + +|g:VEConf_favorite| Favorite folder file name. Always stored in + $HOME. Default: ".ve_favorite" + +|g:VEConf_overWriteExisting| Ask when over write existing files. + 0: ask 1: always over write 2: always + not over write Default: 0 + +|g:VEConf_usingKDE| If set to 1, use "kfmclient" +|g:VEConf_usingGnome| If set to 1, use "gnome-open" + +Tree Panel Options~ + +|g:VEConf_showFolderStatus| It controls show '+' before the folders which + have their own child folders. If it is set + to 1, every folder will have a '+'. + Default: 1 + +|g:VEConf_treePanelWidth| Width of tree panel. Default: 30 + +|g:VEConf_treePanelSplitMode| Split mode of tree panel. Default: "vertical" + +|g:VEConf_treePanelSplitLocation| Split location of tree panel, Optional + parameters: "belowright" , "topleft" , + "leftabove" , "botright", Default: + "leftabove" + +|g:VEConf_treeSortDirection| Sort direction. 1: A-Z 0: Z-A. Default: 1 + +File Panel Options~ + +|g:VEConf_fileGroupSortDirection| Sort direction. 1: A-Z 0: Z-A, Default: 1 + +|g:VEConf_fileDeleteConfirm| Confirm when deleting a file. 1: confirm 2: + no confirm. Default: 1 + +|g:VEConf_filePanelWidth| Width of file panel. Default: 40 + +|g:VEConf_filePanelSplitMode| Split mode of file panel. Default: "vertical" + +|g:VEConf_filePanelSplitLocation| Split location of file panel, Optional + parameters: "belowright" , "topleft" , + "leftabove" , "botright" ,Default: + "leftabove" + +|g:VEConf_filePanelSortType| File sort type. 1: sort by name 2: sort by + time 3: sort by type, Default: 3 + +|g:VEConf_showFileSizeInMKB| 1: Show file size in MKB format. 0: always + show file size in byte. + +|g:VEConf_filePanelFilter| Filter of the file panel, which will be + passed to glob() function. Example: + let g:VEConf_filePanelFilter = '*.txt' + +7.2 Hotkey Customization *VimExplorer-custhotkey* + +All user defined hotkeys are controlled by the two dicts: +|g:VEConf_treeHotkey| and |g:VEConf_fileHotkey| +Example: +> + let g:VEConf_treeHotkey = {} + let g:VEConf_treeHotkey.help = '??' + let g:VEConf_treeHotkey.quitVE = 'qq' + let g:VEConf_treeHotkey.switchPanel = '' +< +All definable hotkeys and their default bindings refer to section 2 . + +7.3. Command Customization *VimExplorer-custcommand* + +VimExplorer supports three types of command interface: +single file hotkeys and actions, multi file hotkeys and actions and normal +hotkeys and actions. +They are controlled by these variables: + + |VEConf_singleFileActions| |VEConf_singleFileHotKeys| + + |VEConf_multiFileActions| |VEConf_multiFileHotKeys| + + |VEConf_normalActions| |VEConf_normalHotKeys| + +All of them are dicts. Example: +> + let VEConf_normalActions = {} + let VEConf_normalHotKeys = {} + let VEConf_normalHotKeys['test1'] = 'T1' + function! VEConf_normalActions['test1']() + Renamer + endfunction +< +"test1" is the key. VimExplorer will bind the hotkey and corresponding actions +automatically. +> + let VEConf_singleFileActions = {} + let VEConf_singleFileHotKeys = {} + let VEConf_singleFileHotKeys['test2'] = 'T2' + function! VEConf_singleFileActions['test2'](path) + call VEPlatform.system("notepad.exe " . VEPlatform.escape(a:path)) + endfunction +< +Here, parameter "path" is the path of file under cursor. +> + let VEConf_multiFileActions = {} + let VEConf_multiFileHotKeys = {} + let VEConf_multiFileHotKeys['test3'] = 'T3' + function! VEConf_multiFileActions['test3'](fileList) + for i in a:fileList + call VEPlatform.start("nautilus " . i) + endfor + endfunction +< +Parameter "fileList" consists of all paths of marked files. +In addition, VimExplorer provides some platform independent functions: +> + VEPlatform.start(path) + VEPlatform.system(cmd) + VEPlatform.copyfile(filename,topath) + VEPlatform.search(filename,path) + VEPlatform.deleteSingle(path) +< +These functions can be used in user defined actions. + + + + +============================================================================== +8. The Author *VimExplorer-author* + +If you found a bug, or have some suggestions , mail me. + +mail: mbbillgmailcom + +============================================================================== +9. Problems and Fixes *VimExplorer-problems* + + *VimExplorer-p1* +P1. Case sensitive in Win32. + At present, the path in win32 is case sensitive. Pay attention to this + when starting VE, editing the favorite list or using to change + path. A good suggestion is using or to complete path + automatically. + + *VimExplorer-p2* +P2. 'wildignre' option cause some files disappeared. + If 'wildignore' is not empty, glob() function will not return files + matching the file pattern listed in it, then you may find some files + disappeared in the file panel. + + + +============================================================================== +10. Changelog *VimExplorer-changelog* + +0.95 + - Initial release. + +0.96 + - Bug fix: VE_normalAction not found. + +0.97 + - Change the behaviour of hotkey 'F', now it adds the path under cursor to + favorite list. If no path under cursor, use current working path + instead.(Thanks to Vincent Wang) + - Bug fix: escape ' %#' for path. + - Add options |g:VEConf_usingKDE| and |g:VEConf_usingGnome| for starting + program in *nix environment. + - Check if the script is already loaded, thanks to Dennis Hostetler. + - Change default g:VEConf_systemEncoding to '' (empty). + - Bug fix: favorite selection out of range. +0.98 + - Add option VEConf_filePanelFilter. + - Bug fix: Escape in command 'e' 'se' 'u' and '='. + - Bug fix: 'Cut' and 'Paste' command causes file lost. + - Change the default hotkey 'M' and 'B' to 'm','J'. + - Change forward and backward hotkey to || and ||(). + - Change hotkey || to ||. + - Change hotkey |mr| |mv| |md| |me| |mc| to |Mr| |Mv| |Md| |Me| |Mc|. + - When GUI is running, use confirm() to pop a dialog instead of input(). + +============================================================================== +11. TODO *VimExplorer-todo* + - More clipboard. + - Diff files in different directories. + - Remember the cursor place when switch between directories. + - Two panel mode, just like TotalCommand. + - Diff directories. + - Browse via e.g. FTP, SCP ... directorys on a server. + +============================================================================== +Note 1: +Renamer is a good plugin used to rename files. The author is John Orr. It can +be found here: +http://www.vim.org/scripts/script.php?script_id=1721 + + + + vim:tw=78:ts=8:ft=help:norl: diff --git a/.vim/ftdetect/clojure.vim b/.vim/ftdetect/clojure.vim new file mode 100644 index 0000000..929ed03 --- /dev/null +++ b/.vim/ftdetect/clojure.vim @@ -0,0 +1 @@ +au BufNewFile,BufRead *.clj setfiletype clojure diff --git a/.vim/ftdetect/go.vim b/.vim/ftdetect/go.vim new file mode 100644 index 0000000..4d6a743 --- /dev/null +++ b/.vim/ftdetect/go.vim @@ -0,0 +1,190 @@ +" Copyright 2009 The Go Authors. All rights reserved. +" Use of this source code is governed by a BSD-style +" license that can be found in the LICENSE file. +" +" go.vim: Vim syntax file for Go. +" +" Options: +" There are some options for customizing the highlighting; the recommended +" settings are the default values, but you can write: +" let OPTION_NAME = 0 +" in your ~/.vimrc file to disable particular options. You can also write: +" let OPTION_NAME = 1 +" to enable particular options. At present, all options default to on. +" +" - go_highlight_array_whitespace_error +" Highlights white space after "[]". +" - go_highlight_chan_whitespace_error +" Highlights white space around the communications operator that don't follow +" the standard style. +" - go_highlight_extra_types +" Highlights commonly used library types (os.Error, etc.). +" - go_highlight_space_tab_error +" Highlights instances of tabs following spaces. +" - go_highlight_trailing_whitespace_error +" Highlights trailing white space. + +" Quit when a (custom) syntax file was already loaded +if exists("b:current_syntax") + finish +endif + +if !exists("go_highlight_array_whitespace_error") + let go_highlight_array_whitespace_error = 1 +endif +if !exists("go_highlight_chan_whitespace_error") + let go_highlight_chan_whitespace_error = 1 +endif +if !exists("go_highlight_extra_types") + let go_highlight_extra_types = 1 +endif +if !exists("go_highlight_space_tab_error") + let go_highlight_space_tab_error = 1 +endif +if !exists("go_highlight_trailing_whitespace_error") + let go_highlight_trailing_whitespace_error = 1 +endif + +syn case match + +syn keyword goDirective package import +syn keyword goDeclaration var const type +syn keyword goDeclType struct interface + +hi def link goDirective Statement +hi def link goDeclaration Keyword +hi def link goDeclType Keyword + +" Keywords within functions +syn keyword goStatement defer go goto return break continue fallthrough +syn keyword goConditional if else switch select +syn keyword goLabel case default +syn keyword goRepeat for range + +hi def link goStatement Statement +hi def link goConditional Conditional +hi def link goLabel Label +hi def link goRepeat Repeat + +" Predefined types +syn keyword goType chan map bool string +syn keyword goSignedInts int int8 int16 int32 int64 +syn keyword goUnsignedInts byte uint uint8 uint16 uint32 uint64 uintptr +syn keyword goFloats float float32 float64 + +hi def link goType Type +hi def link goSignedInts Type +hi def link goUnsignedInts Type +hi def link goFloats Type + +" Treat func specially: it's a declaration at the start of a line, but a type +" elsewhere. Order matters here. +syn match goType /\/ +syn match goDeclaration /^func\>/ + +" Predefined functions and values +syn keyword goBuiltins cap close closed convert len make new panic panicln print println +syn keyword goConstants iota true false nil + +hi def link goBuiltins Keyword +hi def link goConstants Keyword + +" Comments; their contents +syn keyword goTodo contained TODO FIXME XXX BUG +syn cluster goCommentGroup contains=goTodo +syn region goComment start="/\*" end="\*/" contains=@goCommentGroup +syn region goComment start="//" end="$" contains=@goCommentGroup + +hi def link goComment Comment +hi def link goTodo Todo + +" Go escapes +syn match goEscapeOctal display contained "\\[0-7]\{3}" +syn match goEscapeC display contained +\\[abfnrtv\\'"]+ +syn match goEscapeX display contained "\\x\x\{2}" +syn match goEscapeU display contained "\\u\x\{4}" +syn match goEscapeBigU display contained "\\U\x\{8}" +syn match goEscapeError display contained +\\[^0-7xuUabfnrtv\\'"]+ + +hi def link goEscapeOctal goSpecialString +hi def link goEscapeC goSpecialString +hi def link goEscapeX goSpecialString +hi def link goEscapeU goSpecialString +hi def link goEscapeBigU goSpecialString +hi def link goSpecialString Special +hi def link goEscapeError Error + +" Strings and their contents +syn cluster goStringGroup contains=goEscapeOctal,goEscapeC,goEscapeX,goEscapeU,goEscapeBigU,goEscapeError +syn region goString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=@goStringGroup +syn region goRawString start=+`+ end=+`+ + +hi def link goString String +hi def link goRawString String + +" Characters; their contents +syn cluster goCharacterGroup contains=goEscapeOctal,goEscapeC,goEscapeX,goEscapeU,goEscapeBigU +syn region goCharacter start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=@goCharacterGroup + +hi def link goCharacter Character + +" Regions +syn region goBlock start="{" end="}" transparent fold +syn region goParen start='(' end=')' transparent + +" Integers +syn match goDecimalInt "\<\d\+\>" +syn match goHexadecimalInt "\<0x\x\+\>" +syn match goOctalInt "\<0\o\+\>" +syn match goOctalError "\<0\o*[89]\d*\>" + +hi def link goDecimalInt Integer +hi def link goHexadecimalInt Integer +hi def link goOctalInt Integer +hi def link Integer Number + +" Floating point +syn match goFloat "\<\d\+\.\d*\([Ee][-+]\d\+\)\?\>" +syn match goFloat "\<\.\d\+\([Ee][-+]\d\+\)\?\>" +syn match goFloat "\<\d\+[Ee][-+]\d\+" + +hi def link goFloat Float + +" Spaces after "[]" +if go_highlight_array_whitespace_error != 0 + syn match goSpaceError display "\(\[\]\)\@<=\s\+" +endif + +" Spacing errors around the 'chan' keyword +if go_highlight_chan_whitespace_error != 0 + " receive-only annotation on chan type + syn match goSpaceError display "\(<-\)\@<=\s\+\(chan\>\)\@=" + " send-only annotation on chan type + syn match goSpaceError display "\(\/ + syn match goExtraType /\/ + syn match goExtraType /\<\(os\.Error\)\>/ + syn match goExtraType /\/ + syn match goExtraType /\/ +endif + +" Space-tab error +if go_highlight_space_tab_error != 0 + syn match goSpaceError display " \+\t"me=e-1 +endif + +" Trailing white space error +if go_highlight_trailing_whitespace_error != 0 + syn match goSpaceError display excludenl "\s\+$" +endif + +hi def link goExtraType Type +hi def link goSpaceError Error + +let b:current_syntax = "go" diff --git a/.vim/ftdetect/mkd.vim b/.vim/ftdetect/mkd.vim new file mode 100644 index 0000000..ab36f5c --- /dev/null +++ b/.vim/ftdetect/mkd.vim @@ -0,0 +1,3 @@ +" markdown filetype file +au BufRead,BufNewFile *.{md,mdown,mkd,mkdn,markdown,mdwn} set filetype=mkd + diff --git a/.vim/ftdetect/scala.vim b/.vim/ftdetect/scala.vim new file mode 100644 index 0000000..f1f3e83 --- /dev/null +++ b/.vim/ftdetect/scala.vim @@ -0,0 +1,3 @@ +" $URL: https://lampsvn.epfl.ch/svn-repos/scala/scala-tool-support/trunk/src/vim/ftdetect/scala.vim $ + +au BufRead,BufNewFile *.scala set filetype=scala diff --git a/.vim/ftplugin/clojure.vim b/.vim/ftplugin/clojure.vim new file mode 100644 index 0000000..283888a --- /dev/null +++ b/.vim/ftplugin/clojure.vim @@ -0,0 +1,157 @@ +" Vim filetype plugin file +" Language: Clojure +" Maintainer: Meikel Brandmeyer + +" Only do this when not done yet for this buffer +if exists("b:did_ftplugin") + finish +endif + +let b:did_ftplugin = 1 + +let s:cpo_save = &cpo +set cpo&vim + +let b:undo_ftplugin = "setlocal fo< com< cms< cpt< isk< def<" + +setlocal iskeyword+=?,-,*,!,+,/,=,<,>,. + +setlocal define=^\\s*(def\\(-\\|n\\|n-\\|macro\\|struct\\|multi\\)? + +" Set 'formatoptions' to break comment lines but not other lines, +" and insert the comment leader when hitting or using "o". +setlocal formatoptions-=t formatoptions+=croql +setlocal commentstring=;%s + +" Set 'comments' to format dashed lists in comments. +setlocal comments=sO:;\ -,mO:;\ \ ,n:; + +" Take all directories of the CLOJURE_SOURCE_DIRS environment variable +" and add them to the path option. +if has("win32") || has("win64") + let s:delim = ";" +else + let s:delim = ":" +endif +for dir in split($CLOJURE_SOURCE_DIRS, s:delim) + call vimclojure#AddPathToOption(dir . "/**", 'path') +endfor + +" When the matchit plugin is loaded, this makes the % command skip parens and +" braces in comments. +let b:match_words = &matchpairs +let b:match_skip = 's:comment\|string\|character' + +" Win32 can filter files in the browse dialog +if has("gui_win32") && !exists("b:browsefilter") + let b:browsefilter = "Clojure Source Files (*.clj)\t*.clj\n" . + \ "Jave Source Files (*.java)\t*.java\n" . + \ "All Files (*.*)\t*.*\n" +endif + +for ns in ['clojure.core', 'clojure.set', 'clojure.xml', 'clojure.zip'] + call vimclojure#AddCompletions(ns) +endfor + +" Define toplevel folding if desired. +function! ClojureGetFoldingLevel(lineno) + let closure = { 'lineno' : a:lineno } + + function closure.f() dict + execute self.lineno + + if vimclojure#SynIdName() =~ 'clojureParen\d' && vimclojure#Yank('l', 'normal! "lyl') == '(' + return 1 + endif + + if searchpairpos('(', '', ')', 'bWr', 'vimclojure#SynIdName() !~ "clojureParen\\d"') != [0, 0] + return 1 + endif + + return 0 + endfunction + + return vimclojure#WithSavedPosition(closure) +endfunction + +" Disabled for now. Too slow (and naive). +if exists("g:clj_want_folding") && g:clj_want_folding == 1 && 0 == 1 + setlocal foldexpr=ClojureGetFoldingLevel(v:lnum) + setlocal foldmethod=expr +endif + +call vimclojure#InitBuffer() + +if exists("b:vimclojure_namespace") + call vimclojure#MakePlug("n", "DocLookupWord", 'vimclojure#DocLookup(expand(""))') + call vimclojure#MakePlug("n", "DocLookupInteractive", 'vimclojure#DocLookup(input("Symbol to look up: "))') + call vimclojure#MakePlug("n", "JavadocLookupWord", 'vimclojure#JavadocLookup(expand(""))') + call vimclojure#MakePlug("n", "JavadocLookupInteractive", 'vimclojure#JavadocLookup(input("Class to lookup: "))') + call vimclojure#MakePlug("n", "FindDoc", 'vimclojure#FindDoc())') + + call vimclojure#MapPlug("n", "lw", "DocLookupWord") + call vimclojure#MapPlug("n", "li", "DocLookupInteractive") + call vimclojure#MapPlug("n", "jw", "JavadocLookupWord") + call vimclojure#MapPlug("n", "ji", "JavadocLookupInteractive") + call vimclojure#MapPlug("n", "fd", "FindDoc") + + call vimclojure#MakePlug("n", "MetaLookupWord", 'vimclojure#MetaLookup(expand(""))') + call vimclojure#MakePlug("n", "MetaLookupInteractive", 'vimclojure#MetaLookup(input("Symbol to look up: "))') + + call vimclojure#MapPlug("n", "mw", "MetaLookupWord") + call vimclojure#MapPlug("n", "mi", "MetaLookupInteractive") + + call vimclojure#MakePlug("n", "SourceLookupWord", 'vimclojure#SourceLookup(expand(""))') + call vimclojure#MakePlug("n", "SourceLookupInteractive", 'vimclojure#SourceLookup(input("Symbol to look up: "))') + + call vimclojure#MapPlug("n", "sw", "SourceLookupWord") + call vimclojure#MapPlug("n", "si", "SourceLookupInteractive") + + call vimclojure#MakePlug("n", "GotoSourceWord", 'vimclojure#GotoSource(expand(""))') + call vimclojure#MakePlug("n", "GotoSourceInteractive", 'vimclojure#GotoSource(input("Symbol to go to: "))') + + call vimclojure#MapPlug("n", "gw", "GotoSourceWord") + call vimclojure#MapPlug("n", "gi", "GotoSourceInteractive") + + call vimclojure#MakePlug("n", "RequireFile", 'vimclojure#RequireFile(0)') + call vimclojure#MakePlug("n", "RequireFileAll", 'vimclojure#RequireFile(1)') + + call vimclojure#MapPlug("n", "rf", "RequireFile") + call vimclojure#MapPlug("n", "rF", "RequireFileAll") + + call vimclojure#MakePlug("n", "MacroExpand", 'vimclojure#MacroExpand(0)') + call vimclojure#MakePlug("n", "MacroExpand1", 'vimclojure#MacroExpand(1)') + + call vimclojure#MapPlug("n", "me", "MacroExpand") + call vimclojure#MapPlug("n", "m1", "MacroExpand1") + + call vimclojure#MakePlug("n", "EvalFile", 'vimclojure#EvalFile()') + call vimclojure#MakePlug("n", "EvalLine", 'vimclojure#EvalLine()') + call vimclojure#MakePlug("v", "EvalBlock", 'vimclojure#EvalBlock()') + call vimclojure#MakePlug("n", "EvalToplevel", 'vimclojure#EvalToplevel()') + call vimclojure#MakePlug("n", "EvalParagraph", 'vimclojure#EvalParagraph()') + + call vimclojure#MapPlug("n", "ef", "EvalFile") + call vimclojure#MapPlug("n", "el", "EvalLine") + call vimclojure#MapPlug("v", "eb", "EvalBlock") + call vimclojure#MapPlug("n", "et", "EvalToplevel") + call vimclojure#MapPlug("n", "ep", "EvalParagraph") + + call vimclojure#MakePlug("n", "StartRepl", 'vimclojure#Repl.New()') + call vimclojure#MapPlug("n", "sr", "StartRepl") + + inoremap ClojureReplEnterHook :call b:vimclojure_repl.enterHook() + inoremap ClojureReplUpHistory :call b:vimclojure_repl.upHistory() + inoremap ClojureReplDownHistory :call b:vimclojure_repl.downHistory() + + nnoremap ClojureClosePreview :pclose! + call vimclojure#MapPlug("n", "p", "ClosePreview") + + setlocal omnifunc=vimclojure#OmniCompletion + + augroup VimClojure + autocmd CursorMovedI if pumvisible() == 0 | pclose | endif + augroup END +endif + +let &cpo = s:cpo_save diff --git a/.vim/ftplugin/clojure/completions-clojure.core.txt b/.vim/ftplugin/clojure/completions-clojure.core.txt new file mode 100644 index 0000000..ce2e6fe --- /dev/null +++ b/.vim/ftplugin/clojure/completions-clojure.core.txt @@ -0,0 +1,433 @@ +*agent* +*allow-unresolved-vars* +*command-line-args* +*compile-files* +*compile-path* +*err* +*file* +*flush-on-newline* +*in* +*macro-meta* +*math-context* +*ns* +*out* +*print-dup* +*print-length* +*print-level* +*print-meta* +*print-readably* +*source-path* +*use-context-classloader* +*warn-on-reflection* +accessor +aclone +add-classpath +add-watch +add-watcher +agent +agent-errors +aget +alength +alias +all-ns +alter +alter-meta! +alter-var-root +amap +ancestors +and +apply +areduce +array-map +aset +aset-boolean +aset-byte +aset-char +aset-double +aset-float +aset-int +aset-long +aset-short +assert +assoc +assoc-in +associative? +atom +await +await-for +await1 +bases +bean +bigdec +bigint +binding +bit-and +bit-and-not +bit-clear +bit-flip +bit-not +bit-or +bit-set +bit-shift-left +bit-shift-right +bit-test +bit-xor +boolean +butlast +byte +cast +char +char-escape-string +char-name-string +class +class? +clear-agent-errors +coll? +comment +commute +comp +comparator +compare +compare-and-set! +compile +complement +concat +cond +condp +conj +cons +constantly +construct-proxy +contains? +count +counted? +create-ns +create-struct +cycle +dec +decimal? +declare +definline +defmacro +defmethod +defmulti +defn +defn- +defonce +defstruct +delay +delay? +deref +derive +descendants +destructure +disj +dissoc +distinct +distinct? +doall +doc +dorun +doseq +dosync +dotimes +doto +double +double-array +doubles +drop +drop-last +drop-while +empty +empty? +ensure +enumeration-seq +eval +even? +every? +false? +ffirst +file-seq +filter +find +find-doc +find-ns +find-var +first +float +float-array +float? +floats +flush +fn? +fnext +for +force +format +future +future-call +gen-class +gen-interface +gensym +get +get-in +get-proxy-class +get-validator +hash +hash-map +hash-set +identical? +identity +if-let +if-not +ifn? +import +in-ns +inc +init-proxy +instance? +int +int-array +integer? +interleave +intern +interpose +into +into-array +ints +io! +isa? +iterate +iterator-seq +key +keys +keyword +keyword? +last +lazy-cat +lazy-seq +let +letfn +line-seq +list +list* +list? +load +load-file +load-reader +load-string +loaded-libs +locking +long +long-array +longs +loop +macroexpand +macroexpand-1 +make-array +make-hierarchy +map +map? +mapcat +max +max-key +memfn +memoize +merge +merge-with +meta +method-sig +methods +min +min-key +mod +name +namespace +neg? +newline +next +nfirst +nil? +nnext +not +not-any? +not-empty +not-every? +not= +ns-aliases +ns-imports +ns-interns +ns-map +ns-name +ns-publics +ns-refers +ns-resolve +ns-unalias +ns-unmap +nth +nthnext +num +number? +odd? +parents +partial +partition +pcalls +peek +pmap +pop +pos? +pr-str +prefer-method +prefers +primitives-classnames +print +print-ctor +print-doc +print-dup +print-method +print-namespace-doc +print-simple +print-special-doc +print-str +printf +println +println-str +prn +prn-str +proxy +proxy-call-with-super +proxy-mappings +proxy-name +proxy-super +pvalues +quot +rand +rand-int +range +ratio? +rational? +rationalize +re-find +re-groups +re-matcher +re-matches +re-pattern +re-seq +read +read-line +read-string +reduce +ref +ref-set +refer +refer-clojure +release-pending-sends +rem +remove +remove-method +remove-ns +remove-watch +remove-watcher +repeat +repeatedly +replace +replicate +require +reset! +reset-meta! +resolve +rest +resultset-seq +reverse +reversible? +rseq +rsubseq +second +select-keys +send +send-off +seq +seq? +seque +sequence +sequential? +set +set-validator! +set? +short +shutdown-agents +slurp +some +sort +sort-by +sorted-map +sorted-map-by +sorted-set +sorted? +special-form-anchor +special-symbol? +split-at +split-with +str +string? +struct +struct-map +subs +subseq +subvec +supers +swap! +symbol +symbol? +sync +syntax-symbol-anchor +take +take-nth +take-while +test +the-ns +time +to-array +to-array-2d +trampoline +tree-seq +true? +type +unchecked-add +unchecked-dec +unchecked-divide +unchecked-inc +unchecked-multiply +unchecked-negate +unchecked-remainder +unchecked-subtract +underive +unquote +unquote-splicing +update-in +update-proxy +use +val +vals +var-get +var-set +var? +vary-meta +vec +vector +vector? +when +when-first +when-let +when-not +while +with-in-str +with-local-vars +with-meta +with-open +with-out-str +with-precision +xml-seq +zero? +zipmap diff --git a/.vim/ftplugin/clojure/completions-clojure.set.txt b/.vim/ftplugin/clojure/completions-clojure.set.txt new file mode 100644 index 0000000..f45c20e --- /dev/null +++ b/.vim/ftplugin/clojure/completions-clojure.set.txt @@ -0,0 +1,10 @@ +difference +index +intersection +join +map-invert +project +rename +rename-keys +select +union diff --git a/.vim/ftplugin/clojure/completions-clojure.xml.txt b/.vim/ftplugin/clojure/completions-clojure.xml.txt new file mode 100644 index 0000000..af9a55f --- /dev/null +++ b/.vim/ftplugin/clojure/completions-clojure.xml.txt @@ -0,0 +1,13 @@ +*current* +*sb* +*stack* +*state* +attrs +content +content-handler +element +emit +emit-element +parse +startparse-sax +tag diff --git a/.vim/ftplugin/clojure/completions-clojure.zip.txt b/.vim/ftplugin/clojure/completions-clojure.zip.txt new file mode 100644 index 0000000..b5d7f23 --- /dev/null +++ b/.vim/ftplugin/clojure/completions-clojure.zip.txt @@ -0,0 +1,27 @@ +append-child +branch? +children +down +edit +end? +insert-child +insert-left +insert-right +left +leftmost +lefts +make-node +next +node +path +prev +remove +replace +right +rightmost +rights +root +seq-zip +vector-zip +xml-zip +zipper diff --git a/.vim/indent/clojure.vim b/.vim/indent/clojure.vim new file mode 100644 index 0000000..18cc45c --- /dev/null +++ b/.vim/indent/clojure.vim @@ -0,0 +1,206 @@ +" Vim indent file +" Language: Clojure +" Maintainer: Meikel Brandmeyer +" URL: http://kotka.de/projects/clojure/vimclojure.html + +" Only load this indent file when no other was loaded. +if exists("b:did_indent") + finish +endif +let b:did_indent = 1 + +let s:save_cpo = &cpo +set cpo&vim + +let b:undo_indent = "setlocal ai< si< lw< et< sts< sw< inde< indk<" + +setlocal autoindent expandtab nosmartindent + +setlocal softtabstop=2 +setlocal shiftwidth=2 + +setlocal indentkeys=!,o,O + +if exists("*searchpairpos") + +function! s:MatchPairs(open, close, stopat) + " Stop only on vector and map [ resp. {. Ignore the ones in strings and + " comments. + return searchpairpos(a:open, '', a:close, 'bWn', + \ 'vimclojure#SynIdName() !~ "clojureParen\\d"', + \ a:stopat) +endfunction + +function! VimClojureCheckForStringWorker() + " Check whether there is the last character of the previous line is + " highlighted as a string. If so, we check whether it's a ". In this + " case we have to check also the previous character. The " might be the + " closing one. In case the we are still in the string, we search for the + " opening ". If this is not found we take the indent of the line. + let nb = prevnonblank(v:lnum - 1) + + if nb == 0 + return -1 + endif + + call cursor(nb, 0) + call cursor(0, col("$") - 1) + if vimclojure#SynIdName() != "clojureString" + return -1 + endif + + " This will not work for a " in the first column... + if vimclojure#Yank('l', 'normal! "lyl') == '"' + call cursor(0, col("$") - 2) + if vimclojure#SynIdName() != "clojureString" + return -1 + endif + if vimclojure#Yank('l', 'normal! "lyl') != '\\' + return -1 + endif + call cursor(0, col("$") - 1) + endif + + let p = searchpos('\(^\|[^\\]\)\zs"', 'bW') + + if p != [0, 0] + return p[1] - 1 + endif + + return indent(".") +endfunction + +function! VimClojureCheckForString() + return vimclojure#WithSavedPosition({'f': function("VimClojureCheckForStringWorker")}) +endfunction + +function! GetClojureIndent() + " Get rid of special case. + if line(".") == 1 + return 0 + endif + + " We have to apply some heuristics here to figure out, whether to use + " normal lisp indenting or not. + let i = VimClojureCheckForString() + if i > -1 + return i + endif + + call cursor(0, 1) + + " Find the next enclosing [ or {. We can limit the second search + " to the line, where the [ was found. If no [ was there this is + " zero and we search for an enclosing {. + let paren = s:MatchPairs('(', ')', 0) + let bracket = s:MatchPairs('\[', '\]', paren[0]) + let curly = s:MatchPairs('{', '}', bracket[0]) + + " In case the curly brace is on a line later then the [ or - in + " case they are on the same line - in a higher column, we take the + " curly indent. + if curly[0] > bracket[0] || curly[1] > bracket[1] + if curly[0] > paren[0] || curly[1] > paren[1] + return curly[1] + endif + endif + + " If the curly was not chosen, we take the bracket indent - if + " there was one. + if bracket[0] > paren[0] || bracket[1] > paren[1] + return bracket[1] + endif + + " There are neither { nor [ nor (, ie. we are at the toplevel. + if paren == [0, 0] + return 0 + endif + + " Now we have to reimplement lispindent. This is surprisingly easy, as + " soon as one has access to syntax items. + " + " - Get the next keyword after the (. + " - If its first character is also a (, we have another sexp and align + " one column to the right of the unmatched (. + " - In case it is in lispwords, we indent the next line to the column of + " the ( + sw. + " - If not, we check whether it is last word in the line. In that case + " we again use ( + sw for indent. + " - In any other case we use the column of the end of the word + 2. + call cursor(paren[0] , paren[1]) + + " In case we are at the last character, we use the paren position. + if col("$") - 1 == paren[1] + return paren[1] + endif + + " In case after the paren is a whitespace, we search for the next word. + normal! l + let reg = getreg("l") + normal! "lyl + if getreg("l") == ' ' + normal! w + endif + call setreg("l", reg) + + " If we moved to another line, there is no word after the (. We + " use the ( position for indent. + if line(".") > paren[0] + return paren[1] + endif + + " We still have to check, whether the keyword starts with a (, [ or {. + " In that case we use the ( position for indent. + let reg = getreg("l") + normal! "lye + let w = getreg("l") + call setreg("l", reg) + if stridx('([{', w[0]) > 0 + return paren[1] + endif + + if &lispwords =~ '\<' . w . '\>' + return paren[1] + &shiftwidth - 1 + endif + + normal! w + if paren[0] < line(".") + return paren[1] + &shiftwidth - 1 + endif + + normal! ge + return col(".") + 1 +endfunction + +setlocal indentexpr=GetClojureIndent() + +else + + " In case we have searchpairpos not available we fall back to + " normal lisp indenting. + setlocal indentexpr= + setlocal lisp + let b:undo_indent .= " lisp<" + +endif + +" Defintions: +setlocal lispwords=def,def-,defn,defn-,defmacro,defmacro-,defmethod,defmulti +setlocal lispwords+=defonce,defvar,defvar-,defunbound,let,fn,letfn,binding,proxy +setlocal lispwords+=defnk + +" Conditionals and Loops: +setlocal lispwords+=if,if-not,if-let,when,when-not,when-let,when-first +setlocal lispwords+=cond,condp,loop,dotimes,for,while + +" Blocks: +setlocal lispwords+=do,doto,try,catch,locking,with-in-str,with-out-str,with-open +setlocal lispwords+=dosync,with-local-vars,doseq,dorun,doall,->,future + +" Namespaces: +setlocal lispwords+=ns,clojure.core/ns + +" Java Classes: +setlocal lispwords+=gen-class,gen-interface + +let &cpo = s:save_cpo diff --git a/.vim/indent/scala.vim b/.vim/indent/scala.vim new file mode 100644 index 0000000..8d5e0d1 --- /dev/null +++ b/.vim/indent/scala.vim @@ -0,0 +1,86 @@ +" Vim indent file +" Language : Scala (http://scala-lang.org/) +" Maintainer : Stefan Matthias Aust +" Last Change: 2006 Apr 13 +" Revision : $Id: scala.vim 15234 2008-05-29 21:54:59Z stepancheg $ +" $URL: https://lampsvn.epfl.ch/svn-repos/scala/scala-tool-support/trunk/src/vim/indent/scala.vim $ + +if exists("b:did_indent") + finish +endif +let b:did_indent = 1 + +setlocal indentexpr=GetScalaIndent() + +setlocal indentkeys=0{,0},0),!^F,<>>, + +setlocal autoindent sw=2 et + +if exists("*GetScalaIndent") + finish +endif + +function! CountParens(line) + let line = substitute(a:line, '"\(.\|\\"\)*"', '', 'g') + let open = substitute(line, '[^(]', '', 'g') + let close = substitute(line, '[^)]', '', 'g') + return strlen(open) - strlen(close) +endfunction + +function! GetScalaIndent() + " Find a non-blank line above the current line. + let lnum = prevnonblank(v:lnum - 1) + + " Hit the start of the file, use zero indent. + if lnum == 0 + return 0 + endif + + let ind = indent(lnum) + let prevline = getline(lnum) + + "Indent html literals + if prevline !~ '/>\s*$' && prevline =~ '^\s*<[a-zA-Z][^>]*>\s*$' + return ind + &shiftwidth + endif + + " Add a 'shiftwidth' after lines that start a block + " If if, for or while end with ), this is a one-line block + " If val, var, def end with =, this is a one-line block + if prevline =~ '^\s*\<\(\(else\s\+\)\?if\|for\|while\|va[lr]\|def\)\>.*[)=]\s*$' + \ || prevline =~ '^\s*\\s*$' + \ || prevline =~ '{\s*$' + let ind = ind + &shiftwidth + endif + + " If parenthesis are unbalanced, indent or dedent + let c = CountParens(prevline) + echo c + if c > 0 + let ind = ind + &shiftwidth + elseif c < 0 + let ind = ind - &shiftwidth + endif + + " Dedent after if, for, while and val, var, def without block + let pprevline = getline(prevnonblank(lnum - 1)) + if pprevline =~ '^\s*\<\(\(else\s\+\)\?if\|for\|while\|va[lr]\|def\)\>.*[)=]\s*$' + \ || pprevline =~ '^\s*\\s*$' + let ind = ind - &shiftwidth + endif + + " Align 'for' clauses nicely + if prevline =~ '^\s*\ (.*;\s*$' + let ind = ind - &shiftwidth + 5 + endif + + " Subtract a 'shiftwidth' on '}' or html + let thisline = getline(v:lnum) + if thisline =~ '^\s*[})]' + \ || thisline =~ '^\s*]*>' + let ind = ind - &shiftwidth + endif + + return ind +endfunction + diff --git a/.vim/nerdtree_plugin/exec_menuitem.vim b/.vim/nerdtree_plugin/exec_menuitem.vim new file mode 100644 index 0000000..e7a7c53 --- /dev/null +++ b/.vim/nerdtree_plugin/exec_menuitem.vim @@ -0,0 +1,41 @@ +" ============================================================================ +" File: exec_menuitem.vim +" Description: plugin for NERD Tree that provides an execute file menu item +" Maintainer: Martin Grenfell +" Last Change: 22 July, 2009 +" License: This program is free software. It comes without any warranty, +" to the extent permitted by applicable law. You can redistribute +" it and/or modify it under the terms of the Do What The Fuck You +" Want To Public License, Version 2, as published by Sam Hocevar. +" See http://sam.zoy.org/wtfpl/COPYING for more details. +" +" ============================================================================ +if exists("g:loaded_nerdtree_exec_menuitem") + finish +endif +let g:loaded_nerdtree_exec_menuitem = 1 + +call NERDTreeAddMenuItem({ + \ 'text': '(!)Execute file', + \ 'shortcut': '!', + \ 'callback': 'NERDTreeExecFile', + \ 'isActiveCallback': 'NERDTreeExecFileActive' }) + +function! NERDTreeExecFileActive() + let node = g:NERDTreeFileNode.GetSelected() + return !node.path.isDirectory && node.path.isExecutable +endfunction + +function! NERDTreeExecFile() + let treenode = g:NERDTreeFileNode.GetSelected() + echo "==========================================================\n" + echo "Complete the command to execute (add arguments etc):\n" + let cmd = treenode.path.str({'escape': 1}) + let cmd = input(':!', cmd . ' ') + + if cmd != '' + exec ':!' . cmd + else + echo "Aborted" + endif +endfunction diff --git a/.vim/nerdtree_plugin/fs_menu.vim b/.vim/nerdtree_plugin/fs_menu.vim new file mode 100644 index 0000000..0e2f728 --- /dev/null +++ b/.vim/nerdtree_plugin/fs_menu.vim @@ -0,0 +1,224 @@ +" ============================================================================ +" File: fs_menu.vim +" Description: plugin for the NERD Tree that provides a file system menu +" Maintainer: Martin Grenfell +" Last Change: 17 July, 2009 +" License: This program is free software. It comes without any warranty, +" to the extent permitted by applicable law. You can redistribute +" it and/or modify it under the terms of the Do What The Fuck You +" Want To Public License, Version 2, as published by Sam Hocevar. +" See http://sam.zoy.org/wtfpl/COPYING for more details. +" +" ============================================================================ +if exists("g:loaded_nerdtree_fs_menu") + finish +endif +let g:loaded_nerdtree_fs_menu = 1 + +call NERDTreeAddMenuItem({'text': '(a)dd a childnode', 'shortcut': 'a', 'callback': 'NERDTreeAddNode'}) +call NERDTreeAddMenuItem({'text': '(m)ove the current node', 'shortcut': 'm', 'callback': 'NERDTreeMoveNode'}) +call NERDTreeAddMenuItem({'text': '(d)elete the current node', 'shortcut': 'd', 'callback': 'NERDTreeDeleteNode'}) + +if has("gui_mac") || has("gui_macvim") + call NERDTreeAddMenuItem({'text': '(r)eveal in Finder the current node', 'shortcut': 'r', 'callback': 'NERDTreeRevealInFinder'}) + call NERDTreeAddMenuItem({'text': '(o)pen the current node with system editor', 'shortcut': 'o', 'callback': 'NERDTreeExecuteFile'}) + call NERDTreeAddMenuItem({'text': '(q)uicklook the current node', 'shortcut': 'q', 'callback': 'NERDTreeQuickLook'}) +endif + +if g:NERDTreePath.CopyingSupported() + call NERDTreeAddMenuItem({'text': '(c)copy the current node', 'shortcut': 'c', 'callback': 'NERDTreeCopyNode'}) +endif + +"FUNCTION: s:echo(msg){{{1 +function! s:echo(msg) + redraw + echomsg "NERDTree: " . a:msg +endfunction + +"FUNCTION: s:echoWarning(msg){{{1 +function! s:echoWarning(msg) + echohl warningmsg + call s:echo(a:msg) + echohl normal +endfunction + +"FUNCTION: s:promptToDelBuffer(bufnum, msg){{{1 +"prints out the given msg and, if the user responds by pushing 'y' then the +"buffer with the given bufnum is deleted +" +"Args: +"bufnum: the buffer that may be deleted +"msg: a message that will be echoed to the user asking them if they wish to +" del the buffer +function! s:promptToDelBuffer(bufnum, msg) + echo a:msg + if nr2char(getchar()) ==# 'y' + exec "silent bdelete! " . a:bufnum + endif +endfunction + +"FUNCTION: NERDTreeAddNode(){{{1 +function! NERDTreeAddNode() + let curDirNode = g:NERDTreeDirNode.GetSelected() + + let newNodeName = input("Add a childnode\n". + \ "==========================================================\n". + \ "Enter the dir/file name to be created. Dirs end with a '/'\n" . + \ "", curDirNode.path.str() . g:NERDTreePath.Slash(), "file") + + if newNodeName ==# '' + call s:echo("Node Creation Aborted.") + return + endif + + try + let newPath = g:NERDTreePath.Create(newNodeName) + let parentNode = b:NERDTreeRoot.findNode(newPath.getParent()) + + let newTreeNode = g:NERDTreeFileNode.New(newPath) + if parentNode.isOpen || !empty(parentNode.children) + call parentNode.addChild(newTreeNode, 1) + call NERDTreeRender() + call newTreeNode.putCursorHere(1, 0) + endif + catch /^NERDTree/ + call s:echoWarning("Node Not Created.") + endtry +endfunction + +"FUNCTION: NERDTreeMoveNode(){{{1 +function! NERDTreeMoveNode() + let curNode = g:NERDTreeFileNode.GetSelected() + let newNodePath = input("Rename the current node\n" . + \ "==========================================================\n" . + \ "Enter the new path for the node: \n" . + \ "", curNode.path.str(), "file") + + if newNodePath ==# '' + call s:echo("Node Renaming Aborted.") + return + endif + + try + let bufnum = bufnr(curNode.path.str()) + + call curNode.rename(newNodePath) + call NERDTreeRender() + + "if the node is open in a buffer, ask the user if they want to + "close that buffer + if bufnum != -1 + let prompt = "\nNode renamed.\n\nThe old file is open in buffer ". bufnum . (bufwinnr(bufnum) ==# -1 ? " (hidden)" : "") .". Delete this buffer? (yN)" + call s:promptToDelBuffer(bufnum, prompt) + endif + + call curNode.putCursorHere(1, 0) + + redraw + catch /^NERDTree/ + call s:echoWarning("Node Not Renamed.") + endtry +endfunction + +" FUNCTION: NERDTreeDeleteNode() {{{1 +function! NERDTreeDeleteNode() + let currentNode = g:NERDTreeFileNode.GetSelected() + let confirmed = 0 + + if currentNode.path.isDirectory + let choice =input("Delete the current node\n" . + \ "==========================================================\n" . + \ "STOP! To delete this entire directory, type 'yes'\n" . + \ "" . currentNode.path.str() . ": ") + let confirmed = choice ==# 'yes' + else + echo "Delete the current node\n" . + \ "==========================================================\n". + \ "Are you sure you wish to delete the node:\n" . + \ "" . currentNode.path.str() . " (yN):" + let choice = nr2char(getchar()) + let confirmed = choice ==# 'y' + endif + + + if confirmed + try + call currentNode.delete() + call NERDTreeRender() + + "if the node is open in a buffer, ask the user if they want to + "close that buffer + let bufnum = bufnr(currentNode.path.str()) + if buflisted(bufnum) + let prompt = "\nNode deleted.\n\nThe file is open in buffer ". bufnum . (bufwinnr(bufnum) ==# -1 ? " (hidden)" : "") .". Delete this buffer? (yN)" + call s:promptToDelBuffer(bufnum, prompt) + endif + + redraw + catch /^NERDTree/ + call s:echoWarning("Could not remove node") + endtry + else + call s:echo("delete aborted") + endif + +endfunction + +" FUNCTION: NERDTreeCopyNode() {{{1 +function! NERDTreeCopyNode() + let currentNode = g:NERDTreeFileNode.GetSelected() + let newNodePath = input("Copy the current node\n" . + \ "==========================================================\n" . + \ "Enter the new path to copy the node to: \n" . + \ "", currentNode.path.str(), "file") + + if newNodePath != "" + "strip trailing slash + let newNodePath = substitute(newNodePath, '\/$', '', '') + + let confirmed = 1 + if currentNode.path.copyingWillOverwrite(newNodePath) + call s:echo("Warning: copying may overwrite files! Continue? (yN)") + let choice = nr2char(getchar()) + let confirmed = choice ==# 'y' + endif + + if confirmed + try + let newNode = currentNode.copy(newNodePath) + if !empty(newNode) + call NERDTreeRender() + call newNode.putCursorHere(0, 0) + endif + catch /^NERDTree/ + call s:echoWarning("Could not copy node") + endtry + endif + else + call s:echo("Copy aborted.") + endif + redraw +endfunction + +function! NERDTreeQuickLook() + let treenode = g:NERDTreeFileNode.GetSelected() + if treenode != {} + call system("qlmanage -p 2>/dev/null '" . treenode.path.str() . "'") + endif +endfunction + +function! NERDTreeRevealInFinder() + let treenode = g:NERDTreeFileNode.GetSelected() + if treenode != {} + let x = system("open -R '" . treenode.path.str() . "'") + endif +endfunction + +function! NERDTreeExecuteFile() + let treenode = g:NERDTreeFileNode.GetSelected() + if treenode != {} + let x = system("open '" . treenode.path.str() . "'") + endif +endfunction + +" vim: set sw=4 sts=4 et fdm=marker: diff --git a/.vim/plugin/31-create-scala.vim b/.vim/plugin/31-create-scala.vim new file mode 100644 index 0000000..40b2c72 --- /dev/null +++ b/.vim/plugin/31-create-scala.vim @@ -0,0 +1,57 @@ +" Vim plugin that generates new Scala source file when you type +" vim nonexistent.scala. +" Scripts tries to detect package name from the directory path, e. g. +" .../src/main/scala/com/mycompany/myapp/app.scala gets header +" package com.mycompany.myapp +" +" Author : Stepan Koltsov +" Revision : $Id: 31-create-scala.vim 17312 2009-03-16 04:02:05Z stepancheg $ +" $URL: https://lampsvn.epfl.ch/svn-repos/scala/scala-tool-support/trunk/src/vim/plugin/31-create-scala.vim $ + +function! MakeScalaFile() + if exists("b:template_used") && b:template_used + return + endif + + let b:template_used = 1 + + let filename = expand(":p") + let x = substitute(filename, "\.scala$", "", "") + + let p = substitute(x, "/[^/]*$", "", "") + let p = substitute(p, "/", ".", "g") + let p = substitute(p, ".*\.src$", "@", "") " unnamed package + let p = substitute(p, ".*\.src\.", "!", "") + let p = substitute(p, "^!main\.scala\.", "!", "") " + let p = substitute(p, "^!.*\.ru\.", "!ru.", "") + let p = substitute(p, "^!.*\.org\.", "!org.", "") + let p = substitute(p, "^!.*\.com\.", "!com.", "") + + " ! marks that we found package name. + if match(p, "^!") == 0 + let p = substitute(p, "^!", "", "") + else + " Don't know package name. + let p = "@" + endif + + let class = substitute(x, ".*/", "", "") + + if p != "@" + call append("0", "package " . p) + endif + + "norm G + "call append(".", "class " . class . " {") + + "norm G + "call append(".", "} /// end of " . class) + + call append(".", "// vim: set ts=2 sw=2 et:") + call append(".", "") + +endfunction + +au BufNewFile *.scala call MakeScalaFile() + +" vim: set ts=2 sw=2 et: diff --git a/.vim/plugin/NERD_tree.vim b/.vim/plugin/NERD_tree.vim new file mode 100644 index 0000000..3ec87a0 --- /dev/null +++ b/.vim/plugin/NERD_tree.vim @@ -0,0 +1,4363 @@ +" ============================================================================ +" File: NERD_tree.vim +" Description: vim global plugin that provides a nice tree explorer +" Maintainer: Martin Grenfell +" Last Change: 28 December, 2011 +" License: This program is free software. It comes without any warranty, +" to the extent permitted by applicable law. You can redistribute +" it and/or modify it under the terms of the Do What The Fuck You +" Want To Public License, Version 2, as published by Sam Hocevar. +" See http://sam.zoy.org/wtfpl/COPYING for more details. +" +" ============================================================================ +let s:NERD_tree_version = '4.2.0' + +" SECTION: Script init stuff {{{1 +"============================================================ +if exists("loaded_nerd_tree") + finish +endif +if v:version < 700 + echoerr "NERDTree: this plugin requires vim >= 7. DOWNLOAD IT! You'll thank me later!" + finish +endif +let loaded_nerd_tree = 1 + +"for line continuation - i.e dont want C in &cpo +let s:old_cpo = &cpo +set cpo&vim + +let s:running_windows = has("win16") || has("win32") || has("win64") + +"Function: s:initVariable() function {{{2 +"This function is used to initialise a given variable to a given value. The +"variable is only initialised if it does not exist prior +" +"Args: +"var: the name of the var to be initialised +"value: the value to initialise var to +" +"Returns: +"1 if the var is set, 0 otherwise +function! s:initVariable(var, value) + if !exists(a:var) + exec 'let ' . a:var . ' = ' . "'" . substitute(a:value, "'", "''", "g") . "'" + return 1 + endif + return 0 +endfunction + +"SECTION: Init variable calls and other random constants {{{2 +call s:initVariable("g:NERDChristmasTree", 1) +call s:initVariable("g:NERDTreeAutoCenter", 1) +call s:initVariable("g:NERDTreeAutoCenterThreshold", 3) +call s:initVariable("g:NERDTreeCaseSensitiveSort", 0) +call s:initVariable("g:NERDTreeChDirMode", 0) +call s:initVariable("g:NERDTreeMinimalUI", 0) +if !exists("g:NERDTreeIgnore") + let g:NERDTreeIgnore = ['\~$'] +endif +call s:initVariable("g:NERDTreeBookmarksFile", expand('$HOME') . '/.NERDTreeBookmarks') +call s:initVariable("g:NERDTreeHighlightCursorline", 1) +call s:initVariable("g:NERDTreeHijackNetrw", 1) +call s:initVariable("g:NERDTreeMouseMode", 1) +call s:initVariable("g:NERDTreeNotificationThreshold", 100) +call s:initVariable("g:NERDTreeQuitOnOpen", 0) +call s:initVariable("g:NERDTreeShowBookmarks", 0) +call s:initVariable("g:NERDTreeShowFiles", 1) +call s:initVariable("g:NERDTreeShowHidden", 0) +call s:initVariable("g:NERDTreeShowLineNumbers", 0) +call s:initVariable("g:NERDTreeSortDirs", 1) +call s:initVariable("g:NERDTreeDirArrows", !s:running_windows) + +if !exists("g:NERDTreeSortOrder") + let g:NERDTreeSortOrder = ['\/$', '*', '\.swp$', '\.bak$', '\~$'] +else + "if there isnt a * in the sort sequence then add one + if count(g:NERDTreeSortOrder, '*') < 1 + call add(g:NERDTreeSortOrder, '*') + endif +endif + +"we need to use this number many times for sorting... so we calculate it only +"once here +let s:NERDTreeSortStarIndex = index(g:NERDTreeSortOrder, '*') + +if !exists('g:NERDTreeStatusline') + + "the exists() crap here is a hack to stop vim spazzing out when + "loading a session that was created with an open nerd tree. It spazzes + "because it doesnt store b:NERDTreeRoot (its a b: var, and its a hash) + let g:NERDTreeStatusline = "%{exists('b:NERDTreeRoot')?b:NERDTreeRoot.path.str():''}" + +endif +call s:initVariable("g:NERDTreeWinPos", "left") +call s:initVariable("g:NERDTreeWinSize", 31) + +"init the shell commands that will be used to copy nodes, and remove dir trees +" +"Note: the space after the command is important +if s:running_windows + call s:initVariable("g:NERDTreeRemoveDirCmd", 'rmdir /s /q ') +else + call s:initVariable("g:NERDTreeRemoveDirCmd", 'rm -rf ') + call s:initVariable("g:NERDTreeCopyCmd", 'cp -r ') +endif + + +"SECTION: Init variable calls for key mappings {{{2 +call s:initVariable("g:NERDTreeMapActivateNode", "o") +call s:initVariable("g:NERDTreeMapChangeRoot", "C") +call s:initVariable("g:NERDTreeMapChdir", "cd") +call s:initVariable("g:NERDTreeMapCloseChildren", "X") +call s:initVariable("g:NERDTreeMapCloseDir", "x") +call s:initVariable("g:NERDTreeMapDeleteBookmark", "D") +call s:initVariable("g:NERDTreeMapMenu", "m") +call s:initVariable("g:NERDTreeMapHelp", "?") +call s:initVariable("g:NERDTreeMapJumpFirstChild", "K") +call s:initVariable("g:NERDTreeMapJumpLastChild", "J") +call s:initVariable("g:NERDTreeMapJumpNextSibling", "") +call s:initVariable("g:NERDTreeMapJumpParent", "p") +call s:initVariable("g:NERDTreeMapJumpPrevSibling", "") +call s:initVariable("g:NERDTreeMapJumpRoot", "P") +call s:initVariable("g:NERDTreeMapOpenExpl", "e") +call s:initVariable("g:NERDTreeMapOpenInTab", "t") +call s:initVariable("g:NERDTreeMapOpenInTabSilent", "T") +call s:initVariable("g:NERDTreeMapOpenRecursively", "O") +call s:initVariable("g:NERDTreeMapOpenSplit", "i") +call s:initVariable("g:NERDTreeMapOpenVSplit", "s") +call s:initVariable("g:NERDTreeMapPreview", "g" . NERDTreeMapActivateNode) +call s:initVariable("g:NERDTreeMapPreviewSplit", "g" . NERDTreeMapOpenSplit) +call s:initVariable("g:NERDTreeMapPreviewVSplit", "g" . NERDTreeMapOpenVSplit) +call s:initVariable("g:NERDTreeMapQuit", "q") +call s:initVariable("g:NERDTreeMapRefresh", "r") +call s:initVariable("g:NERDTreeMapRefreshRoot", "R") +call s:initVariable("g:NERDTreeMapToggleBookmarks", "B") +call s:initVariable("g:NERDTreeMapToggleFiles", "F") +call s:initVariable("g:NERDTreeMapToggleFilters", "f") +call s:initVariable("g:NERDTreeMapToggleHidden", "I") +call s:initVariable("g:NERDTreeMapToggleZoom", "A") +call s:initVariable("g:NERDTreeMapUpdir", "u") +call s:initVariable("g:NERDTreeMapUpdirKeepOpen", "U") + +"SECTION: Script level variable declaration{{{2 +if s:running_windows + let s:escape_chars = " `\|\"#%&,?()\*^<>" +else + let s:escape_chars = " \\`\|\"#%&,?()\*^<>[]" +endif +let s:NERDTreeBufName = 'NERD_tree_' + +let s:tree_wid = 2 + +if g:NERDTreeDirArrows + let s:tree_markup_reg = '^\([▾▸] \| \+[▾▸] \| \+\)' +else + let s:tree_markup_reg = '^[ `|]*[\-+~]' +endif +let s:tree_up_dir_line = '.. (up a dir)' + +"the number to add to the nerd tree buffer name to make the buf name unique +let s:next_buffer_number = 1 + +" SECTION: Commands {{{1 +"============================================================ +"init the command that users start the nerd tree with +command! -n=? -complete=dir -bar NERDTree :call s:initNerdTree('') +command! -n=? -complete=dir -bar NERDTreeToggle :call s:toggle('') +command! -n=0 -bar NERDTreeClose :call s:closeTreeIfOpen() +command! -n=1 -complete=customlist,s:completeBookmarks -bar NERDTreeFromBookmark call s:initNerdTree('') +command! -n=0 -bar NERDTreeMirror call s:initNerdTreeMirror() +command! -n=0 -bar NERDTreeFind call s:findAndRevealPath() +command! -n=0 -bar NERDTreeFocus call NERDTreeFocus() +" SECTION: Auto commands {{{1 +"============================================================ +augroup NERDTree + "Save the cursor position whenever we close the nerd tree + exec "autocmd BufWinLeave ". s:NERDTreeBufName ."* call saveScreenState()" + + "disallow insert mode in the NERDTree + exec "autocmd BufEnter ". s:NERDTreeBufName ."* stopinsert" +augroup END + +if g:NERDTreeHijackNetrw + augroup NERDTreeHijackNetrw + autocmd VimEnter * silent! autocmd! FileExplorer + au BufEnter,VimEnter * call s:checkForBrowse(expand("")) + augroup END +endif + +"SECTION: Classes {{{1 +"============================================================ +"CLASS: Bookmark {{{2 +"============================================================ +let s:Bookmark = {} +" FUNCTION: Bookmark.activate() {{{3 +function! s:Bookmark.activate(...) + call self.open(a:0 ? a:1 : {}) +endfunction +" FUNCTION: Bookmark.AddBookmark(name, path) {{{3 +" Class method to add a new bookmark to the list, if a previous bookmark exists +" with the same name, just update the path for that bookmark +function! s:Bookmark.AddBookmark(name, path) + for i in s:Bookmark.Bookmarks() + if i.name ==# a:name + let i.path = a:path + return + endif + endfor + call add(s:Bookmark.Bookmarks(), s:Bookmark.New(a:name, a:path)) + call s:Bookmark.Sort() +endfunction +" Function: Bookmark.Bookmarks() {{{3 +" Class method to get all bookmarks. Lazily initializes the bookmarks global +" variable +function! s:Bookmark.Bookmarks() + if !exists("g:NERDTreeBookmarks") + let g:NERDTreeBookmarks = [] + endif + return g:NERDTreeBookmarks +endfunction +" Function: Bookmark.BookmarkExistsFor(name) {{{3 +" class method that returns 1 if a bookmark with the given name is found, 0 +" otherwise +function! s:Bookmark.BookmarkExistsFor(name) + try + call s:Bookmark.BookmarkFor(a:name) + return 1 + catch /^NERDTree.BookmarkNotFoundError/ + return 0 + endtry +endfunction +" Function: Bookmark.BookmarkFor(name) {{{3 +" Class method to get the bookmark that has the given name. {} is return if no +" bookmark is found +function! s:Bookmark.BookmarkFor(name) + for i in s:Bookmark.Bookmarks() + if i.name ==# a:name + return i + endif + endfor + throw "NERDTree.BookmarkNotFoundError: no bookmark found for name: \"". a:name .'"' +endfunction +" Function: Bookmark.BookmarkNames() {{{3 +" Class method to return an array of all bookmark names +function! s:Bookmark.BookmarkNames() + let names = [] + for i in s:Bookmark.Bookmarks() + call add(names, i.name) + endfor + return names +endfunction +" FUNCTION: Bookmark.CacheBookmarks(silent) {{{3 +" Class method to read all bookmarks from the bookmarks file intialize +" bookmark objects for each one. +" +" Args: +" silent - dont echo an error msg if invalid bookmarks are found +function! s:Bookmark.CacheBookmarks(silent) + if filereadable(g:NERDTreeBookmarksFile) + let g:NERDTreeBookmarks = [] + let g:NERDTreeInvalidBookmarks = [] + let bookmarkStrings = readfile(g:NERDTreeBookmarksFile) + let invalidBookmarksFound = 0 + for i in bookmarkStrings + + "ignore blank lines + if i != '' + + let name = substitute(i, '^\(.\{-}\) .*$', '\1', '') + let path = substitute(i, '^.\{-} \(.*\)$', '\1', '') + + try + let bookmark = s:Bookmark.New(name, s:Path.New(path)) + call add(g:NERDTreeBookmarks, bookmark) + catch /^NERDTree.InvalidArgumentsError/ + call add(g:NERDTreeInvalidBookmarks, i) + let invalidBookmarksFound += 1 + endtry + endif + endfor + if invalidBookmarksFound + call s:Bookmark.Write() + if !a:silent + call s:echo(invalidBookmarksFound . " invalid bookmarks were read. See :help NERDTreeInvalidBookmarks for info.") + endif + endif + call s:Bookmark.Sort() + endif +endfunction +" FUNCTION: Bookmark.compareTo(otherbookmark) {{{3 +" Compare these two bookmarks for sorting purposes +function! s:Bookmark.compareTo(otherbookmark) + return a:otherbookmark.name < self.name +endfunction +" FUNCTION: Bookmark.ClearAll() {{{3 +" Class method to delete all bookmarks. +function! s:Bookmark.ClearAll() + for i in s:Bookmark.Bookmarks() + call i.delete() + endfor + call s:Bookmark.Write() +endfunction +" FUNCTION: Bookmark.delete() {{{3 +" Delete this bookmark. If the node for this bookmark is under the current +" root, then recache bookmarks for its Path object +function! s:Bookmark.delete() + let node = {} + try + let node = self.getNode(1) + catch /^NERDTree.BookmarkedNodeNotFoundError/ + endtry + call remove(s:Bookmark.Bookmarks(), index(s:Bookmark.Bookmarks(), self)) + if !empty(node) + call node.path.cacheDisplayString() + endif + call s:Bookmark.Write() +endfunction +" FUNCTION: Bookmark.getNode(searchFromAbsoluteRoot) {{{3 +" Gets the treenode for this bookmark +" +" Args: +" searchFromAbsoluteRoot: specifies whether we should search from the current +" tree root, or the highest cached node +function! s:Bookmark.getNode(searchFromAbsoluteRoot) + let searchRoot = a:searchFromAbsoluteRoot ? s:TreeDirNode.AbsoluteTreeRoot() : b:NERDTreeRoot + let targetNode = searchRoot.findNode(self.path) + if empty(targetNode) + throw "NERDTree.BookmarkedNodeNotFoundError: no node was found for bookmark: " . self.name + endif + return targetNode +endfunction +" FUNCTION: Bookmark.GetNodeForName(name, searchFromAbsoluteRoot) {{{3 +" Class method that finds the bookmark with the given name and returns the +" treenode for it. +function! s:Bookmark.GetNodeForName(name, searchFromAbsoluteRoot) + let bookmark = s:Bookmark.BookmarkFor(a:name) + return bookmark.getNode(a:searchFromAbsoluteRoot) +endfunction +" FUNCTION: Bookmark.GetSelected() {{{3 +" returns the Bookmark the cursor is over, or {} +function! s:Bookmark.GetSelected() + let line = getline(".") + let name = substitute(line, '^>\(.\{-}\) .\+$', '\1', '') + if name != line + try + return s:Bookmark.BookmarkFor(name) + catch /^NERDTree.BookmarkNotFoundError/ + return {} + endtry + endif + return {} +endfunction + +" Function: Bookmark.InvalidBookmarks() {{{3 +" Class method to get all invalid bookmark strings read from the bookmarks +" file +function! s:Bookmark.InvalidBookmarks() + if !exists("g:NERDTreeInvalidBookmarks") + let g:NERDTreeInvalidBookmarks = [] + endif + return g:NERDTreeInvalidBookmarks +endfunction +" FUNCTION: Bookmark.mustExist() {{{3 +function! s:Bookmark.mustExist() + if !self.path.exists() + call s:Bookmark.CacheBookmarks(1) + throw "NERDTree.BookmarkPointsToInvalidLocationError: the bookmark \"". + \ self.name ."\" points to a non existing location: \"". self.path.str() + endif +endfunction +" FUNCTION: Bookmark.New(name, path) {{{3 +" Create a new bookmark object with the given name and path object +function! s:Bookmark.New(name, path) + if a:name =~# ' ' + throw "NERDTree.IllegalBookmarkNameError: illegal name:" . a:name + endif + + let newBookmark = copy(self) + let newBookmark.name = a:name + let newBookmark.path = a:path + return newBookmark +endfunction +" FUNCTION: Bookmark.open([options]) {{{3 +"Args: +"A dictionary containing the following keys (all optional): +" 'where': Specifies whether the node should be opened in new split/tab or in +" the previous window. Can be either 'v' (vertical split), 'h' +" (horizontal split), 't' (new tab) or 'p' (previous window). +" 'reuse': if a window is displaying the file then jump the cursor there +" 'keepopen': dont close the tree window +" 'stay': open the file, but keep the cursor in the tree win +" +function! s:Bookmark.open(...) + let opts = a:0 ? a:1 : {} + + if self.path.isDirectory && !has_key(opts, 'where') + call self.toRoot() + else + let opener = s:Opener.New(self.path, opts) + call opener.open(self) + endif +endfunction +" FUNCTION: Bookmark.openInNewTab(options) {{{3 +" Create a new bookmark object with the given name and path object +function! s:Bookmark.openInNewTab(options) + call s:deprecated('Bookmark.openInNewTab', 'is deprecated, use open() instead') + call self.open(a:options) +endfunction +" Function: Bookmark.setPath(path) {{{3 +" makes this bookmark point to the given path +function! s:Bookmark.setPath(path) + let self.path = a:path +endfunction +" Function: Bookmark.Sort() {{{3 +" Class method that sorts all bookmarks +function! s:Bookmark.Sort() + let CompareFunc = function("s:compareBookmarks") + call sort(s:Bookmark.Bookmarks(), CompareFunc) +endfunction +" Function: Bookmark.str() {{{3 +" Get the string that should be rendered in the view for this bookmark +function! s:Bookmark.str() + let pathStrMaxLen = winwidth(s:getTreeWinNum()) - 4 - len(self.name) + if &nu + let pathStrMaxLen = pathStrMaxLen - &numberwidth + endif + + let pathStr = self.path.str({'format': 'UI'}) + if len(pathStr) > pathStrMaxLen + let pathStr = '<' . strpart(pathStr, len(pathStr) - pathStrMaxLen) + endif + return '>' . self.name . ' ' . pathStr +endfunction +" FUNCTION: Bookmark.toRoot() {{{3 +" Make the node for this bookmark the new tree root +function! s:Bookmark.toRoot() + if self.validate() + try + let targetNode = self.getNode(1) + catch /^NERDTree.BookmarkedNodeNotFoundError/ + let targetNode = s:TreeFileNode.New(s:Bookmark.BookmarkFor(self.name).path) + endtry + call targetNode.makeRoot() + call s:renderView() + call targetNode.putCursorHere(0, 0) + endif +endfunction +" FUNCTION: Bookmark.ToRoot(name) {{{3 +" Make the node for this bookmark the new tree root +function! s:Bookmark.ToRoot(name) + let bookmark = s:Bookmark.BookmarkFor(a:name) + call bookmark.toRoot() +endfunction + + +"FUNCTION: Bookmark.validate() {{{3 +function! s:Bookmark.validate() + if self.path.exists() + return 1 + else + call s:Bookmark.CacheBookmarks(1) + call s:renderView() + call s:echo(self.name . "now points to an invalid location. See :help NERDTreeInvalidBookmarks for info.") + return 0 + endif +endfunction + +" Function: Bookmark.Write() {{{3 +" Class method to write all bookmarks to the bookmarks file +function! s:Bookmark.Write() + let bookmarkStrings = [] + for i in s:Bookmark.Bookmarks() + call add(bookmarkStrings, i.name . ' ' . i.path.str()) + endfor + + "add a blank line before the invalid ones + call add(bookmarkStrings, "") + + for j in s:Bookmark.InvalidBookmarks() + call add(bookmarkStrings, j) + endfor + call writefile(bookmarkStrings, g:NERDTreeBookmarksFile) +endfunction +"CLASS: KeyMap {{{2 +"============================================================ +let s:KeyMap = {} +"FUNCTION: KeyMap.All() {{{3 +function! s:KeyMap.All() + if !exists("s:keyMaps") + let s:keyMaps = [] + endif + return s:keyMaps +endfunction + +"FUNCTION: KeyMap.FindFor(key, scope) {{{3 +function! s:KeyMap.FindFor(key, scope) + for i in s:KeyMap.All() + if i.key ==# a:key && i.scope ==# a:scope + return i + endif + endfor + return {} +endfunction + +"FUNCTION: KeyMap.BindAll() {{{3 +function! s:KeyMap.BindAll() + for i in s:KeyMap.All() + call i.bind() + endfor +endfunction + +"FUNCTION: KeyMap.bind() {{{3 +function! s:KeyMap.bind() + " If the key sequence we're trying to map contains any '<>' notation, we + " must replace each of the '<' characters with '' to ensure the string + " is not translated into its corresponding keycode during the later part + " of the map command below + " :he <> + let specialNotationRegex = '\m<\([[:alnum:]_-]\+>\)' + if self.key =~# specialNotationRegex + let keymapInvokeString = substitute(self.key, specialNotationRegex, '\1', 'g') + else + let keymapInvokeString = self.key + endif + + let premap = self.key == "" ? " " : " " + + exec 'nnoremap '. self.key . premap . ':call KeyMap_Invoke("'. keymapInvokeString .'")' +endfunction + +"FUNCTION: KeyMap.Remove(key, scope) {{{3 +function! s:KeyMap.Remove(key, scope) + let maps = s:KeyMap.All() + for i in range(len(maps)) + if maps[i].key ==# a:key && maps[i].scope ==# a:scope + return remove(maps, i) + endif + endfor +endfunction +"FUNCTION: KeyMap.invoke() {{{3 +"Call the KeyMaps callback function +function! s:KeyMap.invoke(...) + let Callback = function(self.callback) + if a:0 + call Callback(a:1) + else + call Callback() + endif +endfunction + + +"FUNCTION: KeyMap.Invoke() {{{3 +"Find a keymapping for a:key and the current scope invoke it. +" +"Scope is determined as follows: +" * if the cursor is on a dir node then "DirNode" +" * if the cursor is on a file node then "FileNode" +" * if the cursor is on a bookmark then "Bookmark" +" +"If a keymap has the scope of "all" then it will be called if no other keymap +"is found for a:key and the scope. +function! s:KeyMap.Invoke(key) + let node = s:TreeFileNode.GetSelected() + if !empty(node) + + "try file node + if !node.path.isDirectory + let km = s:KeyMap.FindFor(a:key, "FileNode") + if !empty(km) + return km.invoke(node) + endif + endif + + "try dir node + if node.path.isDirectory + let km = s:KeyMap.FindFor(a:key, "DirNode") + if !empty(km) + return km.invoke(node) + endif + endif + + "try generic node + let km = s:KeyMap.FindFor(a:key, "Node") + if !empty(km) + return km.invoke(node) + endif + + endif + + "try bookmark + let bm = s:Bookmark.GetSelected() + if !empty(bm) + let km = s:KeyMap.FindFor(a:key, "Bookmark") + if !empty(km) + return km.invoke(bm) + endif + endif + + "try all + let km = s:KeyMap.FindFor(a:key, "all") + if !empty(km) + return km.invoke() + endif +endfunction + +"this is needed since I cant figure out how to invoke dict functions from a +"key map +function! s:KeyMap_Invoke(key) + call s:KeyMap.Invoke(a:key) +endfunction + +"FUNCTION: KeyMap.Create(options) {{{3 +function! s:KeyMap.Create(options) + let newKeyMap = copy(self) + let opts = extend({'scope': 'all', 'quickhelpText': ''}, copy(a:options)) + let newKeyMap.key = opts['key'] + let newKeyMap.quickhelpText = opts['quickhelpText'] + let newKeyMap.callback = opts['callback'] + let newKeyMap.scope = opts['scope'] + + call s:KeyMap.Add(newKeyMap) +endfunction + +"FUNCTION: KeyMap.Add(keymap) {{{3 +function! s:KeyMap.Add(keymap) + call s:KeyMap.Remove(a:keymap.key, a:keymap.scope) + call add(s:KeyMap.All(), a:keymap) +endfunction + +"CLASS: MenuController {{{2 +"============================================================ +let s:MenuController = {} +"FUNCTION: MenuController.New(menuItems) {{{3 +"create a new menu controller that operates on the given menu items +function! s:MenuController.New(menuItems) + let newMenuController = copy(self) + if a:menuItems[0].isSeparator() + let newMenuController.menuItems = a:menuItems[1:-1] + else + let newMenuController.menuItems = a:menuItems + endif + return newMenuController +endfunction + +"FUNCTION: MenuController.showMenu() {{{3 +"start the main loop of the menu and get the user to choose/execute a menu +"item +function! s:MenuController.showMenu() + call self._saveOptions() + + try + let self.selection = 0 + + let done = 0 + while !done + redraw! + call self._echoPrompt() + let key = nr2char(getchar()) + let done = self._handleKeypress(key) + endwhile + finally + call self._restoreOptions() + endtry + + if self.selection != -1 + let m = self._current() + call m.execute() + endif +endfunction + +"FUNCTION: MenuController._echoPrompt() {{{3 +function! s:MenuController._echoPrompt() + echo "NERDTree Menu. Use j/k/enter and the shortcuts indicated" + echo "==========================================================" + + for i in range(0, len(self.menuItems)-1) + if self.selection == i + echo "> " . self.menuItems[i].text + else + echo " " . self.menuItems[i].text + endif + endfor +endfunction + +"FUNCTION: MenuController._current(key) {{{3 +"get the MenuItem that is currently selected +function! s:MenuController._current() + return self.menuItems[self.selection] +endfunction + +"FUNCTION: MenuController._handleKeypress(key) {{{3 +"change the selection (if appropriate) and return 1 if the user has made +"their choice, 0 otherwise +function! s:MenuController._handleKeypress(key) + if a:key == 'j' + call self._cursorDown() + elseif a:key == 'k' + call self._cursorUp() + elseif a:key == nr2char(27) "escape + let self.selection = -1 + return 1 + elseif a:key == "\r" || a:key == "\n" "enter and ctrl-j + return 1 + else + let index = self._nextIndexFor(a:key) + if index != -1 + let self.selection = index + if len(self._allIndexesFor(a:key)) == 1 + return 1 + endif + endif + endif + + return 0 +endfunction + +"FUNCTION: MenuController._allIndexesFor(shortcut) {{{3 +"get indexes to all menu items with the given shortcut +function! s:MenuController._allIndexesFor(shortcut) + let toReturn = [] + + for i in range(0, len(self.menuItems)-1) + if self.menuItems[i].shortcut == a:shortcut + call add(toReturn, i) + endif + endfor + + return toReturn +endfunction + +"FUNCTION: MenuController._nextIndexFor(shortcut) {{{3 +"get the index to the next menu item with the given shortcut, starts from the +"current cursor location and wraps around to the top again if need be +function! s:MenuController._nextIndexFor(shortcut) + for i in range(self.selection+1, len(self.menuItems)-1) + if self.menuItems[i].shortcut == a:shortcut + return i + endif + endfor + + for i in range(0, self.selection) + if self.menuItems[i].shortcut == a:shortcut + return i + endif + endfor + + return -1 +endfunction + +"FUNCTION: MenuController._setCmdheight() {{{3 +"sets &cmdheight to whatever is needed to display the menu +function! s:MenuController._setCmdheight() + let &cmdheight = len(self.menuItems) + 3 +endfunction + +"FUNCTION: MenuController._saveOptions() {{{3 +"set any vim options that are required to make the menu work (saving their old +"values) +function! s:MenuController._saveOptions() + let self._oldLazyredraw = &lazyredraw + let self._oldCmdheight = &cmdheight + set nolazyredraw + call self._setCmdheight() +endfunction + +"FUNCTION: MenuController._restoreOptions() {{{3 +"restore the options we saved in _saveOptions() +function! s:MenuController._restoreOptions() + let &cmdheight = self._oldCmdheight + let &lazyredraw = self._oldLazyredraw +endfunction + +"FUNCTION: MenuController._cursorDown() {{{3 +"move the cursor to the next menu item, skipping separators +function! s:MenuController._cursorDown() + let done = 0 + while !done + if self.selection < len(self.menuItems)-1 + let self.selection += 1 + else + let self.selection = 0 + endif + + if !self._current().isSeparator() + let done = 1 + endif + endwhile +endfunction + +"FUNCTION: MenuController._cursorUp() {{{3 +"move the cursor to the previous menu item, skipping separators +function! s:MenuController._cursorUp() + let done = 0 + while !done + if self.selection > 0 + let self.selection -= 1 + else + let self.selection = len(self.menuItems)-1 + endif + + if !self._current().isSeparator() + let done = 1 + endif + endwhile +endfunction + +"CLASS: MenuItem {{{2 +"============================================================ +let s:MenuItem = {} +"FUNCTION: MenuItem.All() {{{3 +"get all top level menu items +function! s:MenuItem.All() + if !exists("s:menuItems") + let s:menuItems = [] + endif + return s:menuItems +endfunction + +"FUNCTION: MenuItem.AllEnabled() {{{3 +"get all top level menu items that are currently enabled +function! s:MenuItem.AllEnabled() + let toReturn = [] + for i in s:MenuItem.All() + if i.enabled() + call add(toReturn, i) + endif + endfor + return toReturn +endfunction + +"FUNCTION: MenuItem.Create(options) {{{3 +"make a new menu item and add it to the global list +function! s:MenuItem.Create(options) + let newMenuItem = copy(self) + + let newMenuItem.text = a:options['text'] + let newMenuItem.shortcut = a:options['shortcut'] + let newMenuItem.children = [] + + let newMenuItem.isActiveCallback = -1 + if has_key(a:options, 'isActiveCallback') + let newMenuItem.isActiveCallback = a:options['isActiveCallback'] + endif + + let newMenuItem.callback = -1 + if has_key(a:options, 'callback') + let newMenuItem.callback = a:options['callback'] + endif + + if has_key(a:options, 'parent') + call add(a:options['parent'].children, newMenuItem) + else + call add(s:MenuItem.All(), newMenuItem) + endif + + return newMenuItem +endfunction + +"FUNCTION: MenuItem.CreateSeparator(options) {{{3 +"make a new separator menu item and add it to the global list +function! s:MenuItem.CreateSeparator(options) + let standard_options = { 'text': '--------------------', + \ 'shortcut': -1, + \ 'callback': -1 } + let options = extend(a:options, standard_options, "force") + + return s:MenuItem.Create(options) +endfunction + +"FUNCTION: MenuItem.CreateSubmenu(options) {{{3 +"make a new submenu and add it to global list +function! s:MenuItem.CreateSubmenu(options) + let standard_options = { 'callback': -1 } + let options = extend(a:options, standard_options, "force") + + return s:MenuItem.Create(options) +endfunction + +"FUNCTION: MenuItem.enabled() {{{3 +"return 1 if this menu item should be displayed +" +"delegates off to the isActiveCallback, and defaults to 1 if no callback was +"specified +function! s:MenuItem.enabled() + if self.isActiveCallback != -1 + return {self.isActiveCallback}() + endif + return 1 +endfunction + +"FUNCTION: MenuItem.execute() {{{3 +"perform the action behind this menu item, if this menuitem has children then +"display a new menu for them, otherwise deletegate off to the menuitem's +"callback +function! s:MenuItem.execute() + if len(self.children) + let mc = s:MenuController.New(self.children) + call mc.showMenu() + else + if self.callback != -1 + call {self.callback}() + endif + endif +endfunction + +"FUNCTION: MenuItem.isSeparator() {{{3 +"return 1 if this menuitem is a separator +function! s:MenuItem.isSeparator() + return self.callback == -1 && self.children == [] +endfunction + +"FUNCTION: MenuItem.isSubmenu() {{{3 +"return 1 if this menuitem is a submenu +function! s:MenuItem.isSubmenu() + return self.callback == -1 && !empty(self.children) +endfunction + +"CLASS: TreeFileNode {{{2 +"This class is the parent of the TreeDirNode class and constitures the +"'Component' part of the composite design pattern between the treenode +"classes. +"============================================================ +let s:TreeFileNode = {} +"FUNCTION: TreeFileNode.activate(...) {{{3 +function! s:TreeFileNode.activate(...) + call self.open(a:0 ? a:1 : {}) +endfunction +"FUNCTION: TreeFileNode.bookmark(name) {{{3 +"bookmark this node with a:name +function! s:TreeFileNode.bookmark(name) + + "if a bookmark exists with the same name and the node is cached then save + "it so we can update its display string + let oldMarkedNode = {} + try + let oldMarkedNode = s:Bookmark.GetNodeForName(a:name, 1) + catch /^NERDTree.BookmarkNotFoundError/ + catch /^NERDTree.BookmarkedNodeNotFoundError/ + endtry + + call s:Bookmark.AddBookmark(a:name, self.path) + call self.path.cacheDisplayString() + call s:Bookmark.Write() + + if !empty(oldMarkedNode) + call oldMarkedNode.path.cacheDisplayString() + endif +endfunction +"FUNCTION: TreeFileNode.cacheParent() {{{3 +"initializes self.parent if it isnt already +function! s:TreeFileNode.cacheParent() + if empty(self.parent) + let parentPath = self.path.getParent() + if parentPath.equals(self.path) + throw "NERDTree.CannotCacheParentError: already at root" + endif + let self.parent = s:TreeFileNode.New(parentPath) + endif +endfunction +"FUNCTION: TreeFileNode.compareNodes {{{3 +"This is supposed to be a class level method but i cant figure out how to +"get func refs to work from a dict.. +" +"A class level method that compares two nodes +" +"Args: +"n1, n2: the 2 nodes to compare +function! s:compareNodes(n1, n2) + return a:n1.path.compareTo(a:n2.path) +endfunction + +"FUNCTION: TreeFileNode.clearBoomarks() {{{3 +function! s:TreeFileNode.clearBoomarks() + for i in s:Bookmark.Bookmarks() + if i.path.equals(self.path) + call i.delete() + end + endfor + call self.path.cacheDisplayString() +endfunction +"FUNCTION: TreeFileNode.copy(dest) {{{3 +function! s:TreeFileNode.copy(dest) + call self.path.copy(a:dest) + let newPath = s:Path.New(a:dest) + let parent = b:NERDTreeRoot.findNode(newPath.getParent()) + if !empty(parent) + call parent.refresh() + return parent.findNode(newPath) + else + return {} + endif +endfunction + +"FUNCTION: TreeFileNode.delete {{{3 +"Removes this node from the tree and calls the Delete method for its path obj +function! s:TreeFileNode.delete() + call self.path.delete() + call self.parent.removeChild(self) +endfunction + +"FUNCTION: TreeFileNode.displayString() {{{3 +" +"Returns a string that specifies how the node should be represented as a +"string +" +"Return: +"a string that can be used in the view to represent this node +function! s:TreeFileNode.displayString() + return self.path.displayString() +endfunction + +"FUNCTION: TreeFileNode.equals(treenode) {{{3 +" +"Compares this treenode to the input treenode and returns 1 if they are the +"same node. +" +"Use this method instead of == because sometimes when the treenodes contain +"many children, vim seg faults when doing == +" +"Args: +"treenode: the other treenode to compare to +function! s:TreeFileNode.equals(treenode) + return self.path.str() ==# a:treenode.path.str() +endfunction + +"FUNCTION: TreeFileNode.findNode(path) {{{3 +"Returns self if this node.path.Equals the given path. +"Returns {} if not equal. +" +"Args: +"path: the path object to compare against +function! s:TreeFileNode.findNode(path) + if a:path.equals(self.path) + return self + endif + return {} +endfunction +"FUNCTION: TreeFileNode.findOpenDirSiblingWithVisibleChildren(direction) {{{3 +" +"Finds the next sibling for this node in the indicated direction. This sibling +"must be a directory and may/may not have children as specified. +" +"Args: +"direction: 0 if you want to find the previous sibling, 1 for the next sibling +" +"Return: +"a treenode object or {} if no appropriate sibling could be found +function! s:TreeFileNode.findOpenDirSiblingWithVisibleChildren(direction) + "if we have no parent then we can have no siblings + if self.parent != {} + let nextSibling = self.findSibling(a:direction) + + while nextSibling != {} + if nextSibling.path.isDirectory && nextSibling.hasVisibleChildren() && nextSibling.isOpen + return nextSibling + endif + let nextSibling = nextSibling.findSibling(a:direction) + endwhile + endif + + return {} +endfunction +"FUNCTION: TreeFileNode.findSibling(direction) {{{3 +" +"Finds the next sibling for this node in the indicated direction +" +"Args: +"direction: 0 if you want to find the previous sibling, 1 for the next sibling +" +"Return: +"a treenode object or {} if no sibling could be found +function! s:TreeFileNode.findSibling(direction) + "if we have no parent then we can have no siblings + if self.parent != {} + + "get the index of this node in its parents children + let siblingIndx = self.parent.getChildIndex(self.path) + + if siblingIndx != -1 + "move a long to the next potential sibling node + let siblingIndx = a:direction ==# 1 ? siblingIndx+1 : siblingIndx-1 + + "keep moving along to the next sibling till we find one that is valid + let numSiblings = self.parent.getChildCount() + while siblingIndx >= 0 && siblingIndx < numSiblings + + "if the next node is not an ignored node (i.e. wont show up in the + "view) then return it + if self.parent.children[siblingIndx].path.ignore() ==# 0 + return self.parent.children[siblingIndx] + endif + + "go to next node + let siblingIndx = a:direction ==# 1 ? siblingIndx+1 : siblingIndx-1 + endwhile + endif + endif + + return {} +endfunction + +"FUNCTION: TreeFileNode.getLineNum(){{{3 +"returns the line number this node is rendered on, or -1 if it isnt rendered +function! s:TreeFileNode.getLineNum() + "if the node is the root then return the root line no. + if self.isRoot() + return s:TreeFileNode.GetRootLineNum() + endif + + let totalLines = line("$") + + "the path components we have matched so far + let pathcomponents = [substitute(b:NERDTreeRoot.path.str({'format': 'UI'}), '/ *$', '', '')] + "the index of the component we are searching for + let curPathComponent = 1 + + let fullpath = self.path.str({'format': 'UI'}) + + + let lnum = s:TreeFileNode.GetRootLineNum() + while lnum > 0 + let lnum = lnum + 1 + "have we reached the bottom of the tree? + if lnum ==# totalLines+1 + return -1 + endif + + let curLine = getline(lnum) + + let indent = s:indentLevelFor(curLine) + if indent ==# curPathComponent + let curLine = s:stripMarkupFromLine(curLine, 1) + + let curPath = join(pathcomponents, '/') . '/' . curLine + if stridx(fullpath, curPath, 0) ==# 0 + if fullpath ==# curPath || strpart(fullpath, len(curPath)-1,1) ==# '/' + let curLine = substitute(curLine, '/ *$', '', '') + call add(pathcomponents, curLine) + let curPathComponent = curPathComponent + 1 + + if fullpath ==# curPath + return lnum + endif + endif + endif + endif + endwhile + return -1 +endfunction + +"FUNCTION: TreeFileNode.GetRootForTab(){{{3 +"get the root node for this tab +function! s:TreeFileNode.GetRootForTab() + if s:treeExistsForTab() + return getbufvar(t:NERDTreeBufName, 'NERDTreeRoot') + end + return {} +endfunction +"FUNCTION: TreeFileNode.GetRootLineNum(){{{3 +"gets the line number of the root node +function! s:TreeFileNode.GetRootLineNum() + let rootLine = 1 + while getline(rootLine) !~# '^\(/\|<\)' + let rootLine = rootLine + 1 + endwhile + return rootLine +endfunction + +"FUNCTION: TreeFileNode.GetSelected() {{{3 +"gets the treenode that the cursor is currently over +function! s:TreeFileNode.GetSelected() + try + let path = s:getPath(line(".")) + if path ==# {} + return {} + endif + return b:NERDTreeRoot.findNode(path) + catch /NERDTree/ + return {} + endtry +endfunction +"FUNCTION: TreeFileNode.isVisible() {{{3 +"returns 1 if this node should be visible according to the tree filters and +"hidden file filters (and their on/off status) +function! s:TreeFileNode.isVisible() + return !self.path.ignore() +endfunction +"FUNCTION: TreeFileNode.isRoot() {{{3 +"returns 1 if this node is b:NERDTreeRoot +function! s:TreeFileNode.isRoot() + if !s:treeExistsForBuf() + throw "NERDTree.NoTreeError: No tree exists for the current buffer" + endif + + return self.equals(b:NERDTreeRoot) +endfunction + +"FUNCTION: TreeFileNode.makeRoot() {{{3 +"Make this node the root of the tree +function! s:TreeFileNode.makeRoot() + if self.path.isDirectory + let b:NERDTreeRoot = self + else + call self.cacheParent() + let b:NERDTreeRoot = self.parent + endif + + call b:NERDTreeRoot.open() + + "change dir to the dir of the new root if instructed to + if g:NERDTreeChDirMode ==# 2 + exec "cd " . b:NERDTreeRoot.path.str({'format': 'Edit'}) + endif +endfunction +"FUNCTION: TreeFileNode.New(path) {{{3 +"Returns a new TreeNode object with the given path and parent +" +"Args: +"path: a path object representing the full filesystem path to the file/dir that the node represents +function! s:TreeFileNode.New(path) + if a:path.isDirectory + return s:TreeDirNode.New(a:path) + else + let newTreeNode = copy(self) + let newTreeNode.path = a:path + let newTreeNode.parent = {} + return newTreeNode + endif +endfunction + +"FUNCTION: TreeFileNode.open() {{{3 +function! s:TreeFileNode.open(...) + let opts = a:0 ? a:1 : {} + let opener = s:Opener.New(self.path, opts) + call opener.open(self) +endfunction + +"FUNCTION: TreeFileNode.openSplit() {{{3 +"Open this node in a new window +function! s:TreeFileNode.openSplit() + call s:deprecated('TreeFileNode.openSplit', 'is deprecated, use .open() instead.') + call self.open({'where': 'h'}) +endfunction +"FUNCTION: TreeFileNode.openVSplit() {{{3 +"Open this node in a new vertical window +function! s:TreeFileNode.openVSplit() + call s:deprecated('TreeFileNode.openVSplit', 'is deprecated, use .open() instead.') + call self.open({'where': 'v'}) +endfunction +"FUNCTION: TreeFileNode.openInNewTab(options) {{{3 +function! s:TreeFileNode.openInNewTab(options) + echomsg 'TreeFileNode.openInNewTab is deprecated' + call self.open(extend({'where': 't'}, a:options)) +endfunction +"FUNCTION: TreeFileNode.putCursorHere(isJump, recurseUpward){{{3 +"Places the cursor on the line number this node is rendered on +" +"Args: +"isJump: 1 if this cursor movement should be counted as a jump by vim +"recurseUpward: try to put the cursor on the parent if the this node isnt +"visible +function! s:TreeFileNode.putCursorHere(isJump, recurseUpward) + let ln = self.getLineNum() + if ln != -1 + if a:isJump + mark ' + endif + call cursor(ln, col(".")) + else + if a:recurseUpward + let node = self + while node != {} && node.getLineNum() ==# -1 + let node = node.parent + call node.open() + endwhile + call s:renderView() + call node.putCursorHere(a:isJump, 0) + endif + endif +endfunction + +"FUNCTION: TreeFileNode.refresh() {{{3 +function! s:TreeFileNode.refresh() + call self.path.refresh() +endfunction +"FUNCTION: TreeFileNode.rename() {{{3 +"Calls the rename method for this nodes path obj +function! s:TreeFileNode.rename(newName) + let newName = substitute(a:newName, '\(\\\|\/\)$', '', '') + call self.path.rename(newName) + call self.parent.removeChild(self) + + let parentPath = self.path.getParent() + let newParent = b:NERDTreeRoot.findNode(parentPath) + + if newParent != {} + call newParent.createChild(self.path, 1) + call newParent.refresh() + endif +endfunction +"FUNCTION: TreeFileNode.renderToString {{{3 +"returns a string representation for this tree to be rendered in the view +function! s:TreeFileNode.renderToString() + return self._renderToString(0, 0, [], self.getChildCount() ==# 1) +endfunction + + +"Args: +"depth: the current depth in the tree for this call +"drawText: 1 if we should actually draw the line for this node (if 0 then the +"child nodes are rendered only) +"vertMap: a binary array that indicates whether a vertical bar should be draw +"for each depth in the tree +"isLastChild:true if this curNode is the last child of its parent +function! s:TreeFileNode._renderToString(depth, drawText, vertMap, isLastChild) + let output = "" + if a:drawText ==# 1 + + let treeParts = '' + + "get all the leading spaces and vertical tree parts for this line + if a:depth > 1 + for j in a:vertMap[0:-2] + if g:NERDTreeDirArrows + let treeParts = treeParts . ' ' + else + if j ==# 1 + let treeParts = treeParts . '| ' + else + let treeParts = treeParts . ' ' + endif + endif + endfor + endif + + "get the last vertical tree part for this line which will be different + "if this node is the last child of its parent + if !g:NERDTreeDirArrows + if a:isLastChild + let treeParts = treeParts . '`' + else + let treeParts = treeParts . '|' + endif + endif + + "smack the appropriate dir/file symbol on the line before the file/dir + "name itself + if self.path.isDirectory + if self.isOpen + if g:NERDTreeDirArrows + let treeParts = treeParts . '▾ ' + else + let treeParts = treeParts . '~' + endif + else + if g:NERDTreeDirArrows + let treeParts = treeParts . '▸ ' + else + let treeParts = treeParts . '+' + endif + endif + else + if g:NERDTreeDirArrows + let treeParts = treeParts . ' ' + else + let treeParts = treeParts . '-' + endif + endif + let line = treeParts . self.displayString() + + let output = output . line . "\n" + endif + + "if the node is an open dir, draw its children + if self.path.isDirectory ==# 1 && self.isOpen ==# 1 + + let childNodesToDraw = self.getVisibleChildren() + if len(childNodesToDraw) > 0 + + "draw all the nodes children except the last + let lastIndx = len(childNodesToDraw)-1 + if lastIndx > 0 + for i in childNodesToDraw[0:lastIndx-1] + let output = output . i._renderToString(a:depth + 1, 1, add(copy(a:vertMap), 1), 0) + endfor + endif + + "draw the last child, indicating that it IS the last + let output = output . childNodesToDraw[lastIndx]._renderToString(a:depth + 1, 1, add(copy(a:vertMap), 0), 1) + endif + endif + + return output +endfunction +"CLASS: TreeDirNode {{{2 +"This class is a child of the TreeFileNode class and constitutes the +"'Composite' part of the composite design pattern between the treenode +"classes. +"============================================================ +let s:TreeDirNode = copy(s:TreeFileNode) +"FUNCTION: TreeDirNode.AbsoluteTreeRoot(){{{3 +"class method that returns the highest cached ancestor of the current root +function! s:TreeDirNode.AbsoluteTreeRoot() + let currentNode = b:NERDTreeRoot + while currentNode.parent != {} + let currentNode = currentNode.parent + endwhile + return currentNode +endfunction +"FUNCTION: TreeDirNode.activate([options]) {{{3 +unlet s:TreeDirNode.activate +function! s:TreeDirNode.activate(...) + let opts = a:0 ? a:1 : {} + call self.toggleOpen(opts) + call s:renderView() + call self.putCursorHere(0, 0) +endfunction +"FUNCTION: TreeDirNode.addChild(treenode, inOrder) {{{3 +"Adds the given treenode to the list of children for this node +" +"Args: +"-treenode: the node to add +"-inOrder: 1 if the new node should be inserted in sorted order +function! s:TreeDirNode.addChild(treenode, inOrder) + call add(self.children, a:treenode) + let a:treenode.parent = self + + if a:inOrder + call self.sortChildren() + endif +endfunction + +"FUNCTION: TreeDirNode.close() {{{3 +"Closes this directory +function! s:TreeDirNode.close() + let self.isOpen = 0 +endfunction + +"FUNCTION: TreeDirNode.closeChildren() {{{3 +"Closes all the child dir nodes of this node +function! s:TreeDirNode.closeChildren() + for i in self.children + if i.path.isDirectory + call i.close() + call i.closeChildren() + endif + endfor +endfunction + +"FUNCTION: TreeDirNode.createChild(path, inOrder) {{{3 +"Instantiates a new child node for this node with the given path. The new +"nodes parent is set to this node. +" +"Args: +"path: a Path object that this node will represent/contain +"inOrder: 1 if the new node should be inserted in sorted order +" +"Returns: +"the newly created node +function! s:TreeDirNode.createChild(path, inOrder) + let newTreeNode = s:TreeFileNode.New(a:path) + call self.addChild(newTreeNode, a:inOrder) + return newTreeNode +endfunction + +"FUNCTION: TreeDirNode.findNode(path) {{{3 +"Will find one of the children (recursively) that has the given path +" +"Args: +"path: a path object +unlet s:TreeDirNode.findNode +function! s:TreeDirNode.findNode(path) + if a:path.equals(self.path) + return self + endif + if stridx(a:path.str(), self.path.str(), 0) ==# -1 + return {} + endif + + if self.path.isDirectory + for i in self.children + let retVal = i.findNode(a:path) + if retVal != {} + return retVal + endif + endfor + endif + return {} +endfunction +"FUNCTION: TreeDirNode.getChildCount() {{{3 +"Returns the number of children this node has +function! s:TreeDirNode.getChildCount() + return len(self.children) +endfunction + +"FUNCTION: TreeDirNode.getChild(path) {{{3 +"Returns child node of this node that has the given path or {} if no such node +"exists. +" +"This function doesnt not recurse into child dir nodes +" +"Args: +"path: a path object +function! s:TreeDirNode.getChild(path) + if stridx(a:path.str(), self.path.str(), 0) ==# -1 + return {} + endif + + let index = self.getChildIndex(a:path) + if index ==# -1 + return {} + else + return self.children[index] + endif + +endfunction + +"FUNCTION: TreeDirNode.getChildByIndex(indx, visible) {{{3 +"returns the child at the given index +"Args: +"indx: the index to get the child from +"visible: 1 if only the visible children array should be used, 0 if all the +"children should be searched. +function! s:TreeDirNode.getChildByIndex(indx, visible) + let array_to_search = a:visible? self.getVisibleChildren() : self.children + if a:indx > len(array_to_search) + throw "NERDTree.InvalidArgumentsError: Index is out of bounds." + endif + return array_to_search[a:indx] +endfunction + +"FUNCTION: TreeDirNode.getChildIndex(path) {{{3 +"Returns the index of the child node of this node that has the given path or +"-1 if no such node exists. +" +"This function doesnt not recurse into child dir nodes +" +"Args: +"path: a path object +function! s:TreeDirNode.getChildIndex(path) + if stridx(a:path.str(), self.path.str(), 0) ==# -1 + return -1 + endif + + "do a binary search for the child + let a = 0 + let z = self.getChildCount() + while a < z + let mid = (a+z)/2 + let diff = a:path.compareTo(self.children[mid].path) + + if diff ==# -1 + let z = mid + elseif diff ==# 1 + let a = mid+1 + else + return mid + endif + endwhile + return -1 +endfunction + +"FUNCTION: TreeDirNode.GetSelected() {{{3 +"Returns the current node if it is a dir node, or else returns the current +"nodes parent +unlet s:TreeDirNode.GetSelected +function! s:TreeDirNode.GetSelected() + let currentDir = s:TreeFileNode.GetSelected() + if currentDir != {} && !currentDir.isRoot() + if currentDir.path.isDirectory ==# 0 + let currentDir = currentDir.parent + endif + endif + return currentDir +endfunction +"FUNCTION: TreeDirNode.getVisibleChildCount() {{{3 +"Returns the number of visible children this node has +function! s:TreeDirNode.getVisibleChildCount() + return len(self.getVisibleChildren()) +endfunction + +"FUNCTION: TreeDirNode.getVisibleChildren() {{{3 +"Returns a list of children to display for this node, in the correct order +" +"Return: +"an array of treenodes +function! s:TreeDirNode.getVisibleChildren() + let toReturn = [] + for i in self.children + if i.path.ignore() ==# 0 + call add(toReturn, i) + endif + endfor + return toReturn +endfunction + +"FUNCTION: TreeDirNode.hasVisibleChildren() {{{3 +"returns 1 if this node has any childre, 0 otherwise.. +function! s:TreeDirNode.hasVisibleChildren() + return self.getVisibleChildCount() != 0 +endfunction + +"FUNCTION: TreeDirNode._initChildren() {{{3 +"Removes all childen from this node and re-reads them +" +"Args: +"silent: 1 if the function should not echo any "please wait" messages for +"large directories +" +"Return: the number of child nodes read +function! s:TreeDirNode._initChildren(silent) + "remove all the current child nodes + let self.children = [] + + "get an array of all the files in the nodes dir + let dir = self.path + let globDir = dir.str({'format': 'Glob'}) + let filesStr = globpath(globDir, '*') . "\n" . globpath(globDir, '.*') + let files = split(filesStr, "\n") + + if !a:silent && len(files) > g:NERDTreeNotificationThreshold + call s:echo("Please wait, caching a large dir ...") + endif + + let invalidFilesFound = 0 + for i in files + + "filter out the .. and . directories + "Note: we must match .. AND ../ cos sometimes the globpath returns + "../ for path with strange chars (eg $) + if i !~# '\/\.\.\/\?$' && i !~# '\/\.\/\?$' + + "put the next file in a new node and attach it + try + let path = s:Path.New(i) + call self.createChild(path, 0) + catch /^NERDTree.\(InvalidArguments\|InvalidFiletype\)Error/ + let invalidFilesFound += 1 + endtry + endif + endfor + + call self.sortChildren() + + if !a:silent && len(files) > g:NERDTreeNotificationThreshold + call s:echo("Please wait, caching a large dir ... DONE (". self.getChildCount() ." nodes cached).") + endif + + if invalidFilesFound + call s:echoWarning(invalidFilesFound . " file(s) could not be loaded into the NERD tree") + endif + return self.getChildCount() +endfunction +"FUNCTION: TreeDirNode.New(path) {{{3 +"Returns a new TreeNode object with the given path and parent +" +"Args: +"path: a path object representing the full filesystem path to the file/dir that the node represents +unlet s:TreeDirNode.New +function! s:TreeDirNode.New(path) + if a:path.isDirectory != 1 + throw "NERDTree.InvalidArgumentsError: A TreeDirNode object must be instantiated with a directory Path object." + endif + + let newTreeNode = copy(self) + let newTreeNode.path = a:path + + let newTreeNode.isOpen = 0 + let newTreeNode.children = [] + + let newTreeNode.parent = {} + + return newTreeNode +endfunction +"FUNCTION: TreeDirNode.open([opts]) {{{3 +"Open the dir in the current tree or in a new tree elsewhere. +" +"If opening in the current tree, return the number of cached nodes. +unlet s:TreeDirNode.open +function! s:TreeDirNode.open(...) + let opts = a:0 ? a:1 : {} + + if has_key(opts, 'where') && !empty(opts['where']) + let opener = s:Opener.New(self.path, opts) + call opener.open(self) + else + let self.isOpen = 1 + if self.children ==# [] + return self._initChildren(0) + else + return 0 + endif + endif +endfunction + +" FUNCTION: TreeDirNode.openExplorer() {{{3 +" opens an explorer window for this node in the previous window (could be a +" nerd tree or a netrw) +function! s:TreeDirNode.openExplorer() + call self.open({'where': 'p'}) +endfunction +"FUNCTION: TreeDirNode.openInNewTab(options) {{{3 +unlet s:TreeDirNode.openInNewTab +function! s:TreeDirNode.openInNewTab(options) + call s:deprecated('TreeDirNode.openInNewTab', 'is deprecated, use open() instead') + call self.open({'where': 't'}) +endfunction +"FUNCTION: TreeDirNode._openInNewTab() {{{3 +function! s:TreeDirNode._openInNewTab() + tabnew + call s:initNerdTree(self.path.str()) +endfunction +"FUNCTION: TreeDirNode.openRecursively() {{{3 +"Opens this treenode and all of its children whose paths arent 'ignored' +"because of the file filters. +" +"This method is actually a wrapper for the OpenRecursively2 method which does +"the work. +function! s:TreeDirNode.openRecursively() + call self._openRecursively2(1) +endfunction + +"FUNCTION: TreeDirNode._openRecursively2() {{{3 +"Opens this all children of this treenode recursively if either: +" *they arent filtered by file filters +" *a:forceOpen is 1 +" +"Args: +"forceOpen: 1 if this node should be opened regardless of file filters +function! s:TreeDirNode._openRecursively2(forceOpen) + if self.path.ignore() ==# 0 || a:forceOpen + let self.isOpen = 1 + if self.children ==# [] + call self._initChildren(1) + endif + + for i in self.children + if i.path.isDirectory ==# 1 + call i._openRecursively2(0) + endif + endfor + endif +endfunction + +"FUNCTION: TreeDirNode.refresh() {{{3 +unlet s:TreeDirNode.refresh +function! s:TreeDirNode.refresh() + call self.path.refresh() + + "if this node was ever opened, refresh its children + if self.isOpen || !empty(self.children) + "go thru all the files/dirs under this node + let newChildNodes = [] + let invalidFilesFound = 0 + let dir = self.path + let globDir = dir.str({'format': 'Glob'}) + let filesStr = globpath(globDir, '*') . "\n" . globpath(globDir, '.*') + let files = split(filesStr, "\n") + for i in files + "filter out the .. and . directories + "Note: we must match .. AND ../ cos sometimes the globpath returns + "../ for path with strange chars (eg $) + if i !~# '\/\.\.\/\?$' && i !~# '\/\.\/\?$' + + try + "create a new path and see if it exists in this nodes children + let path = s:Path.New(i) + let newNode = self.getChild(path) + if newNode != {} + call newNode.refresh() + call add(newChildNodes, newNode) + + "the node doesnt exist so create it + else + let newNode = s:TreeFileNode.New(path) + let newNode.parent = self + call add(newChildNodes, newNode) + endif + + + catch /^NERDTree.InvalidArgumentsError/ + let invalidFilesFound = 1 + endtry + endif + endfor + + "swap this nodes children out for the children we just read/refreshed + let self.children = newChildNodes + call self.sortChildren() + + if invalidFilesFound + call s:echoWarning("some files could not be loaded into the NERD tree") + endif + endif +endfunction + +"FUNCTION: TreeDirNode.reveal(path) {{{3 +"reveal the given path, i.e. cache and open all treenodes needed to display it +"in the UI +function! s:TreeDirNode.reveal(path) + if !a:path.isUnder(self.path) + throw "NERDTree.InvalidArgumentsError: " . a:path.str() . " should be under " . self.path.str() + endif + + call self.open() + + if self.path.equals(a:path.getParent()) + let n = self.findNode(a:path) + call s:renderView() + call n.putCursorHere(1,0) + return + endif + + let p = a:path + while !p.getParent().equals(self.path) + let p = p.getParent() + endwhile + + let n = self.findNode(p) + call n.reveal(a:path) +endfunction +"FUNCTION: TreeDirNode.removeChild(treenode) {{{3 +" +"Removes the given treenode from this nodes set of children +" +"Args: +"treenode: the node to remove +" +"Throws a NERDTree.ChildNotFoundError if the given treenode is not found +function! s:TreeDirNode.removeChild(treenode) + for i in range(0, self.getChildCount()-1) + if self.children[i].equals(a:treenode) + call remove(self.children, i) + return + endif + endfor + + throw "NERDTree.ChildNotFoundError: child node was not found" +endfunction + +"FUNCTION: TreeDirNode.sortChildren() {{{3 +" +"Sorts the children of this node according to alphabetical order and the +"directory priority. +" +function! s:TreeDirNode.sortChildren() + let CompareFunc = function("s:compareNodes") + call sort(self.children, CompareFunc) +endfunction + +"FUNCTION: TreeDirNode.toggleOpen([options]) {{{3 +"Opens this directory if it is closed and vice versa +function! s:TreeDirNode.toggleOpen(...) + let opts = a:0 ? a:1 : {} + if self.isOpen ==# 1 + call self.close() + else + call self.open(opts) + endif +endfunction + +"FUNCTION: TreeDirNode.transplantChild(newNode) {{{3 +"Replaces the child of this with the given node (where the child node's full +"path matches a:newNode's fullpath). The search for the matching node is +"non-recursive +" +"Arg: +"newNode: the node to graft into the tree +function! s:TreeDirNode.transplantChild(newNode) + for i in range(0, self.getChildCount()-1) + if self.children[i].equals(a:newNode) + let self.children[i] = a:newNode + let a:newNode.parent = self + break + endif + endfor +endfunction +"============================================================ +"CLASS: Opener {{{2 +"============================================================ +let s:Opener = {} + +"FUNCTION: Opener._checkToCloseTree(newtab) {{{3 +"Check the class options and global options (i.e. NERDTreeQuitOnOpen) to see +"if the tree should be closed now. +" +"Args: +"a:newtab - boolean. If set, only close the tree now if we are opening the +"target in a new tab. This is needed because we have to close tree before we +"leave the tab +function! s:Opener._checkToCloseTree(newtab) + if self._keepopen + return + endif + + if (a:newtab && self._where == 't') || !a:newtab + call s:closeTreeIfQuitOnOpen() + endif +endfunction + +"FUNCTION: Opener._gotoTargetWin() {{{3 +function! s:Opener._gotoTargetWin() + if b:NERDTreeType ==# "secondary" + if self._where == 'v' + vsplit + elseif self._where == 'h' + split + elseif self._where == 't' + tabnew + endif + else + call self._checkToCloseTree(1) + + if self._where == 'v' + call self._newVSplit() + elseif self._where == 'h' + call self._newSplit() + elseif self._where == 't' + tabnew + elseif self._where == 'p' + call self._previousWindow() + endif + + call self._checkToCloseTree(0) + endif +endfunction + +"FUNCTION: Opener.New(path, opts) {{{3 +"Args: +" +"a:path: The path object that is to be opened. +" +"a:opts: +" +"A dictionary containing the following keys (all optional): +" 'where': Specifies whether the node should be opened in new split/tab or in +" the previous window. Can be either 'v' or 'h' or 't' (for open in +" new tab) +" 'reuse': if a window is displaying the file then jump the cursor there +" 'keepopen': dont close the tree window +" 'stay': open the file, but keep the cursor in the tree win +function! s:Opener.New(path, opts) + let newObj = copy(self) + + let newObj._path = a:path + let newObj._stay = s:has_opt(a:opts, 'stay') + let newObj._reuse = s:has_opt(a:opts, 'reuse') + let newObj._keepopen = s:has_opt(a:opts, 'keepopen') + let newObj._where = has_key(a:opts, 'where') ? a:opts['where'] : '' + let newObj._treetype = b:NERDTreeType + call newObj._saveCursorPos() + + return newObj +endfunction + +"FUNCTION: Opener._newSplit() {{{3 +function! s:Opener._newSplit() + " Save the user's settings for splitbelow and splitright + let savesplitbelow=&splitbelow + let savesplitright=&splitright + + " 'there' will be set to a command to move from the split window + " back to the explorer window + " + " 'back' will be set to a command to move from the explorer window + " back to the newly split window + " + " 'right' and 'below' will be set to the settings needed for + " splitbelow and splitright IF the explorer is the only window. + " + let there= g:NERDTreeWinPos ==# "left" ? "wincmd h" : "wincmd l" + let back = g:NERDTreeWinPos ==# "left" ? "wincmd l" : "wincmd h" + let right= g:NERDTreeWinPos ==# "left" + let below=0 + + " Attempt to go to adjacent window + call s:exec(back) + + let onlyOneWin = (winnr("$") ==# 1) + + " If no adjacent window, set splitright and splitbelow appropriately + if onlyOneWin + let &splitright=right + let &splitbelow=below + else + " found adjacent window - invert split direction + let &splitright=!right + let &splitbelow=!below + endif + + let splitMode = onlyOneWin ? "vertical" : "" + + " Open the new window + try + exec(splitMode." sp ") + catch /^Vim\%((\a\+)\)\=:E37/ + call s:putCursorInTreeWin() + throw "NERDTree.FileAlreadyOpenAndModifiedError: ". self._path.str() ." is already open and modified." + catch /^Vim\%((\a\+)\)\=:/ + "do nothing + endtry + + "resize the tree window if no other window was open before + if onlyOneWin + let size = exists("b:NERDTreeOldWindowSize") ? b:NERDTreeOldWindowSize : g:NERDTreeWinSize + call s:exec(there) + exec("silent ". splitMode ." resize ". size) + call s:exec('wincmd p') + endif + + " Restore splitmode settings + let &splitbelow=savesplitbelow + let &splitright=savesplitright +endfunction + +"FUNCTION: Opener._newVSplit() {{{3 +function! s:Opener._newVSplit() + let winwidth = winwidth(".") + if winnr("$")==#1 + let winwidth = g:NERDTreeWinSize + endif + + call s:exec("wincmd p") + vnew + + "resize the nerd tree back to the original size + call s:putCursorInTreeWin() + exec("silent vertical resize ". winwidth) + call s:exec('wincmd p') +endfunction + +"FUNCTION: Opener.open(target) {{{3 +function! s:Opener.open(target) + if self._path.isDirectory + call self._openDirectory(a:target) + else + call self._openFile() + endif +endfunction + +"FUNCTION: Opener._openFile() {{{3 +function! s:Opener._openFile() + if self._reuse && self._reuseWindow() + return + endif + + call self._gotoTargetWin() + + if self._treetype ==# "secondary" + call self._path.edit() + else + call self._path.edit() + + + if self._stay + call self._restoreCursorPos() + endif + endif +endfunction + +"FUNCTION: Opener._openDirectory(node) {{{3 +function! s:Opener._openDirectory(node) + if self._treetype ==# "secondary" + call self._gotoTargetWin() + call s:initNerdTreeInPlace(a:node.path.str()) + else + call self._gotoTargetWin() + if empty(self._where) + call a:node.makeRoot() + call s:renderView() + call a:node.putCursorHere(0, 0) + elseif self._where == 't' + call s:initNerdTree(a:node.path.str()) + else + call s:initNerdTreeInPlace(a:node.path.str()) + endif + endif + + if self._stay + call self._restoreCursorPos() + endif +endfunction + +"FUNCTION: Opener._previousWindow() {{{3 +function! s:Opener._previousWindow() + if !s:isWindowUsable(winnr("#")) && s:firstUsableWindow() ==# -1 + call self._newSplit() + else + try + if !s:isWindowUsable(winnr("#")) + call s:exec(s:firstUsableWindow() . "wincmd w") + else + call s:exec('wincmd p') + endif + catch /^Vim\%((\a\+)\)\=:E37/ + call s:putCursorInTreeWin() + throw "NERDTree.FileAlreadyOpenAndModifiedError: ". self._path.str() ." is already open and modified." + catch /^Vim\%((\a\+)\)\=:/ + echo v:exception + endtry + endif +endfunction + +"FUNCTION: Opener._restoreCursorPos(){{{3 +function! s:Opener._restoreCursorPos() + call s:exec('normal ' . self._tabnr . 'gt') + call s:exec(bufwinnr(self._bufnr) . 'wincmd w') +endfunction + +"FUNCTION: Opener._reuseWindow(){{{3 +"put the cursor in the first window we find for this file +" +"return 1 if we were successful +function! s:Opener._reuseWindow() + "check the current tab for the window + let winnr = bufwinnr('^' . self._path.str() . '$') + if winnr != -1 + call s:exec(winnr . "wincmd w") + call self._checkToCloseTree(0) + return 1 + else + "check other tabs + let tabnr = self._path.tabnr() + if tabnr + call self._checkToCloseTree(1) + call s:exec('normal! ' . tabnr . 'gt') + let winnr = bufwinnr('^' . self._path.str() . '$') + call s:exec(winnr . "wincmd w") + return 1 + endif + endif + return 0 +endfunction + +"FUNCTION: Opener._saveCursorPos(){{{3 +function! s:Opener._saveCursorPos() + let self._bufnr = bufnr("") + let self._tabnr = tabpagenr() +endfunction + +"CLASS: Path {{{2 +"============================================================ +let s:Path = {} +"FUNCTION: Path.AbsolutePathFor(str) {{{3 +function! s:Path.AbsolutePathFor(str) + let prependCWD = 0 + if s:running_windows + let prependCWD = a:str !~# '^.:\(\\\|\/\)' && a:str !~# '^\(\\\\\|\/\/\)' + else + let prependCWD = a:str !~# '^/' + endif + + let toReturn = a:str + if prependCWD + let toReturn = getcwd() . s:Path.Slash() . a:str + endif + + return toReturn +endfunction +"FUNCTION: Path.bookmarkNames() {{{3 +function! s:Path.bookmarkNames() + if !exists("self._bookmarkNames") + call self.cacheDisplayString() + endif + return self._bookmarkNames +endfunction +"FUNCTION: Path.cacheDisplayString() {{{3 +function! s:Path.cacheDisplayString() + let self.cachedDisplayString = self.getLastPathComponent(1) + + if self.isExecutable + let self.cachedDisplayString = self.cachedDisplayString . '*' + endif + + let self._bookmarkNames = [] + for i in s:Bookmark.Bookmarks() + if i.path.equals(self) + call add(self._bookmarkNames, i.name) + endif + endfor + if !empty(self._bookmarkNames) + let self.cachedDisplayString .= ' {' . join(self._bookmarkNames) . '}' + endif + + if self.isSymLink + let self.cachedDisplayString .= ' -> ' . self.symLinkDest + endif + + if self.isReadOnly + let self.cachedDisplayString .= ' [RO]' + endif +endfunction +"FUNCTION: Path.changeToDir() {{{3 +function! s:Path.changeToDir() + let dir = self.str({'format': 'Cd'}) + if self.isDirectory ==# 0 + let dir = self.getParent().str({'format': 'Cd'}) + endif + + try + execute "cd " . dir + call s:echo("CWD is now: " . getcwd()) + catch + throw "NERDTree.PathChangeError: cannot change CWD to " . dir + endtry +endfunction + +"FUNCTION: Path.compareTo() {{{3 +" +"Compares this Path to the given path and returns 0 if they are equal, -1 if +"this Path is "less than" the given path, or 1 if it is "greater". +" +"Args: +"path: the path object to compare this to +" +"Return: +"1, -1 or 0 +function! s:Path.compareTo(path) + let thisPath = self.getLastPathComponent(1) + let thatPath = a:path.getLastPathComponent(1) + + "if the paths are the same then clearly we return 0 + if thisPath ==# thatPath + return 0 + endif + + let thisSS = self.getSortOrderIndex() + let thatSS = a:path.getSortOrderIndex() + + "compare the sort sequences, if they are different then the return + "value is easy + if thisSS < thatSS + return -1 + elseif thisSS > thatSS + return 1 + else + "if the sort sequences are the same then compare the paths + "alphabetically + let pathCompare = g:NERDTreeCaseSensitiveSort ? thisPath <# thatPath : thisPath limit + let toReturn = "<" . strpart(toReturn, len(toReturn) - limit + 1) + endif + endif + + return toReturn +endfunction + +"FUNCTION: Path._strForUI() {{{3 +function! s:Path._strForUI() + let toReturn = '/' . join(self.pathSegments, '/') + if self.isDirectory && toReturn != '/' + let toReturn = toReturn . '/' + endif + return toReturn +endfunction + +"FUNCTION: Path._strForCd() {{{3 +" +" returns a string that can be used with :cd +function! s:Path._strForCd() + return escape(self.str(), s:escape_chars) +endfunction +"FUNCTION: Path._strForEdit() {{{3 +" +"Return: the string for this path that is suitable to be used with the :edit +"command +function! s:Path._strForEdit() + let p = escape(self.str({'format': 'UI'}), s:escape_chars) + let cwd = getcwd() . s:Path.Slash() + + "return a relative path if we can + let isRelative = 0 + if s:running_windows + let isRelative = stridx(tolower(p), tolower(cwd)) == 0 + else + let isRelative = stridx(p, cwd) == 0 + endif + + if isRelative + let p = strpart(p, strlen(cwd)) + + "handle the edge case where the file begins with a + (vim interprets + "the +foo in `:e +foo` as an option to :edit) + if p[0] == "+" + let p = '\' . p + endif + endif + + if p ==# '' + let p = '.' + endif + + return p +endfunction +"FUNCTION: Path._strForGlob() {{{3 +function! s:Path._strForGlob() + let lead = s:Path.Slash() + + "if we are running windows then slap a drive letter on the front + if s:running_windows + let lead = self.drive . '\' + endif + + let toReturn = lead . join(self.pathSegments, s:Path.Slash()) + + if !s:running_windows + let toReturn = escape(toReturn, s:escape_chars) + endif + return toReturn +endfunction +"FUNCTION: Path._str() {{{3 +" +"Gets the string path for this path object that is appropriate for the OS. +"EG, in windows c:\foo\bar +" in *nix /foo/bar +function! s:Path._str() + let lead = s:Path.Slash() + + "if we are running windows then slap a drive letter on the front + if s:running_windows + let lead = self.drive . '\' + endif + + return lead . join(self.pathSegments, s:Path.Slash()) +endfunction + +"FUNCTION: Path.strTrunk() {{{3 +"Gets the path without the last segment on the end. +function! s:Path.strTrunk() + return self.drive . '/' . join(self.pathSegments[0:-2], '/') +endfunction + +" FUNCTION: Path.tabnr() {{{3 +" return the number of the first tab that is displaying this file +" +" return 0 if no tab was found +function! s:Path.tabnr() + let str = self.str() + for t in range(tabpagenr('$')) + for b in tabpagebuflist(t+1) + if str == expand('#' . b . ':p') + return t+1 + endif + endfor + endfor + return 0 +endfunction +"FUNCTION: Path.WinToUnixPath(pathstr){{{3 +"Takes in a windows path and returns the unix equiv +" +"A class level method +" +"Args: +"pathstr: the windows path to convert +function! s:Path.WinToUnixPath(pathstr) + if !s:running_windows + return a:pathstr + endif + + let toReturn = a:pathstr + + "remove the x:\ of the front + let toReturn = substitute(toReturn, '^.*:\(\\\|/\)\?', '/', "") + + "remove the \\ network share from the front + let toReturn = substitute(toReturn, '^\(\\\\\|\/\/\)[^\\\/]*\(\\\|\/\)[^\\\/]*\(\\\|\/\)\?', '/', "") + + "convert all \ chars to / + let toReturn = substitute(toReturn, '\', '/', "g") + + return toReturn +endfunction + +" SECTION: General Functions {{{1 +"============================================================ +"FUNCTION: s:bufInWindows(bnum){{{2 +"[[STOLEN FROM VTREEEXPLORER.VIM]] +"Determine the number of windows open to this buffer number. +"Care of Yegappan Lakshman. Thanks! +" +"Args: +"bnum: the subject buffers buffer number +function! s:bufInWindows(bnum) + let cnt = 0 + let winnum = 1 + while 1 + let bufnum = winbufnr(winnum) + if bufnum < 0 + break + endif + if bufnum ==# a:bnum + let cnt = cnt + 1 + endif + let winnum = winnum + 1 + endwhile + + return cnt +endfunction " >>> +"FUNCTION: s:checkForBrowse(dir) {{{2 +"inits a secondary nerd tree in the current buffer if appropriate +function! s:checkForBrowse(dir) + if a:dir != '' && isdirectory(a:dir) + call s:initNerdTreeInPlace(a:dir) + endif +endfunction +"FUNCTION: s:compareBookmarks(first, second) {{{2 +"Compares two bookmarks +function! s:compareBookmarks(first, second) + return a:first.compareTo(a:second) +endfunction + +" FUNCTION: s:completeBookmarks(A,L,P) {{{2 +" completion function for the bookmark commands +function! s:completeBookmarks(A,L,P) + return filter(s:Bookmark.BookmarkNames(), 'v:val =~# "^' . a:A . '"') +endfunction +" FUNCTION: s:createDefaultBindings() {{{2 +function! s:createDefaultBindings() + let s = '' . s:SID() . '_' + + call NERDTreeAddKeyMap({ 'key': '', 'scope': "all", 'callback': s."handleMiddleMouse" }) + call NERDTreeAddKeyMap({ 'key': '', 'scope': "all", 'callback': s."handleLeftClick" }) + call NERDTreeAddKeyMap({ 'key': '<2-LeftMouse>', 'scope': "DirNode", 'callback': s."activateDirNode" }) + call NERDTreeAddKeyMap({ 'key': '<2-LeftMouse>', 'scope': "FileNode", 'callback': s."activateFileNode" }) + call NERDTreeAddKeyMap({ 'key': '<2-LeftMouse>', 'scope': "Bookmark", 'callback': s."activateBookmark" }) + call NERDTreeAddKeyMap({ 'key': '<2-LeftMouse>', 'scope': "all", 'callback': s."activateAll" }) + + + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapActivateNode, 'scope': "DirNode", 'callback': s."activateDirNode" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapActivateNode, 'scope': "FileNode", 'callback': s."activateFileNode" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapActivateNode, 'scope': "Bookmark", 'callback': s."activateBookmark" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapActivateNode, 'scope': "all", 'callback': s."activateAll" }) + + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapOpenSplit, 'scope': "Node", 'callback': s."openHSplit" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapOpenVSplit, 'scope': "Node", 'callback': s."openVSplit" }) + + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapOpenSplit, 'scope': "Bookmark", 'callback': s."openHSplit" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapOpenVSplit, 'scope': "Bookmark", 'callback': s."openVSplit" }) + + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapPreview, 'scope': "Node", 'callback': s."previewNodeCurrent" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapPreviewVSplit, 'scope': "Node", 'callback': s."previewNodeVSplit" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapPreviewSplit, 'scope': "Node", 'callback': s."previewNodeHSplit" }) + + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapPreview, 'scope': "Bookmark", 'callback': s."previewNodeCurrent" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapPreviewVSplit, 'scope': "Bookmark", 'callback': s."previewNodeVSplit" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapPreviewSplit, 'scope': "Bookmark", 'callback': s."previewNodeHSplit" }) + + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapOpenRecursively, 'scope': "DirNode", 'callback': s."openNodeRecursively" }) + + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapUpdir, 'scope': "all", 'callback': s."upDirCurrentRootClosed" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapUpdirKeepOpen, 'scope': "all", 'callback': s."upDirCurrentRootOpen" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapChangeRoot, 'scope': "Node", 'callback': s."chRoot" }) + + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapChdir, 'scope': "Node", 'callback': s."chCwd" }) + + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapQuit, 'scope': "all", 'callback': s."closeTreeWindow" }) + + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapRefreshRoot, 'scope': "all", 'callback': s."refreshRoot" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapRefresh, 'scope': "Node", 'callback': s."refreshCurrent" }) + + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapHelp, 'scope': "all", 'callback': s."displayHelp" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapToggleZoom, 'scope': "all", 'callback': s."toggleZoom" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapToggleHidden, 'scope': "all", 'callback': s."toggleShowHidden" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapToggleFilters, 'scope': "all", 'callback': s."toggleIgnoreFilter" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapToggleFiles, 'scope': "all", 'callback': s."toggleShowFiles" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapToggleBookmarks, 'scope': "all", 'callback': s."toggleShowBookmarks" }) + + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapCloseDir, 'scope': "Node", 'callback': s."closeCurrentDir" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapCloseChildren, 'scope': "DirNode", 'callback': s."closeChildren" }) + + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapMenu, 'scope': "Node", 'callback': s."showMenu" }) + + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapJumpParent, 'scope': "Node", 'callback': s."jumpToParent" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapJumpFirstChild, 'scope': "Node", 'callback': s."jumpToFirstChild" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapJumpLastChild, 'scope': "Node", 'callback': s."jumpToLastChild" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapJumpRoot, 'scope': "all", 'callback': s."jumpToRoot" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapJumpNextSibling, 'scope': "Node", 'callback': s."jumpToNextSibling" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapJumpPrevSibling, 'scope': "Node", 'callback': s."jumpToPrevSibling" }) + + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapOpenInTab, 'scope': "Node", 'callback': s."openInNewTab" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapOpenInTabSilent, 'scope': "Node", 'callback': s."openInNewTabSilent" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapOpenInTab, 'scope': "Bookmark", 'callback': s."openInNewTab" }) + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapOpenInTabSilent, 'scope': "Bookmark", 'callback': s."openInNewTabSilent" }) + + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapOpenExpl, 'scope': "DirNode", 'callback': s."openExplorer" }) + + call NERDTreeAddKeyMap({ 'key': g:NERDTreeMapDeleteBookmark, 'scope': "Bookmark", 'callback': s."deleteBookmark" }) + +endfunction +" FUNCTION: s:deprecated(func, [msg]) {{{2 +" Issue a deprecation warning for a:func. If a second arg is given, use this +" as the deprecation message +function! s:deprecated(func, ...) + let msg = a:0 ? a:func . ' ' . a:1 : a:func . ' is deprecated' + + if !exists('s:deprecationWarnings') + let s:deprecationWarnings = {} + endif + if !has_key(s:deprecationWarnings, a:func) + let s:deprecationWarnings[a:func] = 1 + echomsg msg + endif +endfunction +" FUNCTION: s:exec(cmd) {{{2 +" same as :exec cmd but eventignore=all is set for the duration +function! s:exec(cmd) + let old_ei = &ei + set ei=all + exec a:cmd + let &ei = old_ei +endfunction +" FUNCTION: s:findAndRevealPath() {{{2 +function! s:findAndRevealPath() + try + let p = s:Path.New(expand("%:p")) + catch /^NERDTree.InvalidArgumentsError/ + call s:echo("no file for the current buffer") + return + endtry + + if !s:treeExistsForTab() + try + let cwd = s:Path.New(getcwd()) + catch /^NERDTree.InvalidArgumentsError/ + call s:echo("current directory does not exist.") + let cwd = p.getParent() + endtry + + if p.isUnder(cwd) + call s:initNerdTree(cwd.str()) + else + call s:initNerdTree(p.getParent().str()) + endif + else + if !p.isUnder(s:TreeFileNode.GetRootForTab().path) + call s:initNerdTree(p.getParent().str()) + else + if !s:isTreeOpen() + call s:toggle("") + endif + endif + endif + call s:putCursorInTreeWin() + call b:NERDTreeRoot.reveal(p) +endfunction + +" FUNCTION: s:has_opt(options, name) {{{2 +function! s:has_opt(options, name) + return has_key(a:options, a:name) && a:options[a:name] == 1 +endfunction + +"FUNCTION: s:initNerdTree(name) {{{2 +"Initialise the nerd tree for this tab. The tree will start in either the +"given directory, or the directory associated with the given bookmark +" +"Args: +"name: the name of a bookmark or a directory +function! s:initNerdTree(name) + let path = {} + if s:Bookmark.BookmarkExistsFor(a:name) + let path = s:Bookmark.BookmarkFor(a:name).path + else + let dir = a:name ==# '' ? getcwd() : a:name + + "hack to get an absolute path if a relative path is given + if dir =~# '^\.' + let dir = getcwd() . s:Path.Slash() . dir + endif + let dir = s:Path.Resolve(dir) + + try + let path = s:Path.New(dir) + catch /^NERDTree.InvalidArgumentsError/ + call s:echo("No bookmark or directory found for: " . a:name) + return + endtry + endif + if !path.isDirectory + let path = path.getParent() + endif + + "if instructed to, then change the vim CWD to the dir the NERDTree is + "inited in + if g:NERDTreeChDirMode != 0 + call path.changeToDir() + endif + + if s:treeExistsForTab() + if s:isTreeOpen() + call s:closeTree() + endif + unlet t:NERDTreeBufName + endif + + let newRoot = s:TreeDirNode.New(path) + call newRoot.open() + + call s:createTreeWin() + let b:treeShowHelp = 0 + let b:NERDTreeIgnoreEnabled = 1 + let b:NERDTreeShowFiles = g:NERDTreeShowFiles + let b:NERDTreeShowHidden = g:NERDTreeShowHidden + let b:NERDTreeShowBookmarks = g:NERDTreeShowBookmarks + let b:NERDTreeRoot = newRoot + + let b:NERDTreeType = "primary" + + call s:renderView() + call b:NERDTreeRoot.putCursorHere(0, 0) +endfunction + +"FUNCTION: s:initNerdTreeInPlace(dir) {{{2 +function! s:initNerdTreeInPlace(dir) + try + let path = s:Path.New(a:dir) + catch /^NERDTree.InvalidArgumentsError/ + call s:echo("Invalid directory name:" . a:name) + return + endtry + + "we want the directory buffer to disappear when we do the :edit below + setlocal bufhidden=wipe + + let previousBuf = expand("#") + + "we need a unique name for each secondary tree buffer to ensure they are + "all independent + exec "silent edit " . s:nextBufferName() + + let b:NERDTreePreviousBuf = bufnr(previousBuf) + + let b:NERDTreeRoot = s:TreeDirNode.New(path) + call b:NERDTreeRoot.open() + + call s:setCommonBufOptions() + let b:NERDTreeType = "secondary" + + call s:renderView() +endfunction +" FUNCTION: s:initNerdTreeMirror() {{{2 +function! s:initNerdTreeMirror() + + "get the names off all the nerd tree buffers + let treeBufNames = [] + for i in range(1, tabpagenr("$")) + let nextName = s:tabpagevar(i, 'NERDTreeBufName') + if nextName != -1 && (!exists("t:NERDTreeBufName") || nextName != t:NERDTreeBufName) + call add(treeBufNames, nextName) + endif + endfor + let treeBufNames = s:unique(treeBufNames) + + "map the option names (that the user will be prompted with) to the nerd + "tree buffer names + let options = {} + let i = 0 + while i < len(treeBufNames) + let bufName = treeBufNames[i] + let treeRoot = getbufvar(bufName, "NERDTreeRoot") + let options[i+1 . '. ' . treeRoot.path.str() . ' (buf name: ' . bufName . ')'] = bufName + let i = i + 1 + endwhile + + "work out which tree to mirror, if there is more than 1 then ask the user + let bufferName = '' + if len(keys(options)) > 1 + let choices = ["Choose a tree to mirror"] + let choices = extend(choices, sort(keys(options))) + let choice = inputlist(choices) + if choice < 1 || choice > len(options) || choice ==# '' + return + endif + + let bufferName = options[sort(keys(options))[choice-1]] + elseif len(keys(options)) ==# 1 + let bufferName = values(options)[0] + else + call s:echo("No trees to mirror") + return + endif + + if s:treeExistsForTab() && s:isTreeOpen() + call s:closeTree() + endif + + let t:NERDTreeBufName = bufferName + call s:createTreeWin() + exec 'buffer ' . bufferName + if !&hidden + call s:renderView() + endif +endfunction +" FUNCTION: s:nextBufferName() {{{2 +" returns the buffer name for the next nerd tree +function! s:nextBufferName() + let name = s:NERDTreeBufName . s:next_buffer_number + let s:next_buffer_number += 1 + return name +endfunction +" FUNCTION: s:postSourceActions() {{{2 +function! s:postSourceActions() + call s:Bookmark.CacheBookmarks(0) + call s:createDefaultBindings() + + "load all nerdtree plugins + runtime! nerdtree_plugin/**/*.vim +endfunction +" FUNCTION: s:tabpagevar(tabnr, var) {{{2 +function! s:tabpagevar(tabnr, var) + let currentTab = tabpagenr() + let old_ei = &ei + set ei=all + + exec "tabnext " . a:tabnr + let v = -1 + if exists('t:' . a:var) + exec 'let v = t:' . a:var + endif + exec "tabnext " . currentTab + + let &ei = old_ei + + return v +endfunction +" Function: s:treeExistsForBuffer() {{{2 +" Returns 1 if a nerd tree root exists in the current buffer +function! s:treeExistsForBuf() + return exists("b:NERDTreeRoot") +endfunction +" Function: s:treeExistsForTab() {{{2 +" Returns 1 if a nerd tree root exists in the current tab +function! s:treeExistsForTab() + return exists("t:NERDTreeBufName") +endfunction +" Function: s:SID() {{{2 +function s:SID() + if !exists("s:sid") + let s:sid = matchstr(expand(''), '\zs\d\+\ze_SID$') + endif + return s:sid +endfun +"FUNCTION: s:upDir(keepState) {{{2 +"moves the tree up a level +" +"Args: +"keepState: 1 if the current root should be left open when the tree is +"re-rendered +function! s:upDir(keepState) + let cwd = b:NERDTreeRoot.path.str({'format': 'UI'}) + if cwd ==# "/" || cwd =~# '^[^/]..$' + call s:echo("already at top dir") + else + if !a:keepState + call b:NERDTreeRoot.close() + endif + + let oldRoot = b:NERDTreeRoot + + if empty(b:NERDTreeRoot.parent) + let path = b:NERDTreeRoot.path.getParent() + let newRoot = s:TreeDirNode.New(path) + call newRoot.open() + call newRoot.transplantChild(b:NERDTreeRoot) + let b:NERDTreeRoot = newRoot + else + let b:NERDTreeRoot = b:NERDTreeRoot.parent + endif + + if g:NERDTreeChDirMode ==# 2 + call b:NERDTreeRoot.path.changeToDir() + endif + + call s:renderView() + call oldRoot.putCursorHere(0, 0) + endif +endfunction +" Function: s:unique(list) {{{2 +" returns a:list without duplicates +function! s:unique(list) + let uniqlist = [] + for elem in a:list + if index(uniqlist, elem) ==# -1 + let uniqlist += [elem] + endif + endfor + return uniqlist +endfunction +" SECTION: Public API {{{1 +"============================================================ +let g:NERDTreePath = s:Path +let g:NERDTreeDirNode = s:TreeDirNode +let g:NERDTreeFileNode = s:TreeFileNode +let g:NERDTreeBookmark = s:Bookmark + +function! NERDTreeAddMenuItem(options) + call s:MenuItem.Create(a:options) +endfunction + +function! NERDTreeAddMenuSeparator(...) + let opts = a:0 ? a:1 : {} + call s:MenuItem.CreateSeparator(opts) +endfunction + +function! NERDTreeAddSubmenu(options) + return s:MenuItem.Create(a:options) +endfunction + +function! NERDTreeAddKeyMap(options) + call s:KeyMap.Create(a:options) +endfunction + +function! NERDTreeRender() + call s:renderView() +endfunction + +function! NERDTreeFocus() + if s:isTreeOpen() + call s:putCursorInTreeWin() + else + call s:toggle("") + endif +endfunction + +" SECTION: View Functions {{{1 +"============================================================ +"FUNCTION: s:centerView() {{{2 +"centers the nerd tree window around the cursor (provided the nerd tree +"options permit) +function! s:centerView() + if g:NERDTreeAutoCenter + let current_line = winline() + let lines_to_top = current_line + let lines_to_bottom = winheight(s:getTreeWinNum()) - current_line + if lines_to_top < g:NERDTreeAutoCenterThreshold || lines_to_bottom < g:NERDTreeAutoCenterThreshold + normal! zz + endif + endif +endfunction +"FUNCTION: s:closeTree() {{{2 +"Closes the primary NERD tree window for this tab +function! s:closeTree() + if !s:isTreeOpen() + throw "NERDTree.NoTreeFoundError: no NERDTree is open" + endif + + if winnr("$") != 1 + if winnr() == s:getTreeWinNum() + call s:exec("wincmd p") + let bufnr = bufnr("") + call s:exec("wincmd p") + else + let bufnr = bufnr("") + endif + + call s:exec(s:getTreeWinNum() . " wincmd w") + close + call s:exec(bufwinnr(bufnr) . " wincmd w") + else + close + endif +endfunction + +"FUNCTION: s:closeTreeIfOpen() {{{2 +"Closes the NERD tree window if it is open +function! s:closeTreeIfOpen() + if s:isTreeOpen() + call s:closeTree() + endif +endfunction +"FUNCTION: s:closeTreeIfQuitOnOpen() {{{2 +"Closes the NERD tree window if the close on open option is set +function! s:closeTreeIfQuitOnOpen() + if g:NERDTreeQuitOnOpen && s:isTreeOpen() + call s:closeTree() + endif +endfunction +"FUNCTION: s:createTreeWin() {{{2 +"Inits the NERD tree window. ie. opens it, sizes it, sets all the local +"options etc +function! s:createTreeWin() + "create the nerd tree window + let splitLocation = g:NERDTreeWinPos ==# "left" ? "topleft " : "botright " + let splitSize = g:NERDTreeWinSize + + if !exists('t:NERDTreeBufName') + let t:NERDTreeBufName = s:nextBufferName() + silent! exec splitLocation . 'vertical ' . splitSize . ' new' + silent! exec "edit " . t:NERDTreeBufName + else + silent! exec splitLocation . 'vertical ' . splitSize . ' split' + silent! exec "buffer " . t:NERDTreeBufName + endif + + setlocal winfixwidth + call s:setCommonBufOptions() +endfunction + +"FUNCTION: s:dumpHelp {{{2 +"prints out the quick help +function! s:dumpHelp() + let old_h = @h + if b:treeShowHelp ==# 1 + let @h= "\" NERD tree (" . s:NERD_tree_version . ") quickhelp~\n" + let @h=@h."\" ============================\n" + let @h=@h."\" File node mappings~\n" + let @h=@h."\" ". (g:NERDTreeMouseMode ==# 3 ? "single" : "double") ."-click,\n" + let @h=@h."\" ,\n" + if b:NERDTreeType ==# "primary" + let @h=@h."\" ". g:NERDTreeMapActivateNode .": open in prev window\n" + else + let @h=@h."\" ". g:NERDTreeMapActivateNode .": open in current window\n" + endif + if b:NERDTreeType ==# "primary" + let @h=@h."\" ". g:NERDTreeMapPreview .": preview\n" + endif + let @h=@h."\" ". g:NERDTreeMapOpenInTab.": open in new tab\n" + let @h=@h."\" ". g:NERDTreeMapOpenInTabSilent .": open in new tab silently\n" + let @h=@h."\" middle-click,\n" + let @h=@h."\" ". g:NERDTreeMapOpenSplit .": open split\n" + let @h=@h."\" ". g:NERDTreeMapPreviewSplit .": preview split\n" + let @h=@h."\" ". g:NERDTreeMapOpenVSplit .": open vsplit\n" + let @h=@h."\" ". g:NERDTreeMapPreviewVSplit .": preview vsplit\n" + + let @h=@h."\"\n\" ----------------------------\n" + let @h=@h."\" Directory node mappings~\n" + let @h=@h."\" ". (g:NERDTreeMouseMode ==# 1 ? "double" : "single") ."-click,\n" + let @h=@h."\" ". g:NERDTreeMapActivateNode .": open & close node\n" + let @h=@h."\" ". g:NERDTreeMapOpenRecursively .": recursively open node\n" + let @h=@h."\" ". g:NERDTreeMapCloseDir .": close parent of node\n" + let @h=@h."\" ". g:NERDTreeMapCloseChildren .": close all child nodes of\n" + let @h=@h."\" current node recursively\n" + let @h=@h."\" middle-click,\n" + let @h=@h."\" ". g:NERDTreeMapOpenExpl.": explore selected dir\n" + + let @h=@h."\"\n\" ----------------------------\n" + let @h=@h."\" Bookmark table mappings~\n" + let @h=@h."\" double-click,\n" + let @h=@h."\" ". g:NERDTreeMapActivateNode .": open bookmark\n" + let @h=@h."\" ". g:NERDTreeMapOpenInTab.": open in new tab\n" + let @h=@h."\" ". g:NERDTreeMapOpenInTabSilent .": open in new tab silently\n" + let @h=@h."\" ". g:NERDTreeMapDeleteBookmark .": delete bookmark\n" + + let @h=@h."\"\n\" ----------------------------\n" + let @h=@h."\" Tree navigation mappings~\n" + let @h=@h."\" ". g:NERDTreeMapJumpRoot .": go to root\n" + let @h=@h."\" ". g:NERDTreeMapJumpParent .": go to parent\n" + let @h=@h."\" ". g:NERDTreeMapJumpFirstChild .": go to first child\n" + let @h=@h."\" ". g:NERDTreeMapJumpLastChild .": go to last child\n" + let @h=@h."\" ". g:NERDTreeMapJumpNextSibling .": go to next sibling\n" + let @h=@h."\" ". g:NERDTreeMapJumpPrevSibling .": go to prev sibling\n" + + let @h=@h."\"\n\" ----------------------------\n" + let @h=@h."\" Filesystem mappings~\n" + let @h=@h."\" ". g:NERDTreeMapChangeRoot .": change tree root to the\n" + let @h=@h."\" selected dir\n" + let @h=@h."\" ". g:NERDTreeMapUpdir .": move tree root up a dir\n" + let @h=@h."\" ". g:NERDTreeMapUpdirKeepOpen .": move tree root up a dir\n" + let @h=@h."\" but leave old root open\n" + let @h=@h."\" ". g:NERDTreeMapRefresh .": refresh cursor dir\n" + let @h=@h."\" ". g:NERDTreeMapRefreshRoot .": refresh current root\n" + let @h=@h."\" ". g:NERDTreeMapMenu .": Show menu\n" + let @h=@h."\" ". g:NERDTreeMapChdir .":change the CWD to the\n" + let @h=@h."\" selected dir\n" + + let @h=@h."\"\n\" ----------------------------\n" + let @h=@h."\" Tree filtering mappings~\n" + let @h=@h."\" ". g:NERDTreeMapToggleHidden .": hidden files (" . (b:NERDTreeShowHidden ? "on" : "off") . ")\n" + let @h=@h."\" ". g:NERDTreeMapToggleFilters .": file filters (" . (b:NERDTreeIgnoreEnabled ? "on" : "off") . ")\n" + let @h=@h."\" ". g:NERDTreeMapToggleFiles .": files (" . (b:NERDTreeShowFiles ? "on" : "off") . ")\n" + let @h=@h."\" ". g:NERDTreeMapToggleBookmarks .": bookmarks (" . (b:NERDTreeShowBookmarks ? "on" : "off") . ")\n" + + "add quickhelp entries for each custom key map + let @h=@h."\"\n\" ----------------------------\n" + let @h=@h."\" Custom mappings~\n" + for i in s:KeyMap.All() + if !empty(i.quickhelpText) + let @h=@h."\" ". i.key .": ". i.quickhelpText ."\n" + endif + endfor + + let @h=@h."\"\n\" ----------------------------\n" + let @h=@h."\" Other mappings~\n" + let @h=@h."\" ". g:NERDTreeMapQuit .": Close the NERDTree window\n" + let @h=@h."\" ". g:NERDTreeMapToggleZoom .": Zoom (maximize-minimize)\n" + let @h=@h."\" the NERDTree window\n" + let @h=@h."\" ". g:NERDTreeMapHelp .": toggle help\n" + let @h=@h."\"\n\" ----------------------------\n" + let @h=@h."\" Bookmark commands~\n" + let @h=@h."\" :Bookmark \n" + let @h=@h."\" :BookmarkToRoot \n" + let @h=@h."\" :RevealBookmark \n" + let @h=@h."\" :OpenBookmark \n" + let @h=@h."\" :ClearBookmarks []\n" + let @h=@h."\" :ClearAllBookmarks\n" + silent! put h + elseif g:NERDTreeMinimalUI == 0 + let @h="\" Press ". g:NERDTreeMapHelp ." for help\n" + silent! put h + endif + + let @h = old_h +endfunction +"FUNCTION: s:echo {{{2 +"A wrapper for :echo. Appends 'NERDTree:' on the front of all messages +" +"Args: +"msg: the message to echo +function! s:echo(msg) + redraw + echomsg "NERDTree: " . a:msg +endfunction +"FUNCTION: s:echoWarning {{{2 +"Wrapper for s:echo, sets the message type to warningmsg for this message +"Args: +"msg: the message to echo +function! s:echoWarning(msg) + echohl warningmsg + call s:echo(a:msg) + echohl normal +endfunction +"FUNCTION: s:echoError {{{2 +"Wrapper for s:echo, sets the message type to errormsg for this message +"Args: +"msg: the message to echo +function! s:echoError(msg) + echohl errormsg + call s:echo(a:msg) + echohl normal +endfunction +"FUNCTION: s:firstUsableWindow(){{{2 +"find the window number of the first normal window +function! s:firstUsableWindow() + let i = 1 + while i <= winnr("$") + let bnum = winbufnr(i) + if bnum != -1 && getbufvar(bnum, '&buftype') ==# '' + \ && !getwinvar(i, '&previewwindow') + \ && (!getbufvar(bnum, '&modified') || &hidden) + return i + endif + + let i += 1 + endwhile + return -1 +endfunction +"FUNCTION: s:getPath(ln) {{{2 +"Gets the full path to the node that is rendered on the given line number +" +"Args: +"ln: the line number to get the path for +" +"Return: +"A path if a node was selected, {} if nothing is selected. +"If the 'up a dir' line was selected then the path to the parent of the +"current root is returned +function! s:getPath(ln) + let line = getline(a:ln) + + let rootLine = s:TreeFileNode.GetRootLineNum() + + "check to see if we have the root node + if a:ln == rootLine + return b:NERDTreeRoot.path + endif + + if !g:NERDTreeDirArrows + " in case called from outside the tree + if line !~# '^ *[|`▸▾ ]' || line =~# '^$' + return {} + endif + endif + + if line ==# s:tree_up_dir_line + return b:NERDTreeRoot.path.getParent() + endif + + let indent = s:indentLevelFor(line) + + "remove the tree parts and the leading space + let curFile = s:stripMarkupFromLine(line, 0) + + let wasdir = 0 + if curFile =~# '/$' + let wasdir = 1 + let curFile = substitute(curFile, '/\?$', '/', "") + endif + + let dir = "" + let lnum = a:ln + while lnum > 0 + let lnum = lnum - 1 + let curLine = getline(lnum) + let curLineStripped = s:stripMarkupFromLine(curLine, 1) + + "have we reached the top of the tree? + if lnum == rootLine + let dir = b:NERDTreeRoot.path.str({'format': 'UI'}) . dir + break + endif + if curLineStripped =~# '/$' + let lpindent = s:indentLevelFor(curLine) + if lpindent < indent + let indent = indent - 1 + + let dir = substitute (curLineStripped,'^\\', "", "") . dir + continue + endif + endif + endwhile + let curFile = b:NERDTreeRoot.path.drive . dir . curFile + let toReturn = s:Path.New(curFile) + return toReturn +endfunction + +"FUNCTION: s:getTreeWinNum() {{{2 +"gets the nerd tree window number for this tab +function! s:getTreeWinNum() + if exists("t:NERDTreeBufName") + return bufwinnr(t:NERDTreeBufName) + else + return -1 + endif +endfunction +"FUNCTION: s:indentLevelFor(line) {{{2 +function! s:indentLevelFor(line) + let level = match(a:line, '[^ \-+~▸▾`|]') / s:tree_wid + " check if line includes arrows + if match(a:line, '[▸▾]') > -1 + " decrement level as arrow uses 3 ascii chars + let level = level - 1 + endif + return level +endfunction +"FUNCTION: s:isTreeOpen() {{{2 +function! s:isTreeOpen() + return s:getTreeWinNum() != -1 +endfunction +"FUNCTION: s:isWindowUsable(winnumber) {{{2 +"Returns 0 if opening a file from the tree in the given window requires it to +"be split, 1 otherwise +" +"Args: +"winnumber: the number of the window in question +function! s:isWindowUsable(winnumber) + "gotta split if theres only one window (i.e. the NERD tree) + if winnr("$") ==# 1 + return 0 + endif + + let oldwinnr = winnr() + call s:exec(a:winnumber . "wincmd p") + let specialWindow = getbufvar("%", '&buftype') != '' || getwinvar('%', '&previewwindow') + let modified = &modified + call s:exec(oldwinnr . "wincmd p") + + "if its a special window e.g. quickfix or another explorer plugin then we + "have to split + if specialWindow + return 0 + endif + + if &hidden + return 1 + endif + + return !modified || s:bufInWindows(winbufnr(a:winnumber)) >= 2 +endfunction + +" FUNCTION: s:jumpToChild(direction) {{{2 +" Args: +" direction: 0 if going to first child, 1 if going to last +function! s:jumpToChild(currentNode, direction) + if a:currentNode.isRoot() + return s:echo("cannot jump to " . (a:direction ? "last" : "first") . " child") + end + let dirNode = a:currentNode.parent + let childNodes = dirNode.getVisibleChildren() + + let targetNode = childNodes[0] + if a:direction + let targetNode = childNodes[len(childNodes) - 1] + endif + + if targetNode.equals(a:currentNode) + let siblingDir = a:currentNode.parent.findOpenDirSiblingWithVisibleChildren(a:direction) + if siblingDir != {} + let indx = a:direction ? siblingDir.getVisibleChildCount()-1 : 0 + let targetNode = siblingDir.getChildByIndex(indx, 1) + endif + endif + + call targetNode.putCursorHere(1, 0) + + call s:centerView() +endfunction + + +" FUNCTION: s:jumpToSibling(currentNode, forward) {{{2 +" moves the cursor to the sibling of the current node in the given direction +" +" Args: +" forward: 1 if the cursor should move to the next sibling, 0 if it should +" move back to the previous sibling +function! s:jumpToSibling(currentNode, forward) + let sibling = a:currentNode.findSibling(a:forward) + + if !empty(sibling) + call sibling.putCursorHere(1, 0) + call s:centerView() + endif +endfunction + +"FUNCTION: s:promptToDelBuffer(bufnum, msg){{{2 +"prints out the given msg and, if the user responds by pushing 'y' then the +"buffer with the given bufnum is deleted +" +"Args: +"bufnum: the buffer that may be deleted +"msg: a message that will be echoed to the user asking them if they wish to +" del the buffer +function! s:promptToDelBuffer(bufnum, msg) + echo a:msg + if nr2char(getchar()) ==# 'y' + exec "silent bdelete! " . a:bufnum + endif +endfunction + +"FUNCTION: s:putCursorOnBookmarkTable(){{{2 +"Places the cursor at the top of the bookmarks table +function! s:putCursorOnBookmarkTable() + if !b:NERDTreeShowBookmarks + throw "NERDTree.IllegalOperationError: cant find bookmark table, bookmarks arent active" + endif + + if g:NERDTreeMinimalUI + return cursor(1, 2) + endif + + let rootNodeLine = s:TreeFileNode.GetRootLineNum() + + let line = 1 + while getline(line) !~# '^>-\+Bookmarks-\+$' + let line = line + 1 + if line >= rootNodeLine + throw "NERDTree.BookmarkTableNotFoundError: didnt find the bookmarks table" + endif + endwhile + call cursor(line, 2) +endfunction + +"FUNCTION: s:putCursorInTreeWin(){{{2 +"Places the cursor in the nerd tree window +function! s:putCursorInTreeWin() + if !s:isTreeOpen() + throw "NERDTree.InvalidOperationError: cant put cursor in NERD tree window, no window exists" + endif + + call s:exec(s:getTreeWinNum() . "wincmd w") +endfunction + +"FUNCTION: s:renderBookmarks {{{2 +function! s:renderBookmarks() + + if g:NERDTreeMinimalUI == 0 + call setline(line(".")+1, ">----------Bookmarks----------") + call cursor(line(".")+1, col(".")) + endif + + for i in s:Bookmark.Bookmarks() + call setline(line(".")+1, i.str()) + call cursor(line(".")+1, col(".")) + endfor + + call setline(line(".")+1, '') + call cursor(line(".")+1, col(".")) +endfunction +"FUNCTION: s:renderView {{{2 +"The entry function for rendering the tree +function! s:renderView() + setlocal modifiable + + "remember the top line of the buffer and the current line so we can + "restore the view exactly how it was + let curLine = line(".") + let curCol = col(".") + let topLine = line("w0") + + "delete all lines in the buffer (being careful not to clobber a register) + silent 1,$delete _ + + call s:dumpHelp() + + "delete the blank line before the help and add one after it + if g:NERDTreeMinimalUI == 0 + call setline(line(".")+1, "") + call cursor(line(".")+1, col(".")) + endif + + if b:NERDTreeShowBookmarks + call s:renderBookmarks() + endif + + "add the 'up a dir' line + if !g:NERDTreeMinimalUI + call setline(line(".")+1, s:tree_up_dir_line) + call cursor(line(".")+1, col(".")) + endif + + "draw the header line + let header = b:NERDTreeRoot.path.str({'format': 'UI', 'truncateTo': winwidth(0)}) + call setline(line(".")+1, header) + call cursor(line(".")+1, col(".")) + + "draw the tree + let old_o = @o + let @o = b:NERDTreeRoot.renderToString() + silent put o + let @o = old_o + + "delete the blank line at the top of the buffer + silent 1,1delete _ + + "restore the view + let old_scrolloff=&scrolloff + let &scrolloff=0 + call cursor(topLine, 1) + normal! zt + call cursor(curLine, curCol) + let &scrolloff = old_scrolloff + + setlocal nomodifiable +endfunction + +"FUNCTION: s:renderViewSavingPosition {{{2 +"Renders the tree and ensures the cursor stays on the current node or the +"current nodes parent if it is no longer available upon re-rendering +function! s:renderViewSavingPosition() + let currentNode = s:TreeFileNode.GetSelected() + + "go up the tree till we find a node that will be visible or till we run + "out of nodes + while currentNode != {} && !currentNode.isVisible() && !currentNode.isRoot() + let currentNode = currentNode.parent + endwhile + + call s:renderView() + + if currentNode != {} + call currentNode.putCursorHere(0, 0) + endif +endfunction +"FUNCTION: s:restoreScreenState() {{{2 +" +"Sets the screen state back to what it was when s:saveScreenState was last +"called. +" +"Assumes the cursor is in the NERDTree window +function! s:restoreScreenState() + if !exists("b:NERDTreeOldTopLine") || !exists("b:NERDTreeOldPos") || !exists("b:NERDTreeOldWindowSize") + return + endif + exec("silent vertical resize ".b:NERDTreeOldWindowSize) + + let old_scrolloff=&scrolloff + let &scrolloff=0 + call cursor(b:NERDTreeOldTopLine, 0) + normal! zt + call setpos(".", b:NERDTreeOldPos) + let &scrolloff=old_scrolloff +endfunction + +"FUNCTION: s:saveScreenState() {{{2 +"Saves the current cursor position in the current buffer and the window +"scroll position +function! s:saveScreenState() + let win = winnr() + try + call s:putCursorInTreeWin() + let b:NERDTreeOldPos = getpos(".") + let b:NERDTreeOldTopLine = line("w0") + let b:NERDTreeOldWindowSize = winwidth("") + call s:exec(win . "wincmd w") + catch /^NERDTree.InvalidOperationError/ + endtry +endfunction + +"FUNCTION: s:setCommonBufOptions() {{{2 +function! s:setCommonBufOptions() + "throwaway buffer options + setlocal noswapfile + setlocal buftype=nofile + setlocal bufhidden=hide + setlocal nowrap + setlocal foldcolumn=0 + setlocal foldmethod=manual + setlocal nofoldenable + setlocal nobuflisted + setlocal nospell + if g:NERDTreeShowLineNumbers + setlocal nu + else + setlocal nonu + if v:version >= 703 + setlocal nornu + endif + endif + + iabc + + if g:NERDTreeHighlightCursorline + setlocal cursorline + endif + + call s:setupStatusline() + + + let b:treeShowHelp = 0 + let b:NERDTreeIgnoreEnabled = 1 + let b:NERDTreeShowFiles = g:NERDTreeShowFiles + let b:NERDTreeShowHidden = g:NERDTreeShowHidden + let b:NERDTreeShowBookmarks = g:NERDTreeShowBookmarks + setfiletype nerdtree + call s:bindMappings() +endfunction + +"FUNCTION: s:setupStatusline() {{{2 +function! s:setupStatusline() + if g:NERDTreeStatusline != -1 + let &l:statusline = g:NERDTreeStatusline + endif +endfunction +"FUNCTION: s:stripMarkupFromLine(line, removeLeadingSpaces){{{2 +"returns the given line with all the tree parts stripped off +" +"Args: +"line: the subject line +"removeLeadingSpaces: 1 if leading spaces are to be removed (leading spaces = +"any spaces before the actual text of the node) +function! s:stripMarkupFromLine(line, removeLeadingSpaces) + let line = a:line + "remove the tree parts and the leading space + let line = substitute (line, s:tree_markup_reg,"","") + + "strip off any read only flag + let line = substitute (line, ' \[RO\]', "","") + + "strip off any bookmark flags + let line = substitute (line, ' {[^}]*}', "","") + + "strip off any executable flags + let line = substitute (line, '*\ze\($\| \)', "","") + + let wasdir = 0 + if line =~# '/$' + let wasdir = 1 + endif + let line = substitute (line,' -> .*',"","") " remove link to + if wasdir ==# 1 + let line = substitute (line, '/\?$', '/', "") + endif + + if a:removeLeadingSpaces + let line = substitute (line, '^ *', '', '') + endif + + return line +endfunction + +"FUNCTION: s:toggle(dir) {{{2 +"Toggles the NERD tree. I.e the NERD tree is open, it is closed, if it is +"closed it is restored or initialized (if it doesnt exist) +" +"Args: +"dir: the full path for the root node (is only used if the NERD tree is being +"initialized. +function! s:toggle(dir) + if s:treeExistsForTab() + if !s:isTreeOpen() + call s:createTreeWin() + if !&hidden + call s:renderView() + endif + call s:restoreScreenState() + else + call s:closeTree() + endif + else + call s:initNerdTree(a:dir) + endif +endfunction +"SECTION: Interface bindings {{{1 +"============================================================ + +"FUNCTION: s:activateAll() {{{2 +"handle the user activating the updir line +function! s:activateAll() + if getline(".") ==# s:tree_up_dir_line + return s:upDir(0) + endif +endfunction + +"FUNCTION: s:activateDirNode() {{{2 +"handle the user activating a tree node +function! s:activateDirNode(node) + call a:node.activate({'reuse': 1}) +endfunction + +"FUNCTION: s:activateFileNode() {{{2 +"handle the user activating a tree node +function! s:activateFileNode(node) + call a:node.activate({'reuse': 1, 'where': 'p'}) +endfunction + +"FUNCTION: s:activateBookmark() {{{2 +"handle the user activating a bookmark +function! s:activateBookmark(bm) + call a:bm.activate(!a:bm.path.isDirectory ? {'where': 'p'} : {}) +endfunction + +"FUNCTION: s:bindMappings() {{{2 +function! s:bindMappings() + "make do the same as the default 'o' mapping + exec "nnoremap :call KeyMap_Invoke('". g:NERDTreeMapActivateNode ."')" + + call s:KeyMap.BindAll() + + command! -buffer -nargs=? Bookmark :call bookmarkNode('') + command! -buffer -complete=customlist,s:completeBookmarks -nargs=1 RevealBookmark :call revealBookmark('') + command! -buffer -complete=customlist,s:completeBookmarks -nargs=1 OpenBookmark :call openBookmark('') + command! -buffer -complete=customlist,s:completeBookmarks -nargs=* ClearBookmarks call clearBookmarks('') + command! -buffer -complete=customlist,s:completeBookmarks -nargs=+ BookmarkToRoot call s:Bookmark.ToRoot('') + command! -buffer -nargs=0 ClearAllBookmarks call s:Bookmark.ClearAll() call renderView() + command! -buffer -nargs=0 ReadBookmarks call s:Bookmark.CacheBookmarks(0) call renderView() + command! -buffer -nargs=0 WriteBookmarks call s:Bookmark.Write() +endfunction + +" FUNCTION: s:bookmarkNode(name) {{{2 +" Associate the current node with the given name +function! s:bookmarkNode(...) + let currentNode = s:TreeFileNode.GetSelected() + if currentNode != {} + let name = a:1 + if empty(name) + let name = currentNode.path.getLastPathComponent(0) + endif + try + call currentNode.bookmark(name) + call s:renderView() + catch /^NERDTree.IllegalBookmarkNameError/ + call s:echo("bookmark names must not contain spaces") + endtry + else + call s:echo("select a node first") + endif +endfunction + +" FUNCTION: s:chCwd(node) {{{2 +function! s:chCwd(node) + try + call a:node.path.changeToDir() + catch /^NERDTree.PathChangeError/ + call s:echoWarning("could not change cwd") + endtry +endfunction + +" FUNCTION: s:chRoot(node) {{{2 +" changes the current root to the selected one +function! s:chRoot(node) + call a:node.makeRoot() + call s:renderView() + call b:NERDTreeRoot.putCursorHere(0, 0) +endfunction + +" FUNCTION: s:clearBookmarks(bookmarks) {{{2 +function! s:clearBookmarks(bookmarks) + if a:bookmarks ==# '' + let currentNode = s:TreeFileNode.GetSelected() + if currentNode != {} + call currentNode.clearBoomarks() + endif + else + for name in split(a:bookmarks, ' ') + let bookmark = s:Bookmark.BookmarkFor(name) + call bookmark.delete() + endfor + endif + call s:renderView() +endfunction +" FUNCTION: s:closeChildren(node) {{{2 +" closes all childnodes of the current node +function! s:closeChildren(node) + call a:node.closeChildren() + call s:renderView() + call a:node.putCursorHere(0, 0) +endfunction +" FUNCTION: s:closeCurrentDir(node) {{{2 +" closes the parent dir of the current node +function! s:closeCurrentDir(node) + let parent = a:node.parent + if parent ==# {} || parent.isRoot() + call s:echo("cannot close tree root") + else + call a:node.parent.close() + call s:renderView() + call a:node.parent.putCursorHere(0, 0) + endif +endfunction +" FUNCTION: s:closeTreeWindow() {{{2 +" close the tree window +function! s:closeTreeWindow() + if b:NERDTreeType ==# "secondary" && b:NERDTreePreviousBuf != -1 + exec "buffer " . b:NERDTreePreviousBuf + else + if winnr("$") > 1 + call s:closeTree() + else + call s:echo("Cannot close last window") + endif + endif +endfunction +" FUNCTION: s:deleteBookmark(bm) {{{2 +" if the cursor is on a bookmark, prompt to delete +function! s:deleteBookmark(bm) + echo "Are you sure you wish to delete the bookmark:\n\"" . a:bm.name . "\" (yN):" + + if nr2char(getchar()) ==# 'y' + try + call a:bm.delete() + call s:renderView() + redraw + catch /^NERDTree/ + call s:echoWarning("Could not remove bookmark") + endtry + else + call s:echo("delete aborted" ) + endif + +endfunction + +" FUNCTION: s:displayHelp() {{{2 +" toggles the help display +function! s:displayHelp() + let b:treeShowHelp = b:treeShowHelp ? 0 : 1 + call s:renderView() + call s:centerView() +endfunction + +"FUNCTION: s:handleLeftClick() {{{2 +"Checks if the click should open the current node +function! s:handleLeftClick() + let currentNode = s:TreeFileNode.GetSelected() + if currentNode != {} + + "the dir arrows are multibyte chars, and vim's string functions only + "deal with single bytes - so split the line up with the hack below and + "take the line substring manually + let line = split(getline(line(".")), '\zs') + let startToCur = "" + for i in range(0,virtcol(".")-1) + let startToCur .= line[i] + endfor + + if currentNode.path.isDirectory + if startToCur =~# s:tree_markup_reg && startToCur =~# '[+~▾▸] \?$' + call currentNode.activate() + return + endif + endif + + if (g:NERDTreeMouseMode ==# 2 && currentNode.path.isDirectory) || g:NERDTreeMouseMode ==# 3 + let char = strpart(startToCur, strlen(startToCur)-1, 1) + if char !~# s:tree_markup_reg + if currentNode.path.isDirectory + call currentNode.activate() + else + call currentNode.activate({'reuse': 1, 'where': 'p'}) + endif + return + endif + endif + endif +endfunction + +" FUNCTION: s:handleMiddleMouse() {{{2 +function! s:handleMiddleMouse() + let curNode = s:TreeFileNode.GetSelected() + if curNode ==# {} + call s:echo("Put the cursor on a node first" ) + return + endif + + if curNode.path.isDirectory + call s:openExplorer(curNode) + else + call curNode.open({'where': 'h'}) + endif +endfunction + +" FUNCTION: s:jumpToFirstChild() {{{2 +" wrapper for the jump to child method +function! s:jumpToFirstChild(node) + call s:jumpToChild(a:node, 0) +endfunction + +" FUNCTION: s:jumpToLastChild() {{{2 +" wrapper for the jump to child method +function! s:jumpToLastChild(node) + call s:jumpToChild(a:node, 1) +endfunction + +" FUNCTION: s:jumpToParent(node) {{{2 +" moves the cursor to the parent of the current node +function! s:jumpToParent(node) + if !empty(a:node.parent) + call a:node.parent.putCursorHere(1, 0) + call s:centerView() + else + call s:echo("cannot jump to parent") + endif +endfunction + +" FUNCTION: s:jumpToRoot() {{{2 +" moves the cursor to the root node +function! s:jumpToRoot() + call b:NERDTreeRoot.putCursorHere(1, 0) + call s:centerView() +endfunction + +" FUNCTION: s:jumpToNextSibling(node) {{{2 +function! s:jumpToNextSibling(node) + call s:jumpToSibling(a:node, 1) +endfunction + +" FUNCTION: s:jumpToPrevSibling(node) {{{2 +function! s:jumpToPrevSibling(node) + call s:jumpToSibling(a:node, 0) +endfunction + +" FUNCTION: s:openBookmark(name) {{{2 +" put the cursor on the given bookmark and, if its a file, open it +function! s:openBookmark(name) + try + let targetNode = s:Bookmark.GetNodeForName(a:name, 0) + call targetNode.putCursorHere(0, 1) + redraw! + catch /^NERDTree.BookmarkedNodeNotFoundError/ + call s:echo("note - target node is not cached") + let bookmark = s:Bookmark.BookmarkFor(a:name) + let targetNode = s:TreeFileNode.New(bookmark.path) + endtry + if targetNode.path.isDirectory + call targetNode.openExplorer() + else + call targetNode.open({'where': 'p'}) + endif +endfunction + +" FUNCTION: s:openHSplit(target) {{{2 +function! s:openHSplit(target) + call a:target.activate({'where': 'h'}) +endfunction + +" FUNCTION: s:openVSplit(target) {{{2 +function! s:openVSplit(target) + call a:target.activate({'where': 'v'}) +endfunction + +" FUNCTION: s:openExplorer(node) {{{2 +function! s:openExplorer(node) + call a:node.openExplorer() +endfunction + +" FUNCTION: s:openInNewTab(target) {{{2 +function! s:openInNewTab(target) + call a:target.activate({'where': 't'}) +endfunction + +" FUNCTION: s:openInNewTabSilent(target) {{{2 +function! s:openInNewTabSilent(target) + call a:target.activate({'where': 't', 'stay': 1}) +endfunction + +" FUNCTION: s:openNodeRecursively(node) {{{2 +function! s:openNodeRecursively(node) + call s:echo("Recursively opening node. Please wait...") + call a:node.openRecursively() + call s:renderView() + redraw + call s:echo("Recursively opening node. Please wait... DONE") +endfunction + +"FUNCTION: s:previewNodeCurrent(node) {{{2 +function! s:previewNodeCurrent(node) + call a:node.open({'stay': 1, 'where': 'p', 'keepopen': 1}) +endfunction + +"FUNCTION: s:previewNodeHSplit(node) {{{2 +function! s:previewNodeHSplit(node) + call a:node.open({'stay': 1, 'where': 'h', 'keepopen': 1}) +endfunction + +"FUNCTION: s:previewNodeVSplit(node) {{{2 +function! s:previewNodeVSplit(node) + call a:node.open({'stay': 1, 'where': 'v', 'keepopen': 1}) +endfunction + +" FUNCTION: s:revealBookmark(name) {{{2 +" put the cursor on the node associate with the given name +function! s:revealBookmark(name) + try + let targetNode = s:Bookmark.GetNodeForName(a:name, 0) + call targetNode.putCursorHere(0, 1) + catch /^NERDTree.BookmarkNotFoundError/ + call s:echo("Bookmark isnt cached under the current root") + endtry +endfunction +" FUNCTION: s:refreshRoot() {{{2 +" Reloads the current root. All nodes below this will be lost and the root dir +" will be reloaded. +function! s:refreshRoot() + call s:echo("Refreshing the root node. This could take a while...") + call b:NERDTreeRoot.refresh() + call s:renderView() + redraw + call s:echo("Refreshing the root node. This could take a while... DONE") +endfunction + +" FUNCTION: s:refreshCurrent(node) {{{2 +" refreshes the root for the current node +function! s:refreshCurrent(node) + let node = a:node + if !node.path.isDirectory + let node = node.parent + endif + + call s:echo("Refreshing node. This could take a while...") + call node.refresh() + call s:renderView() + redraw + call s:echo("Refreshing node. This could take a while... DONE") +endfunction +" FUNCTION: s:showMenu(node) {{{2 +function! s:showMenu(node) + let mc = s:MenuController.New(s:MenuItem.AllEnabled()) + call mc.showMenu() +endfunction + +" FUNCTION: s:toggleIgnoreFilter() {{{2 +" toggles the use of the NERDTreeIgnore option +function! s:toggleIgnoreFilter() + let b:NERDTreeIgnoreEnabled = !b:NERDTreeIgnoreEnabled + call s:renderViewSavingPosition() + call s:centerView() +endfunction + +" FUNCTION: s:toggleShowBookmarks() {{{2 +" toggles the display of bookmarks +function! s:toggleShowBookmarks() + let b:NERDTreeShowBookmarks = !b:NERDTreeShowBookmarks + if b:NERDTreeShowBookmarks + call s:renderView() + call s:putCursorOnBookmarkTable() + else + call s:renderViewSavingPosition() + endif + call s:centerView() +endfunction +" FUNCTION: s:toggleShowFiles() {{{2 +" toggles the display of hidden files +function! s:toggleShowFiles() + let b:NERDTreeShowFiles = !b:NERDTreeShowFiles + call s:renderViewSavingPosition() + call s:centerView() +endfunction + +" FUNCTION: s:toggleShowHidden() {{{2 +" toggles the display of hidden files +function! s:toggleShowHidden() + let b:NERDTreeShowHidden = !b:NERDTreeShowHidden + call s:renderViewSavingPosition() + call s:centerView() +endfunction + +" FUNCTION: s:toggleZoom() {{{2 +" zoom (maximize/minimize) the NERDTree window +function! s:toggleZoom() + if exists("b:NERDTreeZoomed") && b:NERDTreeZoomed + let size = exists("b:NERDTreeOldWindowSize") ? b:NERDTreeOldWindowSize : g:NERDTreeWinSize + exec "silent vertical resize ". size + let b:NERDTreeZoomed = 0 + else + exec "vertical resize" + let b:NERDTreeZoomed = 1 + endif +endfunction + +" FUNCTION: s:upDirCurrentRootOpen() {{{2 +function! s:upDirCurrentRootOpen() + call s:upDir(1) +endfunction + +" FUNCTION: s:upDirCurrentRootClosed() {{{2 +function! s:upDirCurrentRootClosed() + call s:upDir(0) +endfunction + +" SECTION: Post Source Actions {{{1 +call s:postSourceActions() + +"reset &cpo back to users setting +let &cpo = s:old_cpo + +" vim: set sw=4 sts=4 et fdm=marker: diff --git a/.vim/plugin/rails.vim b/.vim/plugin/rails.vim new file mode 100644 index 0000000..a27ea33 --- /dev/null +++ b/.vim/plugin/rails.vim @@ -0,0 +1,310 @@ +" rails.vim - Detect a rails application +" Author: Tim Pope +" GetLatestVimScripts: 1567 1 :AutoInstall: rails.vim +" URL: http://rails.vim.tpope.net/ + +" Install this file as plugin/rails.vim. See doc/rails.txt for details. (Grab +" it from the URL above if you don't have it.) To access it from Vim, see +" :help add-local-help (hint: :helptags ~/.vim/doc) Afterwards, you should be +" able to do :help rails + +" ============================================================================ + +" Exit quickly when: +" - this plugin was already loaded (or disabled) +" - when 'compatible' is set +if &cp || (exists("g:loaded_rails") && g:loaded_rails) && !(exists("g:rails_debug") && g:rails_debug) + finish +endif +let g:loaded_rails = 1 + +" Apparently, the nesting level within Vim when the Ruby interface is +" initialized determines how much stack space Ruby gets. In previous +" versions of rails.vim, sporadic stack overflows occured when omnicomplete +" was used. This was apparently due to rails.vim having first initialized +" ruby deep in a nested function call. +if has("ruby") + silent! ruby nil +endif + +" Utility Functions {{{1 + +function! s:error(str) + echohl ErrorMsg + echomsg a:str + echohl None + let v:errmsg = a:str +endfunction + +function! s:autoload(...) + if !exists("g:autoloaded_rails") + runtime! autoload/rails.vim + endif + if exists("g:autoloaded_rails") + if a:0 + exe a:1 + endif + return 1 + endif + if !exists("g:rails_no_autoload_warning") + let g:rails_no_autoload_warning = 1 + call s:error("Disabling rails.vim: autoload/rails.vim is missing") + endif + return "" +endfunction + +" }}}1 +" Configuration {{{ + +function! s:SetOptDefault(opt,val) + if !exists("g:".a:opt) + let g:{a:opt} = a:val + endif +endfunction + +call s:SetOptDefault("rails_level",3) +call s:SetOptDefault("rails_statusline",1) +call s:SetOptDefault("rails_syntax",1) +call s:SetOptDefault("rails_mappings",1) +call s:SetOptDefault("rails_abbreviations",1) +call s:SetOptDefault("rails_expensive",1+0*(has("win32")||has("win32unix"))) +call s:SetOptDefault("rails_dbext",g:rails_expensive) +call s:SetOptDefault("rails_subversion",0) +call s:SetOptDefault("rails_default_file","README") +call s:SetOptDefault("rails_default_database","") +call s:SetOptDefault("rails_root_url",'http://localhost:3000/') +call s:SetOptDefault("rails_modelines",1) +call s:SetOptDefault("rails_menu",1) +call s:SetOptDefault("rails_gnu_screen",1) +call s:SetOptDefault("rails_history_size",5) +call s:SetOptDefault("rails_debug",0) +call s:SetOptDefault("rails_generators","controller\nintegration_test\nmailer\nmigration\nmodel\nobserver\nplugin\nresource\nscaffold\nsession_migration") +call s:SetOptDefault("rails_rake_tasks","db:charset\ndb:collation\ndb:create\ndb:create:all\ndb:drop\ndb:drop:all\ndb:fixtures:identify\ndb:fixtures:load\ndb:migrate\ndb:reset\ndb:rollback\ndb:schema:dump\ndb:schema:load\ndb:sessions:clear\ndb:sessions:create\ndb:structure:dump\ndb:test:clone\ndb:test:clone_structure\ndb:test:prepare\ndb:test:purge\ndb:version\ndoc:app\ndoc:clobber_app\ndoc:clobber_plugins\ndoc:clobber_rails\ndoc:plugins\ndoc:rails\ndoc:reapp\ndoc:rerails\nlog:clear\nnotes\nnotes:fixme\nnotes:optimize\nnotes:todo\nrails:freeze:edge\nrails:freeze:gems\nrails:unfreeze\nrails:update\nrails:update:configs\nrails:update:javascripts\nrails:update:scripts\nroutes\nstats\ntest\ntest:functionals\ntest:integration\ntest:plugins\ntest:recent\ntest:uncommitted\ntest:units\ntmp:cache:clear\ntmp:clear\ntmp:create\ntmp:pids:clear\ntmp:sessions:clear\ntmp:sockets:clear") +if g:rails_dbext + if exists("g:loaded_dbext") && executable("sqlite3") && ! executable("sqlite") + " Since dbext can't find it by itself + call s:SetOptDefault("dbext_default_SQLITE_bin","sqlite3") + endif +endif + +" }}}1 +" Detection {{{1 + +function! s:escvar(r) + let r = fnamemodify(a:r,':~') + let r = substitute(r,'\W','\="_".char2nr(submatch(0))."_"','g') + let r = substitute(r,'^\d','_&','') + return r +endfunction + +function! s:Detect(filename) + let fn = substitute(fnamemodify(a:filename,":p"),'\c^file://','','') + if fn =~ '[\/]config[\/]environment\.rb$' + return s:BufInit(strpart(fn,0,strlen(fn)-22)) + endif + if isdirectory(fn) + let fn = fnamemodify(fn,":s?[\/]$??") + else + let fn = fnamemodify(fn,':s?\(.*\)[\/][^\/]*$?\1?') + endif + let ofn = "" + let nfn = fn + while nfn != ofn && nfn != "" + if exists("s:_".s:escvar(nfn)) + return s:BufInit(nfn) + endif + let ofn = nfn + let nfn = fnamemodify(nfn,':h') + endwhile + let ofn = "" + while fn != ofn + if filereadable(fn . "/config/environment.rb") + return s:BufInit(fn) + endif + let ofn = fn + let fn = fnamemodify(ofn,':s?\(.*\)[\/]\(app\|config\|db\|doc\|lib\|log\|public\|script\|spec\|test\|tmp\|vendor\)\($\|[\/].*$\)?\1?') + endwhile + return 0 +endfunction + +function! s:BufInit(path) + let s:_{s:escvar(a:path)} = 1 + if s:autoload() + return RailsBufInit(a:path) + endif +endfunction + +" }}}1 +" Initialization {{{1 + +augroup railsPluginDetect + autocmd! + autocmd BufNewFile,BufRead * call s:Detect(expand(":p")) + autocmd VimEnter * if expand("") == "" && !exists("b:rails_root") | call s:Detect(getcwd()) | endif | if exists("b:rails_root") | silent doau User BufEnterRails | endif + autocmd FileType netrw if !exists("b:rails_root") | call s:Detect(expand(":p")) | endif | if exists("b:rails_root") | silent doau User BufEnterRails | endif + autocmd BufEnter * if exists("b:rails_root")|silent doau User BufEnterRails|endif + autocmd BufLeave * if exists("b:rails_root")|silent doau User BufLeaveRails|endif + autocmd FileType railslog if s:autoload()|call RailslogSyntax()|endif +augroup END + +command! -bar -bang -nargs=* -complete=dir Rails :if s:autoload()|call RailsNewApp(0,)|endif + +" }}}1 +" Menus {{{1 + +if !(g:rails_menu && has("menu")) + finish +endif + +function! s:sub(str,pat,rep) + return substitute(a:str,'\v\C'.a:pat,a:rep,'') +endfunction + +function! s:gsub(str,pat,rep) + return substitute(a:str,'\v\C'.a:pat,a:rep,'g') +endfunction + +function! s:CreateMenus() abort + if exists("g:rails_installed_menu") && g:rails_installed_menu != "" + exe "aunmenu ".s:gsub(g:rails_installed_menu,'\&','') + unlet g:rails_installed_menu + endif + if has("menu") && (exists("g:did_install_default_menus") || exists("$CREAM")) && g:rails_menu + if g:rails_menu > 1 + let g:rails_installed_menu = '&Rails' + else + let g:rails_installed_menu = '&Plugin.&Rails' + endif + if exists("$CREAM") + let menucmd = '87anoremenu