diff options
author | Urbain Vaes <urbain@vaes.uk> | 2015-05-22 12:20:34 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2015-05-22 12:20:34 +0100 |
commit | 67691dce643d0bd9df78865804df7847c6090667 (patch) | |
tree | 36bee9b844bf8a1a0fd5d207706b9772470549a1 | |
parent | 2f5628ebbc2abe38211baaf1472ce2cbdc7d38ea (diff) |
added plugins YCM and YCM_generator
-rwxr-xr-x | install.sh | 4 | ||||
-rw-r--r-- | nvimrc | 9 | ||||
-rw-r--r-- | vimrc | 1 | ||||
-rw-r--r-- | zshrc | 1 |
4 files changed, 10 insertions, 5 deletions
@@ -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" @@ -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 <Leader>pi :PlugInstall<cr> nnoremap <Leader>pu :PlugUpdate<cr> nnoremap <Leader>pc :PlugClean<cr> nnoremap <Leader>pd :PlugDiff<cr> +nnoremap <Leader>ps :PlugStatus<cr> " Toggles nnoremap cop :set paste!<cr> @@ -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 @@ -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' |