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

feature request: toggle float windows #94

Closed
1 task done
yujinyuz opened this issue Apr 28, 2023 · 4 comments
Closed
1 task done

feature request: toggle float windows #94

yujinyuz opened this issue Apr 28, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@yujinyuz
Copy link

Did you check existing requests?

  • I have searched the existing issues

Describe the feature

Ability to toggle floating window

Provide background

Thanks for this great plugin!

I'm coming from lir.nvim and one thing I've used is the require('lir.float').toggle().

Would it be possible to implement this?

Or this there any work around I could use?

Additional details

No response

@yujinyuz yujinyuz added the enhancement New feature or request label Apr 28, 2023
@stevearc
Copy link
Owner

Does the open_float function do what you want? There's also :Oil --float which does the same thing.

@yujinyuz
Copy link
Author

@stevearc Sorry I wasn't clear about my post.

I was actually talking about that but I want it to work like the same way with require('lir.float').toggle() where if you call it, it opens the oil interface and if you call it again, it closes it

@stevearc
Copy link
Owner

Added toggle_float function!

@yujinyuz
Copy link
Author

@stevearc awesome. thanks!

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