Vi Color Schemes

August 21, 2006 | Leave a Comment

VIM Syntax HighlightingIf you do any significant amount of text editing in vi, you could benefit from syntax highlighting. Turning on syntax highlighting in Vi (or VIM rather) is as simple as adding
set nocompatible and syntax on to your ~/.vimrc file. While you are editing your .vimrc file, there are a ton of other cool things you can tweak which I recommend as well (ex. tabstop, nowrap, ignorecase, bs, etc). Once you have syntax highlighting on, you may decide you want a different color scheme. This is also simple.

You can put color scheme definition files in the ~/.vim/colors/ directory. The files will have a “vim” extension. You can load a color scheme by typing :colors [scheme_name] while in vi. In most OS installs there are a ton of schemes included, in OS X these are in “/usr/share/vim/vim62/colors/”. Included for me are: darkblue, desert, elflord, evening, koehler, morning, murphy, pablo, peachpuff, ron, shine, shine, torte, and zellner. If none of these tickle your fancy, there are a bunch available here or you could always build your own.

color, color scheme, color schemes, colors, darkblue, desert, editing, elflord, evening, koehler, morning, murphy, nocompatible, pablo, peachpuff, ron, shine, syntax, syntax highlighting, torte, vi, vim, zellner

Tags: , , , , , , , , , , , , , , , , , , , , , ,

Related:

Cheat Sheets

August 5, 2005 | 38 Comments

Homestarrunner.com's The CheatI love cheat sheets or euphemistiically, quick references. I find myself becoming quite familiar with something, then not using it for 6 months. After time away from something like that a cheat sheet is the best way of getting back up to speed quickly. Also, good cheat sheets sometimes show me features or functionality I wasn’t previously familiar with. Consider this Cliff Notes for technology.

JavaScript, MySQL, mod_rewrite, CSS, and PHP(Thanks Casey)

VI (PDF)

Perl Regular expressions (PDF)

Java (PDF) (Not so quick…)

URL Encode Utility

ASCII

Update 2/20/06:
Prototype JS Library - from BorkWeb.

Still looking for a good one on Oracle and always looking for better ones. Also check this site for some more, though I’m not real excited about most of them.

cheat sheet, cheat sheets, cheatsheet, cheatsheets, cliff notes, css, development, java, javascript, mod_rewrite, mysql, oracle, perl, php, quick guides, quick reference, regular expressions, vi, web, web development

Tags: , , , , , , , , , , , , , , , , , , ,

Related: