this post was submitted on 05 Nov 2024
315 points (100.0% liked)

Programmer Humor

421 readers
17 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
top 15 comments
sorted by: hot top controversial new old
[–] Malix@sopuli.xyz 37 points 1 week ago (2 children)

well, I am using vim, but I don't know how to use vim.

Am I vimming?

[–] squirrel@discuss.tchncs.de 26 points 1 week ago

Yes, you vom.

[–] 1984@lemmy.today 6 points 1 week ago (1 children)

If you dont know how to exit vim, then yes you are...

[–] Malix@sopuli.xyz 9 points 1 week ago (2 children)

:what^C^C^C^Z^Z^C^ESCFFUUUUUUUUUU...

[–] 1984@lemmy.today 6 points 1 week ago

I remember that experience first time and how I had to kill the process from another shell :)

This was before the internet so couldn't exactly google it either.

Fun times. But I figured it out by reading the man page.

load more comments (1 replies)
[–] emuspawn@orbiting.observer 17 points 1 week ago

unrepentant nano gang rise up

[–] pinkystew@reddthat.com 11 points 1 week ago

The first time I used VI I typed a few characters, then hit backspace to delete some characters. Backspace doesn't delete characters. I closed VI and never opened it again.

[–] sorter_plainview@lemmy.today 9 points 1 week ago (3 children)

Tried neovim a couple of times. Stopped after 10 or 15 mins. Anyone has useful tips to get used to vim/neovim?

[–] grrgyle@slrpnk.net 18 points 1 week ago

Just get used to

  • using movement (hjkl),
  • going between insert and normal modes (i and esc),
  • undoing (u from normal mode),
  • and saving (:w and :wq).

Don't try to do it all at first, just get comfortable with the essentials. You can even just stay in insert mode (the only mode in most editors) at first.

Keep a vim basics cheat sheet handy for a couple weeks as you're building in muscle memory, then slowly work in more advanced techniques and combinations.

It doesn't take long before you start having a lot of fun just manipulating text.

PS here's a decently basic cheat sheet I found: image describing basic vim keyboard bindings and commands

[–] akkajdh999@programming.dev 10 points 1 week ago

Pro Tip: to learn to do something, practice doing it

[–] TechieDamien@lemmy.ml 5 points 1 week ago

Go through the tutorial. It is quite good and teaches things incrementally with real world examples. Just run vimtutor to start.

[–] bluewing@lemm.ee 2 points 1 week ago
[–] cupcakezealot@lemmy.blahaj.zone 2 points 1 week ago (1 children)
[–] fl42v@lemmy.ml 1 points 1 week ago

I prefer https://marketplace.visualstudio.com/items?itemName=asvetliakov.vscode-neovim since emulators are generally not 1:1 compatible in the most unexpected places.