Skip to content

Commit

Permalink
use vim plug instead of vundle
Browse files Browse the repository at this point in the history
I was getting tired of getting errors while trying to update or install
plugins due to an open issue in vundle on windows
(<VundleVim/Vundle.vim#575>).

I also had to face the fact that Vundle.vim is not really getting any
updates any more so there's no reason not to switch to another plugin
manager.

Use [vim-plug](https://github.com/junegunn/vim-plug) instead! Seems to
work perfectly without issues.
  • Loading branch information
CrispyDrone committed Jun 20, 2021
1 parent 267404a commit e3377d5
Showing 1 changed file with 19 additions and 25 deletions.
44 changes: 19 additions & 25 deletions _vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ set path+=** " Search down in

set wildmenu " Display all matching files when we tab complete

set rtp+=~/.vim/bundle/Vundle.vim
set rtp+=~/.vim/
set rtp+=$HOME/mysnippets
set directory=$HOME/Dropbox/Notes/_vim/_swp// " store backup, undo, and swap files in special directory
set backupdir=$HOME/Dropbox/Notes/_vim/_backup//
Expand All @@ -38,11 +38,9 @@ set exrc " allow project

set secure " disable unsecure commands in project specific vimrc files

"set sessionoptions-=options " remove certain options from being saved when using mksession command for plugin compatibility reasons
"set sessionoptions-=options " remove certain options from being saved when using mksession command for plugin compatibility reasons

set shell=\"C:\Program\ Files\Git\bin\bash.exe\"
" this currently breaks :!{cmd} and :PluginInstall from Vundle
" see <https://github.com/vim/vim/issues/4950>
set shell=\"$PROGRAMW6432\Git\bin\bash.exe\" " this currently breaks :!{cmd} and :PluginInstall from Vundle

set undofile " enable persistent undo
set backup " ensure that older backup files are automatically deleted
Expand Down Expand Up @@ -300,25 +298,21 @@ endif

"<-------------------- PLUGINS -------------------->

" consider using vim-plug instead because of issues with non-posix shells

filetype off " required
call vundle#begin()
Plugin 'VundleVim/Vundle.vim' " let Vundle manage Vundle, required
Plugin 'altercation/vim-colors-solarized'
Plugin 'CrispyDrone/vim-tasks'
Plugin 'OmniSharp/omnisharp-vim'
Plugin 'SirVer/ultisnips'
Plugin 'honza/vim-snippets'
Plugin 'justinmk/vim-dirvish'
Plugin 'ctrlpvim/ctrlp.vim'
Plugin 'aquach/vim-http-client'
Plugin 'itchyny/calendar.vim'
Plugin 'tpope/vim-surround'
Plugin 'mhinz/vim-startify'
Plugin 'itchyny/lightline.vim'
call vundle#end() " required
filetype plugin indent on " filetype detection on + plugin loading on + indentation on (?)
syntax enable " highlighting and syntax colours enabled
call plug#begin('~/.vim/plugged')
Plug 'junegunn/vim-plug'
Plug 'altercation/vim-colors-solarized'
Plug 'CrispyDrone/vim-tasks'
Plug 'OmniSharp/omnisharp-vim'
Plug 'SirVer/ultisnips'
Plug 'honza/vim-snippets'
Plug 'justinmk/vim-dirvish'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'aquach/vim-http-client'
Plug 'itchyny/calendar.vim'
Plug 'tpope/vim-surround'
Plug 'mhinz/vim-startify'
Plug 'itchyny/lightline.vim'
call plug#end()

"<-------------------- END PLUGINS -------------------->
"

0 comments on commit e3377d5

Please sign in to comment.