mirror of https://github.com/bjeanes/dotfiles.git
Re-organize bundles
parent
3d7defa2f7
commit
ac5a49f6f0
|
@ -12,36 +12,34 @@ call vundle#rc()
|
||||||
|
|
||||||
" Languages/Syntaxes/Frameworks {{{
|
" Languages/Syntaxes/Frameworks {{{
|
||||||
" Ruby {{{
|
" Ruby {{{
|
||||||
Bundle 'vim-ruby/vim-ruby'
|
Bundle 'vim-ruby/vim-ruby'
|
||||||
Bundle 'tpope/vim-endwise'
|
Bundle 'tpope/vim-endwise'
|
||||||
Bundle 'tpope/vim-rake'
|
Bundle 'tpope/vim-rake'
|
||||||
Bundle 'tpope/vim-haml'
|
Bundle 'tpope/vim-haml'
|
||||||
Bundle 'ecomba/vim-ruby-refactoring'
|
Bundle 'ecomba/vim-ruby-refactoring'
|
||||||
|
|
||||||
" " temporarily disable due to speed issues
|
Bundle 'tpope/vim-cucumber'
|
||||||
" " see: https://github.com/tpope/vim-bundler/issues/4
|
|
||||||
" Bundle 'tpope/vim-bundler'
|
" " temporarily disable due to speed issues
|
||||||
"
|
" " see: https://github.com/tpope/vim-bundler/issues/4
|
||||||
" " Also this:
|
" Bundle 'tpope/vim-bundler'
|
||||||
" Bundle 'tpope/vim-rails'
|
"
|
||||||
|
" " Also this:
|
||||||
|
" Bundle 'tpope/vim-rails'
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Markdown/Textile/etc {{{
|
" Markdown/Textile/etc {{{
|
||||||
Bundle 'tpope/vim-markdown'
|
Bundle 'tpope/vim-markdown'
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Other {{{
|
" HTML/CSS/Javascript {{{
|
||||||
Bundle 'tpope/vim-cucumber'
|
Bundle 'kchmck/vim-coffee-script'
|
||||||
" Bundle 'ap/vim-css-color'
|
Bundle 'pangloss/vim-javascript'
|
||||||
Bundle 'kchmck/vim-coffee-script'
|
Bundle 'css3'
|
||||||
Bundle 'pangloss/vim-javascript'
|
Bundle 'othree/html5-syntax.vim'
|
||||||
Bundle 'css3'
|
" Bundle 'ap/vim-css-color'
|
||||||
Bundle 'othree/html5-syntax.vim'
|
|
||||||
Bundle 'tyok/js-mask'
|
|
||||||
Bundle 'AnsiEsc.vim'
|
|
||||||
Bundle 'thisivan/vim-matchit'
|
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Git {{{
|
" Git {{{
|
||||||
|
@ -116,6 +114,13 @@ call vundle#rc()
|
||||||
imap <Leader>a> <Esc>:Tabularize /=><CR>a
|
imap <Leader>a> <Esc>:Tabularize /=><CR>a
|
||||||
imap <Leader>a: <Esc>:Tabularize /\z:<CR>a
|
imap <Leader>a: <Esc>:Tabularize /\z:<CR>a
|
||||||
|
|
||||||
|
"" Assignments etc
|
||||||
|
" These need more work:
|
||||||
|
" TODO: - keep cursor position
|
||||||
|
" - don't align equals sign if inside hashrocket
|
||||||
|
" inoremap => =><Esc>:Tabularize /=> <CR>a
|
||||||
|
" inoremap = =<Esc>:Tabularize /=<CR>a
|
||||||
|
|
||||||
" Auto-align
|
" Auto-align
|
||||||
"" Cucumber
|
"" Cucumber
|
||||||
inoremap <silent> <Bar> <Bar><Esc>:call <SID>align()<CR>a
|
inoremap <silent> <Bar> <Bar><Esc>:call <SID>align()<CR>a
|
||||||
|
@ -130,13 +135,6 @@ call vundle#rc()
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
"" Assignments etc
|
|
||||||
" These need more work:
|
|
||||||
" TODO: - keep cursor position
|
|
||||||
" - don't align equals sign if inside hashrocket
|
|
||||||
" inoremap => =><Esc>:Tabularize /=> <CR>a
|
|
||||||
" inoremap = =<Esc>:Tabularize /=<CR>a
|
|
||||||
|
|
||||||
Bundle 'scrooloose/nerdcommenter'
|
Bundle 'scrooloose/nerdcommenter'
|
||||||
let NERDSpaceDelims = 1 " space between comment and code
|
let NERDSpaceDelims = 1 " space between comment and code
|
||||||
map // <plug>NERDCommenterToggle
|
map // <plug>NERDCommenterToggle
|
||||||
|
@ -189,6 +187,11 @@ call vundle#rc()
|
||||||
let g:syntastic_disabled_filetypes = ['cucumber']
|
let g:syntastic_disabled_filetypes = ['cucumber']
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
|
" Other {{{
|
||||||
|
Bundle 'AnsiEsc.vim'
|
||||||
|
Bundle 'thisivan/vim-matchit'
|
||||||
|
" }}}
|
||||||
|
|
||||||
autocmd BufWritePost bundles.vim source ~/.vim/bundles.vim
|
autocmd BufWritePost bundles.vim source ~/.vim/bundles.vim
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue