31

I learnt to navigate in Vim 🤩.

Ik it's not much. But had heard so much about Vim and Emacs (tho still don't know why are they so popular, or how to use them), but I kept my distance after the first time I could not quit the application.

Comments
  • 3
  • 1
  • 1
    I use vim mode in atom, and after some practice..
  • 2
    Makes you faster at typing, but that's not really the hard part of programming in terms of meeting deadlines anyway... Typing is literally the part that takes the least amount of dev time I feel like.
  • 1
    @rutee07 took me a while to understand the reference. Was going through the VimTutor thingy
  • 3
    It's very good to know vim
    If your Linux machine fucks up, you can edit files in terminal using vim
    I personally use nano because it's simpler but I'm gonna start get used to vim
  • 2
    It is 2019, there are very few reasons to ever NEED vim. And needing it is the only reason you should ever use it. It made sense a long time ago in a lot of different circumstances. Most of those circumstances have changed or have been made completely obsolete. Once again while there are still a few scenarios in which you will need it, most people never will
  • 2
    @jimshorts Or if you just like using it, but yeah.
  • 2
    @nicbe nobody actually likes it, they just think they do. Sometimes it's like listening to people convince themselves that they like traffic because it gives them time to listen to audiobooks. On top of the fact that very few people that use it actually use some of the core functionality that sets it apart from any other text editor. Not too dissimilar from how people use Excel. When it comes to the actual text editing it is the most convoluted and unintuitive applications on this planet. You should not need to read a fuking manual to understand how to edit text effectively
  • 5
    Vim is a problem. I started using vim because I was curious and it is good to know it, as there is always a vi or vim installed anywhere.

    So I saw someone in a video using it well and I thought: oh, I need to know that sourcery. But I started slow, just like you. It were i, j, k, l, h and :wq or :q! for sometime.

    But after needing use it once, I had to find how to copy and paste and I got a cheatsheet for it at the same time. Oh, damn.

    A few commands later and I wanted to use vim keybinds everywhere. I want an email with vim. Browser. Anything.

    I mostly use VSCode on day to day, but I have a plugin for vim keys and I usually edit a file inside vim on VSCode terminal as it is faster and a more pleasant experience then open it on VSCode for a small change.
  • 3
    @jimshorts
    Disagree. If you learn the 'fucking manual' - it's really increase effectivity of editing code.
    1. There is no need in extra moves to pick the mouse - all you do is typing
    2. You have more control the flow due to lot of specific actions on words, blocks etc.

    Write faster - have more time to think and try more ways to solve the problem.
    Unintuitive keybindigs and one-two weeks to get used to is a small price for this.

    But sure - to each his own.
  • 2
    @brunofontes
    Same with Atom
  • 1
    @Zenboj if that is the constraint you are solving for then I submit you do not know how to use a computer effectively at all
  • 2
    @Zenboj This.You need to get used to it to see why it's so good.
  • 6
    Learning vim also helps during ssh session, which I used a lot
  • 3
    @brunofontes
    > A few commands later and I wanted to use vim keybinds everywhere. (...) Browser.

    You might like qutebrowser. It's keyboard-focused and very minimal.
  • 1
    @VaderNT I'll take a look! Thanks!
  • 1
    @rutee07 ZZ
  • 3
    @jimshorts I can put that missing semicolon on the 729 line in 2 seconds with Vim how much time it's taking you to scroll there?
  • 2
    @jimshorts I think you've struck quite a few nerves here :) many people, including myself, LOVE vim.

    Asside from just the ability to neglect the mouse, I personally hate switching windows! "I need to compile, so let's open a terminal, and then while that happens let's do this other thing, so open another window, now there's too many, so move this one to a new workspace..." And before you know it you've got whiplash from all the switching. Vim lets me do it all in one place in very few keystrokes.
  • 2
    @1337M0nst3r `CTRL+G, 729, enter, END, ;`

    I have to navigate through an enterprise mono-repo comprised of multiple applications, front end and back end, written in 4 different languages (including the tooling). Everything I do on a daily basis would be impossible for you. And you come to me with "go to line" ? Really?
  • 1
    @jimshorts vim is not an IDE. although the amount of plugins and customization it can be damn close. I almost gaurentee anything you need to do is probably doable.
  • 1
    @jimshorts
    lowkey flex
  • 1
    @jimshorts that was a joke, chill out
  • 1
  • 1
    @bondrewd great game!!!
Add Comment