vi advance settings

Vi is one of the most standard and powerfull tools for programmers. You can also customize the vi editor as per your need. following is my vi setting file.

if has(“autocmd”)
  filetype plugin indent on

set incsearch  ” Incremental search

set mouse=a  ” Enable mouse usage (all modes)

syntax on

filetype indent plugin on

set wildmenu

set showcmd

set hlsearch

set backspace=indent,eol,start

set ruler
set nu
set expandtab
set statusline=%F%m%r%h%w[%L][%{&ff}]%y[%p%%][%04l,%04v]
set laststatus=2 ” always show the status line

You can  edit your  .vimrc file in your home directory.

This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s