plugin cleanup
This commit is contained in:
parent
03332c84b8
commit
66aad91e9c
3 changed files with 51 additions and 34 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
" Syntastic
|
" Syntastic
|
||||||
let g:syntastic_python_checkers = ['pyflakes', 'pep8', 'pep257']
|
let g:syntastic_python_checkers = ['pyflakes', 'pep8', 'pep257']
|
||||||
let g:syntastic_python_pep8_args='--ignore=E501'
|
let g:syntastic_python_pep8_args='--ignore=E501'
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
" Syntastic
|
||||||
|
let g:syntastic_ruby_checkers = ['rubocop']
|
||||||
|
|
||||||
" vim-rspec mappings
|
" vim-rspec mappings
|
||||||
nnoremap <Leader>t :call RunCurrentSpecFile()<CR>
|
nnoremap <Leader>t :call RunCurrentSpecFile()<CR>
|
||||||
nnoremap <Leader>s :call RunNearestSpec()<CR>
|
nnoremap <Leader>s :call RunNearestSpec()<CR>
|
||||||
|
|
|
||||||
|
|
@ -12,34 +12,46 @@ call vundle#rc()
|
||||||
" let Vundle manage Vundle, required
|
" let Vundle manage Vundle, required
|
||||||
Plugin 'gmarik/vundle'
|
Plugin 'gmarik/vundle'
|
||||||
|
|
||||||
Plugin 'bling/vim-airline'
|
|
||||||
Plugin 'tpope/vim-endwise'
|
|
||||||
Plugin 'danro/rename.vim'
|
|
||||||
Plugin 'pbrisbin/vim-mkdir'
|
|
||||||
Plugin 'Lokaltog/vim-easymotion'
|
|
||||||
Plugin 'tpope/vim-sensible'
|
Plugin 'tpope/vim-sensible'
|
||||||
Plugin 'tpope/vim-eunuch'
|
|
||||||
Plugin 'tpope/vim-fugitive'
|
|
||||||
Plugin 'scrooloose/nerdtree'
|
|
||||||
Plugin 'tomtom/tcomment_vim'
|
|
||||||
Plugin 'tpope/vim-characterize'
|
|
||||||
Plugin 'jonathanfilip/vim-lucius'
|
|
||||||
Plugin 'nanotech/jellybeans.vim'
|
Plugin 'nanotech/jellybeans.vim'
|
||||||
Plugin 'majutsushi/tagbar'
|
|
||||||
|
Plugin 'bling/vim-airline'
|
||||||
Plugin 'bling/vim-bufferline'
|
Plugin 'bling/vim-bufferline'
|
||||||
Plugin 'sjl/gundo.vim'
|
|
||||||
Plugin 'SirVer/ultisnips'
|
|
||||||
Plugin 'kien/ctrlp.vim'
|
|
||||||
Plugin 'terryma/vim-multiple-cursors'
|
|
||||||
Plugin 'myusuf3/numbers.vim'
|
Plugin 'myusuf3/numbers.vim'
|
||||||
Plugin 'mhinz/vim-signify'
|
Plugin 'mhinz/vim-signify'
|
||||||
Plugin 'nathanaelkane/vim-indent-guides'
|
Plugin 'nathanaelkane/vim-indent-guides'
|
||||||
|
|
||||||
|
Plugin 'danro/rename.vim'
|
||||||
|
Plugin 'pbrisbin/vim-mkdir'
|
||||||
|
Plugin 'Lokaltog/vim-easymotion'
|
||||||
|
Plugin 'tpope/vim-characterize'
|
||||||
Plugin 'tpope/vim-surround'
|
Plugin 'tpope/vim-surround'
|
||||||
Plugin 'scrooloose/syntastic'
|
Plugin 'terryma/vim-multiple-cursors'
|
||||||
Plugin 'christoomey/vim-tmux-navigator'
|
|
||||||
Plugin 'Valloric/YouCompleteMe'
|
Plugin 'tpope/vim-eunuch'
|
||||||
|
|
||||||
|
Plugin 'majutsushi/tagbar'
|
||||||
|
Plugin 'SirVer/ultisnips'
|
||||||
|
|
||||||
|
Plugin 'tpope/vim-fugitive'
|
||||||
|
Plugin 'scrooloose/nerdtree'
|
||||||
|
Plugin 'kien/ctrlp.vim'
|
||||||
|
Plugin 'simnalamburt/vim-mundo'
|
||||||
Plugin 'tpope/vim-rails'
|
Plugin 'tpope/vim-rails'
|
||||||
Plugin 'tpope/vim-rake'
|
|
||||||
|
Plugin 'tpope/vim-endwise'
|
||||||
|
|
||||||
|
Plugin 'scrooloose/syntastic'
|
||||||
|
Plugin 'Valloric/YouCompleteMe'
|
||||||
|
|
||||||
|
Plugin 'kchmck/vim-coffee-script'
|
||||||
|
Plugin 'mtscout6/vim-cjsx'
|
||||||
|
|
||||||
|
filetype plugin indent on " required
|
||||||
|
""" end vundle
|
||||||
|
|
||||||
|
"""" PLUGIN SETTINGS
|
||||||
|
|
||||||
" YouCompleteMe
|
" YouCompleteMe
|
||||||
nnoremap K :YcmCompleter GoTo<CR>
|
nnoremap K :YcmCompleter GoTo<CR>
|
||||||
|
|
@ -47,18 +59,14 @@ nnoremap ˚ :YcmCompleter GoToDeclaration<CR>
|
||||||
let g:ycm_goto_buffer_command = 'horizontal-split'
|
let g:ycm_goto_buffer_command = 'horizontal-split'
|
||||||
let g:ycm_autoclose_preview_window_after_insertion = 1
|
let g:ycm_autoclose_preview_window_after_insertion = 1
|
||||||
|
|
||||||
filetype plugin indent on " required
|
" Easymotion
|
||||||
""" end vundle
|
|
||||||
|
|
||||||
"""" PLUGIN SETTINGS
|
|
||||||
"
|
|
||||||
""" Easymotion
|
|
||||||
map / <Plug>(easymotion-sn)
|
map / <Plug>(easymotion-sn)
|
||||||
omap / <Plug>(easymotion-tn)
|
omap / <Plug>(easymotion-tn)
|
||||||
map n <Plug>(easymotion-next)
|
map n <Plug>(easymotion-next)
|
||||||
map N <Plug>(easymotion-prev)
|
map N <Plug>(easymotion-prev)
|
||||||
let g:EasyMotion_landing_highlight = 1
|
let g:EasyMotion_landing_highlight = 0
|
||||||
""" CtrlP
|
|
||||||
|
" CtrlP
|
||||||
" Use The Silver Searcher https://github.com/ggreer/the_silver_searcher
|
" Use The Silver Searcher https://github.com/ggreer/the_silver_searcher
|
||||||
if executable('ag')
|
if executable('ag')
|
||||||
" Use Ag over Grep
|
" Use Ag over Grep
|
||||||
|
|
@ -71,22 +79,30 @@ if executable('ag')
|
||||||
let g:ctrlp_use_caching = 0
|
let g:ctrlp_use_caching = 0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
""" Gundo
|
" Gundo
|
||||||
map <leader>u :GundoToggle<CR>
|
map <leader>u :GundoToggle<CR>
|
||||||
|
|
||||||
|
" Indent guides
|
||||||
|
let g:indent_guides_start_level = 2
|
||||||
|
|
||||||
|
" Syntastic
|
||||||
|
let g:syntastic_quiet_messages = {'level': []} " do NOT silence warnings
|
||||||
|
let g:syntastic_aggregate_errors = 1
|
||||||
|
|
||||||
"""" END PLUGIN SETTINGS
|
"""" END PLUGIN SETTINGS
|
||||||
|
|
||||||
let mapleader=","
|
let mapleader=","
|
||||||
set nobackup
|
set nobackup
|
||||||
set noswapfile
|
set noswapfile
|
||||||
set pastetoggle=<F2>
|
set pastetoggle=<F2>
|
||||||
|
set shell=/bin/sh
|
||||||
|
|
||||||
filetype on
|
filetype on
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
syntax on
|
syntax on
|
||||||
|
|
||||||
try
|
try
|
||||||
colorscheme lucius
|
colorscheme jellybeans
|
||||||
catch
|
catch
|
||||||
" deal with it
|
" deal with it
|
||||||
endtry
|
endtry
|
||||||
|
|
@ -102,8 +118,7 @@ if v:version >= 703
|
||||||
"undo settings
|
"undo settings
|
||||||
set undodir=~/.vim/undofiles
|
set undodir=~/.vim/undofiles
|
||||||
set undofile
|
set undofile
|
||||||
|
let &colorcolumn="80,".join(range(120,999), ",")
|
||||||
set colorcolumn=+1 "mark the ideal max text width
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue