4 ms·
Can anyone comment on the state of Vim emulation in Vscode? I'm in Android Studio largely because of its support for my .vimrc, without which I can not live. Bu
by braindongle 7y ago
Can anyone comment on the state of Vim emulation in Vscode? I'm in Android Studio largely because of its support for my .vimrc, without which I can not live. But I see[1] that there have been recent commits related to this in Vscode. How good is it? Other thoughtful comparisons between life in JetBrains world vs Vscode welcome as well.
[1] https://github.com/VSCodeVim/Vim/commit/3158194561fa2fba921be4bd420acda4322316b4 https://github.com/VSCodeVim/Vim/commit/3158194561fa2fba921b...
- big_chungus 7y agoVim support is still pretty meh, though better than some others. The onivim guys are still plugging away at libvim [0], and I'm really hoping once it's stable, someone integrates it with vscode and other editors. [0]: https://github.com/onivim/libvim https://github.com/onivim/libvim
- mffnbs 7y agoI use both and have contributed to the IntelliJ extension. I haven’t noticed any functional difference between the two extensions and they both fit all my use cases.
- braindongle 7y agoUpdate: Curious, I took Vscode for a spin again and installed the latest Vim plugin. Although .vimrc keybinding support is supposed to be there, I'm getting no love. So new ticket for the maintainers [1]. The thing is Vscode is SO snappy and slick, I'm going to switch anyway :) [1] https://github.com/VSCodeVim/Vim/issues/4384 https://github.com/VSCodeVim/Vim/issues/4384
- rjblackman 7y agoover the years, i've learnt that learning to work with vanilla vim commands is the best way to go. any editing plugin feature is just an extra command character or two away if you know the basics very well. this means i am instantly productive in any ide that has a vim plugin. in fact i'd extend that to bash as well. i only use very minimal configuration these days.
- chrisseaton 7y ago> my .vimrc, without which I can not live How did you become unable to do basic text editing without a specific editor setup? Why do people become so dependent on tools?
- sooheon 7y agoMan is a tool using animal. Anyone else could take your lament and turn it around on something you depend on every day.
- HeWhoLurksLate 7y agoI worked at an automotive shop for a while. Let's go with an impact wrench for an example. In the car shop world, impact wrenches are primarily used for the installation and removal of wheels on vehicles. The impact wrench I started with had a single internal hammer- the thing that makes a click noise and applies torque. After a while of using it, I could hear when the wheel was seated correctly, and when it wasn't. Later, that tool broke, and got replaced with a dual-hammer one- and all of a sudden, I couldn't hear-- feel-- when wheels were on right, and it took me a few vehicles to adjust to the new noise, weight, and feel of the tool. I got used to the new one eventually, but I still liked the noises that the original wrench made more. Before I adjusted, I was unable to perform that part my job correctly because I didn't know exactly how to use the new thing that was identical in use-case to the old one. My CAD program of choice doesn't have many keybinds stock- and so I've bound my own shortcuts to different things buried under various menus. I also have a Logitech G502, which has buttons on the sides of it, that I've also bound to some of the more-used, harder-to-get-to functions. It's much easier to open up the parameters table- which I use heavily to tweak designs I make. It's the way I like to do things, and that one bind on the side of my mouse saves me from rooting through menus all the time trying to find the same thing over and over again. I set up that bind almost two years ago, and I've been using it ever since. When I got a new laptop recently, I had a hard time doing CAD until after I ported over all my keybinds and stuff. Now to answer your question- because those of us who use powerful tools to build custom stuff also like to customize the tools we have for the task at hand. A developer who's used to their setup that they live with every day will undoubtedly have a hard time using the factory settings, and an even harder time working with someone else's bindings. Why do people become so dependent on tools? Because we mold them to suit our desires, and they become an extension of who we are, and what we can do. Relevant XKCD- https://xkcd.com/1205 https://xkcd.com/1205
- mkolodny 7y agoI have a pretty extensive .vimrc, and use VSCode as my primary editor. Since VSCode didn't have .vimrc support when I set it up, I ended up translating my .vimrc into VSCodeVim's settings.json. It took a bit to figure out how, but now I prefer using vim in VSCode to using it in the terminal.