vi

Using Vim Scripts to determine whether to set 80 chars word wrap

Here’s a little quick tip for those of you out there that use the ViM text editor. The following is from my personal ~/.vimrc file, it is used to set 80 column word wrap. In other words when the cursor gets to the end of a standard 80 column display, it wraps onto a new line. This is great if you use Vi to post emails or to newsgroups. Bad if you write code in…