|
|
@ -1,76 +1,73 @@
|
|
|
|
set nocompatible
|
|
|
|
set nocompatible
|
|
|
|
filetype off
|
|
|
|
"filetype off
|
|
|
|
set rtp+=~/.vim/bundle/Vundle.vim
|
|
|
|
"set rtp+=~/.vim/bundle/Vundle.vim
|
|
|
|
call vundle#begin()
|
|
|
|
"call vundle#begin()
|
|
|
|
|
|
|
|
|
|
|
|
Plugin 'gmarik/Vundle.vim'
|
|
|
|
call plug#begin('~/.vim/plugged')
|
|
|
|
Plugin 'sheerun/vim-polyglot'
|
|
|
|
|
|
|
|
Plugin 'terryma/vim-multiple-cursors'
|
|
|
|
"Plug 'gmarik/Vundle.vim'
|
|
|
|
Plugin 'chrisbra/csv.vim'
|
|
|
|
Plug 'sheerun/vim-polyglot'
|
|
|
|
"Plugin 'spreadsheet.vim'
|
|
|
|
Plug 'terryma/vim-multiple-cursors'
|
|
|
|
Plugin 'szw/vim-dict'
|
|
|
|
Plug 'szw/vim-dict'
|
|
|
|
Plugin 'burnettk/vim-angular'
|
|
|
|
Plug 'burnettk/vim-angular'
|
|
|
|
Plugin 'jQuery'
|
|
|
|
Plug 'jQuery'
|
|
|
|
Plugin 'tpope/vim-rails'
|
|
|
|
Plug 'tpope/vim-rails'
|
|
|
|
Plugin 'tpope/vim-repeat'
|
|
|
|
Plug 'tpope/vim-repeat'
|
|
|
|
Plugin 'tpope/vim-surround'
|
|
|
|
Plug 'tpope/vim-surround'
|
|
|
|
Plugin 'tpope/vim-fugitive'
|
|
|
|
Plug 'tpope/vim-fugitive'
|
|
|
|
Plugin 'tpope/vim-endwise'
|
|
|
|
Plug 'tpope/vim-endwise'
|
|
|
|
Plugin 'tpope/vim-vinegar'
|
|
|
|
Plug 'tpope/vim-vinegar'
|
|
|
|
Plugin 'tpope/vim-characterize.git'
|
|
|
|
Plug 'tpope/vim-characterize'
|
|
|
|
Plugin 'tpope/vim-jdaddy'
|
|
|
|
Plug 'tpope/vim-jdaddy'
|
|
|
|
Plugin 'tpope/vim-eunuch'
|
|
|
|
Plug 'tpope/vim-eunuch'
|
|
|
|
" Plugin 'tpope/vim-unimpared'
|
|
|
|
" Plug 'tpope/vim-unimpared'
|
|
|
|
Plugin 'mileszs/ack.vim'
|
|
|
|
Plug 'mileszs/ack.vim'
|
|
|
|
Plugin 'justinmk/vim-sneak'
|
|
|
|
Plug 'justinmk/vim-sneak'
|
|
|
|
Plugin 'bkad/CamelCaseMotion'
|
|
|
|
Plug 'bkad/CamelCaseMotion'
|
|
|
|
Plugin 'majutsushi/tagbar'
|
|
|
|
Plug 'majutsushi/tagbar'
|
|
|
|
Plugin 'scrooloose/syntastic'
|
|
|
|
Plug 'scrooloose/syntastic'
|
|
|
|
Plugin 'scrooloose/nerdcommenter'
|
|
|
|
Plug 'scrooloose/nerdcommenter'
|
|
|
|
Plugin 'w0ng/vim-hybrid'
|
|
|
|
Plug 'w0ng/vim-hybrid'
|
|
|
|
" Plugin 'ervandew/supertab'
|
|
|
|
" Plug 'ervandew/supertab'
|
|
|
|
Plugin 'kien/ctrlp.vim'
|
|
|
|
Plug 'kien/ctrlp.vim'
|
|
|
|
Plugin 'gregsexton/MatchTag'
|
|
|
|
Plug 'gregsexton/MatchTag'
|
|
|
|
" Plugin 'kana/vim-smartinput'
|
|
|
|
" Plug 'kana/vim-smartinput'
|
|
|
|
Plugin 'Raimondi/delimitMate'
|
|
|
|
Plug 'Raimondi/delimitMate'
|
|
|
|
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
|
|
|
|
Plug 'rstacruz/sparkup', {'rtp': 'vim/'}
|
|
|
|
Plugin 'mbbill/undotree'
|
|
|
|
Plug 'mbbill/undotree'
|
|
|
|
Plugin 'coderifous/textobj-word-column.vim'
|
|
|
|
Plug 'coderifous/textobj-word-column.vim'
|
|
|
|
" Plugin 'myusuf3/numbers'
|
|
|
|
Plug 'benmills/vimux'
|
|
|
|
" Plugin 'benmills/vimux'
|
|
|
|
Plug 'searchfold.vim'
|
|
|
|
Plugin 'searchfold.vim'
|
|
|
|
Plug 'godlygeek/tabular'
|
|
|
|
Plugin 'godlygeek/tabular'
|
|
|
|
Plug 'tommcdo/vim-lion'
|
|
|
|
Plugin 'tommcdo/vim-lion'
|
|
|
|
Plug 'kshenoy/vim-signature'
|
|
|
|
Plugin 'kshenoy/vim-signature'
|
|
|
|
Plug 'SirVer/ultisnips'
|
|
|
|
"Plugin 'SirVer/ultisnips'
|
|
|
|
Plug 'honza/vim-snippets'
|
|
|
|
"Plugin 'fmoralesc/vim-pad' " Takes forever to start
|
|
|
|
Plug 'Valloric/YouCompleteMe', { 'do': './install.sh' }
|
|
|
|
Plugin 'eagletmt/ghc-mod'
|
|
|
|
Plug 'eagletmt/ghc-mod'
|
|
|
|
"Plugin 'eagletmt/neco-ghc'
|
|
|
|
"Plug 'eagletmt/neco-ghc'
|
|
|
|
"Plugin 'lukerandall/haskellmode-vim'
|
|
|
|
"Plug 'lukerandall/haskellmode-vim'
|
|
|
|
Plugin 'bitc/vim-hdevtools'
|
|
|
|
Plug 'bitc/vim-hdevtools'
|
|
|
|
Plugin 'idris-hackers/idris-vim'
|
|
|
|
Plug 'idris-hackers/idris-vim'
|
|
|
|
"Plugin 'Shougo/vimproc.vim'
|
|
|
|
Plug 'qstrahl/vim-matchmaker'
|
|
|
|
"Plugin 'Shougo/neocomplcache'
|
|
|
|
"Plug 'bling/vim-airline'
|
|
|
|
Plugin 'qstrahl/vim-matchmaker'
|
|
|
|
Plug 'matze/vim-move'
|
|
|
|
"Plugin 'bling/vim-airline'
|
|
|
|
Plug 'bruno-/vim-vertical-move'
|
|
|
|
Plugin 'matze/vim-move'
|
|
|
|
Plug 'itchyny/calendar.vim'
|
|
|
|
Plugin 'bruno-/vim-vertical-move'
|
|
|
|
Plug 'lfilho/cosco.vim'
|
|
|
|
Plugin 'itchyny/calendar.vim'
|
|
|
|
Plug 'ntpeters/vim-better-whitespace'
|
|
|
|
Plugin 'lfilho/cosco.vim'
|
|
|
|
Plug 'sdanielf/vim-stdtabs'
|
|
|
|
Plugin 'ntpeters/vim-better-whitespace'
|
|
|
|
Plug 'airblade/vim-gitgutter'
|
|
|
|
" No good for IOCOM
|
|
|
|
Plug 'gcmt/wildfire.vim'
|
|
|
|
Plugin 'sdanielf/vim-stdtabs'
|
|
|
|
Plug 'lambdatoast/elm.vim'
|
|
|
|
"Plugin 'airblade/vim-gitgutter'
|
|
|
|
Plug 'AndrewRadev/splitjoin.vim'
|
|
|
|
Plugin 'gcmt/wildfire.vim'
|
|
|
|
Plug 'kien/rainbow_parentheses.vim'
|
|
|
|
Plugin 'lambdatoast/elm.vim'
|
|
|
|
Plug 'nathanaelkane/vim-indent-guides'
|
|
|
|
Plugin 'AndrewRadev/splitjoin.vim'
|
|
|
|
Plug 'junegunn/goyo.vim'
|
|
|
|
Plugin 'kien/rainbow_parentheses.vim'
|
|
|
|
|
|
|
|
Plugin 'nathanaelkane/vim-indent-guides'
|
|
|
|
call plug#end()
|
|
|
|
Plugin 'junegunn/goyo.vim'
|
|
|
|
|
|
|
|
Plugin 'Rykka/clickable.vim'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"let $GIT_SSL_NO_VERIFY = 'true'
|
|
|
|
"let $GIT_SSL_NO_VERIFY = 'true'
|
|
|
|
call vundle#end()
|
|
|
|
"call vundle#end()
|
|
|
|
filetype plugin indent on " last Vundle requirement
|
|
|
|
filetype plugin indent on " last Vundle requirement
|
|
|
|
|
|
|
|
|
|
|
|
" mouse
|
|
|
|
" mouse
|
|
|
@ -80,7 +77,7 @@ if has("mouse")
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
" general goodness
|
|
|
|
" general goodness
|
|
|
|
"set shell=/bin/bash " Syntastic breaks when trying to write to /var/folders
|
|
|
|
set shell=/bin/bash " Syntastic breaks when trying to write to /var/folders
|
|
|
|
syntax enable
|
|
|
|
syntax enable
|
|
|
|
let mapleader=","
|
|
|
|
let mapleader=","
|
|
|
|
let maplocalleader="\\"
|
|
|
|
let maplocalleader="\\"
|
|
|
@ -166,13 +163,6 @@ python from powerline.vim import setup as powerline_setup
|
|
|
|
python powerline_setup()
|
|
|
|
python powerline_setup()
|
|
|
|
python del powerline_setup
|
|
|
|
python del powerline_setup
|
|
|
|
|
|
|
|
|
|
|
|
" Airline
|
|
|
|
|
|
|
|
"let g:airline_left_sep=''
|
|
|
|
|
|
|
|
"let g:airline_right_sep=''
|
|
|
|
|
|
|
|
" let g:airline_theme='solarized'
|
|
|
|
|
|
|
|
"let g:airline_powerline_fonts=1
|
|
|
|
|
|
|
|
"let g:airline#extensions#tabline#enabled=1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Colors
|
|
|
|
" Colors
|
|
|
|
" colorscheme default
|
|
|
|
" colorscheme default
|
|
|
|
colorscheme hybrid
|
|
|
|
colorscheme hybrid
|
|
|
@ -200,6 +190,7 @@ nnoremap <leader>S :SyntasticToggleMode<cr>
|
|
|
|
" let g:SuperTabDefaultCompletionType="context"
|
|
|
|
" let g:SuperTabDefaultCompletionType="context"
|
|
|
|
|
|
|
|
|
|
|
|
" UltiSnips
|
|
|
|
" UltiSnips
|
|
|
|
|
|
|
|
let g:UltiSnipsExpandTrigger="<tab>"
|
|
|
|
let g:UltiSnipsJumpForwardTrigger="<tab>"
|
|
|
|
let g:UltiSnipsJumpForwardTrigger="<tab>"
|
|
|
|
let g:UltiSnipsJumpBackwardTrigger="<s-tab>"
|
|
|
|
let g:UltiSnipsJumpBackwardTrigger="<s-tab>"
|
|
|
|
|
|
|
|
|
|
|
@ -214,9 +205,6 @@ nnoremap <leader>a :Ack<space>
|
|
|
|
" use ag
|
|
|
|
" use ag
|
|
|
|
let g:ackprg = 'ag --nogroup --nocolor --column'
|
|
|
|
let g:ackprg = 'ag --nogroup --nocolor --column'
|
|
|
|
|
|
|
|
|
|
|
|
" Clam
|
|
|
|
|
|
|
|
" nnoremap ! :Clam<space>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Buffer selection
|
|
|
|
" Buffer selection
|
|
|
|
nnoremap <leader>l :ls<cr>:b<space>
|
|
|
|
nnoremap <leader>l :ls<cr>:b<space>
|
|
|
|
|
|
|
|
|
|
|
@ -224,18 +212,13 @@ nnoremap <leader>l :ls<cr>:b<space>
|
|
|
|
"let g:ctrlp_max_files = 10000
|
|
|
|
"let g:ctrlp_max_files = 10000
|
|
|
|
let g:ctrlp_clear_cache_on_exit = 0
|
|
|
|
let g:ctrlp_clear_cache_on_exit = 0
|
|
|
|
|
|
|
|
|
|
|
|
" Vimux stuff
|
|
|
|
" Vimux
|
|
|
|
nnoremap <silent><leader><leader>vp :VimuxPromptCommand<cr>
|
|
|
|
nnoremap <Leader>vp :VimuxPromptCommand<CR>
|
|
|
|
nnoremap <silent><leader><leader>vl :VimuxRunLastCommand<cr>
|
|
|
|
nnoremap <Leader>vl :VimuxRunLastCommand<CR>
|
|
|
|
nnoremap <silent><leader><leader>vi :VimuxInspectRunner<cr>
|
|
|
|
nnoremap <Leader>vi :VimuxInspectRunner<CR>
|
|
|
|
nnoremap <silent><leader><leader>vq :VimuxCloseRunner<cr>
|
|
|
|
nnoremap <Leader>vq :VimuxCloseRunner<CR>
|
|
|
|
nnoremap <silent><leader><leader>vs :VimuxInterruptRunner<cr>
|
|
|
|
nnoremap <Leader>vx :VimuxInterruptRunner<CR>
|
|
|
|
nnoremap <silent><leader><leader>vx :VimuxClosePanes<cr>
|
|
|
|
nnoremap <Leader>vz :call VimuxZoomRunner()<CR>
|
|
|
|
nnoremap <silent><leader><leader>vc :VimuxClearRunnerHistory<cr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Vim-Pad
|
|
|
|
|
|
|
|
"let g:pad_dir = "~/Dropbox/notes/"
|
|
|
|
|
|
|
|
"let g:pad_search_backend = "ack"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Haskellmode
|
|
|
|
" Haskellmode
|
|
|
|
"let g:ghc = "/usr/bin/ghc"
|
|
|
|
"let g:ghc = "/usr/bin/ghc"
|
|
|
@ -259,16 +242,9 @@ set completeopt=menu,preview,longest
|
|
|
|
nnoremap <leader>u :UndotreeToggle<cr>
|
|
|
|
nnoremap <leader>u :UndotreeToggle<cr>
|
|
|
|
|
|
|
|
|
|
|
|
" Move between splits
|
|
|
|
" Move between splits
|
|
|
|
map <c-j> <c-w>j<c-w>_
|
|
|
|
|
|
|
|
map <c-k> <c-w>k<c-w>_
|
|
|
|
|
|
|
|
map <c-l> <c-w>l<c-w>_
|
|
|
|
map <c-l> <c-w>l<c-w>_
|
|
|
|
map <c-h> <c-w>h<c-w>_
|
|
|
|
map <c-h> <c-w>h<c-w>_
|
|
|
|
|
|
|
|
|
|
|
|
" NeoComplCache
|
|
|
|
|
|
|
|
let g:neocomplcache_enable_at_startup = 1
|
|
|
|
|
|
|
|
let g:neocomplcache_enable_smart_case = 1
|
|
|
|
|
|
|
|
autocmd FileType javascript setlocal omnifunc=javascriptcomplete#CompleteJS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Vim-move
|
|
|
|
" Vim-move
|
|
|
|
let g:move_key_modifier = 'C'
|
|
|
|
let g:move_key_modifier = 'C'
|
|
|
|
|
|
|
|
|
|
|
@ -285,3 +261,5 @@ autocmd FileType javascript,css inoremap <silent> ,; <ESC>:call cosco#commaOrSem
|
|
|
|
" Browser
|
|
|
|
" Browser
|
|
|
|
:let g:netrw_browsex_viewer = "browser"
|
|
|
|
:let g:netrw_browsex_viewer = "browser"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Calendar
|
|
|
|
|
|
|
|
let g:calendar_google_calendar = 1
|
|
|
|