Skip to content

Instantly share code, notes, and snippets.

@eculver
Created February 9, 2010 00:11
Show Gist options
  • Save eculver/298758 to your computer and use it in GitHub Desktop.
Save eculver/298758 to your computer and use it in GitHub Desktop.
.vimrc
"---- General Settings ----
syntax on
set showmatch
set number
set ruler
set incsearch
set hlsearch
set ignorecase
set cursorline " Highlight current line
set backspace=2
set nocompatible
colorscheme bundy
set guifont=Monospace\ 9
set wmh=0
set clipboard=unnamed " Map default register to sys clipboard
"set guioptions-=T " Hide toolbar
"set guioptions-=r " Hide right scrollbar
"set guioptions-=m " Hide menubar
"set nobackup " Disable ~backups
"set nowritebackup
"---- Indent Settings ----
set noautoindent
set nocindent
set nosmartindent
set tabstop=4
set shiftwidth=4
set expandtab
"---- Bindings ----
map <C-Tab> :tabn<CR> " Next tab
map <C-S-Tab> :tabp<CR> " Previous tab
map <C-f> :tabr<CR> " First tab
map <F5> :let @/=""<CR> " Clear highlighted search
"---- NERDTree Plugin ----
map <F4> :NERDTreeToggle<CR> " Toggle NERDTree plugin
"---- CTags Plugin ----
let Tlist_Ctags_Cmd="/usr/bin/ctags-exuberant"
map <F3> :TlistToggle<CR> " Toggle Ctags plugin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment