Browse files

initial commit

  • Loading branch information...
1 parent 0e605f8 commit cea4f8d62cdfd29e1e4f9b0795c6bc0d4ce6160d @sharfah committed Jun 5, 2011
Showing with 33 additions and 0 deletions.
  1. +33 −0 .vimrc
View
33 .vimrc
@@ -0,0 +1,33 @@
+set nocompatible " vim, not vi
+set history=50 " keep 50 lines of command line history
+set ruler " show the cursor position all the time
+set noerrorbells " don't make noise
+set cursorline " highlight current line
+set laststatus=2 " always show the status line
+set expandtab " no real tabs please!
+set number " Display line numbers on the left
+set showcmd " Show partial commands in the last line of the screen
+set ignorecase " case insensitive search, except when using capitals
+set smartcase " case insensitive patterns, when lowercase is used
+set smarttab " smart tabulation and backspace
+set autoindent
+set showmode " Show the current mode
+set showmatch " show matching braces
+set hlsearch " highlight searches
+set incsearch " find as you type
+set title " show title
+set pastetoggle=<F11> " F11 toggles indenting when pasting
+set wildmenu " make command-line completion bash like + menu
+set wildmode=longest:full
+set showcmd " show the cmd being typed
+set shiftwidth=4 " No 8 character tabs
+set softtabstop=4
+set undolevels=1000 " 1000 undos
+
+" Allow backspacing over autoindent, line breaks and start of insert action
+set backspace=indent,eol,start
+
+"F10 toggles line numbers
+map <silent> <F10> :set invnumber<cr>
+
+syntax on

0 comments on commit cea4f8d

Please sign in to comment.