Skip to content

Instantly share code, notes, and snippets.

/.vimrc Secret

Created August 11, 2015 22:48
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 anonymous/840a895bdbb5fbe81162 to your computer and use it in GitHub Desktop.
Save anonymous/840a895bdbb5fbe81162 to your computer and use it in GitHub Desktop.
set nocompatible
syntax on
execute pathogen#infect()
filetype plugin on
filetype indent on
set clipboard=unnamed
colorscheme solarized
set background=dark
set nu
set relativenumber
set ttyfast
set undolevels=200
set scrolloff=10
set noswapfile
set backspace=2
set laststatus=2
set autoindent
set shiftwidth=2
set softtabstop=2
set tabstop=2
set smartindent
set smarttab
set ignorecase
set incsearch
set expandtab
set showcmd
set completeopt=menu,menuone
let mapleader=','
map <C-j> <C-W>j
map <C-k> <C-W>k
map <C-H> <C-W>h
map <C-L> <C-W>l
let g:ctrlp_custom_ignore = {
\ 'dir': '\.git$\|node_modules\|Godeps$',
\ }
nnoremap<Leader>p :CtrlPClearCache<CR>
autocmd BufWritePre * :%s/\s\+$//e
let g:gist_post_private = 1
let g:gist_post_anonymous = 1
let g:gist_clip_command = 'pbcopy'
let g:gist_detect_filetype = 1
let g:ftplugin_sql_omni_key = '<C-j>'
command! E Explore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment