My .vimrc file


Vim is the editor of my choice for my linux box. I have configured my .vimrc file in my ubuntu.

————————————————————————————————————-

” Tushar Neupaney’s VIMRC File
” Followme twitter.com/tneupaney
” linuxfanatic.posterous.com

” (sw)shiftwidth: how many columns text is indented with reindent operations
” (sts)softtabstop: how many columns vim uses when you hit tab
” (ts)tabstop: how many columns a tab counts for
set ts=4 sw=4 sts=2

expandtab: appropriate number of spaces in insert mode
set expandtab

” Make gvim colorscheme as evening
if v:progname =~? “gvim”
colorscheme evening
endif

” Prevents keeping of backup after overwriting the file
set nobk

” To see line numbers on the left
set number

autocomplete parenthesis, brackets and braces
inoremap ( ()<Left>
inoremap [ []<Left>
inoremap { {}<Left>

Syntax highlighting on
syntax on

share windows clipboard
set clipboard+=unnamed

Hightlight the curent column
set cursorcolumn

Hightlight the current line
set cursorline

——————————————————————————————-

Here is the Screenshot!


Posted

in

,

by

Comments

Leave a comment