Browse Source

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 years ago
parent
commit
ca7796e50b
2 changed files with 11 additions and 6 deletions
  1. 5 4
      vim/vimrc.bundles.local
  2. 6 2
      vim/vimrc.local

+ 5 - 4
vim/vimrc.bundles.local

@@ -34,7 +34,7 @@
     else
       let autoCompLibrary = 'neocomplcache'
     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
 
   " General {
@@ -45,7 +45,7 @@
   Bundle 'spf13/vim-autoclose'
   Bundle 'kien/ctrlp.vim'
   Bundle 'terryma/vim-multiple-cursors'
-  Bundle 'vim-scripts/sessionman.vim'
+  "Bundle 'vim-scripts/sessionman.vim'
   Bundle 'matchit.zip'
 
   " Removed: We use our own powerline install, which comes with our dotfiles.
@@ -70,8 +70,9 @@
   "Bundle 'godlygeek/csapprox'
   "
   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.
   "Bundle 'myusuf3/numbers.vim'

+ 6 - 2
vim/vimrc.local

@@ -245,9 +245,13 @@ let g:vim_markdown_folding_disabled = 1
 """"""""" PIV
 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')
   execute 'source' filePath
 endfor