Vim's power doesn't come from using single-letter commands to do things but, rather, in the language-like (action, verb, noun) expressions the whole ecosystem enables: "daw" to delete a word, "cit" to replace the "inner" part of a tag and start typing, numbered prefixes to execute an action that number of times, etc. See also: https://stackoverflow.com/questions/1218390/what-is-your-mos... aka "Your problem with Vim…
One of the best resources that I have used (in the distant past) is vim golf[1]. It's a super fun way to level up your vim skills. [1] https://www.vimgolf.com/
Show HN: Build your own Vim emulation for VS Code
11–20 of 51 posts
Re: Show HN: Build your own Vim emulation for VS Code
#12This is an interesting approach. I find the popular vim emulation extension (vscodevim) is a bit buggy and has lots of "uncanny valley" gaps. At work I use vscodevim, and at home I use vim with TypeScript plugins. Both approaches have lots of annoyances. Maybe a weekend dedicated to ModalEdit could give me the experience I'm really after. I'm also excited for Oni Vim 2, which is a commercial product who's promise is…
Have you tried the neovim integration setting? I find that almost everything works as I would expect it to nowadays.
I found vscode macros particularly painful. Slow & where vim optimizes things. Typing abc^H^Hsdf will seamlessly play out as asdf, but with vscodevim I have to watch the macro repeat my mistake each time
Re: Show HN: Build your own Vim emulation for VS Code
#13Why use VSCode at all then? I've found coc.nvim and language servers to be every bit as good as VSCode in terms of code completion and definitions. I'm mostly writing Go, C, Javascript, and HTML/CSS. But, so far it's been working great. And, I'm a fairly recent convert to vim (neovim).
Re: Show HN: Build your own Vim emulation for VS Code
#14Vim's power doesn't come from using single-letter commands to do things but, rather, in the language-like (action, verb, noun) expressions the whole ecosystem enables: "daw" to delete a word, "cit" to replace the "inner" part of a tag and start typing, numbered prefixes to execute an action that number of times, etc. See also: https://stackoverflow.com/questions/1218390/what-is-your-mos... aka "Your problem with Vim…
I'm sure ModalEdit doesn't tempt any hardcore Vim users to use VS Code. But there are a lot of VS Code user's who have used Vim and like idea of modal editing. Having an extension that you can configure from ground up is the value proposition I was aiming for; not to make a poor man's Vim clone.
Re: Show HN: Build your own Vim emulation for VS Code
#15Earlier quoted context omitted.
Have you tried the neovim integration setting? I find that almost everything works as I would expect it to nowadays.
That only uses neovim for ex mode. Full integration of neovim requires digging into less widely used extensions such as https://github.com/asvetliakov/vscode-neovim I found vscode macros particularly painful. Slow & where vim optimizes things. Typing abc^H^Hsdf will seamlessly play out as asdf, but with vscodevim I have to watch the macro repeat my mistake each time
Re: Show HN: Build your own Vim emulation for VS Code
#16Earlier quoted context omitted.
Have you tried the neovim integration setting? I find that almost everything works as I would expect it to nowadays.
this one or something else? https://marketplace.visualstudio.com/items?itemName=asvetlia... I've been waiting for someone to make that work before diving into vscode and if it's solid looks like I have my weekend project.
Re: Show HN: Build your own Vim emulation for VS Code
#17It used to be the same thing with Eclipse and JetBrain's IDEs. Whatever Vim plugins existed were slow and falling into the uncanny valley, where they lacked support for many features or did things in slightly unexpected ways.
Torn between Vim and effectively Vimless IDEs, I chose to stick to the former and do what's possible to bring an IDE-like experience via plugins, though you still miss out on a lot in my experience, and any feature you want in Vim requires a lot more learning and configuring.
The promise of NeoVim was to provide true and complete Vim behavior in IDEs via its headless network protocol; but the indication here is it still hasn't happened.
Re: Show HN: Build your own Vim emulation for VS Code
#18It's disappointing to see from comments here that there's no true and performant Vim integration for VS Code. It used to be the same thing with Eclipse and JetBrain's IDEs. Whatever Vim plugins existed were slow and falling into the uncanny valley, where they lacked support for many features or did things in slightly unexpected ways. Torn between Vim and effectively Vimless IDEs, I chose to stick to the former and do…
Re: Show HN: Build your own Vim emulation for VS Code
#19Why use VSCode at all then? I've found coc.nvim and language servers to be every bit as good as VSCode in terms of code completion and definitions. I'm mostly writing Go, C, Javascript, and HTML/CSS. But, so far it's been working great. And, I'm a fairly recent convert to vim (neovim).
Re: Show HN: Build your own Vim emulation for VS Code
#20This is an interesting approach. I find the popular vim emulation extension (vscodevim) is a bit buggy and has lots of "uncanny valley" gaps. At work I use vscodevim, and at home I use vim with TypeScript plugins. Both approaches have lots of annoyances. Maybe a weekend dedicated to ModalEdit could give me the experience I'm really after. I'm also excited for Oni Vim 2, which is a commercial product who's promise is…
Have you tried the neovim integration setting? I find that almost everything works as I would expect it to nowadays.
But every time I disable it, I immediately miss normal mode. So yeah, as happy as I am with VSCode (which is a lot), the situation is suboptimal.