this post was submitted on 17 Aug 2023
234 points (97.6% liked)

> Greentext

7533 readers
14 users here now

founded 2 years ago
MODERATORS
 
all 17 comments
sorted by: hot top controversial new old
[–] [email protected] 18 points 1 year ago (3 children)

i... think I need this explained to me

[–] [email protected] 41 points 1 year ago* (last edited 1 year ago) (1 children)

In this case anon just want to search and replace text in file using various text editors, but he describes it funny way:

  • acme: very slow process because it requires using mouse and keyboard alternately
  • emacs: faster because you don't have to use mouse but requires pressing a lot of weird and complicated key combinations and use many modifier keys like ctrl, alt and so on, in this case description is a bit exaggerated. Also see emacs pinky syndrome
  • vim: portrayed as simple and efficient, anon is probably vim user.
[–] [email protected] 36 points 1 year ago

anon is probably vim user.

Like any sane person.

This comment was sent by typing

␛:wq⏎

[–] [email protected] 13 points 1 year ago* (last edited 1 year ago) (1 children)

Although the relevant links have already been provided, the gist is

  • Acme stands for some "generic" editor here, where you have to use the mouse a lot, which is perceived as slow
  • Emacs is known to be very powerful (to the extend of being called an "OS with a bad editor"), but using unergonomic keyboard shortcuts
  • Vim is an editor that has been designed for keyboard power users in mind, but which has the reputation of being difficult to learn
[–] [email protected] 7 points 1 year ago (1 children)

Acme doesn't stand for some generic editor! It's the famous acme text editor by Rob Pike. It's an interesting editor, very different from Emacs or Vim, and yes, very mousey. In this video Russ Cox gives a great overview: https://youtu.be/dP1xVpMPn8M

[–] [email protected] 5 points 1 year ago

I should've done my homework before replying then :)

[–] [email protected] 10 points 1 year ago* (last edited 1 year ago)

These are text editors. Look up regular expressions. These are hyperbolic descriptions of what it takes to use them in each.

Added Wiki links

acme

emacs

vim

[–] [email protected] 14 points 1 year ago (5 children)

The esc key in vim have always bugged me tho.

[–] [email protected] 11 points 1 year ago (1 children)

Do not fear for there is an equivalent to ESC! The glorious Ctrl+[

[–] [email protected] 7 points 1 year ago* (last edited 1 year ago)
[–] [email protected] 10 points 1 year ago

you can remap vim to use whatever you'd like instead of esc, or just ditch your caps lock and make that your new escape key.

I know some vim users swear by remapping esc to jh or similar so you don't even have to leave the home row

[–] [email protected] 4 points 1 year ago

Just remap it to "E".

[–] [email protected] 3 points 1 year ago (1 children)

Just swap Esc and Caps Lock. More comfy. Plus most people don't even use Caps Lock anyway.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

In the ancient times, the escape button wasn't at the upper left corner, but to the left of Q (ADM-A3). Vi (and by extension Vim) just haven't adapted to a different keyboard layout.

[–] [email protected] 4 points 1 year ago

You have to use your mouse anyway, regexr.com won't check that regex on its own

[–] [email protected] 1 points 1 year ago

I wanted to get really good with eMacs, but the price of the foot pedals and steering yoke was prohibitive.