Skip to content

Instantly share code, notes, and snippets.

@minhajuddin
Created January 13, 2010 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save minhajuddin/276499 to your computer and use it in GitHub Desktop.
Save minhajuddin/276499 to your computer and use it in GitHub Desktop.
"necessary for lots of cool vim things
let mapleader=","
set nocompatible
" This shows what you are typing as a command. I love this!
set showcmd
" Folding Stuffs
set foldmethod=marker
" Needed for Syntax Highlighting and stuff
filetype on
filetype plugin on
syntax enable
set grepprg=grep\ -nH\ $*
" Who doesn't like autoindent?
set autoindent
" Spaces are better than a tab character
set expandtab
set smarttab
" Who wants an 8 character tab? Not me!
set shiftwidth=2
set softtabstop=2
" Cool tab completion stuff
set wildmenu
set wildmode=list:longest,full
" Got backspace?
set backspace=2
" Line Numbers PWN!
set number
" Incremental searching is sexy
set incsearch
" Highlight things that we find with the search
set hlsearch
filetype plugin indent on
syntax on
" new stuff
map <leader>d :execute 'NERDTreeToggle'
map <leader>nd :execute 'NERDTreeFind'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment