{"id":18532751,"url":"https://github.com/jasonlong/lavalamp","last_synced_at":"2025-04-09T14:31:40.653Z","repository":{"id":14630946,"uuid":"17348444","full_name":"jasonlong/lavalamp","owner":"jasonlong","description":"A text editor theme that visually differentiates languages.","archived":true,"fork":false,"pushed_at":"2019-02-14T20:40:40.000Z","size":110,"stargazers_count":327,"open_issues_count":0,"forks_count":8,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-04-01T20:14:35.696Z","etag":null,"topics":["colors","iterm","theme","vim"],"latest_commit_sha":null,"homepage":"","language":"VimL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jasonlong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-02T22:22:55.000Z","updated_at":"2024-07-01T06:50:39.000Z","dependencies_parsed_at":"2022-07-23T11:16:19.958Z","dependency_job_id":null,"html_url":"https://github.com/jasonlong/lavalamp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonlong%2Flavalamp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonlong%2Flavalamp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonlong%2Flavalamp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonlong%2Flavalamp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jasonlong","download_url":"https://codeload.github.com/jasonlong/lavalamp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055152,"owners_count":21040128,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["colors","iterm","theme","vim"],"created_at":"2024-11-06T19:07:50.149Z","updated_at":"2025-04-09T14:31:40.355Z","avatar_url":"https://github.com/jasonlong.png","language":"VimL","readme":"![](http://cl.ly/image/320J0E0d2p3W/content)\n\n### Lavalamp is a WIP text editor theme.\n\n**It currently works in Vim, but I hope to port it to Atom and Sublime Text.**\n\n====\n\n### Installation\n\nCopy `lavalamp.vim` to your `.vim/colors` directory.\n\n    $ cd lavalamp/vim\n    $ cp lavalamp.vim ~/.vim/colors/\n\nThen update your `.vimrc` with these lines:\n\n    syntax enable\n    set background=dark\n    colorscheme lavalamp\n\nIf you're using [airline](https://github.com/bling/vim-airline), you can install the lavalamp theme for that.\n\n    $ cd lavalamp/vim/autoload/airline/themes\n    $ cp lavalamp.vim ~/.vim/autoload/airline/themes/\n\nFor the iTerm theme, you should be able to double-click on the `lavalamp/iterm/lavalamp.itermcolors` file to install it.\n\n**If you're using CoffeeScript, I highly recommend installing the [vim-coffee-script](https://github.com/kchmck/vim-coffee-script) plugin since it offers much better syntax highlighting (which lavalamp utilizes).**\n\nFor xterm, you should copy the contents of `xterm/Xresources` to your `~/.Xresources`.\n\n#### Terminal Vim\n\nIf you're running Vim in a terminal (as opposed to MacVim, etc.) this colorscheme won't work by default. You can use the [CSApprox](http://www.vim.org/scripts/script.php?script_id=2390) plugin to get it working though. You also may need to add this line to your `.vimrc`:\n\n    set t_Co=256\n\n### Design principles\n\nThe idea behind the theme is that each language has its own core color. This way, it's easier to visually differentiate languages when they're used together.\n\nFor example, HTML uses shades of blue while Ruby uses red. Then it's easy to see your ERB tags:\n\n![](http://cl.ly/image/3X091e0c3U11/content)\n\nCSS uses purple (an homage to [@mdo](https://github.com/mdo)):\n\n![](http://cl.ly/image/0W223O123E1t/content)\n\nIn a Sass file, it's easy to see vanilla CSS vs. Sass (which is red, since it's Ruby):\n\n![](http://cl.ly/image/10100y1Q3g25/content)\n\n\nI've chosen green for Javascript:\n\n![](http://cl.ly/image/1d3H3Q3V0j0p/content)\n\nAnd browns for Coffeescript:\n\n![](http://cl.ly/image/3x0k3Q262g0m/content)\n\nThe iTerm and Terminal themes look like so:\n\n![](http://cl.ly/image/0y0Q1N2O1D0A/content)\n\n\n### Contributing\n\n1. Fork it ( http://github.com/jasonlong/lavalamp/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\nIf you'd like to add support for addtional languages, you'll need to add new entries for each syntax scope. I have found [vim-HiLinkTrace](https://github.com/gerw/vim-HiLinkTrace) to be very handy for figuring out what a given scope a character is in. Once you've installed that (via Vundle, NeoBundle, etc.), you can add a keyboard shortcut to your `.vimrc`. This is what I use:\n\n````\nnmap \u003cleader\u003eh :HLT\u003cCR\u003e\n````\n\nThen, when your cursor is over a character you want to know about, hit `\u003cleader\u003eh` and the syntax scope will be shown at the bottom of your Vim window. Create a new line with this in `lavalamp.vim`.\n\n### Roadmap\n\nI've been using this theme for a while in this state since these are the languages I mostly use. If more people want to use the theme, more languages will need to be fleshed out.\n\nAnd I'd really :heart: some help getting this working with Atom and Sublime as similarly as possible.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonlong%2Flavalamp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasonlong%2Flavalamp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonlong%2Flavalamp/lists"}