geekhack
geekhack Community => Other Geeky Stuff => Topic started by: vyshane on Sat, 21 March 2009, 05:19:00
-
I've made a Vim colour scheme and thought I'd share it here. I'm calling it vylight. It's meant to be used with gvim or MacVim.
I was after a subtle colour scheme with a light background. Something that looks like it belongs in my OS X environment. Here's a screenshot showing text selection, text search, and highlighting in comments:
(http://www.node.mu/images/vylight/text_highlighting.jpg)
Omni completion:
(http://www.node.mu/images/vylight/omni_completion.jpg)
PHP example (http://blog.node.mu/images/vylight/syntax_php.jpg), JavaScript example (http://blog.node.mu/images/vylight/syntax_js.jpg).
You can download it here (http://www.vim.org/scripts/script.php?script_id=2589). To use it, copy the file to your ~/.vim/colors/ directory, and do ":colorscheme vylight" in Vim.
[Edit: fixed broken links]
-
Very nice. I may have to check out using vim a bit more seriously with this!
-
Congratulations, it looks like it belongs to a mac.
btw, white background hurts my eyes, I use zenburn (http://slinky.imukuppi.org/zenburn/) which is a low contrast scheme, I'm very happy with it.
-
Zenburn was a favorite of mine when I first tried Textmate. Since then, I've migrated towards a modified (lower contrast) version of ir_black. I've been very happy with it. I use it for my terminal colours and Vim sessions that run in the terminal.
I've never been happy with the Vim colour schemes with light backgrounds though. So I made my own. I like to alternate between light and dark backgrounds.
-
Thread resurrection day. I've made the yang to vylight's ying, and it's called vydark (http://www.vim.org/scripts/script.php?script_id=3309). Obligatory preview screenshot:
(http://geekhack.org/attachment.php?attachmentid=13290&stc=1&d=1288854266)
Grab it from here (http://www.vim.org/scripts/script.php?script_id=3309).
-
Thanx for that config script. It looks very usable indeed ( I am also more of the yang kind : i.e. black background vi-ing )
Regards.
-
it are pretty ...
-
Nice themes, thanks guys. I like to use a light theme when root, but I find darker one less fatiguing; especially coding late at night with the lights out.
Here's the theme I've been using, which is a tweak of one by Yann Golanski. I've been meaning to do a more to it, as I think the pop-out Omni Completion window could be improved but here it is anyway:
(http://geekhack.org/attachment.php?attachmentid=13534&d=1289996256")
Aknagi,
BTW - I had to add a .txt extension to get the file to upload, so don't forget to remove it.
-
I mostly just distinguish comments and highlight errors, since I find most syntax colouring distracting -- if everything is highlighted, nothing is.
(http://geekhack.org/attachment.php?attachmentid=13536&stc=1&d=1290006159)
While probably no one wants exactly my colour scheme, my terminal-adaptive helper function might be of interest to those who mix vim and gvim or multiple terminal types: it maps RGB colours to the nearest available terminal colours.
-
[...] -- if everything is highlighted, nothing is.
Totally agree with you. I consciously limit the number of colours I use in my own colour schemes.
-
I really like your vydark theme and will have to apply that to my Macvim setup.
I have my command line setup to be black background with green text and then highlighting on top of that where needed.
I really think that syntax highlighting makes everything more efficient as far as quickly understanding some text. Being able to notice different meanings of text at a glance is worth a lot in any context.