DaemonForums  

Go Back   DaemonForums > Miscellaneous > Programming

Programming C, bash, Python, Perl, PHP, Java, you name it.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5 Days Ago
victorvas victorvas is offline
Real Name: Victor
Linux
 
Join Date: May 2019
Posts: 142
Question Vim9 Script - worth learning?

Vim 9.0, the new version of my favorite text editor has been released.
They replaced the old VimScript with new Vim9 Script, breaking compatibility with older versions of Vim and broke the compatibility with Vi text editor.
I have 2 options:
1. Learn the new Vim9 Script and rewrite my Vim config.
2. Learn Lua programming language, switch from Vim to NeoVim and rewrite my config in Lua.
Which one should I do?
Reply With Quote
  #2   (View Single Post)  
Old 5 Days Ago
roddierod's Avatar
roddierod roddierod is offline
Real Name: Rod Person
VPN Cryptographer
 
Join Date: Apr 2008
Location: Pittsburgh, Pa
Posts: 434
Default

I installed Vim9 on my windows installation and my old config works just fine except one plugin - YouCompleteMe - which seems not to be able to find Python.

From my brief reading of VimScript doc it looks to mostly target plugin creators.

This is in no way exhaustive, I installed Vim9...used my existing config.
Did :PluginInstall to get my vundle plugins installed.
Ran it and did stuff. Works.

YMMV.
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick
Reply With Quote
  #3   (View Single Post)  
Old 4 Days Ago
Prevet Prevet is offline
Package Pilot
 
Join Date: Oct 2017
Posts: 206
Default

You forgot option 3. Learn the standard editor. It hasn't broken compatibility in 50 years. You can use whatever scripting language you like with it.

This thread just reminded me, I said I would upload my ed(1) scripts when this forum gets https. I forgot about that.
Reply With Quote
  #4   (View Single Post)  
Old 4 Days Ago
victorvas victorvas is offline
Real Name: Victor
Linux
 
Join Date: May 2019
Posts: 142
Default

roddierod, if my old config will work in Vim9, then I have nothing to worry about, thanks!
Prevet, ed scripts? Sounds interesting!
Reply With Quote
Reply

Tags
vim9 script

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Learning to script... RJPugh Programming 7 9th November 2014 08:04 PM
Apache: Old, out of touch, but worth it... : GitHub who? J65nko News 1 3rd December 2011 01:21 PM
ZFS, is it worth for my fileserver? gkontos FreeBSD General 7 21st November 2009 04:41 PM
Is it worth upgrading this laptops RAM TerryP General Hardware 4 17th January 2009 04:56 AM
Is such a course worth the time/money? TerryP Off-Topic 21 4th November 2008 08:05 PM


All times are GMT. The time now is 11:23 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick