Self employed developer in the industry since 1998, having had jobs working in lots of languages, frameworks, databases, third party libraries and environments that have come and gone over the years.
Thanks for the post! Just for the record, I had to dnf remove nano-default-editor first, because installing vim-default-editor gave me transaction resolution conflicts. Weirdly, beforehand I found visudo did use vim .. but EDITOR was nano and e.g. less <file> and pressing v to edit the file dropped me into nano. I also had to reboot to make the change take effect, logging out and in again wasn't enough.
Then, I installed vim-default-editor by itself, and afterward separately tried to install toolbox-{experience,support}, and it said it required --allowerasing
Thanks for the post! Just for the record, I had to
dnf remove nano-default-editor
first, because installingvim-default-editor
gave me transaction resolution conflicts. Weirdly, beforehand I foundvisudo
did use vim .. but EDITOR wasnano
and e.g.less <file>
and pressingv
to edit the file dropped me intonano
. I also had to reboot to make the change take effect, logging out and in again wasn't enough.No, no reboot...neither logout
it's a profile subdir file, here it is:
cshell:
/etc/profile.d/vim-default-editor.csh
bash:
/etc/profile.d/vim-default-editor.sh
it's enough to su -
and... voila'
Run with
sudo dnf install --allowerasing vim-default-editor
to replace in-placeWell, this is garbage. I just ripped out
nano-default-editor
withdnf remove -y
, and look at everything it removed:Then, I installed
vim-default-editor
by itself, and afterward separately tried to installtoolbox-{experience,support}
, and it said it required--allowerasing
And look what that does:
So I guess you can't use
vim
by default and toolbox at the same time in F36? That's beyond ridiculous.dnf install -y vim-default-editor --allowerasing
Last metadata expiration check: 3:10:41 ago on Sun 17 Jul 2022 06:14:27 PM CEST.
Dependencies resolved.
Package Architecture Version Repository Size
Installing:
vim-default-editor noarch 2:9.0.049-1.fc36 updates 20 k
Removing dependent packages:
nano-default-editor noarch 6.0-2.fc36 @fedora 514
Transaction Summary
Install 1 Package
Remove 1 Package
Total download size: 20 k
Downloading Packages:
vim-default-editor-9.0.049-1.fc36.noarch.rpm 88 kB/s | 20 kB 00:00
Total 33 kB/s | 20 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : vim-default-editor-2:9.0.049-1.fc36.noarch 1/2
Erasing : nano-default-editor-6.0-2.fc36.noarch 2/2
Verifying : vim-default-editor-2:9.0.049-1.fc36.noarch 1/2
Verifying : nano-default-editor-6.0-2.fc36.noarch 2/2
Installed:
vim-default-editor-2:9.0.049-1.fc36.noarch
Removed:
nano-default-editor-6.0-2.fc36.noarch
Complete!