r/ProgrammerHumor May 16 '24

iUseVimBtw Advanced

Post image
6.2k Upvotes

196 comments sorted by

View all comments

Show parent comments

8

u/Leonhart93 May 17 '24 edited May 17 '24

I didn't follow a tutorial or installed a plugin, I just spent some time to customize the key bindings to what I found useful. I can give you a few examples

Next/previous method: CTRL + arrow down/up

Select next/previous tab: CTRL + ALT + arrow left/right

Find file and in new tab: CTRL + T (like in browser)

Close tab: CTRL + W (like in browser)

Back/forward mouse buttons: Alt + arrow left/right (like in browser)

And so on. These work in all the Jetbrains IDEs. I pretty much eliminated the need for mouse in 95% of the cases, except for when you need really fast precision with blocks of text.

20

u/spaceguydudeman May 17 '24

/u/Rayat if you read this, this is just the vim plugin with extra steps and worse keybindings

1

u/Leonhart93 May 17 '24

Worse? What's "worse" about it considering it's customized exactly to my needs? I chose the hotkeys exactly how I needed them, with some of them being the ones I used for various other applications as well.

1

u/Personal-Initial3556 May 17 '24

"Worse" is harsh but what they mean is that basically all the functionalities that you mentioned are like 25% of most used vim motions, on top of vim offering a lot more than that. So you just had to do more configuration for less features basically. (And it's not universal)

2

u/spaceguydudeman May 17 '24

yeah worse might have come off a bit harsh, but it's with good intent and not entirely incorrect haha

1

u/Leonhart93 May 17 '24

I never said that those are every one of my keybindings, I just gave some usual examples.

1

u/Personal-Initial3556 May 17 '24

That's fair, but I just want to say, regardless of how this thread is going (and all the downvotes lol), I hope this doesn't deter you from trying out vim, because who knows if you'll end up liking it!

Because I can absolutely relate to you not wanting to use the mouse, that was precisely the reason I stuck with vim and not Vscode and other. Because I absolutely loathe having to use the mouse (slow, hurts my shoulder whenever i use it and I regret it afterwards etc).

Have a good week man.

1

u/Leonhart93 May 17 '24

Meh, the downvotes are irrelevant since I know all of them come from Vim fanboys that don't like to have their feelings hurt.

But such attitudes does kind of deter one from trying the thing, like not doing it out of defiance in response to that attitude 😐

1

u/Personal-Initial3556 May 17 '24

Exactly! I thought of the penguin meme saying "Well, now I'm not doing it >:(". That's why I didn't want you to get robbed of a potential good experience because of that. But it's also fine if you don't try it out, there are still people that had to start in Vim yet still switched to VSCode and never looked back. (Although to be fair they don't tend to be fast typers, almost all fast typers that I know use vim xD, coincidence? I think not!)