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

Launch in splits #10

Closed
fedoranvar opened this issue Dec 17, 2021 · 4 comments
Closed

Launch in splits #10

fedoranvar opened this issue Dec 17, 2021 · 4 comments

Comments

@fedoranvar
Copy link

Good day to you!

Is it possible to launch fm in vert or hor split?

Thank you!

@is0n
Copy link
Owner

is0n commented Dec 17, 2021

I've been sitting on the code that launches a split instead of a floating window for a while now but I haven't released it since I don't know how I would like the user to call a split and not a floating window.

How would you like to call a split?

I know other plugins create two commands called Picker and Explorer but since there are already so many commands, I don't think doubling the amount of commands is the best idea.

@fedoranvar
Copy link
Author

refering to togleterm's:

we can define it in setup for default or be able to pass as attribute in commandline.

@is0n is0n closed this as completed in d5bcc9d Dec 18, 2021
@is0n
Copy link
Owner

is0n commented Dec 18, 2021

Using the following will use splits instead of a floating window...

require('fm-nvim').setup{
	ui = {
		default = "split"
	}
}

Hope this helps :)

@fedoranvar
Copy link
Author

yes that helped!

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants