1
0
mirror of https://github.com/vbrandl/dotfiles synced 2024-11-23 00:13:49 +01:00
This commit is contained in:
Valentin Brandl 2017-05-12 14:20:02 +02:00
parent e76ae88dfb
commit 320b8f807e
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9
3 changed files with 27 additions and 4 deletions

View File

@ -38,6 +38,9 @@ Plug 'sickill/vim-pasta' " context aware pasting
Plug 'junegunn/goyo.vim' " distraction free writing
Plug 'bronson/vim-trailing-whitespace' " highlight unwanted whitespaces
Plug 'SirVer/ultisnips'
Plug 'honza/vim-snippets'
" Python
Plug 'davidhalter/jedi-vim', { 'for': 'python' } " python autocomplete
@ -55,7 +58,13 @@ function! BuildYCM(info)
endif
endfunction
if has('nvim')
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
endif
if has('vim')
Plug 'Valloric/YouCompleteMe', { 'do': function('BuildYCM') }
endif
" Plug 'artur-shaik/vim-javacomplete2'

View File

@ -386,7 +386,7 @@ let g:notes_directories = ['~/Dokumente/Notes']
let g:polyglot_disabled = ['latex'] " disable latex in polyglot to use vimtex
" you complete me
let g:ycm_rust_src_path = '/usr/src/rust/src'
let g:ycm_rust_src_path = '~/.multirust/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src'
let g:ycm_python_binary_path = 'python'
" " javacomplete2
@ -404,4 +404,8 @@ let g:ycm_python_binary_path = 'python'
" nmap <F7> <Plug>(JavaComplete-Imports-RemoveUnused)
" imap <F7> <Plug>(JavaComplete-Imports-RemoveUnused)
if has('nvim')
let g:deoplete#enable_at_startup = 1
endif
" vim: set filetype=vim ts=8 sw=2 tw=120 noet :

View File

@ -8,6 +8,7 @@ antigen bundle zsh-users/zsh-syntax-highlighting
# autosuggestions based on the history
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle git
antigen bundle gitignore
antigen bundle tmux
antigen bundle tmuxinator
# cargo autocomplete
@ -84,4 +85,13 @@ export LESS_TERMCAP_us=$(printf '\e[04;36m') # enter underline mode - cyan
unsetopt autopushd
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$HOME/.rvm/bin:$PATH"
# export PATH=/home/me/.gem/ruby/2.4.0/bin:$PATH
# Linuxbrew
# export PATH="/home/me/.linuxbrew/bin:$PATH"
# export MANPATH="/home/me/.linuxbrew/share/man:$MANPATH"
# export INFOPATH="/home/me/.linuxbrew/share/info:$INFOPATH"
fpath=(~/.zsh/completions $fpath)
# vim: set filetype=zsh ts=4 sw=4 tw=0 et :