Skip to content

Instantly share code, notes, and snippets.

@codyjroberts
Created April 29, 2015 19:32
Show Gist options
  • Save codyjroberts/70bad31483142b40835e to your computer and use it in GitHub Desktop.
Save codyjroberts/70bad31483142b40835e to your computer and use it in GitHub Desktop.
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'
Plugin 'kien/ctrlp.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'scrooloose/syntastic'
Plugin 'Lokaltog/vim-easymotion'
Plugin 'tpope/vim-surround'
Plugin 'bling/vim-airline'
"Plugin 'pangloss/vim-javascript'
"Plugin 'othree/html5.vim'
"Plugin 'othree/html5-syntax.vim'
"Plugin 'othree/javascript-libraries-syntax.vim'
Plugin 'nathanaelkane/vim-indent-guides'
"Plugin 'jelera/vim-javascript-syntax'
Plugin 'flazz/vim-colorschemes'
"Plugin 'sjl/gundo.vim'
Plugin 'myusuf3/numbers.vim'
Plugin 'xolox/vim-notes'
Plugin 'xolox/vim-misc'
"Plugin 'burnettk/vim-angular'
"Plugin 'vim-scripts/HTML5-Syntax-File'
"Plugin 'SirVer/ultisnips'
"Plugin 'honza/vim-snippets'
Plugin 'Valloric/YouCompleteMe'
Plugin 'Shutnik/jshint2.vim'
"Plugin 'mustache/vim-mustache-handlebars'
Plugin 'tpope/vim-fugitive'
Plugin 'godlygeek/tabular'
Plugin 'jiangmiao/auto-pairs'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
set number
set showmatch
set showcmd
set visualbell
set hlsearch
set smartcase
set ignorecase
set incsearch
set autoindent
set tabstop=4
set shiftwidth=4
set expandtab
"set smartindent
set autoread
set complete-=i
set ttyfast
set shell=zsh
set ttimeout
set ttimeoutlen=100
set ruler
set undolevels=1000
set backspace=indent,eol,start
set nocompatible
set wildmenu
set nowrap
set mouse=""
set formatoptions=""
set title
"set foldmethod=syntax
set noswapfile
set nobackup
"set scrolloff=99 " keep at least 5 lines above/below
"set sidescrolloff=5 " keep at least 5 lines left/right
"set foldlevelstart=1
let mapleader = ","
nnoremap <leader>t :NERDTreeToggle<cr>
nnoremap <leader>p :CtrlP<cr>
nnoremap <leader>u :GundoToggle<cr>
nnoremap <leader>1 :let @/ = ""<cr>
nnoremap <leader>2 :Tabularize /\/\/<cr>
map <leader>h :wincmd h<CR>
map <leader>j :wincmd j<CR>
map <leader>k :wincmd k<CR>
map <leader>l :wincmd l<CR>
filetype off
set t_Co=256
set term=xterm-256color
syntax on
colorscheme gruvbox
set background=dark
" let g:airline#extensions#tabline#enabled = 1
set laststatus=2
set clipboard=unnamed
command! -complete=file -nargs=1 Rpdf :r !pdftotext -nopgbrk <q-args> - |fmt -csw78
set t_ut=
hi Comment cterm=bold ctermfg=015
let g:notes_directories = ['/media/removable/UNTITLED/notes']
autocmd InsertEnter * if !exists('w:last_fdm') | let w:last_fdm=&foldmethod | setlocal foldmethod=manual | endif
autocmd InsertLeave,WinLeave * if exists('w:last_fdm') | let &l:foldmethod=w:last_fdm | unlet w:last_fdm | endif
let g:UltiSnipsExpandTrigger="<leader><tab>"
let g:UltiSnipsJumpForwardTrigger="<C-j>"
let g:UltiSnipsJumpBackwardTrigger="<C-k>"
let g:airline_theme="zenburn"
let g:airline#extensions#whitespace#enabled = 0
let g:syntastic_javascript_checkers = ['']
let g:ctrlp_custom_ignore = 'node_modules\|DS_Store\|git\|bower_components'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment