Spyke
exu
feditown.com

You used the wrong icon. It should be emacs

171
lemmy.world

Yeah, emacs makes way more sense for this one

The only thing emacs is missing is a text editor

224

Vi vs EMACS jokes are well within grandpa territory now. Sorry.

34
lemmy.world

I saw that reply and figured I'd just let the whippersnappers enjoy themselves 😅

15

it's a healthy sign of a community when dad jokes enter the cultural milieu as something that's passed from generation to generation. we inherited these jokes, handed them down, and someday they'll be handed down again

16

Grandpa, will you tell me the story about the black and orange computer screens please?

9
stinermanreply
midwest.social

Next thing you know people aren't going to know that EMACS stands for Eight Megabytes And Constantly Swapping. Or why that's funny.

11

Surely someone has used the built-in Lisp interpreter to emulate a feature exact nano.

10

And the only thing preventing us mortals from having such power is the lack of a butterfly key on our keyboards

4
Magisterreply
lemmy.world

M-x doctor

In emacs, ESC then x then type doctor, I remember this from 30 years ago

2

Is it because you say “I remember this from 30 years ago” that emacs has a doctor?

3

I am a firm believer of (neo)vim being the pinnacle of editing. My workdays start with vim and end with vim. But vim is not the everything app, which the e in emacs probably stands for.

HOWEVER, there are vim plugins for almost everything, which is pretty cool. This point goes to you, emacs rivals. Let's keep it between us and not the vs code or IDE weirdos

9
cygnusreply
lemmy.ca

Doom Emacs for those who have truly ascended.

5

It should be Neovim and Lua. Nobody should be subjected to the curse and torment of writing Elisp.

-2

The war is still ongoing. Many of us never figured out how to quit Vi.

8
lemmy.world

only because once you start using vim, you can't stop. why do you think people make full on operating systems within vim?

because they can't leave.

21

You need to press Escape twice, first.
Then pass on the rudeness to vim. It will know

5
cog
sopuli.xyz

I know it's a classic but confused how I'm supposed to use Vim to send an email

Already got my Vim, any tips?

56

Shit, I've been scrubbing the bathroom for 10hours, can't close Vim

2

no no McS. et al., PhD is mf actual family name. Trying a bit too hard to get a great academic career.

10
lemmy.world

In case you're not being sarcastic, et al is a shortening that means "among others" - usually authors of academic papers are clubbed together like this. In this context it is more like, "among other educational qualifications"

4

Heh, looks like Microsoft employed someone and just let them do whatever they wanted. So they fucked around and made a text editor in Rust. They even have an anime avatar on github. Definitely doesn't smell like a microsoft project but hey.. if a company feeds you, you gotta put their name on your project.

9

I used to spend hours trying to get the image on the right page. Now i use Org-mode LaTeX, and just accept that it's impossible.

8
Euphomareply
lemmy.ml

Theres an emacs map plugin, and a webkit browser, and org mode is basically notes + calendar, you can edit and copy remote files with tramp mode. Theres also an emacs plugin for launching steam games.

Emacs comes with a plugin called "doctor" which is a rudimentary text ai from the 90s

One time I wanted to edit a binary file and I found out emacs comes with a hex editor

5
whelkreply
retrolemmy.com

Probably. I recently installed a bunch of packages so now I use emacs to check my RSS feeds, look up the current word's definition or synonyms, browse Gopher and Gemini sites, check my email ... I told myself I was doing it just for fun to see how much truth there was to the whole "emacs is a great operating system" joke but I genuinely love how handy it all is and I'm worried I'm going to keep falling in even deeper. A part of me does dislike not using purpose built programs for each of those functions ("do one thing and do it well"), but it's been a fun experiment so far

4

Vim is a sorry excuse of Emacs. Which is the editor made in and for the language of God, Lisp

11
mander.xyz

AMSTERDAM TRIP: 52.37952717594758, 4.898731163397595 -> 52.373726213381254, 4.8991743688343785 -> 52.37307624236834, 4.892481840346751 -> 52.375235597713356, 4.883881824117286 -> 52.364346142549444, 4.882779439603186 -> 52.358151346039655, 4.868920785661565 -> 52.36032825423474, 4.885688072103288 -> 52.38899110197864, 4.8381014035210965

19

This is one of those threads where it is like all of you are just speaking funny(?) gibberish at each other.

19

That's not gibberish, those are hilarious jokes using sophisticated vim commands. Here's another, which you have no hope of understanding, but vim users will love:

:%s/ass/butt/g

5

"YESS! YESSSSS! GIVE IN TO YOUR EMACS SIDE!!!"

Google Search really sucks these days. I can't find any images of Richard M. Stallman as a Sith lord, even though I'm sure vi fans have made several edits by now. ...It's been a while.

