Posts tagged as:

vim

How to make Vim and Perforce work together in three easy steps

September 2, 2008

(Vim logo from http://www.vim.org/)
Step 1: Make sure that the perforce client is in your path. Can you open a shell (or command prompt) and type ‘p4′? Do you get a help message from Perforce?
Step 2: Open the .vimrc file (on Windows, look for a _vimrc file) in your home directory. If you [...]

Read the full article →

Spellcheck as you type with Vim

July 23, 2008

I use Vim on my little Asus eeepc to do my writing on the train. As I only write text or html, it’s been fine. But little luxuries like highlighting miss-spelled words are nice. I just found out that Vim supports this. Here’s the lines to add to your .vimrc:
setlocal spell [...]

Read the full article →

How to set the filetype in Vim when the extension doesn’t match

June 4, 2008

Apparently there’s a Vi gang sign

(image taken from Kandinsky’s photostream)

Over 10 years ago, I had a choice to make: Emacs or Vi. I started with Emacs in my first week as a systems administrator. It made Olof, the lead developer very happy. But it wasn’t to be. Emacs was only installed [...]

Read the full article →