Take a look at Martin Brochhaus's video, today I also tried to configure the Vim Python IDE
You only need to https://github.com/wyj1239630590/vim-as-a-python-ide in the future, and then copy the. VIMRC to the home directory, install the Package Manager with the required plug-in (the. VIMRC comment file).
Currently supported features:
, + M or N: Toggle tab before and after
CTRL + > or <: Increase or Decrease indent for selected rows
F and F: folding or collapsing functions in Python
CTRL + P: Lists all the files under the current folder, and one of the filenames in the selected column can do the following:
CTRL + T: Add a new tab
CTRL + V: Use the split screen to add a new tab, you can use CTRL + H or CTRL + L to switch between multi-split screen windows
, + B: Set breakpoints, open new terminal execution file can run to breakpoint debugging
Args: View all variables in the current environment
Type<variable>: You can view all member functions defined by the type that corresponds to the current variable
Subsequent work that can be updated:
Add Auto-Complete modules
The shell that can add online debugging in the lower window is best
Add Awesome top Python plugin
Refer to Awesome:[email protected] to configure
Reference
https://www.youtube.com/watch?v=YhqsjUUHj6g
Vim as Python IDE