How to load my init.vim?
The documentation is really lacking in this one important area. Obviously, if I'm picking oni it is because I want to import my init.vim
But I have no idea how to do that? (MacOS el capitain)
Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.
@omarabid you should set the following option loadInitVim: true here's a link to the section of the docs with the config details
@Akin909 Yes, I already did that.
I also copied init.vim to the .oni folder just in case.
Cool 👍 is it working as expected? (PS shouldn't have to copy the init.vim to the .oni dir)
No. I did that before opening this issue. So maybe there is a problem in my setup?
Hmm, it would be helpful to have the logs from the developer tools:
Command+Shift+P-> Open DevTools- Go back to Oni
Command+Shift+P-> Reload Oni And if you could share the output, that would be helpful - we can see hownvimis being started, and then narrow down from there.
I'm getting the same problem. I've also noticed that trying to do Oni > Preferences > Edit Neovim Config opens up an empty file with the name "true".
Here's the console output from devtools when starting up oni:
[redacted because it was long and irrelevant]
What is the line you have in your config.tsx @notantonia ?
The "oni.loadInitVim" does accept both a boolean and a string, its possible its getting confused and treating the bool of true as the string - "true" and attempting to open a file called true.
@CrossR Ah I feel silly now, that was exactly my problem! Perhaps there should be a warning for people like me maybe? (But that's not related to this issue, so probably off topic).
We've spoken about it a few times @notantonia , but I couldn't find a specific ticket for it so I've raised one here : #2094.
Seems like the case was solved.