Rayquaza01

joined 10 months ago
[–] [email protected] 1 points 6 months ago

Is the LSP support in nvim better than what you can get with plugins? I'm using coc.nvim with vim and yeah it is really cool.

I didn't know about that :term difference. I think I prefer vim's behavior there.

If you have :set hidden, then the current buffer will be hidden when you open a different file, and you won't be prompted. Without it, vim doesn't allow hidden buffers and will discard the buffer when you open a different file (which is why it prompts you). Vim's defaults are very odd sometimes.

Huh, that cw behavior in vi does seem pretty jarring. Interesting, though. It makes sense why it was like that.

[–] [email protected] 5 points 6 months ago* (last edited 6 months ago) (2 children)

I mean, most of those things can be done in regular vim too. I'm probably going to switch eventually, but I haven't really had any issues with vim that would motivate me to switch, and I haven't really encountered anything super useful that nvim has that vim can't also do. Though, I'll admit lua is tempting, and better defaults are certainly a plus!

For search highlighting, the relevant options are :set hlsearch and :set incsearch. nvim just has those enabled by default. nvim also has a binding Ctrl+L to clear the search highlight. This isn't in vim by default, but the vim-sensible plugin also adds it.

What do you mean by cw putting a dollar sign? I don't think I've ever encountered that.

Edit: the vim syntax for Ctrl+L got eaten by markdown.

[–] [email protected] 4 points 7 months ago (1 children)

I've only played a couple zachtronics games before, but they're all really fun and indepth programming/factory puzzle games. I've seen them compared to Factorio before, and I think it's apt. Instead of building one large factory across the game, every level asks you to build a self contained factory.

The two I've played before are TIS-100 and SHENZHEN I/O, both of which involve solving puzzles using a simple assembly language.

[–] [email protected] 4 points 7 months ago

If your history isn't working, it's probably because you're blocking s.youtube.com. If you whitelist that, history should work again.