nvim: telescope tuning
This commit is contained in:
parent
d666c403dc
commit
f0e98b6b46
5 changed files with 31 additions and 30 deletions
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
"extras": [
|
||||
"lazyvim.plugins.extras.coding.codeium",
|
||||
"lazyvim.plugins.extras.dap.core",
|
||||
"lazyvim.plugins.extras.formatting.prettier",
|
||||
"lazyvim.plugins.extras.lang.go",
|
||||
|
@ -15,10 +14,11 @@
|
|||
"lazyvim.plugins.extras.test.core",
|
||||
"lazyvim.plugins.extras.ui.edgy",
|
||||
"lazyvim.plugins.extras.ui.treesitter-context",
|
||||
"lazyvim.plugins.extras.util.gitui"
|
||||
"lazyvim.plugins.extras.util.gitui",
|
||||
"lazyvim.plugins.extras.util.project"
|
||||
],
|
||||
"news": {
|
||||
"NEWS.md": "5950"
|
||||
"NEWS.md": "6077"
|
||||
},
|
||||
"version": 6
|
||||
}
|
|
@ -13,9 +13,9 @@ return {
|
|||
table.insert(opts.sources, { name = "emoji" })
|
||||
|
||||
opts.view = { docs = { auto_open = false }, entries = { follow_cursor = true } }
|
||||
-- opts.completion = {
|
||||
-- autocomplete = false,
|
||||
-- }
|
||||
opts.completion = {
|
||||
autocomplete = false,
|
||||
}
|
||||
|
||||
local winhighlight =
|
||||
"Normal:NoiceCmdlinePopupTitle,FloatBorder:NoiceCmdlinePopupBorder,CursorLine:PMenuSel,Search:Search"
|
||||
|
@ -54,4 +54,16 @@ return {
|
|||
enable_chat = false,
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
"monkoose/neocodeium",
|
||||
event = "VeryLazy",
|
||||
config = function()
|
||||
local neocodeium = require("neocodeium")
|
||||
neocodeium.setup()
|
||||
vim.keymap.set("i", "<C-j>", neocodeium.accept)
|
||||
vim.keymap.set("i", "<A-f>", neocodeium.accept)
|
||||
vim.keymap.set("i", "<C-h>", neocodeium.cycle_or_complete)
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@ return {
|
|||
horizontal = {
|
||||
prompt_position = "top",
|
||||
mirror = false,
|
||||
preview_width = 0.4,
|
||||
preview_width = 0.49,
|
||||
-- preview_height = 0.5,
|
||||
},
|
||||
width = 0.9,
|
||||
|
@ -57,10 +57,10 @@ return {
|
|||
["<C-w>"] = false, -- <C-u> clear prompt
|
||||
},
|
||||
},
|
||||
path_display = { "filename_first" },
|
||||
previewer = false,
|
||||
-- path_display = { "filename_first" },
|
||||
-- previewer = false,
|
||||
preview = {
|
||||
hide_on_startup = true,
|
||||
-- hide_on_startup = true,
|
||||
},
|
||||
sorting_strategy = "ascending",
|
||||
winblend = 0,
|
||||
|
@ -68,4 +68,8 @@ return {
|
|||
}
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
"natecraddock/telescope-zf-native.nvim",
|
||||
},
|
||||
}
|
||||
|
|
|
@ -96,15 +96,4 @@ return {
|
|||
},
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
"monkoose/neocodeium",
|
||||
event = "VeryLazy",
|
||||
config = function()
|
||||
local neocodeium = require("neocodeium")
|
||||
neocodeium.setup()
|
||||
vim.keymap.set("i", "<C-j>", neocodeium.accept)
|
||||
vim.keymap.set("i", "<C-h>", neocodeium.cycle_or_complete)
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
|
@ -31,6 +31,7 @@ return {
|
|||
max_width = 50,
|
||||
max_height = 20,
|
||||
show_borders = true,
|
||||
toggle_event = { "InsertEnter", "InsertLeave" },
|
||||
},
|
||||
},
|
||||
|
||||
|
@ -117,14 +118,9 @@ return {
|
|||
},
|
||||
|
||||
{
|
||||
"linrongbin16/fzfx.nvim",
|
||||
dependencies = { "nvim-tree/nvim-web-devicons", "junegunn/fzf" },
|
||||
|
||||
-- specify version to avoid break changes
|
||||
version = "v5.*",
|
||||
|
||||
config = function()
|
||||
require("fzfx").setup()
|
||||
end,
|
||||
"ahmedkhalf/project.nvim",
|
||||
opts = {
|
||||
manual_mode = false,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue