Hmmm decisions decisions. As an #OpenBSD user I usually prefer #vim with just 2 plugins installed my gruvbox theme and colorizer to color html color codes. But I'm wondering if I really need syntax highlighting and theme support ? You can see my rough and I mean rough .kshrc side by side in vim and vi. I do like a splash of color and do enjoy the command completion though so I guess I will tinker with n(vi) further. #vi

@justine

Align

I'd really miss that Vim plugin.

I write code with a lot array mathematical operations, so vertical alignment is important so I can see, visually, whether I've done The Right Thing™.

I also use digraphs in Vim to put Greek letters in my code, at least where it's visually distinct. (I confess this is evil, but 'ε' instead of 'epsilon' makes the lines *so* much shorter.)

I used to like Python with tabs, because I could set Vim to display the tabs as dim red lines so that I could see the alignment of loop and condition blocks. (This, however, is a battle I have lost.)

@justine

Rob Pike famously wrote: "Syntax highlighting is juvenile. When I was a child, I was taught arithmetic using colored rods (http://en.wikipedia.org/wiki/Cuisenaire_rods). I grew up and today I use monochromatic numerals."

When people kept arguing for syntax highlightning on the Go Playground, he followed up with: "When I was a child, I used to speak like a child, think like a child, reason like a child; when I became a man, I did away with childish things."

For most it's a matter of personal preference. For me... I don't really notice it either way. On my personal devices I have things setup with gruvbox theme, but I don't /need/ syntax highlighting to edit stuff when logging on to somebody elses servers.

Cuisenaire rods - Wikipedia

Very true and thanks.

@justine I use this one interchangeably with catuppccin as my mood takes me; it makes some good points in the readme about how highlighting should work. (Neovim version as that’s what I’m on but I assume there will be a vim version somewhere)

Edit: forgot the link! https://github.com/dchinmay2/alabaster.nvim

GitHub - dchinmay2/alabaster.nvim: Neovim port of tonsky's alabaster for Sublime Text.

Neovim port of tonsky's alabaster for Sublime Text. - dchinmay2/alabaster.nvim

GitHub

@justine Syntax highlighting is like having flush toilets.

Sure, you can do without, but why should you?

@justine nvi here. I’d use the base vi, but I need Unicode, so be nvi.
Thanks Antonio. I have Unicode symbols in some of my scripts but I'm wondering if I actually need them as they are just for display ? If I decide that I do them I will be switching to nvi2 but for now I'm going to try my hand at OpenBSD's default n(vi).
@justine It always depends on what you need. I’m using OpenBSD not for coding but for writing, and sometimes I use Japanese, so I can’t avoid them.😅