Skip to content

Instantly share code, notes, and snippets.

@stefanhendriks
Created November 16, 2012 20:33
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 stefanhendriks/4090660 to your computer and use it in GitHub Desktop.
Save stefanhendriks/4090660 to your computer and use it in GitHub Desktop.
.vimrc
call pathogen#infect()
syntax on
filetype plugin indent on
"Add mapping for opening NERDTree
nmap <silent> <C-D> :NERDTreeToggle<CR>
colorscheme distinguished
" set default height and width for gvim
set lines=35 columns=150
" set ruler (show status bar)
set ruler
set laststatus=2
" show line numbers
set number
" USE SYSTEM CLIPBOARD, uncomment what applies
" use system clipboard Windows
"set clipboard=unnamed
" use system clipboard Linux (Ubuntu)
"set clipboard=unnamedplus
" set tab size to 3
set ts=3
" set backup directories, so we don't get ~ files in the current dir
set backupdir=~/vimtmp,.
set directory=~/vimtmp,.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment