From 4ea9832397f6a7841fad77491a56d2724dafb3aa Mon Sep 17 00:00:00 2001 From: Marcel Schneider Date: Mon, 27 Nov 2017 20:22:27 +0100 Subject: [PATCH] Add plugins for java and python --- vimrc.symlink | 11 +++++++++++ zsh/aliases.zsh | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/vimrc.symlink b/vimrc.symlink index 4b22c3f..951c69c 100644 --- a/vimrc.symlink +++ b/vimrc.symlink @@ -78,6 +78,11 @@ let g:clang_library_path='/usr/lib/llvm-4.0/lib/libclang-4.0.so.1' " PHP Plug 'shawncplus/phpcomplete.vim', { 'for': 'php', 'do': 'curl -Ss http://vim-php.com/phpctags/install/phpctags.phar > ~/bin/phpctags && chmod +x ~/bin/phpctags' } +" Python +Plug 'python-mode/python-mode', { 'for': 'python' } + +" Java +Plug 'artur-shaik/vim-javacomplete2', { 'for': 'java' } " All of your Plugins must be added before the following line call plug#end() " required @@ -179,6 +184,12 @@ set statusline+=%{SyntasticStatuslineFlag()} set statusline+=%* let vim_tags_ctags_binary='~/bin/phpctags'" + +" Java config +autocmd FileType java setlocal omnifunc=javacomplete#Complete + +" Python-mode config +let g:pymode_lint_on_write = 0 "}}} " N E O C O M P L E T E {{{ diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index e3546e3..6291a4f 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -1,6 +1,6 @@ # in case its not already thera alias la='ls -la' -alias sagu='sudo apt-get upgrade' +alias sagu='sudo apt update && sudo apt upgrade' alias v='vim '