Search code examples
vimpython-mode

How do I minimize code view in vim after switching to insert mode


An opened .py file in minimized view.

enter image description here

After navigating to a class and switching to **insert mode**

If I want to view the code details I just navigate to the method or class I want and switch to insert Mode as shown below. enter image description here

How do I do I minimize back the code view? I am using vim's Python-mode plug in.


Solution

  • You could use za, which folds/unfolds a fold.