From 67691dce643d0bd9df78865804df7847c6090667 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 22 May 2015 12:20:34 +0100 Subject: added plugins YCM and YCM_generator --- install.sh | 4 +++- nvimrc | 9 ++++++--- vimrc | 1 + zshrc | 1 - 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index a68cd40..ba23b6b 100755 --- a/install.sh +++ b/install.sh @@ -59,16 +59,18 @@ for author in "${!repos[@]}"; do fi done -# Installing autoload package manager +# Installing vim-plug vim package manager cd $dir/nvim if [ -e autoload ]; then rm -rf autoload fi mkdir -p autoload ln -s $dir/nvim/vim-plug/plug.vim $dir/nvim/autoload/plug.vim +sudo pip install neovim # Creating temporary file for mutt cd $dir +mkdir -p nvim/vimundo mkdir -p mutt/temp echo -e "\n*** Installation successful *** \n" diff --git a/nvimrc b/nvimrc index 3cf59e5..c32c6e5 100644 --- a/nvimrc +++ b/nvimrc @@ -1,10 +1,8 @@ "" Plugins call plug#begin('~/.nvim/plugged') -Plug 'AndrewRadev/splitjoin.vim' -Plug 'LaTeX-Box-Team/latex-box' -Plug 'SirVer/ultisnips' Plug 'airblade/vim-gitgutter' Plug 'altercation/vim-colors-solarized' +Plug 'AndrewRadev/splitjoin.vim' Plug 'benekastah/neomake' Plug 'bling/vim-airline' Plug 'christoomey/vim-tmux-navigator' @@ -17,9 +15,12 @@ Plug 'jamessan/vim-gnupg' Plug 'jeetsukumaran/vim-buffergator' Plug 'junegunn/seoul256.vim' Plug 'kien/ctrlp.vim' +Plug 'LaTeX-Box-Team/latex-box' Plug 'majutsushi/tagbar' +Plug 'rdnetto/YCM-Generator', { 'branch' : 'stable' } Plug 'scrooloose/nerdtree' Plug 'scrooloose/syntastic' +Plug 'SirVer/ultisnips' Plug 'sjl/Gundo.vim' Plug 'terryma/vim-multiple-cursors' Plug 'tomasr/molokai' @@ -33,6 +34,7 @@ Plug 'tpope/vim-scriptease' Plug 'tpope/vim-sensible' Plug 'tpope/vim-surround' Plug 'tpope/vim-unimpaired' +Plug 'Valloric/YouCompleteMe' , { 'for' : 'cpp' } call plug#end() "" Plugins options @@ -173,6 +175,7 @@ nnoremap pi :PlugInstall nnoremap pu :PlugUpdate nnoremap pc :PlugClean nnoremap pd :PlugDiff +nnoremap ps :PlugStatus " Toggles nnoremap cop :set paste! diff --git a/vimrc b/vimrc index 5ad3b76..d722075 100644 --- a/vimrc +++ b/vimrc @@ -35,6 +35,7 @@ Plugin 'tpope/vim-scriptease' Plugin 'tpope/vim-sensible' Plugin 'tpope/vim-surround' Plugin 'tpope/vim-unimpaired' +Plugin 'rdnetto/YCM-Generator' filetype plugin indent on syntax on diff --git a/zshrc b/zshrc index 856b308..1807f5f 100644 --- a/zshrc +++ b/zshrc @@ -31,7 +31,6 @@ alias -s cpp=$EDITOR alias -s c=$EDITOR alias -s tex=$EDITOR alias -s pdf=zathura -alias -s py=$EDITOR # Directories alias u='cd ~/Dropbox/phd/papers/spectral/code/finite' -- cgit v1.2.3 From 50df1f8c8255783a7fd11bc26d131127ea63a43f Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 22 May 2015 12:43:00 +0100 Subject: added ycm configuration --- nvimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nvimrc b/nvimrc index c32c6e5..66581a5 100644 --- a/nvimrc +++ b/nvimrc @@ -96,6 +96,10 @@ let NERDTreeIgnore=['\.pdf$', '\~$','\.toc$', \ '\.out$', '\.log$','\.aux$','\.sty$', \ '\.fdb_latexmk$', '\.synctex.gz$','\.latexmain$'] +let g:ycm_key_list_select_completion = ['', ''] +let g:ycm_key_list_previous_completion = ['', ''] +let g:ycm_auto_trigger = 1 + "" Vim options " Tabs and indent -- cgit v1.2.3 From 950154571fdab323d76650b1371fb9efe75615fa Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 22 May 2015 12:50:44 +0100 Subject: minor changes --- .gitignore | 17 +++++++++-------- nvimrc | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 21ba45a..567c7a1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,15 +1,16 @@ mutt/cache/ +mutt/cache/ +mutt/cache/headers mutt/mailboxes/ -vim/vimundo/* -vim/bundle/ +mutt/mutt-colors-solarized/ +mutt/temp/ +newsbeuter +nvim/autoload/ nvim/plugged/ nvim/vim-plug/ -nvim/autoload/ nvim/vimundo/ vifm/Trash -vifm/vimfiles vifm/vifminfo -mutt/mutt-colors-solarized/ -mutt/temp/ -mutt/cache/ -mutt/cache/headers +vifm/vimfiles +vim/bundle/ +vim/vimundo/* diff --git a/nvimrc b/nvimrc index 66581a5..88938eb 100644 --- a/nvimrc +++ b/nvimrc @@ -34,7 +34,7 @@ Plug 'tpope/vim-scriptease' Plug 'tpope/vim-sensible' Plug 'tpope/vim-surround' Plug 'tpope/vim-unimpaired' -Plug 'Valloric/YouCompleteMe' , { 'for' : 'cpp' } +Plug 'Valloric/YouCompleteMe' call plug#end() "" Plugins options -- cgit v1.2.3