17
notabotreply
piefed.social

Cast out the unbeliever! Drive them from our light! Let them not pass amongst the true believers lest they lead others astray!

11
OpenStarsreply
piefed.social

I-i-it's surely okay, as they must have meant neovim, r-r-right?!?!?!?!

2
notabotreply
piefed.social

Grrrr. Neovim? I question your devotion to the cause of righteousness. Think well upon your choices lest you too be cast out from the light of the glory of the almighty vim!

3

Alright, I now totally believe that you are not a bot, wink 😉. Only a human could hold so well to the true path of enlightenment.

1

From a "giving tech support" POV, nano is the best editor. Have you ever tried walking a non-techie through editing a config file on the command line, over the phone, no screen share? Nano is your friend. (I swear, this very expensive software I used to support got its sysadmins by picking whoever was absent the day the the client site figured out someone had to do it.)

1
mlg
lemmy.world

This would be funnier if it were emacs since that's the one that has a metric ton of plugins for all of these

14
lemmy.world

This would make more sense with Emacs /ducks

14

NGL this was my first thought, and I don't even use Emacs!

4

One night there was a storm, and Master Wq’s house collapsed. The next morning he began to build it again using his old tools. His novice came to help him, and they built for a while and were making good progress. As they worked, the novice began to tell Master Wq of his latest accomplishments.

“Master, I have developed a wonderful Vim script to give all sorts of useful information about a document. It counts the words, the sentences, the paragraphs, and even tells you what kind of document it is using the syntax highlighting rules. I use it in my pipelines all the time. It is a thing of beauty, and I am very proud. Truly, Vim is the greatest tool!”

Master Wq did not reply. Thinking he had unwittingly angered his master, the novice fell silent and continued his work.

The novice finished aligning two beams and had positioned a nail ready for beating into the wood, but found the hammer was out of reach.

“Would you pass me the hammer, master?”

Master Wq handed the novice a saw.

At once, the novice was enlightened.

https://blog.sanctum.geek.nz/vim-koans/

14

I much prefer handwriting in shorthand, scanning it in, running it through OCR, and cat to a file.

14

I sure hope you do Not use a non patched Xerox Workstation for it.....

Explanation: They had a bug a few years ago where the scanners would alter numbers due to their compression algorithm.

2

But I don't need an editor, do you see an editor somewhere in the infographics? Thought so.

7
Zinkreply
programming.dev

That silly program can't trick me! I used Vim last year and I'm totally able to use other programs!

...I just have to use Vim also at all times!

6

As long as they have a plugin for vim shortcuts. I don't know how many :w I left strewn over my documents at work.

1
lemmy.world

The problem with using Vim is that you have to learn Vim, but early in my career I was in single-ecosystem shops that all used IDE's for whatever tech (Microsoft= Visual Studio, Java = Eclipse / NetBeans, PHP = Sublime Text, arguably not an IDE)

By the time I got to the point in my career where I got to choose the tooling, VSCode was already a thing and it has an extension for anything you can think of.

So I never had to learn Vim, and now it's in the too-hard basket, and VSCode is ubiquitous and works surprisingly well

5

You might change your mind when you hit rock bottom and have to claw your way back with a 2011 shitbox laptop that attempts to kill itself if you dare to open a second firefox tab or, case in point, VSCode or anything that has been built with Electron.

I learnt vim and neovim out of necessity - because it takes only 30 MB on RAM

5

So I recently switched to vim as my text editor. And started using vimwiki for notes. But I must know what insanity could one possibly do with a Text editor other than... Well text edit.

4
zr0
lemmy.dbzer0.com

Even though I regularly use vim for editing files, so many shortcuts and commands are still unknown. How would one approach this issue without reading the man page? Asking for a friend…

10
zr0reply
lemmy.dbzer0.com

At first I thought you were joking. But that is actually a command. I’m surprised. Thanks!

13

No worries. I've been using vim for years and still don't use anything fancier than marks and regex editing. 😄

9
exprreply
programming.dev

vimtutor is the starting point for learning vim, but it's fairly surface-level. To actually learn vim, you should read through the user manual by typing :help usr_01 and hitting enter in vim. It's also accessible online here: https://vimhelp.org/usr_01.txt.html#usr_01.txt.

It's a fairly quick read, about 40ish pages that are reasonably short and is intended to be read straight through like a book. It provides a good overview of all of vim's features.

Note: this is distinct from the reference manual, which is much, much larger and isn't intended to be read straight through.

8
reddthat.com

It depends on your distro. It could be sudo apt install emacs or sudo dnf install emacs or sudo pacman -S emacs, etc.

2
fourreply
lemmy.zip

