Is nice! It transparently got all vim’s configs plugins and they seems to work!
set runtimepath^=~/.vim runtimepath+=~/.vim/after let &packpath = &runtimepath source ~/.vimrc
jedi-vim and deoplete
deoplete for faster completions, jedi-vim for goto and friends.
let g:jedi#usages_command = "<leader>n" let g:jedi#goto_command = "<leader>d" let g:jedi#rename_command = "<leader>r" let g:jedi#documentation_command = "K"
But it didn’t work for packages not living inside the default python environment, and manually each venv would be tedious. poet-v to the rescue!
let g:poetv_executables = ['poetry'] map <leader>va :PoetvActivate<CR>
To select on enter, had to add this to vimrc/nvimrc:
In general deoplete faq in vim help is much longer than the one on their github repo.
nvie/vim-flake8: Flake8 plugin for Vim,
<F7> to run it on the current buffer.