4 ms·
I really liked Visual Studio Code, but I couldn't really use it without a Vim plugin. So over the last few months I've been working on this one: https://market
by johnfn 10y ago
I really liked Visual Studio Code, but I couldn't really use it without a Vim plugin. So over the last few months I've been working on this one:
https://marketplace.visualstudio.com/items?itemName=vscodevim.vim https://marketplace.visualstudio.com/items?itemName=vscodevi...
I think it's gotten a lot better, and if lack of vim keybindings was something that was holding you back from trying VSC, I highly encourage you to try it again!
- alfanick 10y agoThanks from a user ;) I cannot use any editor without vim keybindings, furthermore I love "relativenumber", however VSCode gives no API for relative numbers (there is some hacky gutter images extension, but it is really hacky, slow and bad looking). I've made a fork with relative numbers built-in https://github.com/alfanick/vscode https://github.com/alfanick/vscode. Not going to do pull request, at least not yet - unit testing and i18n required. BTW I do not use TypeScript (or JS), but it was quite easy to write, still I was quite surprissed how messy VS Code codebase is.
- johnfn 10y agoAh, you should definitely join in on our Slack. Another guy has done some similar work in a plugin: https://github.com/extr0py/vscode-relative-line-numbers https://github.com/extr0py/vscode-relative-line-numbers
- alfanick 10y agoyeah, that's the extension that inspired me ;)
- rebornix 10y agoThe reason that plugin lags is because it was using `setInterval` initially but I changed it to selectionChange hook and now it works smoothly. Now the only problem with it is it hides breakpoints but definitely we will improve this experience later on. / I'm a Code team member*/
- ashwinne 10y agoI find relative number very useful to jump lines. Please consider showing current line number for current line. And go ahead with the pull request, many of us need this feature :)
- alfanick 10y agothat's exactly what I implemented, yup I will make a pull request soon
- deleted 10y ago[deleted]
- DarkTree 10y agoDang, I'm really happy you made this (event supports remapping 'esc' to 'jj' which is a must for me), but now I'm so waist deep in the atom environment that the switching costs are pretty steep. At this point the only reason I would switch is speed, and Atom is not slow enough to outweigh the switching costs for me. Great work and initiative though, maybe one day I'll switch because of this.
- lucastheisen 10y agoAny chance you could add nerdtree like behavior for the directory tree? I sooooooo hate reaching for the mouse.
- vldr 10y agoThere are currently three or four different VIM plugins for VSCode and each of them has its issues. After switching a couple of times I'm currently sticking with your vscodevim but I still often run into situations where muscle memory does one thing and vscode does something unexpected. Still, keep up the good work! ;)