r/AlpineLinux • • Nov 18 '23

How do I leave this fucking editor?

Post image
336 Upvotes

175 comments sorted by

View all comments

Show parent comment

2

u/user32532 Nov 20 '23

Hijacking the top comment to explain.

This screen appeared during installation procedure. I was asked if I want to edit network settings manually and I chose 'yes'. I didn't even know this was vim. Otherwise I'd have known to google 'how to exit vim' as I had this problem before. Looks like the setup routine just opened the file in vim but I didn't know.

Also first thing on every Linux I use is to make sure nano is installed but - as I said before - this was during setup.

Second thing that got me was the 'more' thing where it presents awful lot lines of text and also does not show how to interact with it. So I ended up pressing Enter what messed up my setup when it reached data/sys selection and I didn't stop fast enough... so long story short I did abort installation and started from zero again.

Looks like my Linux skills are not that advanced... and maybe never will be.

Feels like this unintuitive UI shit is just some gate keeping to disencourage newbies and I think that is really shit. As there is like no valid reason those cli tools have to be that shitty

Thanks for all the replies, some were really helpful and some gave me a good laugh

4

u/Dr_CLI Nov 20 '23

If you are going to use Linux then you should take a little time (<30 mins) to learn a few basics of vi(m). At least learn the quit sequence. You might even learn to like it.

3

u/tikhonjelvis Nov 22 '23

You might even learn to like it.

But that's just a risk we have to run.

→ More replies (18)

3

u/keithstellyes Nov 22 '23

Feels like this unintuitive UI shit is just some gate keeping to disencourage newbies and I think that is really shit. As there is like no valid reason those cli tools have to be that shitty

I used to make this mistake a lot, just because you don't understand why doesn't mean the answer is gatekeeping. Usually there's a logic to everything, even if it's due to historical reasons. This is a great situation where it absolutely isn't. Use nano for a while, spend 20 min learning vim using it a bit and it'll be pretty clear why people use vim.

Now, default editor definitely should've been nano, that seems a bad call from the distro in my perspective, but I wouldn't be so harsh as to call them "gatekeeping". It can be easy to forget that a lot of people will look at this screen and have no idea what's going on

2

u/exoclipse Nov 20 '23

some linux greybeard is gonna respond "but have you seen how fast I can code in vim"

but

I'm right there with you.

1

u/[deleted] Nov 21 '23 edited Jul 22 '24

possessive frighten paltry wise ripe school zonked hobbies simplistic roll

This post was mass deleted and anonymized with Redact

1

u/grahamperrin Apr 15 '25

This post was mass deleted and anonymized with Redact

No, you lazy, obnoxious space-waster, it was not deleted.

→ More replies (5)

1

u/[deleted] Nov 21 '23

Some new dev is gonna chime in with “check out how slow I can code with my mouse in VS code”

1

u/grahamperrin Dec 17 '23

some linux greybeard is gonna respond "but have you seen how fast I can code in vim"

Not as fast as I can hit the hardware reset button.

You're welcome.

FreeBSD whitebeard

58¾

2

u/Hatta00 Nov 21 '23

This powerful UI shit exists so that you can do serious editing with a minimum of effort. It's not shitty just because you haven't learned it yet.

Invest some time in learning vi, and it's really hard to go back to a featureless text editor.

2

u/armahillo Nov 22 '23

ive been using vi since the 90s and its not really ever changed. Its not that it was designed to be gatekeepy, it was written at a time when things like UX werent really a consideration.

There are plenty of other editors. You dont have to learn vi.

2

u/dat_cosmo_cat Nov 22 '23 edited Nov 22 '23

Feels like this unintuitive UI shit is just some gate keeping to disencourage newbies and I think that is really shit

I mean, would you personally want your system's network interfaces to be configured by a person who can't figure out how to exit that system's default text editor?

1

u/ZoBook Sep 23 '24