You'd have to know how to exit Vim to do that though

16
lemmy.world

Please! no more editor wars, just use ed! And if you need the fancy modern features, you can always use notepad.

8
lemmy.world

Text editors should be simple and approachable above all. Nano is undeniably the best by this definition.

8
PlexSheepreply
infosec.pub

I do not agree with your premise. Some editors should be simple and approachable above all. Some should also be super customizable and efficient to use for those who want do dive deep into their editor.

22

I probably should have specified that I use a GUI IDE for the most part and text editing on the CLI is usually just quick changes to config files on servers and stuff. If you do your main dev work in CLI, respect and yeah you should be using Vim or Emacs with a shitload of customization.

1
Grassreply
sh.itjust.works

it feels like it was made quickly after people complained about vim or emacs bein too hard and then just minimally maintained

15

It's good enough for the requirement.

Can't remember key-combinations? You have a list right there.
It's for those who just need the occasional file editing using ssh or sudo.
For anything more, you have vim and you can configure stuff to your liking. Nothing needs to be added to nano.

3
mercreply
sh.itjust.works

Text editors should be simple and approachable above all.

Why? I'd say they should edit text well above all.

13
feddit.org

If i need more than Nano has to offer, I'd much rather use a GUI editor like Kate though.

2

Or you could use a console-friendly editor like Emacs, then when you wanted a GUI-friendly editor you could switch to Emacs.

1

As a simple terminal editor with no bells and whistles it works great, I used it a lot at my last job when I had to make a small tweek on a program that was loaded on the "build server".

It's simple, easy to use, and doesn"t fight you.

6
"Ed is the standard text editor."

Let's look at a typical novice's session with the mighty ed:

golem> ed

?
help
?
?
?
quit
?
exit
?
bye
?
hello? 
?
eat flaming death
?
^C
?
^C
?
^D
?

---
Note the consistent user interface and error reportage.  Ed is
generous enough to flag errors, yet prudent enough not to overwhelm
the novice with verbosity.

"Ed is the standard text editor."

Ed, the greatest WYGIWYG editor of all.

ED IS THE TRUE PATH TO NIRVANA!  ED HAS BEEN THE CHOICE OF EDUCATED
AND IGNORANT ALIKE FOR CENTURIES!  ED WILL NOT CORRUPT YOUR PRECIOUS
BODILY FLUIDS!!  ED IS THE STANDARD TEXT EDITOR!  ED MAKES THE SUN
SHINE AND THE BIRDS SING AND THE GRASS GREEN!!

When I use an editor, I don't want eight extra KILOBYTES of worthless
help screens and cursor positioning code!  I just want an EDitor!!
Not a "viitor".  Not a "emacsitor".  Those aren't even WORDS!!!! ED!
ED! ED IS THE STANDARD!!!

TEXT EDITOR.

When IBM, in its ever-present omnipotence, needed to base their
"edlin" on a UNIX standard, did they mimic vi?  No.  Emacs?  Surely
you jest.  They chose the most karmic editor of all.  The standard.

Ed is for those who can *remember* what they are working on.  If you
are an idiot, you should use Emacs.  If you are an Emacs, you should
not be vi.  If you use ED, you are on THE PATH TO REDEMPTION.  THE
SO-CALLED "VISUAL" EDITORS HAVE BEEN PLACED HERE BY ED TO TEMPT THE
FAITHLESS.  DO NOT GIVE IN!!!  THE MIGHTY ED HAS SPOKEN!!!
5

For simple edits to single text files nano has to be my most used editor. Vim is a close second though.

For editing code, I've used just about everything for one reason or another but it's usually just my IDE with the directory open.

3
lemmy.world

Honestly it's kinda true except for Photos and Maps. Everything that is not fundamentally visual by nature can pretty efficiently be done with Vim. It truly excels at manipulating and navigating through text.

5
feddit.org

I'm not shure whether vim is not capable of handling photos — I never tried this plugin: https://github.com/ashisha/image.vim

Edit: it's 10 years old and uses python2 and PIL, so it needs a bit dusting off, but with a bit of caring love, it should be able to run again.

1

It surely can be done... but is it really a good idea? :P

If one were to use e.g. Immich database of tags describing images though then it might make sense, but then it's still indirectly manipulating content.

1

I have a question: I sadly still use my Gmail for many 'official' purposes and anything I need to pay to (I promise I will delete my Amazon account within the next year or so... especislly since those fuckers dont even let you archive or delete your own purchase history!), but I will need some access to my Gmail account. Anyway I can do this without giving Google everything?

3

Changed my life!!!!
also replaced android with minimal Linux running with Busybox + Vim /j

2

I mean I use vim from time to time but this seems more appropriate for emacs

2