5 ms·
I'm an avid tmux+neovim user, too, though working with Reason is a lot easier in VS Code. Making the switch from actual vim to fake vim (ie JS emulation) sucks
by tonyhb 9y ago
I'm an avid tmux+neovim user, too, though working with Reason is a lot easier in VS Code. Making the switch from actual vim to fake vim (ie JS emulation) sucks.
Recently, VSCodeVim merged #1725 to add actual neovim as an editor - it's using NeoVim's embedding API so you're using neovim to edit the text file inside of VSCode's chrome, including all of VSCode's type hints and popups. Info here: https://github.com/VSCodeVim/Vim/issues/1735 https://github.com/VSCodeVim/Vim/issues/1735
There's an ongoing rewrite to make neovim also work with your existing .vimrc file: https://github.com/VSCodeVim/Vim/pull/1897 https://github.com/VSCodeVim/Vim/pull/1897
I'm really stoked that we get the best of both - for languages with first-class VSCode support we don't have to decide between a half-baked VIM plugin or using VSCode without vim... you get both!
- chillee 9y agoTo be clear (as the guy behind these efforts), what was merged was a PR to let Neovim handle Ex-commands. This by itself was already pretty cool. In <200 lines of code, we were able to obtain full Ex-mode support, an aspect that had already taken 2000+ lines of code for much more limited support. The PR for full neovim integration is the one you linked. It's more than just making it work with your existing .vimrc file: it's making it work with most vim plugins, leveraging the neovim runtime to make macros run faster, etc.
- Lio 9y agoMy hope is that language server protocol support in NeoVim will make all of VSC’s best toys available in the terminal. Personally I’d prefer that to working in GUI with an embedded terminal.
- nasredin 9y agoThis is the FIRST time when a "Emacs is a nice OS, all it's missing is a decent text editor" joke would be appropriate. If 20 years ago you would have told me we gonna have Vim inside a text editor inside a web browser I would have thought you are insane.
- eequah9L 9y agoBTW, it does have a decent text editor. It's called Evil :)
- baldfat 9y agoSpacemacs you mean ;)
- TallGuyShort 9y agoIs that pronounced "space macs" or "spacky macs"?
- baldfat 9y ago"Space Emacs"
- jjnoakes 9y agoSorry, that's not correct. http://spacemacs.org/doc/FAQ http://spacemacs.org/doc/FAQ "Space Macs"
- twoquestions 9y ago> What is the official pronunciation of Spacemacs? > As it is written, that is space then macs. http://spacemacs.org/doc/FAQ http://spacemacs.org/doc/FAQ
- sooheon 9y agoSpacemancs is another half-step up the ladder toward OS. It's a bunch of configuration utils and conventions that other people have decided for you--which may or may not be what you want.
- baldfat 9y agoI actually have moved from VIM (I had an Amiga that I learned Vim on) to VS Code. The Vim plugin is just great but the VS Code ecosystem id great and when I switched was much fast than Atom. If people can look past their Electron Bias they might actually find a great open source tool.
- adelarsq 9y agoAlso there is https://github.com/extr0py/oni https://github.com/extr0py/oni, an editor also based on Electron
- mikeyjk 9y agoMy work setup is Windows -> Linux VM with TMUX and Neovim. I have my VM configured to use SAMBA so I can access all my files from Windows. I was pretty impressed when Oni for windows handled my legitimate .vimrc (init.vim now) without any issue. - https://github.com/bryphe/oni https://github.com/bryphe/oni - https://news.ycombinator.com/item?id=15060417 https://news.ycombinator.com/item?id=15060417 - https://www.reddit.com/r/programming/comments/5gm5wa/oni_a_idelike_ui_for_neovim/ https://www.reddit.com/r/programming/comments/5gm5wa/oni_a_i... - https://devhub.io/repos/extr0py-oni https://devhub.io/repos/extr0py-oni (gif dump) Other neovim frontends: - https://github.com/neovim/neovim/wiki/Related-projects#gui-projects https://github.com/neovim/neovim/wiki/Related-projects#gui-p... (I tested the QT one on windows and was a bit disappointed).
- jjcm 9y agoThis is great. Just enabled it and it's really nice having a full version of vim inside of vscode. I actually switched from vscode to atom a while back because the vim emulation in it was a little bit better, but I'm definitely going to switch back because of this. Thanks again for the heads up :)