summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2023-07-16 18:53:32 +0200
committerAhmed Abdelhalim <[email protected]>2023-07-16 18:53:32 +0200
commitc55835c0b48f08560587907e269f445af48f6142 (patch)
tree9c8a7a16ef9709f43962958b77850a6097e5ae50
parentc0f50258d1019fa69cf5136e40b2ec888365c6d2 (diff)
Restructure plugins and add comments for the groups
-rw-r--r--.vimrc59
1 files changed, 29 insertions, 30 deletions
diff --git a/.vimrc b/.vimrc
index f8d632a..e8bdd74 100644
--- a/.vimrc
+++ b/.vimrc
@@ -2,41 +2,49 @@
set nocompatible
filetype off
call plug#begin('~/.vim/bundle')
-Plug 'editorconfig/editorconfig-vim'
-Plug 'tpope/vim-fugitive'
-Plug 'tpope/vim-rails'
-Plug 'tpope/vim-endwise'
-Plug 'sheerun/vim-polyglot'
-Plug 'junegunn/gv.vim'
-Plug 'junegunn/limelight.vim'
-Plug 'junegunn/goyo.vim'
-Plug 'vim-scripts/bufexplorer.zip'
+" Auto completion
Plug 'dense-analysis/ale'
Plug 'Shougo/deoplete.nvim'
Plug 'roxma/vim-hug-neovim-rpc'
Plug 'roxma/nvim-yarp', { 'do': 'pip3 install -r requirements.txt' }
+
+" Essential plugins
+Plug 'editorconfig/editorconfig-vim'
+Plug 'tpope/vim-fugitive'
+Plug 'tpope/vim-endwise'
+Plug 'vim-scripts/bufexplorer.zip'
Plug 'Valloric/MatchTagAlways'
Plug 'scrooloose/nerdcommenter'
Plug 'preservim/nerdtree'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'godlygeek/tabular'
+
+" Languages
+Plug 'sheerun/vim-polyglot'
+Plug 'hashivim/vim-terraform'
+Plug 'juliosueiras/vim-terraform-completion'
+Plug 'https://bitbucket.org/sw-samuraj/vim-gradle'
+
+" Snippets
Plug 'SirVer/ultisnips'
+Plug 'honza/vim-snippets'
+
+" Themes
+Plug 'w0ng/vim-hybrid'
+" Plug 'sainnhe/everforest'
+" Plug 'NLKNguyen/papercolor-theme'
+
+" Editor styling
+Plug 'junegunn/gv.vim'
+Plug 'junegunn/limelight.vim'
+Plug 'junegunn/goyo.vim'
+
+" UI Styling
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'airblade/vim-gitgutter'
-Plug 'honza/vim-snippets'
Plug 'majutsushi/tagbar'
-" Plug 'kkoomen/vim-doge'
-Plug 'nvie/vim-flake8'
-Plug 'leafgarland/typescript-vim'
-Plug 'Quramy/tsuquyomi'
-Plug 'hashivim/vim-terraform'
-Plug 'juliosueiras/vim-terraform-completion'
-" Plug 'sainnhe/everforest'
-" Plug 'NLKNguyen/papercolor-theme'
-Plug 'w0ng/vim-hybrid'
-" Plug 'prettier/vim-prettier', { 'do': 'npm install' }
-Plug 'https://bitbucket.org/sw-samuraj/vim-gradle'
+
call plug#end()
syntax on
filetype plugin indent on
@@ -142,15 +150,6 @@ nnoremap <silent> <leader>mh <C-W>H
nnoremap <silent> <leader>mj <C-W>J
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-" => Omni complete functions
-"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-" set omnifunc=csscomplete#CompleteCSS
-" set omnifunc=htmlcomplete#CompleteTags
-" set omnifunc=phpcomplete#CompletePHP
-" set omnifunc=javascriptcomplete#CompleteJS
-" set omnifunc=pythoncomplete#Complete
-
-"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Specific FileTypes configurations
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
autocmd BufNewFile,BufRead *.html.erb set filetype=html " for ruby erb template files