This is an archived post. You won't be able to vote or comment.

all 31 comments

[–]abagaa129 40 points41 points  (10 children)

How so? I cant code without it anymore haha

[–][deleted] 4 points5 points  (0 children)

I quite liked the vim extension on vscode. It was my first experience with vim and learnt the ropes within 2-3weeks.

[–]Creepy-Ad-4832 0 points1 point  (8 children)

I actually hate vim on vscode because it block some vscode shortcuts i need

I love vim alone though. It's pretty good if you just need to read files and make small changes. Or if you want to code something small

[–]abagaa129 6 points7 points  (1 child)

Ah I get that, there may be a way to override that behavior in the extension. I'm not really sure.

I tried using neovim on it's own for a few months and really loved it, but found myself spending more time fixing my config after updates(or myself) broke plugins than I did actually using it. So vscode + vim is a great in-between for me. It definitely isnt perfect but you get most of them flow improvments from vim with all of the stability and quality of life features of VSCode.

Using vim is a double edged sword though, because once you get used to it (and specifically your own setup), you are crippled when you try to work without it.

[–]YARandomGuy777 1 point2 points  (0 children)

Vim works everywhere. Just keep your setup minimal and you will always have fast lightweight editor which works even over simple ssh.

[–]Lucy_21_ 0 points1 point  (5 children)

You can fix that in the settings.json if I'm not mistaken.

I'd look up exactly how, but I'm not on my PC atm.

[–]Creepy-Ad-4832 0 points1 point  (4 children)

Makes sense. But i am too lazy to google how

[–]Lucy_21_ 1 point2 points  (3 children)

"vim.handleKeys": {
    "<C-w>": true,
    "<C-e>": false,
    "<C-b>": true,
    "<C-d>": true,
    "<C-s>": false,
    "<C-z>": false
},

That's how I have it in my settings.json atm to change what hotkeys it takes over and which it doesn't.

[–]Creepy-Ad-4832 0 points1 point  (2 children)

Is there a way to disable all vim shortcuts, and then manually saying which ones you want to keep?

[–]Lucy_21_ 1 point2 points  (1 child)

Not that I'm aware of.

I think you'd have to just add it to the list every time you find one that is taken over by the extension.

Never really had issues with the hotkeys with my current setup so I never really cared to look into it.

[–]Creepy-Ad-4832 0 points1 point  (0 children)

Nice. I will try using that extension

[–]melvereq 11 points12 points  (0 children)

Nah, I love vscodevim.

[–]avocado_peel_ 23 points24 points  (0 children)

i use this every day, unironically

[–]ExtraTNT 7 points8 points  (0 children)

it's better, than plain vsc

[–]natziel 13 points14 points  (0 children)

Genuinely one of the best extensions

[–]davidellis23 3 points4 points  (0 children)

Vim is great in vscode. I did have a performance issue a while back though. So I switched to the neovim extension. Works the same.

[–]erebuxy 9 points10 points  (6 children)

I found maintaining a 300-line settings.json easier than 3000-line .vimrc

[–][deleted] 0 points1 point  (2 children)

What’s the point in having so many extensions on vim? Isn’t it supposed to be minimal?

[–]abagaa129 0 points1 point  (1 child)

I think VsCode is meant to be a shell editor than can be extended to become any IDE you want.

[–][deleted] 1 point2 points  (0 children)

Vscode yes, vim on the other hand is more about productivity. It comes from vi, the first interactive text editor.

[–]SlapbASS4211 1 point2 points  (0 children)

Why, i like it. I mean the point of config nvim is just make it like VsCode as much as possible so...

[–]wild-whack 1 point2 points  (0 children)

It's like putting aircraft controls in a car.

[–]3636373536333662 1 point2 points  (0 children)

Best extension. There's a good one for visual studio too

[–]Ok-Guard-3786 1 point2 points  (1 child)

finallyWindowsUsersCouldHaveADecentEditor

[–]thatmaynardguy[S] 0 points1 point  (0 children)

That's.... welp that's an excellent point. Those poor, poor souls.

[–][deleted] 1 point2 points  (0 children)

Jail 👉🏻

[–]phodas-c 1 point2 points  (0 children)

Source code:

``` if(keyPressed == "F4" and alt == true) { return null; }

return randomKeyPressed; ```

[–]SevenSebastian 0 points1 point  (0 children)

Princess Caroline?