diff options
author | Urbain Vaes <urbain@vaes.uk> | 2015-05-22 13:50:28 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2015-05-22 13:50:28 +0100 |
commit | 677806e0d06cde5fa6245f9e6db92f2ec71539b1 (patch) | |
tree | 8ecea52c09df661a95f7ac5c2aecb15d34ef174c | |
parent | a47b7d8aad8e39eb25342fa26d1e3a4222b0871a (diff) | |
parent | 950154571fdab323d76650b1371fb9efe75615fa (diff) |
Merge branch 'master' of github.com:uvaes/dotfiles
Conflicts:
nvimrc
-rw-r--r-- | .gitignore | 17 | ||||
-rwxr-xr-x | install.sh | 4 | ||||
-rw-r--r-- | nvimrc | 17 | ||||
-rw-r--r-- | vimrc | 1 | ||||
-rw-r--r-- | zshrc | 1 |
5 files changed, 24 insertions, 16 deletions
@@ -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/* @@ -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 auxiliary files for mutt cd $dir +mkdir -p nvim/vimundo mkdir -p mutt/temp mkdir -p mutt/cache mkdir -p mutt/cache/bodies @@ -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,10 +15,14 @@ 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 'szw/vim-ctrlspace' Plug 'terryma/vim-multiple-cursors' Plug 'tomasr/molokai' Plug 'tommcdo/vim-exchange' @@ -33,9 +35,8 @@ Plug 'tpope/vim-scriptease' Plug 'tpope/vim-sensible' Plug 'tpope/vim-surround' Plug 'tpope/vim-unimpaired' - -Plug 'szw/vim-ctrlspace' Plug 'troydm/zoomwintab.vim' +Plug 'Valloric/YouCompleteMe' call plug#end() "" Plugins options @@ -102,6 +103,10 @@ let NERDTreeIgnore=['\.pdf$', '\~$','\.toc$', \ '\.out$', '\.log$','\.aux$','\.sty$', \ '\.fdb_latexmk$', '\.synctex.gz$','\.latexmain$'] +let g:ycm_key_list_select_completion = ['<C-n>', '<Down>'] +let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>'] +let g:ycm_auto_trigger = 1 + "" Vim options " Tabs and indent @@ -181,6 +186,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> @@ -252,4 +258,3 @@ augroup autocommands \ exe "normal! g`\"" | \ endif augroup END - @@ -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' |