DEV Community

Sharad Raj (He/Him)
Sharad Raj (He/Him)

Posted on

Is there any library that provides vim like interface for python

I need a suggestion for implementing split terminals, like vim has one for commands and one for file editing.
is there any library for that ?

Latest comments (4)

Collapse
 
augusto_queirantes profile image
Augusto Queirantes

As far as I know you can use vim's default resources, you just need to split your session using vertical or horizontal split then run :terminal, after it the current session will enable a terminal session for you do whatever you want to. I use vim as my personal editor and do it all the time

Collapse
 
sharadcodes profile image
Sharad Raj (He/Him) • Edited

Any resources? I mean I've to lauch the terminals from the Python itself.

Collapse
 
waylonwalker profile image
Waylon Walker

Look at curses or ncurses. It looks like they can do it. Any time I have looked at them they have been overkill for my use case.

Collapse
 
sharadcodes profile image
Sharad Raj (He/Him)

Thanks