Skip to content

Instantly share code, notes, and snippets.

@frantic
Created October 18, 2012 04:22
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 frantic/3909841 to your computer and use it in GitHub Desktop.
Save frantic/3909841 to your computer and use it in GitHub Desktop.
" Be iMproved!
set nocompatible
" Setup Vundle
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'scrooloose/nerdtree'
Bundle 'Lokaltog/vim-powerline'
Bundle 'kien/ctrlp.vim'
Bundle 'ShowFunc.vim'
Bundle 'bogado/file-line'
Bundle 'ack.vim'
filetype plugin indent on
" Done stting up Vundle
" Facebook common stuff
source $ADMIN_SCRIPTS/master.vimrc
" Personal preferances
set number
set pastetoggle=<F2> " When I hit F2 and paste the text it doesn't screw up
set nowritebackup " Don't do backup as I use
set nobackup " git for that
set laststatus=2 " Always show the statusline
set mouse=a " Enable mouse scrolling in VIM
set noswapfile
set nobackup
let mapleader = ","
set wildmenu
set background=dark
colorscheme solarized
let g:Powerline_colorscheme = 'skwp'
let g:ctrlp_clear_cache_on_exit=0 " Keep CtrlP cache so it searches faster
let g:ctrlp_map = '<c-p>' " Ctrl-P is used to invoke the plugin
let g:ctrlp_cmd = 'CtrlPBuffer'
command W w
nnoremap <silent> <leader>t :NERDTree<CR>
nnoremap <silent> <leader>, :b#<CR>
nnoremap <silent> <leader>/ :nohl<CR>
nnoremap <silent> <leader>r :CtrlPBufTag<CR>
nnoremap <silent> <leader>m :set mouse=<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment