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 -- You can put your default mappings / updates / etc. in here
-- All the info you're looking for is in `:help telescope.setup()` -- All the info you're looking for is in `:help telescope.setup()`
-- --
-- defaults = { defaults = {
-- mappings = { layout_strategy = 'vertical',
-- i = { ['<c-enter>'] = 'to_fuzzy_refine' }, layout_config = {
-- }, height = 0.95,
-- }, width = 0.95,
preview_height = 0.5,
},
},
-- pickers = {} -- pickers = {}
extensions = { extensions = {
['ui-select'] = { require('telescope.themes').get_dropdown() }, ['ui-select'] = { require('telescope.themes').get_dropdown() },
@@ -588,10 +591,10 @@ do
-- Override default behavior and theme when searching -- Override default behavior and theme when searching
vim.keymap.set('n', '<leader>/', function() vim.keymap.set('n', '<leader>/', function()
-- You can pass additional configuration to Telescope to change the theme, layout, etc. -- 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, winblend = 10,
previewer = false, previewer = false,
}) }
end, { desc = '[/] Fuzzily search in current buffer' }) end, { desc = '[/] Fuzzily search in current buffer' })
-- It's also possible to pass additional configuration options. -- It's also possible to pass additional configuration options.