Explorar el Código

javaimport and ,ts

raa0121 hace 10 años
padre
commit
bac2575e67
Se han modificado 1 ficheros con 10 adiciones y 0 borrados
  1. 10 0
      .vimrc

+ 10 - 0
.vimrc

@@ -337,10 +337,19 @@ call neobundle#config('unite-rhythmbox', {
   \ })
 NeoBundle 'rbtnn/vimconsole.vim'
 call neobundle#config('vimconsole.vim', {
+  \ 'lazy' : 1,
   \ 'depends' : 'thinca/vim-prettyprint',
   \ 'autoload' : { 'commands' : 'VimConsoleOpen' }
   \ })
 
+NeoBundle 'kamichidu/unite-javaimport', {
+  \ 'lazy' : 1,
+  \ 'depends' : [
+  \ 'kamichidu/vim-javalang', 'kamichidu/vim-javaclasspath',
+  \ 'Shougo/unite.vim', 'yuratomo/w3m.vim'],
+  \ 'autoload' : { 'filetypes' : ['java', 'scala', 'clojure']}
+  \}
+
 filetype plugin indent on
 if has('clientserver')
   call singleton#enable()
@@ -369,6 +378,7 @@ nnoremap <silent> ,so :so ~/.vimrc<CR>
 nnoremap <silent> ,nu :tabnew +Unite\ neobundle/update<CR>
 nnoremap <silent> ,ll :tabnew +LingrLaunch<CR>
 nnoremap <Esc><Esc> :nohlsearch<CR><ESC>
+nnoremap <silent> ,ts :<C-u>tab stj <C-R>=expand('<cword>')<CR><CR>
 
 if neobundle#is_installed('neocomplcache')
   let g:neocomplcache_enable_at_startup = 1