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

> Greentext

7547 readers
662 users here now

founded 2 years ago
MODERATORS
 
all 17 comments
sorted by: hot top controversial new old
[–] Narrrz@kbin.social 17 points 1 year ago (3 children)

i... think I need this explained to me

[–] starman@programming.dev 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.

anon is probably vim user.

Like any sane person.

This comment was sent by typing

␛:wq⏎

[–] mbw@feddit.de 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
[–] oantolin 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

[–] mbw@feddit.de 5 points 1 year ago

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

[–] can@sh.itjust.works 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

[–] vicfic@iusearchlinux.fyi 14 points 1 year ago (5 children)

The esc key in vim have always bugged me tho.

[–] tycho@lemmy.sdf.org 11 points 1 year ago (1 children)

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

[–] kamiheku@sopuli.xyz 7 points 1 year ago* (last edited 1 year ago)

Ctrl-c works too

[–] bitsplease@lemmy.ml 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

[–] AnUnusualRelic@lemmy.world 4 points 1 year ago

Just remap it to "E".

[–] quesomodo@programming.dev 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.

[–] UlrikHD@programming.dev 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.

[–] ZiemekZ@lemm.ee 4 points 1 year ago

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

[–] Abnorc@lemm.ee 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.