Farewell, spacevim, welcome lazyvim

Today I wanted to add dart support to my spacevim setup, so I opened https://spacevim.org/. What a surprise, I got redirected to https://wsdjeg.net/why-spacevim-is-archived/ that stated

SpaceVim 这一项目起源于 2016 年 12 月份,于 2025 年 2 月 21 日停止维护。

Thanks to Firefox automatic translation I read that

The SpaceVim project originated in December 2016 and was discontinued on February 21, 2025.

Needless to say I was a little mithered. Luckily there are several other “(neo)vim distribition” that turn our beloved editor into a full-fledged IDE. Since I have been told by my fellows of PoUL that even LunarVim is not so healthy I followed their suggestion installing lazyvim.org which is NeoVim-specific but worked out-of-the-box. Well, almost. In fact its dart support require a fairly recent version of NeoVim (0.10+) and I discovered after a while that I was running a not so current release (0.9). After adding flutter/dart support following this Reddit comment, it worked like a breeeze.

Continue reading

5 Must-Have Vim Plugins That Will Change Your Workflow

5 Must-Have Vim Plugins That Will Change Your Workflow. In my case

  • Syntastic: a syntax checking plugin for Vim which runs files through external syntax checkers and displays resulting errors.
  • Fugitive: a Git wrapper for Vim that is self-described as “so awesome, it should be illegal.”
  • Emmet: an extremely useful plugin for web developers. It makes writing and editing HTML, and any language with tags, much easier.

SpaceVim effectively provide alternatives to NERDTree, a file system explorer for Vim

Adding parenthesis around highlighted text in Vim

Lovely, lovely vim

The command

c()<Esc>P

Explanation

If you want to put the word under the cursor in to brackets this is viwc()<Esc>P.

viw will visually select all charactrs in a word.

c() will cchange the selection and drops you into insert mode, where you type the literal characters ( ). Also, c automatically copies the original content to your yank buffer (clip board).

With <Esc>P you return Escback from insert to normal mode and Paste the previous content.

Source: Adding parenthesis around highlighted text in Vim