this post was submitted on 25 Oct 2023
2236 points (99.2% liked)

Programmer Humor

32503 readers
385 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

I'm trying out Obsidian for taking notes, and this made me laugh.

you are viewing a single comment's thread
view the rest of the comments
[–] penquin@lemm.ee 37 points 1 year ago (4 children)

I never get the need to use vim and nano exists.

[–] folkrav@lemmy.world 8 points 1 year ago (2 children)

I never get the need to use a mechanical pencil and graphite pencils exists

[–] nautilus@lemmy.dbzer0.com 6 points 1 year ago (2 children)

I’ll level with you: I’m kind of a moron.

If my command line text editor has its own bespoke integrated command line, then science has gone too far and we need to stop lmao

[–] nickwitha_k@lemmy.sdf.org 1 points 1 year ago* (last edited 1 year ago)

It's cool. We'll just write a lua plugin to extend science so that we can go too far enough.

[–] penquin@lemm.ee 2 points 1 year ago (1 children)

I'm struggling to see the connection here. I guess I don't need to fiddle with the mechanical pencil, it breaks very quickly? I don't want to go through changing those little sticks? Graphite pencil only needs to be sharpened? So, you're supporting using Nano? I'm a little confused

[–] folkrav@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (1 children)

Yet many people prefer mechanical pencils. Are you against choice? What is there to get or "need"?

[–] penquin@lemm.ee 1 points 1 year ago (1 children)

Nah, this is not relative at all. Still, I know my kid hates mechanical pencils. I hate them, too.

[–] folkrav@lemmy.world 1 points 1 year ago (1 children)
[–] penquin@lemm.ee 2 points 1 year ago (1 children)

Relevant. RELEVANT!!!! Damn it. Ok you got me 😂 English is my second language (still not an excuse)

[–] folkrav@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

Fair enough! I'm an English second language speaker too, I understand the struggle!

But to answer about relevance: to me, text editors are just tools. I don't really care which one you use, as long as you do the job well. I use vim (or honestly, mostly vim bindings) everywhere I can as they're just second nature to me at this point, and I go around text much quicker when thinking in text objects than the typical Ctrl+Alt+... and home/end/pg up/pg down shortcuts. I could just as well work with Notepad++, it's just gonna slow me down.

So in that sense, it's just like a pencil. Some have preferences as to which pencils they like to write with. I like fountain pens and mechanical pencils. You seem to prefer graphite pencils, and guess you probably prefer ball pens ;)

[–] uzay@infosec.pub 8 points 1 year ago (2 children)

It just makes a lot of stuff way easier once you know how to use it. Switching out a word for another: two button-presses, duplicating a line: three presses, deleting 500 consecutive lines: five presses

[–] xilliah@beehaw.org 6 points 1 year ago (1 children)

What if I want to undo my life's mistakes.

[–] Illecors@lemmy.cafe 6 points 1 year ago (1 children)

Church of Emacs is always there ;)

[–] nickwitha_k@lemmy.sdf.org 1 points 1 year ago* (last edited 1 year ago) (1 children)

How do we work this? Do we alternate between trying to ruin people's lives with elisp and chasing the perfect .vimrc or lua - config? Maybe grab some bytes from /dev/urandom and send them to the editor whose first letter comes up first? What about holidays?

[–] Illecors@lemmy.cafe 2 points 1 year ago

I'm gonna go with yes 😁

[–] penquin@lemm.ee 1 points 1 year ago (1 children)

But you can do all that with nano and it is straight forward and you don't need to memorize any key combinations. I mean, I get it and no judgement here. I just use nano because it's easy and quick.

[–] r1veRRR@feddit.de 1 points 1 year ago

You can also copy paste by manually copying text by hand, would call that a valid alternative to Ctrl-C/V?

[–] r1veRRR@feddit.de 2 points 1 year ago

I don't understand the need for Ctrl-C/V, when manually copying the text exists. I know it's snarky, but that's the level of difference we're talking about here. Or imagine, to delete a line, someone Right Arrows 50 times, then backspaces 50 times, instead of using the shortcut.

[–] bioemerl@kbin.social 1 points 1 year ago (2 children)

Vim really is an IDE, not a text editor. It's usable as an editor but overkill.

Nano serves a difference purpose. It's like telling someone on a bike that a mustang is better.

[–] kogasa@programming.dev 3 points 1 year ago (2 children)

Vim is absolutely not an IDE. It has no integrations with any language. It's just a powerful text editor. You can add language plugins and configure it to be an IDE.

[–] Bo7a@lemmy.ca 0 points 1 year ago (3 children)

No offense intended here - But why is this being upvoted?

vim absolutely is an IDE if that is how you want to use it. Syntax highlighting, linter, language specific autocomplete, integrated sed/regex. And much, much more.

[–] fushuan@lemm.ee 1 points 1 year ago

You can't run and debug things in vim, can you?

[–] kogasa@programming.dev 0 points 1 year ago (1 children)

Syntax highlighting, linting, and language specific autocomplete are features supported by plugins and scripts. Plain, simple vim is a powerful extensible text editor. The extensibility makes it easy to turn into an IDE.

[–] Euphoma@lemmy.ml 0 points 1 year ago (1 children)

There's syntax highlighting by default in vim though.

[–] kogasa@programming.dev 0 points 1 year ago

Yeah, there is a generic syntax highlighting scheme. I had forgotten because it's not very good for some languages, I'd replaced it with a LSP-based implementation years ago.

[–] reverendsteveii@lemm.ee 0 points 1 year ago

my car is absolutely a boat if you put a boat motor on the back of it and waterproof it

[–] xmunk@sh.itjust.works 0 points 1 year ago (1 children)

Yea, vim really isn't anything near how useful emacs is.

[–] _dev_null@lemmy.zxcvn.xyz -1 points 1 year ago (1 children)

Emacs really is powerful, all it needs now is a decent text editor.

[–] spauldo@lemmy.ml 1 points 1 year ago

It has one. It's called evil-mode.

[–] TheGreenGolem@lemm.ee 1 points 1 year ago

So like Word vs Notepad?