Просмотр исходного кода

remove unwanted vim plugins

No more sessions, no need for more colorschemes, change undotree to gundo.

Still need to deal with the issue of omnicomplete slowing completion down
tremendously. Can disable it by commenting out the lines at the bottom of
`vimrc`.
Weiyi Lou 12 лет назад
Родитель
Сommit
ca7796e50b
2 измененных файлов с 11 добавлено и 6 удалено
  1. 5 4
      vim/vimrc.bundles.local
  2. 6 2
      vim/vimrc.local

+ 5 - 4
vim/vimrc.bundles.local

@@ -34,7 +34,7 @@
     else
     else
       let autoCompLibrary = 'neocomplcache'
       let autoCompLibrary = 'neocomplcache'
     end
     end
-    let g:spf13_bundle_groups=[autoCompLibrary, 'programming', 'php', 'ruby', 'python', 'go', 'twig', 'javascript', 'haskell', 'html', 'misc', 'scala']
+    let g:spf13_bundle_groups=[autoCompLibrary, 'programming', 'php', 'ruby', 'python', 'javascript', 'haskell', 'html', 'misc']
   endif
   endif
 
 
   " General {
   " General {
@@ -45,7 +45,7 @@
   Bundle 'spf13/vim-autoclose'
   Bundle 'spf13/vim-autoclose'
   Bundle 'kien/ctrlp.vim'
   Bundle 'kien/ctrlp.vim'
   Bundle 'terryma/vim-multiple-cursors'
   Bundle 'terryma/vim-multiple-cursors'
-  Bundle 'vim-scripts/sessionman.vim'
+  "Bundle 'vim-scripts/sessionman.vim'
   Bundle 'matchit.zip'
   Bundle 'matchit.zip'
 
 
   " Removed: We use our own powerline install, which comes with our dotfiles.
   " Removed: We use our own powerline install, which comes with our dotfiles.
@@ -70,8 +70,9 @@
   "Bundle 'godlygeek/csapprox'
   "Bundle 'godlygeek/csapprox'
   "
   "
   Bundle 'jistr/vim-nerdtree-tabs'
   Bundle 'jistr/vim-nerdtree-tabs'
-  Bundle 'flazz/vim-colorschemes'
-  Bundle 'mbbill/undotree'
+  "Bundle 'flazz/vim-colorschemes'
+  "Bundle 'mbbill/undotree'
+  Bundle 'sjl/gundo.vim'
 
 
   " Removed: This is not a fantastic idea, and is slow when working through tunnels.
   " Removed: This is not a fantastic idea, and is slow when working through tunnels.
   "Bundle 'myusuf3/numbers.vim'
   "Bundle 'myusuf3/numbers.vim'

+ 6 - 2
vim/vimrc.local

@@ -245,9 +245,13 @@ let g:vim_markdown_folding_disabled = 1
 """"""""" PIV
 """"""""" PIV
 let g:DisableAutoPHPFolding = 1
 let g:DisableAutoPHPFolding = 1
 
 
-""""""""
-"" Functions
 
 
+""""""""" Remove completion omni in the event that it is too slow
+"let g:neocomplete#sources#omni#input_patterns = {}
+"let g:neocomplcache_omni_patterns = {}
+
+
+""""""""" Source local scripts/plugins
 for filePath in split(globpath('~/dotfiles/vim/settings', '*.vim'), '\n')
 for filePath in split(globpath('~/dotfiles/vim/settings', '*.vim'), '\n')
   execute 'source' filePath
   execute 'source' filePath
 endfor
 endfor