vim

How to Use Vim's Spellchecker

Tags:

Vim 7 has built in spellchecking. There are two easy ways to turn on spellchecking. If you are using Gvim, you can use Tools > Spelling > Spellcheck On:

Vim Tips Page

Tags:

This page will contain a list of great Vim resources.

Vim Syntax Highlighting

Tags:

If you are working on files with unusual extensions and want to have vim add a certain type of syntax highlighting, you can edit your .vimrc file to recognize new file extensions.

Vim Tutorials

Tags:

This section of the site contains a selection of Vim tips and tutorials.

Vim Color Schemes / Themes

Tags:

I found a nice Vim color theme called Wombat.

To install the Wombat scheme, download the file from the site above and put it in ~/.vim/colors/. You can then enable it in your ~/.vimrc file with the following line:

Getting Started With Vim

I have often wished that I could talk to my text editor. "Editor, delete the text up to the next closing HTML tag. Take this list of 15 words and enclose each line in <li> tags."

I've been using Vim since last summer and I am finally able to talk to my editor. It took a while to learn Vim's language, but it began to make sense after learning enough of the commands.

This tutorial shows some of the great things that I like about using Vim.

How to Convert Code to HTML With Vim

If you have a code snippet that you want to convert to HTML for posting on the web, you can use Vim, or one of the Vim derivatives such as gVim or Cream.

Just put Vim into normal mode. Generally, that means pressing the ESC key. Then type the following command:

:TOhtml

Good CSS Editors for Linux (Ubuntu)

There are many good CSS editors for Linux. Basically, all you really need is a text editor that will perform syntax highlighting on CSS files. Some of the programs below are just simple text editors, while some offer additional features.

A First Vim Tutorial

Tags:

An Introduction to Vim.

I've started using vim again. I thought I would post some of my vim notes.

I generally use vim 50% in the terminal, and now 50% as Cream (UPDATE: After learning more Vim commands I switched from Cream to regular Gvim).

Cream is a version of gvim that makes using vim really easy. If you want an easy introduction to vim, try Cream first.

Vim has a reputation as being difficult to use. That is because when you first start it up you are presented with nothing but the following screen. It won't let you type any text, and depending on what keys you push, the editor may perform strange behavior.

vim

Basically there are two modes in Vim: Normal mode and Insert mode. It starts up in normal mode which means that you cannot type text into your text file until you enter insert mode.

jEdit, Cream, Gvim, and vim for Ruby on Rails

jEdit for Ruby on Rails

I recently mentioned that I like jEdit for Ruby on Rails. I added the Ruby plugin for jEdit (which can be installed directly through the jEdit plugin manager). There is also a plugin called SuperAbbrevs that allows you to create typing shortcuts for Ruby on Rails (or any other language). The screenshot below shows the Ruby documentation displayed on the right side of jEdit. The jEdit Ruby plugin also has a method completion feature but I couldn't get a clean screenshot of it.

jEdit Ruby plugin

Syndicate content