News for hackers. Stuff that matters.
Re:Visual Studio Code team considers Vim mode depending on u... by AdmiralAsshat on Tuesday February 16, 2021 @05:33PM (#26159615)
Clarifying what "vim mode" means would probably be helpful. Sublime's "vim mode" is more like vim bindings, and a proper vim ex mode requires a separate extension in Sublime, IIRC.

But for some people, vim bindings might be enough. I know I frequently miss them when I'm working within Notepad++.

Re:Visual Studio Code team considers Vim mode depending on u... by d4mi3n on Tuesday February 16, 2021 @05:39PM (#26159683)
Agreed. I think existing plugins handle vim plugin compat, but for those of us who just miss modal editing it'd be nice to have support for that via existing keybindings.

The existing key chord feature in VSCode made up for a lot here, but being able to switch modes for when I'm editing vs reviewing would be pretty neat--especially if I could change key bindings for each mode.

Re:Visual Studio Code team considers Vim mode depending on u... by notJim on Tuesday February 16, 2021 @05:36PM (#26159652)
At least for my workflow, I haven't run into many issues with the current VIM bindings for vscode. I agree with the commenter who says it would be helpful to understand what's missing from those.
Re:Visual Studio Code team considers Vim mode depending on u... by dirkg on Tuesday February 16, 2021 @06:09PM (#26159996)
insert Office Space NOOOOOOOO gif

Sorry but please stop. No one needs yet more bloat in Vscode, and its trying to be all things to everyone. There are already extensions for this.

Whats next, eMacs mode, Jetbrains mode?

Re:Visual Studio Code team considers Vim mode depending on u... by selivanovp on Thursday February 18, 2021 @02:54PM (#26184601)
That’s the fate of most ‘code editors’. They start as a lightweight replacement for heavy IDE’s, but becoming more popular, getting more and more features just to end up as heavy as IDE’s, but with less features still.
Re:Visual Studio Code team considers Vim mode depending on u... by hobos_delight on Tuesday February 16, 2021 @07:14PM (#26160758)
I agree - I already use an extension for emacs key bindings that mostly works.

With such a rich extension ecosystem I'd rather see them invest in enabling extensions to do this, rather than adding the functionality themselves.

Re:Visual Studio Code team considers Vim mode depending on u... by CraigJPerry on Tuesday February 16, 2021 @05:45PM (#26159758)
For my use cases, the existing vscodevim extension has been pretty fine.

Macros would be nice but my keyboard supports on the fly macros so it’s not a show stopper.

I wouldn’t mind an implementation of :move but the nice thing about vim is it’s easy enough to work around that being missing in vscode vim.

Essentials like :%s///g work fine, regular motions are fine too in my experience.

The clipboard, now that i think about it, that isn’t a great story, even with use system clipboard enabled i’ve had a few p or ctrl-r * ... huh? Moments.

Re:Visual Studio Code team considers Vim mode depending on u... by rzzzt on Tuesday February 16, 2021 @05:46PM (#26159764)
"When we refer to 'up-voting' a feature request, we specifically mean adding a GitHub +1 reaction to the issue description."

I have no horse in this race, but ~45% of upvotes seems to go to triage-bot's comment linked from this thread.

Re:Visual Studio Code team considers Vim mode depending on u... by umvi on Tuesday February 16, 2021 @05:34PM (#26159633)
I wish VSCode would stop bloating to accommodate every little request under the sun. I thought that's what extensions were for.

VSCode core should be very lean and mean, instead I feel like every version of VSCode gets bigger and bigger.

Re:Visual Studio Code team considers Vim mode depending on u... by onion2k on Tuesday February 16, 2021 @05:39PM (#26159690)
I thought that's what extensions were for.

Sometimes the core application has to change to expose things those plugins need, and without considering the use cases of what people want it's very hard to know where to focus engineering effort that will make a difference for both users and plugin authors. Adding a Vim mode could lead to other interesting plugins, user benefits, and a better experience for everyone. That's why the VS Code team are asking the community to vote on this issue.

Re:Visual Studio Code team considers Vim mode depending on u... by umvi on Tuesday February 16, 2021 @05:43PM (#26159739)
> Sometimes the core application has to change to expose things those plugins need

Sure, I'm all for that. I want the extension api to be flexible enough to fully accommodate this type of stuff. I don't want sublime vim bindings as a core feature bundled in with every copy of VSCode, it's not something will ever use.

Re:Visual Studio Code team considers Vim mode depending on u... by nickysielicki on Tuesday February 16, 2021 @06:01PM (#26159925)
Cursor movement is latency sensitive in a way that 95% of plugins are not. An editor where your cursor doesn't move when it's supposed to is very distracting -- I think for most people, it's disqualifying. I like VSCode, but my primary machine is a 2015 MBP and I can't use VSCode as my primary editor because the vim lag is too strong.

It's not simple to engineer a plugin system that can accomodate this. There aren't that many preferred input schemes, why not just support them as first-class?

Re:Visual Studio Code team considers Vim mode depending on u... by umvi on Tuesday February 16, 2021 @07:05PM (#26160660)
Honest question, why not just literally use vim if you love vim workflow? Why do vim users force vim support on every other text editor?
Re:Visual Studio Code team considers Vim mode depending on u... by lenkite on Thursday February 18, 2021 @01:28AM (#26176633)
He (like me) probably uses BOTH vscode and vim. VSCode has a number of great extensions I love. VIM has a number of great plugins I love. I love both editors! Now, I just need VIM input scheme on both, for fast, consistent keyboarding that leverages my muscle memory.
Re:Visual Studio Code team considers Vim mode depending on u... by IshKebab on Tuesday February 16, 2021 @05:37PM (#26159663)
There is a Vim extension but changing VSCode to act like Vim is really more than you can do in an extension, especially performantly.

VSCode extensions don't have free reign to modify anything they like.

Re:Visual Studio Code team considers Vim mode depending on u... by viraptor on Tuesday February 16, 2021 @05:41PM (#26159711)
What do you think is missing and not fixable in the extension? We've even got the neovim extension which literally runs vim in the backend.
Re:Visual Studio Code team considers Vim mode depending on u... by Shadonototro on Tuesday February 16, 2021 @08:22PM (#26161410)
let's not forget how big vscode is, 260mb

to have an interface where you type text

Re:Visual Studio Code team considers Vim mode depending on u... by cweagans on Tuesday February 16, 2021 @09:18PM (#26161819)
Except that’s not all it does. Surely you don’t reduce a web browser down to “an interface that shows bold text” or a television to “a box in my house that shows me Ben Stiller”.

So let’s call it what it is: an IDE. Compared to other IDEs, vscode is the smallest. IntelliJ is 750mb. Xcode is several GB now. Visual Studio can be like 100GB with all the options included.

Sure, if you’re comparing vscode with a minimal vim install, it’s huge, but not everyone can use a minimal vim install to get things done effectively.

Re:Visual Studio Code team considers Vim mode depending on u... by moocowtruck on Tuesday February 16, 2021 @05:22PM (#26159507)
wow it only takes 20 upvotes? #easywin!!
Re:Visual Studio Code team considers Vim mode depending on u... by wuxb on Tuesday February 16, 2021 @05:30PM (#26159586)
I don't use vscode but I just upvoted. Hope it's speed/UX can be made comparable to vim.
Re:Visual Studio Code team considers Vim mode depending on u... by AdamJacobMuller on Tuesday February 16, 2021 @05:44PM (#26159742)
Seems impossible to me that an electron app can respond as quickly as native code one.

Ignoring other issues I had, I ditched VSCode and went back to MacVim after probably 3-4 months specifically because of the input lag I experienced when typing. The input lag seemed to be tied to things like plugins looking up information like autocomplete, which, I know is more computationally expensive than simple text rendering but it seemed like VSCode blocked simple text rendering on waiting for autocompletion results.

I did have a number of other issues, but, I enjoyed VSCode enough that I would have stuck with it and tried to resolve. Now, I'm probably too old and too disconnected from code to actually switch.

Re:Visual Studio Code team considers Vim mode depending on u... by wuxb on Tuesday February 16, 2021 @10:24PM (#26162272)
You're never too old. It's just the new tools are not good enough.
Re:Visual Studio Code team considers Vim mode depending on u... by viraptor on Tuesday February 16, 2021 @05:44PM (#26159745)
Please don't just jump on the bandwagon. There are existing extensions providing extensive vim mode - if you're not using VS you don't know what's already possible.
Re:Visual Studio Code team considers Vim mode depending on u... by BoorishBears on Tuesday February 16, 2021 @05:28PM (#26159566)
Only 20 because that just gets it to the backlog
Re:Visual Studio Code team considers Vim mode depending on u... by notJim on Tuesday February 16, 2021 @05:37PM (#26159658)
With a bar this low, that backlog must be a nightmare.
Re:Visual Studio Code team considers Vim mode depending on u... by ihuman on Tuesday February 16, 2021 @05:41PM (#26159712)
Does Microsoft actually implement all backlog items, or is it just a queue of issues for them to look at?
Re:Visual Studio Code team considers Vim mode depending on u... by vemv on Tuesday February 16, 2021 @05:27PM (#26159557)
Disclosing the conditions doesn't seem fortunate on their side.