Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Brosyl3430186dLook for an alias in default .bashrc 😉
(At least that's how it is in Manjaro ¯\_(ツ)_/¯ )
@Brosyl I'm using zsh here... The file /usr/bin/vi is described as follows:
$ file /usr/bin/vi
/usr/bin/vi: symbolic link to /etc/alternatives/vi
As for that alternatives file:
$ file /etc/alternatives/vi
/etc/alternatives/vi: symbolic link to /usr/bin/vim.basic
Hence why it's an issue with update-alternatives. Just looked through "apt search vi" output in vim as well and it doesn't seem like Canonical provides vi at all. Fucking amazing -.-
Thanks for the suggestion though! I really appreciate it :)
@sudo-rm-rf thanks, that looks like a more permanent solution. Just applied it and vi is now installed as its own package.
Now the question is, WHY THE FUCK DID CANONICAL CALL THIS SHIT NVI?! Who would look at N of all places when they have to go through 100k lines from "apt search vi"? For fuck's sake, Canonical sure works in mysterious ways... Anyway, solved now. Thanks man :)
beegC0de1042186dI haven't experienced these scrolling issues you speak of, is it a buffer size issue?
@beegC0de it's introduced in Insider Preview.. but apparently most of the Microsoft chaps are currently on vacation so they didn't fix it yet.
Which is (obviously, it's always a dupe) duplicate of:
22 days in and still no fix.. fix-inbound, really Microsoft?!
AgeOfRanterance76186dWell, their README.md has an appropriate remark:
"This repo is monitored by the Windows Console engineering team, and provides a best-effort, informal support option for the community. Your patience is appreciated!"
@AgeOfRanterance As mentioned in the rant, this is not a WSL issue other than the fact that Vim renders incorrectly in Insider Previews for which 4 issues have been filed so far.
As for the Vim vs Vi issue which is due to Ubuntu (which again got mentioned in the rant) that's already solved by installing nvi.
@pily I've removed nvi just now (will install soon after because that's the solution) and got returned /usr/bin/vi which as mentioned before once again, is linked to alternatives (vim).
This issue is solved and if I could close comments here, I would without a second thought.
pily511186dAlso I just found out on Wikipedia that nvi is not even vi, but a reimplementation to get around some licensing issues and that it's the default for BSD systems. So that really is another program
Condor34565182d@Brosyl Mostly because it didn't experience the scrolling issue that was present on Insiders Fast ring (build 17704). I was ready to discard syntax highlighting and common navigation for that.. just imagine how infuriating it was to get only the last scroll in your vim rendered in order to justify that...
Luckily that's now solved. I've reinstalled Windows due to update issues (disabling a service and adding a registry key to avoid Telemetry broke Windows Update, go figure) and now I'm back at 17134 stable with the original need of a dark theme in my file manager satisfied again - Q-Dir came to the rescue.
As for which editor I'd prefer, that'd most certainly be vim. I only considered it at the time because I can work with it due to those skills being necessary when I work with e.g. Androids or embedded systems. Currently I fell back to vim though.
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job