Home > coding, vim > My first ~/.vimrc

My first ~/.vimrc

I recently progressed from “the little vim-avoider who would if he only could” level to someone who actually edits his ~/.vimrc sometimes. So now I don’t want to forget the little I have learned and post it here:

" pointless reminder how i fixed vim issues on cygwin 
" existence of ~/.vimrc already triggers nocompatible mode
set nocompatible

" highlight all search pattern matches
set hlsearch

" i use light or even white background, vim to use readable colors
set bg=light

" use syntax highlighting
syntax on
Advertisements
Categories: coding, vim Tags: ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: