Wednesday, May 13, 2020

Re: Vim9 - Python/Lua interface

Thank you for your comment.
That is good news.
Glad to hear.

I read about the new features in vim9 here:
https://www.reddit.com/r/vim/comments/ey91bd/i_have_mixed_feelings_for_vim9_script_what_do_you/

and here:
https://github.com/brammool/vim9
(2. Phasing out Interfaces)

Would be great to use python regex in the command line.
Hopefully it'll work out. I'm also thinking of a way to leave python functions just like in vimscript (return).

On Wednesday, May 13, 2020 at 12:54:19 PM UTC+2, rameo wrote:
I first came into contact with Vim about 15 years ago.
A few times I uninstalled it and reinstalled it a while later. After a few months I was convinced it was the best text editor I had ever seen.
I only noticed how much value it had when I wrote scripts in vimrc myself and changed plugins/menu.
Still, I had to get used to Vimscript. A whole new language, not something similar I already knew.
However, I got completely excited when I understood that I could write scripts in Lua and Python.
Why? Because it was not easy to get used to Vimscript and the help I asked on internet sites was rarely answered.
Anyway, I did benefit from the vim_use group but I noticed that I found solutions faster writing in Python.
I knew the language better and there was a huge amount of information online.

Now I recently read on Reddit that there would be some changes in Vim9 and not everyone thought it was a good idea.
Vimscript is going to change in Vim9 to make Vim respond faster. That's a good idea, although Vim is fast enough for me. The fastest editor I've ever seen.
Reading further I read that Vim9 will be without its Python/Lua interface.
That is really a pity.
Instead of removing the Python and Lua interface, why not integrate them even more?
It would be great if we could search in Vim with python regex.
Even if we could program the user input in python code.
People often already know Python and Lua. I think it will bring a much larger amount of users to Vim.

Is it true that the Python and Lua interface will disappear?

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/714c7efa-bc1b-4b4d-b010-c742f4cb40e6%40googlegroups.com.

No comments: