101
submitted 11 months ago by mafbar@lemmy.world to c/programmerhumor@lemmy.ml

I use vim btw

all 43 comments
sorted by: hot top controversial new old
[-] bh11235@infosec.pub 23 points 11 months ago

To me vim's main strengths are

  • It delivers the same OK-ish experience no matter what file type or language I'm dealing with. Yeah it'll never be as good as a dedicated Python IDE for writing Python, but I'd rather know vim than 5 different IDEs for Python, YAML, Dockerfiles, Rust, Latex, whatever I need to deal with today.
  • It just edits files and doesn't hide internal state, intermediate files, etc to make my life 'simpler' (notepad is the same, so I guess this is more of a strength vs IDEs). When an IDE fails to align all of its internal moving parts just right to compile a project I know I'm in for an hour of figuring out which checkbox needs to be unticked in what sub-sub-sub-sub-submenu, I like it much better to have a "flat" experience of invoking a command line and getting an error message directly from the tool I am invoking.
  • 20dd to delete 20 lines, that's very neat.
[-] tool@r.rosettast0ned.com 6 points 11 months ago

Quick editing for me is in vim. Anything else is in Visual Studio Code. Which I have set up with vim keybindings.

[-] drew_belloc@programming.dev 18 points 11 months ago

Like a enthusiast once said "People don't quit emacs, they just die at some point".

[-] taanegl@lemmy.ml 16 points 11 months ago

Nano gang, represent.

[-] bjoern_tantau@swg-empire.de 15 points 11 months ago

Why would I use Notepad? I'd have to install it first. Does it even have a Linux version or would I have to use Wine? This meme is giving me headaches.

[-] NettoHikari@social.fossware.space 12 points 11 months ago* (last edited 11 months ago)

*opens up customized nano*

[-] Dohnakun@lemmy.fmhy.ml 4 points 11 months ago

I just read a micro vs. nano. But each point in favor of micro was "i have that already in nano". Syntax highlighting, status bar with col/line, undo/redo, even mouse support.

[-] NettoHikari@social.fossware.space 3 points 11 months ago

I like both. But many people don't even realize that nano has quite a lot of configuration options. To me, they're text editors, not code editors. For code, I use VSCode (or "code", the FOSS variant).

[-] PlexSheep@feddit.de 3 points 11 months ago

I have never heard of customisation for nano. That said, I'm quite pleased with programming my vim how I like it.

[-] NettoHikari@social.fossware.space 3 points 11 months ago

/etc/nanorc

[-] dream_weasel@sh.itjust.works 2 points 11 months ago

Treesitter and native LSP levels the playing field pretty handily IMO.

[-] Dohnakun@lemmy.fmhy.ml 2 points 11 months ago* (last edited 11 months ago)

Yes, but for a quick edit or glance, nano-syntax-highlight and lesspipe with highlight or bat are nice.

[-] Arotrios@kbin.social 12 points 11 months ago
[-] waspentalive@lemmy.one 5 points 11 months ago
[-] AnActualFossil@kbin.social 7 points 11 months ago* (last edited 11 months ago)

That's just the sign of a deeper illness. Soon you'll be installing a disk defragger.

[-] dudinax@programming.dev 1 points 11 months ago

Notepad++ is the only thing I miss from Windows.

[-] ScrimbloBimblo@lemmy.dbzer0.com 11 points 11 months ago

Who in the actual fuck uses notepad?

[-] Gork@lemmy.ml 5 points 11 months ago

You would think that Microsoft would have implemented better functionally by now. Yeah they had WordPad but that sucked too.

Like, c'mon, allow me to alt-highlight blocks of text already.

[-] Bankenstein@feddit.de 9 points 11 months ago

can we please forget about this meme template?

[-] alcasa@lemmy.sdf.org 8 points 11 months ago

Every editor has its place but this meme would make more sense with any IDE (vscode, eclipse, intellij) than notepad

[-] dog@suppo.fi 5 points 11 months ago

Nah, IDE's go in the top bar, big brain is still notepad and alikes.

[-] simple@lemmy.mywire.xyz 2 points 11 months ago

Agreed.

I once worked on a team in a company who had to ssh into a server and do all the development work on that server. So all we could use was either vim or emacs. I had my vim decked out with all the plugins and customizations, and it was fine.

But after you get back to using an IDE (especially an IDE with a vim plugin), it's hard to go back

[-] priapus@sh.itjust.works 1 points 11 months ago

In my experience, once you've used any text editor with an LSP implementation it's hard to go back to an IDE

[-] priapus@sh.itjust.works 1 points 11 months ago

Most people use IDE's, having them where notepad is would not make sense on a bell curve.

[-] hedgehog@ttrpg.network 2 points 11 months ago

Along that line of thought, you could do

  • “text editor” (meaning Notepad, Nano, etc) on the left,
  • IDE in the center,
  • and “text editor” (meaning Vim, Emacs, VSCode, Sublime, etc.) on the right
[-] priapus@sh.itjust.works 2 points 11 months ago

That's exactly how I would've made it

[-] dream_weasel@sh.itjust.works 7 points 11 months ago* (last edited 11 months ago)

Seems like the right side should be classic terminal tools like ed. Or any other cat/echo/etc where you change the contents of the file without opening it (or all of it) directly.

[-] savoy@lemmygrad.ml 4 points 11 months ago
[-] Dohnakun@lemmy.fmhy.ml 1 points 11 months ago

What are the x and y axis?

[-] madeindjs@lemmy.ml 2 points 11 months ago

IQ on X, percentage of the population on Y

[-] Dohnakun@lemmy.fmhy.ml 1 points 11 months ago

Huh, it's wrong then.

this post was submitted on 18 Jul 2023
101 points (99.0% liked)

Programmer Humor

31259 readers
993 users here now

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

Rules:

founded 4 years ago
MODERATORS