|
|
|
|
|
by jonathan_s
4066 days ago
|
|
Hi, thanks for the suggestions!
Actually, the internal representation, is completely separate from the layout. It's not in another repository, but it's decoupled. The key bindings are also separate. Getting emacs bindings is not much more than changing this line [0]. Only adding the bindings for the window management and emacs command line is still to be done. (I know that emacs is actually much more than only its key bindings, but you know what I mean.) The rendering is also independent. There are two backends: vt100 terminals and the windows console. (Honesly, my main focus is vt100, but any render back-end is possible. I think even graphical) The same for the event loops by the way, it can run on a couple of event loops. For instance asyncio. Documentation will follow. prompt-toolkit has already quite a lot of examples, and there's a lot of documentation in the code itself. But I agree that we should keep improving. Cheers! [0] https://github.com/jonathanslenders/pyvim/blob/master/pyvim/... |
|