Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Execute oni directly from terminal #668

Closed
Kcrong opened this issue Aug 28, 2017 · 6 comments
Closed

Execute oni directly from terminal #668

Kcrong opened this issue Aug 28, 2017 · 6 comments

Comments

@Kcrong
Copy link

Kcrong commented Aug 28, 2017

Hi, I just installed oni with THIS method,
but I couldn't find how to execute oni directly.

It seems kind of plugin with neovim, but I still have same design of vim.

so question. how can I run a oni directly from the terminal

I'm using OS X

@bryphe
Copy link
Member

bryphe commented Aug 28, 2017

Hi @Kcrong ,

Thanks for trying out Oni! Yes, we're actually just working on finalizing this. There has been a PR in #646 that adds a helper to 'Add to Path' on OSX. #636 is also tracking the remaining work, basically a shell script we can use to start Oni.

Probably the simplest way to get Oni in your path is to build from source, as the npm link command will expose a global oni shell command. Hope that helps!

It will be really nice to have this streamlined on OSX with the fix for #646 and the fix for #636 in.

I'll close this as a duplicate of #636, but let me know if you have any further questions.

@Kcrong
Copy link
Author

Kcrong commented Aug 28, 2017

@extr0py Thanks you for the response!

I have one more question.
If I use command-palette,
it just keep showing me Loading ... Like:
image

I entered command palette with Ctrl + p.

@bryphe
Copy link
Member

bryphe commented Aug 28, 2017

Sure thing! That looks like a duplicate of #662 - we don't do a very good job at the moment of handling the case where you open the fuzzy finder from home or a root dir.

If you follow the workaround mentioned there, and select a folder, like Ctrl+Shift+P -> Open Folder. You can also just use the vim command like :cd /my/folder. At that point, once a folder is opened, the fuzzy finder should work better. Hope that helps!

@Kcrong
Copy link
Author

Kcrong commented Aug 28, 2017

Thanks! it works very well :)
Also, it is really cool

@Kcrong
Copy link
Author

Kcrong commented Aug 28, 2017

@extr0py FYI, you can close this issue :)

@bryphe
Copy link
Member

bryphe commented Aug 28, 2017

Sweet, thanks @Kcrong , glad that worked for now 👍 Thanks for the kind words!

@bryphe bryphe closed this as completed Aug 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants