Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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=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!



Dang, 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.


Thanks 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. 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.


Ah, 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


yeah, that's the extension that inspired me ;)


The 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*/


I 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 :)


that's exactly what I implemented, yup I will make a pull request soon


There 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! ;)


Any chance you could add nerdtree like behavior for the directory tree? I sooooooo hate reaching for the mouse.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: