A VIM plugin to help with importing PyQt5 classes.
Call :PyQt5ImportClass over a word that represents a PyQt5 class.
Map it to a leader shortcut, for example:
map <leader>pi :PyQt5ImportClass<cr>VIM must be compiled with Python3 support.
Add the following to the top of your .vimrc file, so VIM is "tricked" in using Python3.
" Force loading python3
if has('python3')
endifNOTE: this can break plugins
A JSON dump file created by pyqt5-dumper.
Put that JSON file somewhere and do a let g:pyqt5importer_pyqt5_json_path="/path/to/dump.json" to tell the plugin where the JSON file is.
By default it will look for it in ~/.vim/pyqt5.json.
Using vim-plug:
Plug 'robertbasic/vim-pyqt5-importer'