mirror of
https://github.com/ksyasuda/rice.git
synced 2024-11-22 03:19:58 -08:00
44 lines
1.2 KiB
Lua
44 lines
1.2 KiB
Lua
|
require('telescope').setup{
|
||
|
defaults = {
|
||
|
-- Default configuration for telescope goes here:
|
||
|
-- config_key = value,
|
||
|
layout_strategy = 'flex',
|
||
|
width = 0.9,
|
||
|
wrap_results = true,
|
||
|
preview = {
|
||
|
border = true,
|
||
|
borderchars = { '─', '│', '─', '│', '╭', '╮', '╯', '╰' },
|
||
|
title = true,
|
||
|
dynamic_preview_title = true,
|
||
|
treesitter = true,
|
||
|
},
|
||
|
mappings = {
|
||
|
i = {
|
||
|
-- map actions.which_key to <C-h> (default: <C-/>)
|
||
|
-- actions.which_key shows the mappings for your picker,
|
||
|
-- e.g. git_{create, delete, ...}_branch for the git_branches picker
|
||
|
["<C-h>"] = "which_key"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
pickers = {
|
||
|
-- Default configuration for builtin pickers goes here:
|
||
|
-- picker_name = {
|
||
|
-- picker_config_key = value,
|
||
|
-- ...
|
||
|
-- }
|
||
|
-- Now the picker_config_key will be applied every time you call this
|
||
|
-- builtin picker
|
||
|
find_files = {
|
||
|
-- theme = "dropdown"
|
||
|
}
|
||
|
},
|
||
|
extensions = {
|
||
|
-- Your extension configuration goes here:
|
||
|
-- extension_name = {
|
||
|
-- extension_config_key = value,
|
||
|
-- }
|
||
|
-- please take a look at the readme of the extension you want to configure
|
||
|
}
|
||
|
}
|