3 ms·
> Editors don't do that VS code does it at least, if i'm interpreting you correctly. You can position your cursor in the middle of the ligature and change eith
by cevn 5y ago
> Editors don't do that
VS code does it at least, if i'm interpreting you correctly. You can position your cursor in the middle of the ligature and change either side
- seanmcdirmid 5y agoThat sounds pretty nice. Like if you do a backspace into a right pointing arrow (->) does it turn a dash?
- gregmac 5y agoYes. I use ligatures on my system (Windows) and this is true in all IDEs, editors and terminal Windows, including when I SSH to a Linux system and use vim. It really becomes seamless, and you get used to it in a similar way to syntax highlighting or high resolution screen. Yes, I can code on 768p laptop screen with laggy input and a crappy keyboard, but it's not as nice as my usual workstation.
- seanmcdirmid 5y agoI tried it in Visual Studio (not Code) once, and was disappointed by the experience. Perhaps they just got it wrong. Now if only there are any proportional coding fonts with coding ligatures baked in :p.
- NelsonMinar 5y agoI think NF Code does? https://github.com/sgigou/NF-Code https://github.com/sgigou/NF-Code Input and Go Font are the two main coding proportional fonts I know. Neither advertise ligature support. There are hacks to copy ligatures from Fira Code in to other fonts but I don't know if they would work for this purpose. https://github.com/ToxicFrog/Ligaturizer https://github.com/ToxicFrog/Ligaturizer
- seanmcdirmid 5y agoAwesome! I'll definitely take a look at those.
- OkayPhysicist 5y agoI use vim in Windows Terminal as my daily driver, and the terminal definitely treats ligatures as separate characters (taking up multiple character widths, you edit the characters one at a time, etc). I'm mildly curious what editor doesn't, because that would lend significantly greater creedance to the article's arguments.