Stories
Slash Boxes
Comments

SoylentNews is people

SoylentNews is powered by your submissions, so send in your scoop. Only 17 submissions in the queue.
posted by martyb on Saturday December 14 2019, @02:09AM   Printer-friendly
from the real-programmers-edit-files-using-cat-and-sed dept.

After more than a year of development the new features are now ready for the Vim crowds. Popup windows make it possible to show messages, function prototypes, code snippets and anything else on top of the text being edited. They open and close quickly and can be highlighted in many ways. More about that in the article.

Vim 8.2 released : vim online

Vim 8.2 is available! Vim 8.2 is a minor release, a lot of bugs have been fixed, documentation was updated, test coverage was improved, etc. There are a few interesting new features, see below.

For MS-Windows, download the self installing executable.
Signed MS-Windows files will soon be available on the vim-win32-installer site
For Unix you probably want to get the latest version using git, see the github page
Otherwise see the Download page for options.

Background:

Before I did the keynote at VimConf 2018 I asked plugin developers what they wanted from Vim. The result was a very long list of requested features. The top two items were clear: Popup windows and text properties.

After more than a year of development the new features are now ready for the Vim crowds. Popup windows make it possible to show messages, function prototypes, code snippets and anything else on top of the text being edited. They open and close quickly and can be highlighted in many ways. More about that below.

This was no small effort. Although the existing window support could be used, popup windows are different enough to require a lot of extra logic. Especially to update the screen efficiently. Also to make it easy for plugin writers to use them; you don't need to tell Vim exactly where to show one, just give a reference point and the text to display, Vim will figure out the size and where the popup fits best.

Text properties can be used for something as simple as highlighting a text snippet or something as complicated as using an external parser to locate syntax items and highlight them asynchronously. This can be used instead of the pattern based syntax highlighting. A text property sticks with the text, also when inserting a word before it. And this is done efficiently by storing the properties with the text.

There's much more at the above link.


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 1, Funny) by Anonymous Coward on Saturday December 14 2019, @03:18AM (2 children)

    by Anonymous Coward on Saturday December 14 2019, @03:18AM (#931928)

    For MS-Windows, download the self installing executable.
    Signed MS-Windows files will soon be available on the vim-win32-installer site

    What? Is not edlin good enough for any Windows user?

    Starting Score:    0  points
    Moderation   +1  
       Funny=1, Total=1
    Extra 'Funny' Modifier   0  

    Total Score:   1  
  • (Score: 2) by barbara hudson on Saturday December 14 2019, @11:04PM (1 child)

    by barbara hudson (6443) <barbara.Jane.hudson@icloud.com> on Saturday December 14 2019, @11:04PM (#932180) Journal

    What? Is not edlin good enough for any Windows user?

    COPY CON > FILENAME.TXT

    If you're going to go old-skule …

    --
    SoylentNews is social media. Says so right in the slogan. Soylentnews is people, not tech.
    • (Score: 2) by coolgopher on Sunday December 15 2019, @01:50AM

      by coolgopher (1157) on Sunday December 15 2019, @01:50AM (#932235)

      Honestly, I've used that a lot more than edlin!

      Edlin was about as much fun as writing assembler directly in debug.exe. Actually, less fun.