From 4245c60b54d1a9cdc9c245e0a519a70211b353c5 Mon Sep 17 00:00:00 2001 From: mightypanders Date: Sun, 14 Jun 2020 16:36:15 +0200 Subject: [PATCH] vimrc --- vim/.vimrc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/vim/.vimrc b/vim/.vimrc index de230e8..0a678e0 100755 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -27,3 +27,23 @@ let mapleader=" " map h :set cursorline! xnoremap p "_dP nnoremap :noh + +if has('nvim') + call plug#begin(stdpath('data') . '/plugged') + Plug 'junegunn/vim-easy-align' + Plug 'morhetz/gruvbox' + Plug 'Shougo/deoplete.nvim', {'do':':UpdateRemotePlugins'} + Plug 'junegunn/fzf', {'do': {->fzf#install()}} + Plug 'jiangmiao/auto-pairs' + Plug 'machakann/vim-sandwich' + Plug 'machakann/vim-highlightedyank' + Plug 'bling/vim-airline' + Plug 'airblade/vim-gitgutter' + Plug 'rhysd/vim-clang-format' + Plug 'easymotion/vim-easymotion' + call plug#end() + + autocmd vimenter * colorscheme gruvbox + let g:deoplete#enable_at_startup = 1 + let g:clang_format#auto_format=1 +endif