Home » Linux

My vim emacs configuration files

By: Zhiqiang Ma On: Dec 30, 2009 Views: 46 Comment: 1 Print Email
Tags: , , , ,

My .vimrc .emacc files can be downloaded from here:
http://github.com/zma/config_files

My text editors are especially configured for source code such as C/C++/shell editing. I prefer to use spaces instead of tab. And my favourite tab size is 4.

Some vimrc parameters and the comments are listed here. Details and the updated configuration files please refer to the git repository.

The .vimrc:

set number " show line number

set backup " keep a backup file
set backupdir=~/.vibackup " keep all backup files in one central dir
set backupcopy=yes

set tabstop=4
set shiftwidth=4
set expandtab

set autoindent " always set autoindenting on
set cindent " indent c code
syntax on

set incsearch " do incremental searching
set hlsearch " high light the search content

set history=50 " keep 50 lines of command line history
set ruler " show the cursor position all the time
set showcmd " display incomplete commands

Read more:

Digg del.icio.us Stumble Techorati Facebook Newsvine Reddit Twitter
Mixx LinkedIn Google Bookmark Yahoo Bookmark MySpace LiveJournal Blogger RSS feed

One Comment »

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.