r/ProgrammerHumor • • Apr 20 '15

vim

Post image
1.3k Upvotes

427 comments sorted by

View all comments

0

u/[deleted] Apr 20 '15

[deleted]

72

u/kjanssen Apr 21 '15

This is a pretty accurate description of what it feels like after learning vim and using it consistently. Once you first become proficient, its exciting.

Then, once you get really used to it, and the vim way really seeps in, you begin to feel crippled when you don't have it. Writing emails, essays, or pretty much anything not in vim feels what I can only describe as trying to write with a pencil with the wrong hand. You can do it, but it feels unnatural, and you consciously notice the impediment to getting your thoughts out.

Like it's stated above, you can't go back even if you wanted. Luckily, most other editors and IDEs have some plugin that will emulate vim-style editing for you.

0

u/[deleted] Apr 21 '15

[deleted]

9

u/[deleted] Apr 21 '15

I'm am falling down the rabbit hole of LaTeX sooo fast. I understand legions passion.

→ More replies (3)

16

u/kjanssen Apr 21 '15

Ah, LaTeX. I've tried, but didn't get very far (before my vim days, and in Windows). I'm sure if I took another stab at it, I could get it down, but since I'm graduating this semester, I won't be writing many documents worthy of LaTeX in the near future.

I did know a guy at school, though, that was an absolute LaTeX wizard. He had the best looking homework I've ever seen, hands down. All the way from simple question and answer assignments to end-of-term research papers. I think he went to grad school. That guy, he's going places.

0

u/[deleted] Apr 21 '15

[deleted]

9

u/Apprentice57 Apr 21 '15

One of my friends and a student in the year ahead of me does this, my current class loves him for it.

Its chemical engineering, so there's complex notation and everything. I honestly don't know where my friend finds the time.

9

u/upvoteOrKittyGetsIt Apr 21 '15

I was in computer engineering (lots of special notation, though maybe not as much as chemical engineers use) & I was able to type the formatted notes in LaTeX faster than I'd be able to write them out by hand - I just did it during lectures. The larger issue was when we had to draw out a diagram. The best solution I could find for that case was copying it to physical paper, then taking a picture & inserting it into the document.

→ More replies (2)

6

u/Areign Apr 21 '15

do you have any suggestions for someone looking to learn LaTeX, i've tried using it in the past but didn't get very far. I'm going to be entering into a PhD in August and have been looking for things that will be valuable.

Having good long term notes seems kind of valuable.

9

u/na85 Apr 21 '15

Get someone who does know latex to send you a finished source file and use that as a reference.

→ More replies (1)
→ More replies (1)

6

u/quaunaut Apr 21 '15

And sometimes, it lets you do fucking magic.

Here's a talk including a bunch of live coding from EmberConf this year, from Toran Billups. He TDDs a new ember project, beautifully, and the magic he does in vim is jaw-dropping, until you've seen better.

https://www.youtube.com/watch?v=2b1vcg_XSR8

→ More replies (2)

5

u/Sean1708 Apr 21 '15

The amount of times I've typed my Esc mapping in reddit comments is ridiculous.

→ More replies (2)
→ More replies (1)

28

u/stealer0517 Apr 21 '15

I just use nano because it tells me how to quit out of it

15

u/DonCasper Apr 21 '15

Quitting stuff in Linux is a bit of a task in general. It's always ctrl+c, except for when it's ctrl+x, unless it's just q or just x. Of course sometimes it isn't even a command, you need to bring up the menu with : and type quit, except when there is a terminal GUI, then you might have to bring up the menu with Alt, and then hit X.

Honestly it doesn't bother me now, but quitting command line utilities was the biggest pain in the ass when I was learning Linux. I went from installing Windows and having it work, to installing Linux and getting dumped on the command line where I had to set up X-conf and whatever the fuck the wireless system was called in 2003. The learning curve sucked.

Say what you will about Ubuntu/canonical making Linux dumb, but at least new users get a functional desktop before they have to learn the dark arts.

→ More replies (5)

4

u/rlbond86 Apr 21 '15

:q to quit

:q! to quit without saving

ZZ to save and quit

→ More replies (1)
→ More replies (2)

45

u/bedstefar Apr 21 '15

I respect your stance.

Sincerely,

An Emacs user

0

u/[deleted] Apr 21 '15

[deleted]

→ More replies (1)
→ More replies (4)

32

u/Lexusjjss Apr 21 '15

Well damn. Now I want to learn vim.

→ More replies (30)

9

u/tommcdo Apr 21 '15

When you're infected with Vim, all other modes of editing text become deeply unsatisfactory to you.

I've never heard anyone describe that better. "Deeply unsatisfactory". It's like you transcribed my soul.

7

u/Sporz Apr 21 '15

That was awesome :)

I think it's definitely the speed of thought thing. The text navigation is definitely one thing (dancing through the file with precision in a matter of keystrokes!) but the way buffers and file navigation works in vim is great too. Whenever I have to go drag my mouse somewhere in an editor to find a function definition or some file, it often feels like my brain got derailed. I used Eclipse for years (and it's a fine IDE) but with projects including more than like a dozen or two dozen files (The projects I work with contain hundreds or thousands) it felt like the editor was making me click navigate a complex filetree and maybe some menus to get to where I wanted.

With vim's buffers I can do it in a matter of keystrokes and not lose my context (it even remembers the order of files I've traversed) in each frame. The buffer concept itself is jarring to people (people who haven't used vim or emacs expect tabs) but it becomes really powerful just keeping your train of thought together.

full disclosure though: I use emacs now - BUT I use a plugin called evil-mode that emulates vim's keybindings and Ex commands and covers like 99% of vim's functionality that I use. I use vim's commands almost whenever possible so I basically still use vim - I just have emacs functionalities available too.

→ More replies (3)

4

u/Endur Apr 21 '15

It is an addiction. I'm a junior dev who was forced into vim during one of my classes. I started using it for my other classes (it was really helpful in operating systems) and the rest was history. Now I can't live without it, I'm constantly installing Vim plugins for every other editor I use

→ More replies (1)

0

u/[deleted] Apr 21 '15

[deleted]

4

u/Mortress Apr 21 '15

Why not? I use dvorak and I just started to learn vim. I haven't come across anything inconvenient yet.

4

u/MagicalVagina Apr 21 '15

Well, you can remap the keys. I'm on colemak and it's great. There is a nice config available on the colemak forums.

→ More replies (1)
→ More replies (1)

7

u/CJYP Apr 21 '15

You get my upvote for a well thought out and stated argument, even if I don't use vim myself.

→ More replies (60)