Re: Why vimscript instead of another language? A philosophical or a technical question?

2024-05-02 Thread Marc Chantreux
On Thu, May 02, 2024 at 01:42:50AM -0700, Girish wrote: > There are some specific advantages. Regex handling, for example, as done in > Python of Lua is not so suitable to the needs of an editor. Not to mention that "editor state" specific are just not available |/\%V| \%V \%V

Re: Why vimscript instead of another language? A philosophical or a technical question?

2024-05-02 Thread Girish
There are some specific advantages. Regex handling, for example, as done in Python of Lua is not so suitable to the needs of an editor. You'll end up with many backslashes. Vim script gives you additional tools and implements regex optimally for editor users. On a different note, learn vim9