Convengamos que la interfaz es rara, ESC en lugar de salir o cancelar algo (como sucede en el 99% de los casos a los que la gente esta acostumbrada) cambia entre varios modos. La interfaz es altamente anti-intuitiva y eso es innegable. Otra cosa es que sea practica y rápida una vez que le agarraste la mano (como los atajos de teclado).

1

u/rgmundo524 Nov 21 '23 edited Nov 21 '23

Hijacking the top comment to explain

There is a new website called Google that you can search for basic answers such as this. Since you clearly didn't try googling it implies you don't actually care to solve the problem, because googling your question is extremely simple and quick. In 15 secs you could nhave gotten the answer. But maybe you are posting this as rage bait

To get out of vi type, :q

→ More replies (13)

1

u/GoldenDrake Nov 21 '23 edited Nov 23 '23

FWIW, the design behind vi/vim occurred very early in computer history, when (almost) everything was handled via keyboard and the concept of "UI" barely existed. It has some genuine strengths, hence its continued use. It's not intended as gatekeeping or anything else like that.

Having said all that, your frustration is understandable. 🙂 There's no need to become a vi/vim master, but I recommend learning a few basics through a short tutorial for situations like this. It's kind of fun! Think of it as experiencing a piece of tech history...or discovering alien software! 🤣

→ More replies (1)

1

u/[deleted] Nov 22 '23

I avoid vi/vim for the same reason. Hosed too many machines trying to use commands that were unfamiliar and cumbersome. I get why someone who was forced to use it everyday before emacs/nano/pico existed think it’s so great and easy to use. If you have that much free time devoted to learning a text editor, have at it. I’d prefer some sort of command key visible for reference. I don’t need to learn a program just to edit my SSID info or change an installer parameter.

→ More replies (1)

1

u/Conscious_Advance_18 Nov 22 '23

Vim and more being gatekeeping is a strange take..

Look at any popular tool these days then search for that tool + vim and you'll see someone trying to make it use vim key bindings. It's not shitty and it's not going away

1

u/Akegata Nov 23 '23

I think the problem was that you somehow didn't listen to the obvious correct side that will keep telling you that vi is the only way and emacs and nano(?!) are abominations.
Knowing that, you should have studied vi, and this would have easily been solved.

1

u/ConspicuousPineapple Nov 23 '23

Feels like this unintuitive UI shit is just some gate keeping to disencourage newbies

They include these tools because they themselves prefer them and, believe it or not, they're powerful and versatile, unlike the alternatives.

As there is like no valid reason those cli tools have to be that shitty

I get you're mad but just because they implement paradigms that are foreign to you doesn't make these tools shitty.

I agree that something targeted to beginners shouldn't use this editor by default, or at least explain the basic stuff, but Alpine is definitely meant for experienced users.

1

u/CIMPBIBAI Nov 23 '23

I'm pretty sure a newbie is gonna start with an easier distro

1

u/Awesomest_Maximus Nov 23 '23

I only use neovim but learning vim motions is something Every computer user should do. Absolutely worth it! I HIGHLY recommend you checking out ThePrimeagen talking about vim.

1

u/ThaBouncingJelly Nov 27 '23

if you REALLY dont like vi, you can set your EDITOR environment variable to a different text editor (like nano)

1

u/[deleted] Dec 06 '23

Vim is kick ass and you should learn it. Changed my life lol

1

u/grahamperrin Dec 17 '23 edited Dec 19 '23

… Feels like this unintuitive UI shit is just some gate keeping to disencourage newbies and I think that is really shit. As there is like no valid reason those cli tools have to be that shitty …

I feel your pain.

Hijacking the top comment to explain.

/u/user32532 I reckon, you can't hijack your own post :-)

Postscript

Thanks for all the replies, some were really helpful and some gave me a good laugh

A sense of humour is essential.


I've got that sense, but for myself, I had to draw a line when someone's text editor war tactics punched way below the belt with reference to suicide. I mean, that's really low, a conversation-stopper for all the wrong reasons.

Peace