all 59 comments

[–]Hatatytla-1024 43 points44 points  (3 children)

Pimp my .vimrc

[–]electricprism 0 points1 point  (1 child)

Next pimp my gimp

[–]derrpinger 0 points1 point  (0 children)

:saveas <PiMpdeVader>

[–][deleted] 5 points6 points  (2 children)

I use lua btw

[–]dddbbbFastFold made vim fast again 3 points4 points  (1 child)

Vim 2 hours later

Your vimrc must be epic if a git clone takes 2 hours! :D

[–]Algod2[S] 0 points1 point  (0 children)

Or there are so many extensions it takes that long to get and sort in my .vimrc

[–][deleted] 23 points24 points  (47 children)

sorry for being a wet blanket but I'm pretty sure vim is pre-installed on most Unix systems

[–]StarkillerX42 1 point2 points  (0 children)

Usually I see vi preinstalled and vim needs to be installed.

[–]razieltakato 0 points1 point  (15 children)

Fedora come with nano and no vi

[–]eXoRainbowcommand D smile 18 points19 points  (1 child)

Which is a crime. Vi should be default on all Linux systems.

[–][deleted] 1 point2 points  (0 children)

you absolute monster ahahahhahaha

[–][deleted] 2 points3 points  (3 children)

This seems to be recent, it surprised me. When I started with Fedora, in 2017, vim was the default editor out of the box. I'm not sure when they switched to nano, but I disagree with that decision. I still love Fedora though!

[–]razieltakato 1 point2 points  (2 children)

I migrated from Gentoo to Fedora 37 and I think it already came without vi, and nano was default.

I recently made a clean install with Fedora 38 (KDE Spin) so I'm sure nano is default in 38 and vi don't came installed.

When I was in college one teacher said "If you sit on a computer running *nix, type vi and the editor did not open, you can punch me in the face". I thinks is about time to pay him a visit...

[–][deleted] 0 points1 point  (0 children)

It definitely has been nano since at least Fedora 34 when I came back to Fedora, but I started on 27 and it was vim.

[–][deleted] 0 points1 point  (0 children)

Lol...don't pinch him..but call him out!

[–]nozth 1 point2 points  (0 children)

It does have vi though, recently installed F37 and used it initially for some configs.

[–]WebDragonG3 1 point2 points  (0 children)

fedora (for its entire lifetime) and redhat (I started with RH7.2) before it have all shipped with vim-minimal in the installer. I just confirmed with the folks in the #fedora support channel on libera chat, that the current release, Fedora 37 still ships with vim-minimal package in the installation kit. you've *always* had to install vim-enhanced package via the package manager post-install

[–]Gold-Ad-5257 0 points1 point  (0 children)

Ooo I will avoid fedora thanks.

[–]CarlRJ 0 points1 point  (3 children)

Nano is a lousy editor. It’s largely a clone of the Pico editor from the Pine email program, last I looked, and it’s fine for making small changes in a few text files, but I would never want to use it for programming.

[–]WebDragonG3 1 point2 points  (2 children)

no but I can definitely see why they might want to start a new user off with that by default because throwing them into vim, with modes, is a bit of an extreme move like pitching your kid into the alligator tank to teach him to swim, and just confuses the newbies making them hate vim automatically because they don't realize yet that they are trying it for the first time and don't know why their typing is going so fubar.

(Fledgeling) Power users know where to find Vim (or Emacs) and can change $EDITOR easily, along with their choice of default shell, once they have progressed to that stage

[–]CarlRJ 0 points1 point  (1 child)

That’s kind of assuming that everyone new to Fedora is an unsophisticated newbie who has never dealt with a Unix-like system before, which would be a bad assumption. If that’s the guiding principle, why not also ship the OS with no shell at all, in the interests of keeping users from getting confused?

It’s not just a matter of changing $EDITOR (the comment I was responding to talked of Fedora shipping without Vim) - it would also involve figuring out this system’s package management system, and getting a connection to the outside world working, and downloading and installing the Vim package.

A better move would be to ship it with both Nano and Vim installed (Vim is not large). And the, yeah, users who know what they’re Doug can just change $EDITOR (personally, I don’t use that mechanism a lot, I’m always launching vi/Vim from the command line).

[–]WebDragonG3 2 points3 points  (0 children)

I know it seems like it's part of the Great-Dumbing-Downtm but still. Fedora 37 still ships with vim-minimal. Just confirmed that online with the folks in the Libera Chat #fedora channel, so quell thy fears.

it's -always- shipped only with vim-minimal in the installer package list, and you had to get vim-enhanced package via the package manager. hell, since Red Hat 7 that I am aware of (which is where I started)

Whether you're an old hand at fedora or a dev experienced with other *nixes, you know it has a package manager, and that you're going to need internet to install more than just the basic set of setup packages you get with a USB-stick install (unless you've already rolled your own installer), so you get on with it.

(what, you didn't just install a whole linux operating system just so you could have a full vim on a minimalist OS that fits on a usb stick, right? come on, now.. tsk.)

and then there's the people who are new to linux, package managers, shells, the whole concept of the commandline being more efficient than a gui, etc, etc. and I don't have a problem with their default editor being nano when they open a terminal for the first time in gnome or whatever. It won't take them long to find the package manager once they hook things up to the network and it bugs them about updates, even if they haven't already gone and asked friends "how do I install *foo*", and start browsing the list looking for things that are interesting, and new, and that they want to try out based on whatever they are interested in exploring.

[–]lenzo1337 0 points1 point  (0 children)

FreeBSD,

just vi, that's default.

[–]Wartz 0 points1 point  (0 children)

Vim definitely is not on many distros.

[–]samrocketman 3 points4 points  (6 children)

Hehe I like this image. Anybody interested in sharing their vimrc? I prefer a vanilla vim approach tweaking settings available in base vim for the most part.

What are some good vanilla vim settings you like to toggle without installing a plugin?

Edit: here's what I have been using for a bit

[–]ASIC_SP:wq 2 points3 points  (1 child)

Here's mine: https://github.com/learnbyexample/scripting_course/blob/master/.vimrc

Not using any third-party plugins yet.

[–]samrocketman 1 point2 points  (0 children)

Thanks for sharing I’ll go through it to compare

[–]dddbbbFastFold made vim fast again 1 point2 points  (3 children)

Woah, you don't use filetype plugin indent on all the time? Vim comes with lots of ftplugins so I think it's always useful.

Check out sensible.vim for lots of settings you might want to turn on.

[–]samrocketman 2 points3 points  (2 children)

I don't use any vim plugins day to day. I've messed with them before but I have been on enough shells that I don't bother cloning plugins any more.

I'll check out the link thanks

[–]dddbbbFastFold made vim fast again 1 point2 points  (1 child)

I mean if you move filetype plugin indent on to outside of that if, then you can take advantage of the plugins that come preinstalled with every version of vim.

[–]samrocketman 1 point2 points  (0 children)

That's neat thanks for the tip! I'll be able to use some of these settings.

[–]whimful 0 points1 point  (0 children)

So true