Discuss: Retire vim mode?

93 views
Skip to first unread message

Edward K. Ream

unread,
Jun 25, 2019, 6:52:55 AM6/25/19
to leo-editor
Important:  I'm talking about vim mode (@bool vim-mode), not the vim.py plugin.  The vim plugin is here to stay, although it should be improved.

This would be the fourth or fifth time (at least) that a major feature has been retired. All previous retirements have ultimately improved Leo.

Terry and Kent have voted with their feet, and I am grateful to gar for pointing out vim mode's serious problems.

Does anyone actually use vim mode?  If so, how do you work around vim mode's shortcomings?

Edward

Edward K. Ream

unread,
Aug 2, 2019, 3:55:38 PM8/2/19
to leo-editor
On Tuesday, June 25, 2019 at 5:52:55 AM UTC-5, Edward K. Ream wrote:

Important:  I'm talking about vim mode (@bool vim-mode), not the vim.py plugin.  The vim plugin is here to stay, although it should be improved.

Terry and Kent have voted with their feet, and I am grateful to gar for pointing out vim mode's serious problems.

Does anyone actually use vim mode?  If so, how do you work around vim mode's shortcomings?

There has been no direct discussion of this.  #1235 contemplates retiring the code in leoVim.py, along with all associated code and settings. I'll proceed unless I hear protests.

Edward

gar

unread,
Aug 5, 2019, 8:02:57 AM8/5/19
to leo-e...@googlegroups.com
vim mode has a very huge disadvantage that it also tried apply itself when outline were edited. this is very uncommon and inconvenient.
i also recently looked through the supported commands in vim mode - too a few. one will be always stumble when using it.
if thinking about saving vim mode in leo - then need to think how to greatly enhance it. which is really may be done only with injecting of almost-full-featured vim engine like pyvim.
if you retire vim mode - i would be missing it but i am still unable to imagine how i can use it on a regular basis.
and unfortunately there's no developer on the horizon who wishes to make leo behave similar to vim.
so looks like there's no other way but get rid of it.

пт, 2 авг. 2019 г. в 22:55, Edward K. Ream <edre...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/a1592876-43e0-4487-b871-810ef4809097%40googlegroups.com.

Edward K. Ream

unread,
Aug 5, 2019, 8:22:09 AM8/5/19
to leo-editor
On Mon, Aug 5, 2019 at 7:02 AM gar <gar...@gmail.com> wrote:

if thinking about saving vim mode in leo - then need to think how to greatly enhance it. which is really may be done only with injecting of almost-full-featured vim engine like pyvim.

I didn't know about pyvim.  It may be just what Leo needs.
if you retire vim mode - i would be missing it but i am still unable to imagine how i can use it on a regular basis.
and unfortunately there's no developer on the horizon who wishes to make leo behave similar to vim.

I'll see what I can do with pyvim.  Until then, there is no rush to retire Leo's vim mode.

Edward

gar

unread,
Aug 5, 2019, 8:28:46 AM8/5/19
to leo-e...@googlegroups.com
Yes, pyvim is impressive. It is not as powerful as, say, neovim - but still a good attempt to make yet another vim engine. The only possible issue I see here - it is based on prompt_toolkit which may be bounded to some exotic api.
But if there were a chance to include pyvim into leo - it would make leo the best editing platform ever since there's nothing better for text editing then vim.

пн, 5 авг. 2019 г. в 15:22, Edward K. Ream <edre...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+...@googlegroups.com.

Edward K. Ream

unread,
Aug 5, 2019, 8:38:50 AM8/5/19
to leo-editor
On Mon, Aug 5, 2019 at 7:28 AM gar <gar...@gmail.com> wrote:

Yes, pyvim is impressive. It is not as powerful as, say, neovim - but still a good attempt to make yet another vim engine. The only possible issue I see here - it is based on prompt_toolkit which may be bounded to some exotic api.

Let's not give up hope just yet ;-)
But if there were a chance to include pyvim into leo - it would make leo the best editing platform ever since there's nothing better for text editing then vim.

I put an enormous amount of work into Leo's feeble vim mode.  Embedding pyvim into Leo would be worth any amount of work.

Edward

Edward K. Ream

unread,
Aug 5, 2019, 8:42:48 AM8/5/19
to leo-editor
On Monday, August 5, 2019 at 7:38:50 AM UTC-5, Edward K. Ream wrote:

I put an enormous amount of work into Leo's feeble vim mode.  Embedding pyvim into Leo would be worth any amount of work.


Edward
Reply all
Reply to author
Forward
0 new messages