Last active
March 13, 2016 20:34
-
-
Save ZachBray/fc53c43a66d0e1f3aec5 to your computer and use it in GitHub Desktop.
Vim Config File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
imap ii <Esc> | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'Xuyuanp/nerdtree-git-plugin' | |
Plugin 'ap/vim-css-color' | |
Plugin 'scrooloose/syntastic' | |
Plugin 'pangloss/vim-javascript' | |
Plugin 'leafgarland/typescript-vim' | |
Plugin 'Shougo/vimproc.vim' | |
Plugin 'Quramy/tsuquyomi' | |
Plugin 'mxw/vim-jsx' | |
Plugin 'bling/vim-airline' | |
Plugin 'airblade/vim-gitgutter' | |
Plugin 'kien/ctrlp.vim' | |
Plugin 'easymotion/vim-easymotion' | |
Plugin 'rking/ag.vim' | |
Plugin 'JulesWang/css.vim' | |
Plugin 'genoma/vim-less' | |
Plugin 'altercation/vim-colors-solarized' | |
Plugin 'nelstrom/vim-qargs' | |
Plugin 'qstrahl/vim-matchmaker' | |
Plugin 'Valloric/YouCompleteMe' | |
Plugin 'fsharp/vim-fsharp' | |
Plugin 'tpope/vim-dispatch' | |
Plugin 'OmniSharp/omnisharp-vim' | |
Plugin 'raichoo/purescript-vim' | |
call vundle#end() | |
filetype plugin on | |
syntax enable | |
set background=dark | |
colorscheme solarized | |
set number | |
set statusline+=%#warningmsg# | |
set statusline+=%{Status.SyntasticStatuslineFlag()} | |
set statusline+=%* | |
set tabstop=2 | |
set shiftwidth=2 | |
set expandtab | |
set autoindent | |
set smartindent | |
set encoding=utf-8 | |
set bs=2 | |
" set guifont=Consolas:h11:cANSI | |
set omnifunc=syntaxcomplete#Complete | |
nmap ]h <Plug>GitGutterNextHunk | |
nmap [h <Plug>GitGutterPrevHunk | |
let g:agprg="ag --column" | |
let g:syntastic_enable_signs=0 | |
let g:syntastic_echo_current_error=0 | |
let g:syntastic_always_populate_loc_list=0 | |
let g:syntastic_auto_loc_list = 1 | |
let g:syntastic_check_on_open = 1 | |
let g:syntastic_check_on_wq = 0 | |
let g:syntastic_javascript_checkers = ['eslint'] | |
let g:syntastic_typescript_checkers = [''] | |
let g:jsx_ext_required = 0 | |
let g:matchmaker_enable_startup = 1 | |
let g:ycm_semantic_triggers = { | |
\ 'c' : ['->', '.'], | |
\ 'objc' : ['->', '.'], | |
\ 'ocaml' : ['.', '#'], | |
\ 'cpp,objcpp' : ['->', '.', '::'], | |
\ 'perl' : ['->'], | |
\ 'php' : ['->', '::', '"', "'", 'use ', 'namespace ', '\'], | |
\ 'cs,fs,fsharp,java,javascript,typescript,d,python,perl6,scala,vb,elixir,go' : ['.'], | |
\ 'html': ['<', '"', '</', ' '], | |
\ 'vim' : ['re![_a-za-z]+[_\w]*\.'], | |
\ 'ruby' : ['.', '::'], | |
\ 'lua' : ['.', ':'], | |
\ 'erlang' : [':'], | |
\ 'haskell' : ['.', 're!.'] | |
\ } | |
let g:fsharpbinding_debug = 1 | |
map <C-n> :NERDTreeToggle<CR> | |
map <C-m> :NERDTreeFind<CR> | |
autocmd FileType typescript nmap <buffer> <Leader>e <Plug>(TsuquyomiRenameSymbol) | |
autocmd FileType typescript nmap <buffer> <Leader>E <Plug>(TsuquyomiRenameSymbolC) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment