DEV Community


Is there any library that provides vim like interface for python

sharadcodes profile image Sharad Raj (He/Him) ・1 min read

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 ?

Discussion (4)

Editor guide
augustoqueirantes 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

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

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

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.

sharadcodes profile image