20

I tried vim for a few weeks. I almost used to it. But I didn't see how I could be more productive with it than with Visual Studio Code, at all, so I switched back. Maybe because I'm super fast with my mouse because of my 2500 hours of Dota. But knowing how to use vim is super useful when doing remote stuff via SSH. Nano too basic.

Comments
  • 5
    ++ Dota for the win!
  • 5
    2 reason why I started using vim: the computer I have at my work only have 3gb of RAM so even though I love electron but... It's eats my memory, so switching from vscode to vim freed a lot of memory AND because I have a bad vision, I loose track of my cursor a lot so keyboard only is more simple in this case.
  • 3
    When you'll really be used to it, take your mouse will be too long to be worth it. NeoVim let you use the mouse if you want to :)
  • 4
    That's surprisingly fair and​ mature approach. Seldom ppl who tried vim end up with such healthy approach. Props bruh ;)
  • 3
    Idk but I thought moving your hand from the keyboard to the mouse and back to the keyboard - takes an eternity. If you never have to move your hand from the keyboard that's productivity win right there.
  • 0
    @saadwaqarmughal Don't worry I'm not one of those :) just a casual Sniper picker
  • 0
    @rayanon many tasks aren't just typing but reading, navigating through many files and hundreds of lines of codes, before editing them, and doing that with keyboard shortcuts only is too slow and require too much thinking, at least for me.
  • 0
    @kudamalam you should try to grok, or at least check out, the philosophy of modal editing. There are no keyboard shortcuts it's a language of editing. You can effortlessly use it to navigate/browse through hundreds of files, thousands of lines of code. In fact it is exactly what Vim specializes in, via it's modal editing.
  • 0
    @rayanon that's the thing I meant by shortcuts. Alright wrong term, modal, macros, commands, whatever, the whole 'grok' process is slow for me. It's painful because I forced to think about many things just to do one thing instead of just quickly move my mouse.
  • 0
    @kudamalam modal editing is different from shortcuts. That's why I mentioned it explicitly. You should really check it out.
  • 0
    @rayanon and what do you mean by checking it out? Because I know what it is and I've been doing it everyday already in the last few weeks.
  • 0
    @kudamalam okay by modal editing I mean Vim's different modes for editing and that you have some primitive motions (like go forward one word, one sentence etc.), and some primitive actions (like delete, change, copy etc.) and then you can compose these things to build complex actions. Like say to change contents of a string you can simply type ci". Which means change inside "(quotes).

    This is very different from learning keyboard shortcuts. And, IMHO, gives a very powerful editing interface. And these are all sane keys , no alt + ctrl + shift combos, and you never have to move hands from the keyboard. Which leads to faster typing and dopamine rushes. It's addicting.
  • 0
    I've never really looked deep into VIM,. Used emacs for awhile and it is quite nice, just having no mouse at all is a... Drag I guess
    Typically I'll use VS2017 or VScode and just get use to the keyboard shortcuts there
Add Comment