Add some vim plugins

This commit is contained in:
2017-01-15 20:47:01 +03:00
parent 93089c5903
commit 22b6ed39dc
2 changed files with 20 additions and 8 deletions

View File

@@ -15,7 +15,7 @@ URxvt*scrollWithBuffer: true
URxvt*scrollTtyKeypress: true URxvt*scrollTtyKeypress: true
URxvt*secondaryWheel: true URxvt*secondaryWheel: true
# Dynamic colors ! Dynamic colors
urxvt*dynamicColors: on urxvt*dynamicColors: on
URxvt.urgentOnBell: true URxvt.urgentOnBell: true
@@ -46,7 +46,7 @@ Xft*antialias: true
xterm*faceName:xft:Terminus:size=10:antialias=false xterm*faceName:xft:Terminus:size=10:antialias=false
#include ".Xresources.d/solarized" !#include ".Xresources.d/solarized"
!! 0: black !! 0: black
!*color0: #000000 !*color0: #000000

24
.vimrc
View File

@@ -9,8 +9,16 @@ call vundle#begin()
Plugin 'gmarik/Vundle.vim' Plugin 'gmarik/Vundle.vim'
Plugin 'pydave/AsyncCommand' Plugin 'pydave/AsyncCommand'
Plugin 'tpope/vim-fugitive' Plugin 'tpope/vim-fugitive'
" Plugin 'Lokaltog/vim-easymotion'
Plugin 'Valloric/YouCompleteMe' " Autocomplete
Plugin 'shougo/neocomplete.vim'
" Plugin 'Valloric/YouCompleteMe'
" Plugin 'Shougo/unite.vim'
Plugin 'ervandew/supertab'
"
Plugin 'terryma/vim-multiple-cursors'
Plugin 'Lokaltog/vim-easymotion'
" Ruby/Rails " Ruby/Rails
Plugin 'tpope/vim-rails' Plugin 'tpope/vim-rails'
@@ -20,6 +28,8 @@ Plugin 'tpope/vim-bundler'
" Productivity " Productivity
Plugin 'farseer90718/vim-taskwarrior' Plugin 'farseer90718/vim-taskwarrior'
Plugin 'majutsushi/tagbar'
Plugin 'L9' Plugin 'L9'
" Plugin 'FuzzyFinder' " Plugin 'FuzzyFinder'
" Plugin 'AutoComplPop' " Plugin 'AutoComplPop'
@@ -51,8 +61,6 @@ Plugin 'vim-scripts/vimwiki'
Plugin 'ngmy/vim-rubocop' Plugin 'ngmy/vim-rubocop'
Plugin 'tpope/vim-surround' Plugin 'tpope/vim-surround'
Plugin 'kien/ctrlp.vim' Plugin 'kien/ctrlp.vim'
Plugin 'Shougo/unite.vim'
Plugin 'ervandew/supertab'
Plugin 'mileszs/ack.vim' Plugin 'mileszs/ack.vim'
Plugin 'godlygeek/tabular' Plugin 'godlygeek/tabular'
Plugin 'nathanaelkane/vim-indent-guides' Plugin 'nathanaelkane/vim-indent-guides'
@@ -103,8 +111,8 @@ let g:nerdtree_tabs_autoclose = 0
imap <S-Enter> <Plug>snipMateNextOrTrigger imap <S-Enter> <Plug>snipMateNextOrTrigger
" YouCompleteMe " YouCompleteMe
let g:ycm_key_list_select_completion = ['<TAB>'] " let g:ycm_key_list_select_completion = ['<TAB>']
let g:ycm_key_list_previous_completion = ['<S-TAB>'] " let g:ycm_key_list_previous_completion = ['<S-TAB>']
" Syntastic " Syntastic
" let g:syntastic_ruby_checkers = ['mri'] " let g:syntastic_ruby_checkers = ['mri']
@@ -143,6 +151,7 @@ let g:calendar_focus_today = 1
au BufRead,BufNewFile *.rabl setf ruby au BufRead,BufNewFile *.rabl setf ruby
au BufRead,BufNewFile *.arb setf ruby au BufRead,BufNewFile *.arb setf ruby
au BufRead,BufNewFile *.tag setf coffee " riotjs tags au BufRead,BufNewFile *.tag setf coffee " riotjs tags
au BufRead,BufNewFile *.vue setf coffee " riotjs tags
" silent! nmap <C-f> :FufLine<CR> " silent! nmap <C-f> :FufLine<CR>
" silent! nmap <C-g> :FufCoverageFile<CR> " silent! nmap <C-g> :FufCoverageFile<CR>
@@ -179,6 +188,9 @@ fun! <SID>StripTrailingWhitespaces()
call cursor(l, c) call cursor(l, c)
endfun endfun
" tagbar
nmap <F8> :TagbarToggle<CR>
" Automatically clean trailing whitespaces on save " Automatically clean trailing whitespaces on save
autocmd BufWritePre *.* :call <SID>StripTrailingWhitespaces() autocmd BufWritePre *.* :call <SID>StripTrailingWhitespaces()