summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2017-05-25 22:54:12 +0200
committerAhmed Abdelhalim <[email protected]>2017-05-25 23:52:46 +0200
commitef82aa09ebcffb3e86cc9bbd2af8ba712325484c (patch)
tree64b68a2b40279e24f13f43365359c45e0cddad9c /.vimrc
parent6e62db15971426fc44885b48f93314f6fb2c2682 (diff)
FEAT 🚀: move from Vundle to Plug manager
DOCS: 🤓 Plug install and update
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc81
1 files changed, 39 insertions, 42 deletions
diff --git a/.vimrc b/.vimrc
index f76ebf6..4dc54f2 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1,47 +1,43 @@
" Vundle Required Block and plugins
set nocompatible
filetype off
-set rtp+=~/.vim/bundle/Vundle.vim
-call vundle#begin()
-
-Plugin 'VundleVim/Vundle.vim'
-
-Plugin 'editorconfig/editorconfig-vim'
-Plugin 'tpope/vim-fugitive'
-Plugin 'tpope/vim-rails'
-Plugin 'tpope/vim-endwise'
-" Plugin 'tpope/vim-surround'
-" Plugin 'tpope/vim-haml'
-Plugin 'vim-scripts/bufexplorer.zip'
-" Plugin 'vim-scripts/matchit.zip'
-Plugin 'Valloric/YouCompleteMe'
-Plugin 'Valloric/MatchTagAlways'
-Plugin 'scrooloose/nerdcommenter'
-Plugin 'scrooloose/nerdtree'
-Plugin 'ctrlpvim/ctrlp.vim'
-Plugin 'godlygeek/tabular'
-Plugin 'SirVer/ultisnips'
-Plugin 'vim-airline/vim-airline'
-Plugin 'vim-airline/vim-airline-themes'
-" Plugin 'kchmck/vim-coffee-script'
-Plugin 'airblade/vim-gitgutter'
-" Plugin 'maksimr/vim-jsbeautify'
-Plugin 'ngmy/vim-rubocop'
-Plugin 'elzr/vim-json'
-Plugin 'honza/vim-snippets'
-Plugin 'majutsushi/tagbar'
-" Plugin 'szw/vim-ctrlspace'
-" Plugin 'vim-ruby/vim-ruby'
-" Plugin 'nvie/vim-flake8'
-Plugin 'junegunn/limelight.vim'
-" Plugin 'junegunn/goyo.vim'
-" Plugin 'mustache/vim-mustache-handlebars'
-" Plugin 'diepm/vim-rest-console'
-Plugin 'nathanaelkane/vim-indent-guides'
-Plugin 'mhinz/vim-startify'
-Plugin 'ElmCast/elm-vim'
-
-call vundle#end()
+call plug#begin('~/.vim/bundle')
+Plug 'editorconfig/editorconfig-vim'
+Plug 'tpope/vim-fugitive'
+Plug 'tpope/vim-rails', { 'for': 'ruby' }
+Plug 'tpope/vim-endwise', { 'for': 'ruby' }
+" Plug 'tpope/vim-surround'
+" Plug 'tpope/vim-haml', { 'for': 'haml' }
+Plug 'junegunn/gv.vim', { 'on': ['GV', 'GV!'] }
+Plug 'junegunn/limelight.vim'
+Plug 'junegunn/goyo.vim', { 'for': 'markdown' }
+Plug 'vim-scripts/bufexplorer.zip'
+" Plug 'vim-scripts/matchit.zip'
+Plug 'Valloric/YouCompleteMe', { 'do': './install.py' }
+Plug 'Valloric/MatchTagAlways', { 'for': 'html' }
+Plug 'scrooloose/nerdcommenter'
+Plug 'scrooloose/nerdtree'
+Plug 'ctrlpvim/ctrlp.vim'
+Plug 'godlygeek/tabular'
+Plug 'SirVer/ultisnips'
+Plug 'vim-airline/vim-airline'
+Plug 'vim-airline/vim-airline-themes'
+" Plug 'kchmck/vim-coffee-script', { 'for': 'coffee' }
+Plug 'airblade/vim-gitgutter'
+" Plug 'maksimr/vim-jsbeautify', { 'for': 'js' }
+Plug 'ngmy/vim-rubocop', { 'for': 'ruby' }
+Plug 'elzr/vim-json', { 'for': ['js', 'json'] }
+Plug 'honza/vim-snippets'
+Plug 'majutsushi/tagbar'
+" Plug 'szw/vim-ctrlspace'
+" Plug 'vim-ruby/vim-ruby'
+" Plug 'nvie/vim-flake8'
+" Plug 'mustache/vim-mustache-handlebars'
+" Plug 'diepm/vim-rest-console'
+Plug 'nathanaelkane/vim-indent-guides'
+Plug 'mhinz/vim-startify'
+Plug 'ElmCast/elm-vim', { 'for': 'elm' }
+call plug#end()
syntax on
filetype plugin indent on
" End of Vundle Required Block and plugins
@@ -96,7 +92,7 @@ set noeb vb t_vb=
" set cursorline " highlight current line
" set nocursorline " don't highlight current line
set splitbelow " position the preview window below current windows
-set mouse=a "enable mouse movements, default set mouse=
+set mouse=a " enable mouse movements, default set mouse=
" set vim startup faster
if !empty(&viminfo)
@@ -259,3 +255,4 @@ highlight IndentGuidesEven ctermbg=235
"ElmVim
"======
let g:elm_setup_keybindings = 0
+let g:elm_format_autosave = 0