Skip to content

Instantly share code, notes, and snippets.

@marcusway
Last active July 16, 2017 00:03
Show Gist options
  • Save marcusway/7d4e0cee19a03eebf42c to your computer and use it in GitHub Desktop.
Save marcusway/7d4e0cee19a03eebf42c to your computer and use it in GitHub Desktop.
.vimrc
syntax on
set expandtab
set tabstop=8
set softtabstop=4
set shiftwidth=4
filetype plugin indent on
set ruler
set mouse=r
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'tpope/vim-endwise'
Bundle 'tpope/vim-git'
Bundle 'tpope/vim-surround'
Bundle 'elzr/vim-json'
Bundle 'suan/vim-instant-markdown'
Bundle 'scrooloose/syntastic'
Bundle 'scrooloose/nerdtree'
Bundle 'davidhalter/jedi-vim'
Bundle 'wookiehangover/jshint.vim'
Bundle 'tpope/vim-fugitive'
Bundle 'Yggdroot/indentLine'
Bundle 'sidorares/node-vim-debugger'
Bundle 'jiangmiao/auto-pairs'
Bundle 'fatih/vim-go'
Bundle 'powerline/powerline', {'rtp': 'powerline/bindings/vim/'}
Bundle 'nvie/vim-flake8'
Bundle 'rking/ag.vim'
Bundle 'csexton/trailertrash.vim'
Bundle 'ervandew/supertab'
Bundle 'lambdalisue/vim-pyenv'
Bundle 'tpope/vim-unimpaired'
Bundle 'Vimjas/vim-python-pep8-indent'
filetype on
" Ag search from project root
let g:ag_working_path_mode="r"
set nu
set numberwidth=4
highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE gui=NONE guifg=DarkGrey guibg=NONE
inoremap jk <Esc>
vnoremap jk <Esc>
snoremap jk <Esc>
" Ye Olde Jedi Settings
let g:jedi#use_tabs_not_buffers = 1
" Ye olde indent line color
let g:indentLine_color_term = 239
let g:indentLine_char = "."
" Make error highlighting not be terrible for jshint
hi clear SpellBad
hi SpellBad cterm=underline,bold ctermfg=white ctermbg=red
"Ye Olde Status Bar
set laststatus=2
" Ye Olde 120 Character Line
set colorcolumn=120
" Ye Olde Glorious Window Navigation
map <C-J> <C-W>j
map <C-K> <C-W>k
map <C-H> <C-W>h
map <C-L> <C-W>l
" Syntastic settings
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
" PEP8 indent
let g:pymode_indent = 0
let python_highlight_all=1
syntax on
set clipboard=unnamed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment