-
Notifications
You must be signed in to change notification settings - Fork 933
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: Responsive Telescope layouts #2173
Comments
You should look into Edit: you can also look into |
Sorry the delay I experimented with flex, it's cool how it swaps on resize/scale. You set the
I really expect layout strategy to depend on aspect-ratio instead on size So, flex would be perfect if But for now, the way above feels to me a better "generalist" option. And finally, i do think that setting better defaults is indeed LazyVim related. |
I see what you mean. You have 2 different monitors. I only have one horizontal and couldn't test the different behavior of |
Did you check the docs?
Is your feature request related to a problem? Please describe.
When using LazyVim in a vertical screen,
:Telescope live_grep
(<leader>/
), that has horizontal layout, gets without the previewDescribe the solution you'd like
It would be nice if LazyVim could check if has move height than width, and if so, exec
:Telescope ... layout_strategy=vertical
for<leader>/
|<leader>sg
|all Ts commands with previewLazyVim/lua/lazyvim/plugins/editor.lua
Line 53 in 5987570
Describe alternatives you've considered
I've created a
plugins/telescope.lua
to overwrite some keys, but that' too much to overwrite i suppose.Also, it may be a beneficial thing for every one.
Additional context
Here's how i've done on my side
No response
The text was updated successfully, but these errors were encountered: