Hacker News new | ask | show | jobs
by addicted 3517 days ago
I love using VIM to edit, but stuff like the following makes it hard for me to resist switching.

"ATA makes typings files almost invisible. A TypeScript language server that has ATA enabled watches your package.json files and automatically installs the typings files of all dependencies in a cache on your file system. It does the same when it finds references to well known client-side libraries. When you then invoke IntelliSense, the TypeScript server uses the typings files in the cache."

2 comments

There's no need to switch editors for that. The language servers can be used by any editor that supports the language server protocol. As far as I know nobody has written a plugin for Vim yet, but here's a discussion issue on the neovim tracker: https://github.com/neovim/neovim/issues/5522
Also, async completers like deoplete[1] offer non-blocking completion.

However...

> stuff like the following makes it hard for me to resist switching.

I don't think one should "resist". IDEs (VS code is an IDE, at this point) are very powerful. I really wish vim-modes would go away; I would like to see Neovim embedded in VS code and friends, instead. By "embed" I mean: nvim is the text editor, it does everything; it lives in the "document" area of the IDE; and you can bind nvim keys to IDE functions/commands (such as "Open Type...").

[1] https://github.com/Shougo/deoplete.nvim

Try Tsuquyomi: https://github.com/Quramy/tsuquyomi It works.
Hey, I'm one of the developers of VSCodeVim, and I'd encourage you to try out our extension and see how it works for you. You could get the best of both worlds! :)
Vscode + vim is a great combo