Vim 9.0 inosvika nemutauro mutsva wekunyora uye plugins, kuvandudzwa uye nezvimwe

VI

Munguva pfupi yapfuura kuburitswa kweiyo vhezheni itsva yeVim 9.0 yakaziviswa, vhezheni iyo yakatevedzana yekuvandudza inonakidza yakazadzikiswa, iyo yatinogona kuratidza, semuenzaniso, mutauro mutsva wekunyora uye unopindirana, pamwe nerutsva zvirongwa zvemavara, zvigadziriso zvitsva nezvimwe.

Kune avo vasingazive nezveVim, vanofanirwa kuziva kuti ndizvo muchinjika-chikuva chinyorwa chinyorwa yakanyatsogadziriswa rakafuridzirwa ne vi software, chinyorwa chakakurumbira chinyorwa pane UNIX masisitimu. Chinhu chikuru vese Vim naVi ine pakuti vane nzira dzakasiyana pakati pavo dzavanoshandura kuita mamwe mashandiro, iyo inovasiyanisa kubva kune akajairika edhita, ayo ane imwe chete nzira mune mirairo inopindirwa uchishandisa makiyi musanganiswa kana graphical interfaces.

Vim ine yakanakisa zvinyorwa mune zvinyorwa fomati, yakafara chaizvo uye iri nyore kunzwisisa. Mushandisi anogona kuiwana nekutsvaga rondedzero yemabasa akasiyana siyana anogona kugadzirisa dambudziko ravo. Kubudikidza nekuratidzwa kweayo ega syntax yerubatsiro rweVim mazwi akasimbiswa.

Main nyowani maficha eVim 9.0

Mune iyi vhezheni nyowani yeVim 9.0 inoratidzwa, inosimbiswa kuti inosuma mutauro mutsva wekunyora nemaplugins, Vim9 Script, iyo inopa syntax yakafanana neJavaScript, TypeScript, uye Java. Iyo syntax itsva iri nyore kudzidza kune vanotanga, asi zvisingaenderani kumashure yemutauro wekare wekunyora. Panguva imwecheteyo, tsigiro yemutauro wakamboshandiswa uye tsigiro yemaplugins aripo uye zvinyorwa zvakachengetedzwa zvizere: mitauro yekare nemitsva inotsigirwa parutivi.

Pamusoro pekugadzirisa zvakare syntax, Vim9 Script inotsigira akaunganidzwa mabasa iyo inogona kuwedzera zvakanyanya kuita. Mune bvunzo, mabasa akaunganidzwa kune bytecode inobvumirwa kuwedzera kukurumidza kwekuita kwechinyorwa pakati pe10 ne100 nguva.

Zvakare, Vim9 Script yakamira kugadzirisa nharo dzebasa seassociative arrays, izvo zvakakonzera kuwanda kwepamusoro. Mafunctions ave kutsanangurwa ne"def" statement uye anoda runyoro rwakajeka rwenharo nemhando dzekudzoka. Misiyano inotsanangurwa nezwi rekuti "var" rine chimiro chakajeka.

Nekune rimwe divi, zvinoratidzwa zvakare kuti kupatsanura mazwi pamitsetse yakati wandei hakuchadi zvekudzokera kumashure, mukuwedzera kune iyo iyo yekukanganisa nzira yekugadzirisa yakagadziridzwa zvachose uye kuti mabasa haadi "call" keyword kuita, asi. "rega" kugovera kukosha.

Zvakare chinocherechedzwa mukugadzirwa kwakareruka kwemodule kwaive kugona kutumira kunze mabasa ega ega uye zvinosiyana zvekushandisa mune mamwe mafaera. Maonero anopatsanurwa ne"#" pachinzvimbo chemazwi akatorwa kaviri.

Zvevamwe zvinoshandukas izvo zvinomira kunze kweiyi vhezheni itsva yeVim 9.0:

  • Rutsigiro rwekirasi rwakarongwa kuburitswa mune ramangwana.
  • Inosanganisira seti yezvirongwa zvemavara.
  • Rutsigiro rwakavandudzwa rwekutarisa zviperengo uye kupera kwekuisa.
  • Yakawedzera marongero matsva: 'autoshelldir', 'cdhome', 'cinscopedecls', 'guiligatures', 'mousemoveevent', 'quickfixtextfunc', 'spelloptions', 'thesaurusfunc', 'xtermcodes'.
  • Yakawedzera mirairo mitsva: argdedupe, balt, def, defcompile, disassemble, echoconsole, enddef, eval, export, final, import, var, uye vim9script.
  • Iko kugona kuvhura iyo terminal mune popup hwindo (popup terminal) uye sarudza iyo ruvara chirongwa cheiyo terminal inopihwa.
  • Yakawedzera LSP (Mutauro Server Protocol) server yekudyidzana chiteshi maitiro.
  • Yakawedzera rutsigiro rweiyo Haiku inoshanda sisitimu.

Finalmente kana iwe uchifarira kuziva zvakawanda nezvazvo nezve iyi vhezheni nyowani yeVim 9.0, unogona kutarisa iwo ruzivo Mune inotevera chinongedzo.

Maitiro ekuisa Vim 9.0 paLinux?

Kune avo vanofarira kuisa iyi vhezheni itsva, Ivo vanozogona kuzviita nekuita chero yeinotevera mirairo maererano nesisitimu yavo.

Kune avo vari vashandisi veUbuntu uye zvigadzirwa, vanogona kuita izvi nekuwedzera inotevera repository kune system uye kuita iyo Vim yekuisa. Mirairo ndeiyi inotevera:

sudo add-apt-repository ppa:jonathonf/vim-daily

sudo apt-get update

sudo apt install vim

Munyaya yeavo vari vashandisi veArch Linux uye derivatives:

sudo pacman -S vim

Flatpak

flatpak install flathub org.vim.Vim

Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako