telescope layout - vertical

This commit is contained in:
yzinchuk
2026-06-15 21:19:15 -04:00
parent 44f0fbbf3f
commit dac73cf585
+10 -7
View File
@@ -522,11 +522,14 @@ do
-- You can put your default mappings / updates / etc. in here
-- All the info you're looking for is in `:help telescope.setup()`
--
-- defaults = {
-- mappings = {
-- i = { ['<c-enter>'] = 'to_fuzzy_refine' },
-- },
-- },
defaults = {
layout_strategy = 'vertical',
layout_config = {
height = 0.95,
width = 0.95,
preview_height = 0.5,
},
},
-- pickers = {}
extensions = {
['ui-select'] = { require('telescope.themes').get_dropdown() },
@@ -588,10 +591,10 @@ do
-- Override default behavior and theme when searching
vim.keymap.set('n', '<leader>/', function()
-- You can pass additional configuration to Telescope to change the theme, layout, etc.
builtin.current_buffer_fuzzy_find(require('telescope.themes').get_dropdown {
builtin.current_buffer_fuzzy_find {
winblend = 10,
previewer = false,
})
}
end, { desc = '[/] Fuzzily search in current buffer' })
-- It's also possible to pass additional configuration options.