Skip to content
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

Let :Other accept file path as an argument #28

Open
kaka-ruto opened this issue Jun 14, 2023 · 2 comments
Open

Let :Other accept file path as an argument #28

kaka-ruto opened this issue Jun 14, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@kaka-ruto
Copy link

Sometimes you do not want to map a pattern for maybe a single file, and you just want to teach :Other that the following file is the 'other' file that I always want you to open.

At the moment passing anything other than the context to :Other returns No 'other' file found

Would be nice to be able to do the following :Other my/new/file/path.rb and the plugin will store that as the 'other' file for this current file. Now the next time I will just need to type :Other and it'll open my/new/file/path.rb

@kaka-ruto
Copy link
Author

Thank you for the work on this plugin!

If you show me how to contribute, I might be able to give this a try if it's a feature you'd want to support

@rgroli
Copy link
Owner

rgroli commented Jun 21, 2023

Hey @kaka-ruto!

I really like your idea and I'm totally onboard with integrating it. The only thing I'm not quite sure about is the syntax ':Other ' you mentioned. But don't worry, I'll figure out a way to make it work.

And you're absolutely right about #27. I totally need to write up the requirements to help the devs get started. I'm actually in the middle of updating and streamlining the readme, so I'll add a section specifically addressing this. I'll be sure to keep you in the loop with any updates.

Thanks for sharing your ideas, much appreciated!

@rgroli rgroli added the enhancement New feature or request label Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants