trying out neovim

I see people talking about how awesome Neovim is, so I’m going to give it a shot.

I’m starting with the NvChad example config.

git clone https://github.com/NvChad/NvChad ~/.config/nvim

I had a bit of a false start on my Raspberry Pi Zero W. There’s no X installed on it and the system is pretty spartan. I had browsed to the github page with w3m under a tmux session, and after much searching I finally found the information about cloning it right over the path in .config but nothing happened. I tried again under MacOS on my laptop and it complained about missing npm. I switched to a brew environment and that made it happer, but the UI was pretty terrible, so now I’m on my mac, but under Linux, and waiting for the base config to finish fetching all the stuff it needs.

A few items complained about an unsupported architecture but I didn’t catch it all because I inadvertantly hit escape and it dismissed everything.

But it looked a little better and :Telescope appeared to actually do stuff, so the install must be sort of working.

Relaunched it under kitty and it looks much nicer. There are lots of really nice colors.

Not sure why :q is causing the creation of a new tab and leaving the document open in the previous tab. (tabufline?)

Neovim works best on my PinePhone Pro (which I’ve literally said never about anything) and :Telescope is the coolest thing ever. It makes use of ripgrep to do a live grep. I was able to do stuff like ^tags:.*stoic for example. It was lightning fast and provided me with a list of all my notes with the stoic tag.

I figured out that tabufline was responsible for the space eating non-tab tabs at the top of the screen showing all the buffers. Some people may like that, but I do not. I disabled it in the ~/.config/nvim/lua/core/default_config.lua but later learned that was the wrong place to do it. I haven’t updated that yet. I’m finding that the Intellisense style popups with every word I type to be extremely annoying.

Mysteriously gq doesn’t work to reformat a paragraph. I have to use gw instead.

It seems that gq invokes whatever the linter knows about a code reformat, so it makes sense that my Markdown documents can’t be manually re-wrapped with gq.

I’ve temporarily abandoned it out of frustration but I’ll return to it in a few days when I need that awesome live grepping functionality to look stuff up in my notes.

Tags

#vim

#neovim

#raw

Navigation

index

tags

updated: 2023-09-16 22:26:59

generated: 2024-10-15


Source