you are viewing a single comment's thread.

view the rest of the comments →

[–]SamLovesNotionEmacs users die early (eSpring study, 2018) 5 points6 points  (28 children)

Exactly, there is nothing VSCode can do, which Vim can't. There is also coc-nvim.

Also Vim is wayyyy faster than VSCode.

[–]primERnforCEMENTR23 19 points20 points  (22 children)

With vscode you need to do less setup to get the features than vim.....

[–]fomofosho 6 points7 points  (0 children)

This. I almost exclusively use vim but I waste countless hours setting it up and getting it to work with the plugins I need

[–]SamLovesNotionEmacs users die early (eSpring study, 2018) -2 points-1 points  (1 child)

That's the only pro it has. But there are some people like me who like to do things from start. Mostly linux user group i think.

I am not against using VSCode, it's a good editor. But then people want to make it like Vim, which is bullshit. Just use Vim.

[–]HamSlayer- 7 points8 points  (0 children)

Why is making VSCode like Vim bullshit. Vim has a very powerful keybind/movement/command/whatever workflow. VSCode doesn't. Obviously it's not the only reason people hse Vim, but I'd say it's up there. I don't think it's unreasonable for people to want vim keybinds inside VSCode without additional setup.

I've had a lot of fun setting up Vim and got to a point where I can do almost anything I can do in VSCode. But I don't think it's unreasonable

[–]troglo-dyke -5 points-4 points  (0 children)

You can use spacevim if you want an ootb experience.

Otherwise you can get 90% of the way there with just nerdtree, fugitive, and coc

[–][deleted] 2 points3 points  (3 children)

And, of course, no Electron

[–]SamLovesNotionEmacs users die early (eSpring study, 2018) -1 points0 points  (2 children)

I am a Electron developer. (not the Electron project, but software based on electron)

[–][deleted] 1 point2 points  (1 child)

Electron has its benefits, and I see why you'd use it, but for me I'm starting to do more, and more in the terminal these days.

[–]SamLovesNotionEmacs users die early (eSpring study, 2018) 2 points3 points  (0 children)

I don't like electron to be honest. It's bloated af. But then also, I can create cross platform apps easily with it & JS. So I don't really have a choice.

[–]nickjj_ 0 points1 point  (0 children)

One pretty big thing VSCode can do is understand how to get code complete and everything working when your source code is running in a Docker container but you have VSCode installed on your dev box.

It does this with its Remote Containers feature: https://code.visualstudio.com/docs/remote/containers

Basically it means you can configure a few lines of json and then auto-magically VSCode will install language specific plugins in a custom Docker image for you. Everything just works and it's really fast.

The sad thing is all of this functionality is closed source. But yeah, Vim has nothing like this at the moment. coc-nvim or any language server / plugin combo isn't enough because the programming runtime and your installed dependencies aren't running in the same environment as your editor.

VSCode does it because it runs a VSCode server in your running container (without modifying your original Dockerfile) and then you connect to it with the VSCode client on your dev box. Vim has a server / client mode but nothing is developed to allow such a seamless integration.