Commits

Bernhard Leiner committed 12eb78c

polishing

  • Participants
  • Parent commits 7ee1a33

Comments (0)

Files changed (1)

 set nocompatible               " be iMproved
 filetype off                   " required!
 
-set rtp+=~/.vim/bundle/vundle/
-call vundle#rc()
 
-" --- github plugins
-" let Vundle manage Vundle ( https://github.com/gmarik/vundle/ )
-Bundle 'gmarik/vundle'
-Bundle 'Raimondi/delimitMate'
-Bundle 'majutsushi/tagbar'
-Bundle 'bernh/pss.vim'
-Bundle 'scrooloose/nerdtree'
-Bundle 'scrooloose/nerdcommenter'
-Bundle 'kana/vim-scratch'
-Bundle 'tpope/vim-surround'
-Bundle 'kien/ctrlp.vim'
-Bundle 'altercation/vim-colors-solarized'
+if has("gui_running")
+    set rtp+=~/.vim/bundle/vundle/
+    call vundle#rc()
 
-" from vim-scripts
-Bundle 'a.vim'
-Bundle 'Mark--Karkat'
+    " --- github plugins
+    " let Vundle manage Vundle ( https://github.com/gmarik/vundle/ )
+    Bundle 'gmarik/vundle'
+    Bundle 'Raimondi/delimitMate'
+    Bundle 'majutsushi/tagbar'
+    Bundle 'bernh/pss.vim'
+    Bundle 'scrooloose/nerdtree'
+    Bundle 'scrooloose/nerdcommenter'
+    Bundle 'kana/vim-scratch'
+    Bundle 'tpope/vim-surround'
+    Bundle 'kien/ctrlp.vim'
+    Bundle 'altercation/vim-colors-solarized'
 
-" Brief Help
-" :BundleInstall  - install bundles (won't update installed)
-" :BundleInstall! - update if installed
-" :BundleClean    - uninstall bundles
+    " from vim-scripts
+    Bundle 'a.vim'
+    Bundle 'Mark--Karkat'
+
+    " Brief Help
+    " :BundleInstall  - install bundles (won't update installed)
+    " :BundleInstall! - update if installed
+    " :BundleClean    - uninstall bundles
+endif
 
 filetype plugin indent on
 syntax on
 
 " tagbar
 nnoremap <F3> :TagbarToggle<CR>
-let g:tagbar_type_rst = {           " special settings for rst2ctags usage
+" special settings for rst2ctags usage
+let g:tagbar_type_rst = {
     \ 'ctagstype': 'rst',
     \ 'ctagsbin' : '/home/bernhard/Documents/src/rst2ctags/rst2ctags.py',
     \ 'ctagsargs' : '-f - --sort=yes',