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 ?

Top 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 on

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

Make Your Github Profile Stand Out

Github is great, but have you considered how to make yours more attractive for potential employers or other visitors? Even non-tech ones like recruiters!

Take a couple of hours and show your best side as a person - and a programmer.