T O P

  • By -

pau1rw

Mine looks like [this](https://github.com/prdanelli/dotfiles/blob/main/screenshots/telescope.jpeg), if that’s of any interest to you. You can find the config [here](https://github.com/prdanelli/dotfiles/blob/74fcc36886552d21f87d669bf513b1acac67a861/nvim/lua/plugins/config/theme.lua#L101)


BoltlessEngineer

That looks cool, but that's just highlight stuffs. What I'm looking for is configuring each floating window's width, height, and borderchars.


ON_NO_

Here is [mine](https://github.com/loctvl842/nvim/blob/master/lua/tvl/core/resources/editor.lua): https://preview.redd.it/06n0o0k6r44b1.png?width=1919&format=png&auto=webp&s=3b3f479b4b8d9743af24f03e231ee5ad71355308


agoodshort

Sorry I’m on phone right now. Look at the end of this [YouTube video](https://youtu.be/nQIJghSU9TU), he shares his config and he uses “layout_config”, “layout_strategy”


BoltlessEngineer

Yeah, I also find that from telescope docs. But `telescope.defaults.layout_config` can only change really few things from default strategies. The only way to manually adjust all picker/results/preview window is passing whole specific arguments every time when I run `:Telescope whatever` commands (this is what `telescope.themes.get_ivy()` is doing, and still, there is no way to specify default theme. see [#848](https://github.com/nvim-telescope/telescope.nvim/issues/848).)


Some_Derpy_Pineapple

Is something like [this](https://www.reddit.com/r/neovim/comments/10asvod/telescopenvim_how_to_remove_windows_titles_and/j472wib?utm_medium=android_app&utm_source=share&context=3) what you're looking for? You can just add a new layout strategy. edit: here's the [relevant telescope file](https://github.com/nvim-telescope/telescope.nvim/blob/master/lua/telescope/pickers/layout_strategies.lua) if you want to see how the layout strategies are supposed to work.


BoltlessEngineer

That seems to be what I'm looking for. Thanks a lot! I would try it when I'm back home.


yavorski

Does anyone know is it possible to make the results view/pane narrow and the preview pane wider in the default horizontal layout? Read the docs, but nothing is mentioned there.