You are viewing a single thread.
View all comments View context
24 points

Except it doesn’t work because you’re in edit mode.

permalink
report
parent
reply
18 points

Ahem, per the cartoon, the genie typed “vi”, which leaves vi in command mode.

As an emacs user, I’m ctrl-x ctrl-c with this conversation.

permalink
report
parent
reply
7 points

After noticing that ctrl+c doesn’t work he tried typing exit, which put him in edit mode.

permalink
report
parent
reply
2 points

Unless you are on a Mac, then ctrl is META, and META+c gets you to the place where you can :q!

ESC is just too far to deal with when using vi.

permalink
report
parent
reply
0 points
*

Don’t try to use the terminal on Mac. Its not linux

permalink
report
parent
reply
2 points
*

Esc, then :q-t

permalink
report
parent
reply
2 points

Why do people just don’t ESC :x? Do I miss something when not using q!?

permalink
report
parent
reply
5 points

:x also writes (same as :wq). :q! is force quit. If you accidentally made changes then :q will give an error and :x will write those changes. So :q! Is you safest bet if you need to gtfo.

permalink
report
parent
reply
4 points
*

Or just use nano and have a built in cheat sheet

Edit: I just realized nano is the gen z text editor for Linux…

permalink
report
parent
reply
6 points

I’ve used it before gen z was a thing, so no.

permalink
report
parent
reply
5 points

I have sent emails with “:w” on at least one occasion.

permalink
report
parent
reply

linuxmemes

!linuxmemes@lemmy.world

Create post

I use Arch btw


Sister communities:
Community rules
  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

Community stats

  • 7.2K

    Monthly active users

  • 1.3K

    Posts

  • 70K

    Comments