Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
albi11718y2 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.
-
Celes6908yWhen 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 :)
-
Arlekin8958yThat's surprisingly fair and mature approach. Seldom ppl who tried vim end up with such healthy approach. Props bruh ;)
-
rayanon13608yIdk 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.
-
@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.
-
rayanon13608y@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.
-
@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.
-
rayanon13608y@kudamalam modal editing is different from shortcuts. That's why I mentioned it explicitly. You should really check it out.
-
@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.
-
rayanon13608y@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. -
johnDoe32338yI'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
Related Rants
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.
undefined
productivity
vim
mouse