-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Will Oni2 have vim plugin support? #150
Comments
Hey @unknownbreaker, Good question! We're still working through the details (which is why we gloss over it in the README: https://github.com/onivim/oni2#non-goals) The TL:DR; is that we'll support some subset of Vim/Neovim plugins. That subset is still TBD. Here's some of the considerations:
Some types of plugins that will likely work fine with Onivim2:
Types of plugins that likely won't be supported:
Some types of plugins that are iffy:
Note that in the cases we don't support above in VimL, there tend to be first-class solutions in the VSCode world (the plugin ecosystem is very extensive and mature). In fact, we've even forked VSCode just so that we can run its "extension host" process. I'd be interested though in cases where there is a gap - where we'd miss functionality with our VSCode-compatibility-approach, and we can work through to figure out the best avenue to preserve it. |
From a Vim user's perspective, one pertinent question is: "If I want to try out Oni2, can I use my existing .vimrc with small modifications? Can I write a .vimrc that works for both Oni2 and Vim in case I need Vim on the command line sometimes, and to ease the transition?" |
@nilsbecker - good question! We would like to support But we'll need to test - with Oni 1, we tried to support too much, and as a result the quality bar lowered. For Onivim 2 - I'd like to support a more minimal subset to start, get to a high quality bar, and incremental support more and more VimL/neovim configuration. We'll likely explore this after our MVP release. I'm also building up a corpus of configurations for us to test again: https://github.com/onivim/oni2/wiki/VimL-configs#viml-support - feel free to add yours so we can test against it 👍 |
I couldn't add mine (permission problem). |
Actually I'm already having such a compatibility script for dealing with vim/neovim/gvim/neovim-qt/neovim-gtk so I think it can be done the same way with |
I'm doing same thing here https://github.com/sassanh/qnvim for Qt Creator (using Neovim just for buffer management and manipulation.). I have a big So I guess this is what we should expect:
|
FYI - I've added a full milestone to investigate VimL configuration / plugin compatibility: (Updated on the website timeline: https://v2.onivim.io) |
Adding a vote for Lua support. This OCaml project might help make it possible: https://github.com/lindig/lua-ml If that happens, Oni2 would be scriptable with Fennel, a zero-overhead Lisp that compiles to Lua, and that would be just glorious :D https://oli.me.uk/neovim-configuration-and-plugins-in-fennel-lisp/ |
As soon as onivim 2 gets |
@DavidBachmann Not sure about "experimental.viml": [
"so ~/surround.vim"
] It throws an error along the way but as far as I can tell 90% of the surround commands work just fine regardless ( |
I know onivim has builtin terminal support and fuzzy finding, but I still really hope these plugins will work 🤞 |
Is there any way to load the .vimrc file directly with oni2?? I suppose this was planned. Any update would be most welcome. |
Yuescript offers only Vim Support: https://github.com/pigpigyyy/Yuescript#editor-support |
I wish the approach of onivim2 would have been: there are many plugins for both VSCode and nvim. Lets just merge those worlds, and provide some basic things. Instead, trying to implement all those features (including those who are in plugins), is just too wide task. Sad that it ended for now. |
Meaning, can you reuse the plugins that work for Vim8/NeoVim in Oni2?
The text was updated successfully, but these errors were encountered: