improvements: noice
This commit is contained in:
@@ -4,7 +4,10 @@ return {
|
||||
keys = {
|
||||
{
|
||||
"<leader>gs",
|
||||
":tab Git<CR>",
|
||||
function()
|
||||
vim.cmd("tab Git")
|
||||
end,
|
||||
-- ":tab Git<CR>",
|
||||
desc = "Fugitive",
|
||||
},
|
||||
},
|
||||
|
||||
@@ -27,12 +27,20 @@ return {
|
||||
keys = {
|
||||
{
|
||||
"<leader>pf",
|
||||
":Telescope find_files<CR>",
|
||||
function()
|
||||
require("telescope.builtin").find_files({
|
||||
prompt_title = "Find files",
|
||||
})
|
||||
end,
|
||||
desc = "Find files",
|
||||
},
|
||||
{
|
||||
"<leader>pw",
|
||||
":Telescope lsp_dynamic_workspace_symbols<CR>",
|
||||
function()
|
||||
require("telescope.builtin").lsp_dynamic_workspace_symbols({
|
||||
prompt_title = "Find symbols (LSP)",
|
||||
})
|
||||
end,
|
||||
desc = "Find symbols (LSP)",
|
||||
},
|
||||
{
|
||||
@@ -97,12 +105,18 @@ return {
|
||||
},
|
||||
{
|
||||
"<C-p>",
|
||||
":Telescope git_files<CR>",
|
||||
function()
|
||||
require("telescope.builtin").git_files({
|
||||
prompt_title = "Find files (Git)",
|
||||
})
|
||||
end,
|
||||
desc = "Find files (git)",
|
||||
},
|
||||
{
|
||||
"<leader>pt",
|
||||
":TodoTelescope<CR>",
|
||||
function()
|
||||
vim.cmd("TodoTelescope")
|
||||
end,
|
||||
desc = "Find TODOs",
|
||||
},
|
||||
{
|
||||
@@ -130,7 +144,9 @@ return {
|
||||
},
|
||||
{
|
||||
"<C-b>",
|
||||
":Telescope buffers<CR>",
|
||||
function()
|
||||
require("telescope.builtin").buffers()
|
||||
end,
|
||||
desc = "Find buffers",
|
||||
},
|
||||
},
|
||||
@@ -171,15 +187,18 @@ return {
|
||||
["<C-c>"] = false,
|
||||
["<C-l>"] = false,
|
||||
["<C-h>"] = false,
|
||||
["<C-p>"] = false,
|
||||
},
|
||||
float = {
|
||||
border = "single",
|
||||
}
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
"<leader>pv",
|
||||
":Oil<CR>",
|
||||
function()
|
||||
require("oil").open()
|
||||
end,
|
||||
desc = "File explorer (Oil)",
|
||||
},
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@ return {
|
||||
},
|
||||
},
|
||||
presets = {
|
||||
bottom_search = true,
|
||||
bottom_search = false,
|
||||
inc_rename = false,
|
||||
lsp_doc_border = true,
|
||||
},
|
||||
@@ -39,7 +39,7 @@ return {
|
||||
},
|
||||
cmdline_popup = {
|
||||
border = {
|
||||
style = "none"
|
||||
style = "single"
|
||||
},
|
||||
},
|
||||
popup = {
|
||||
@@ -47,6 +47,11 @@ return {
|
||||
style = "single",
|
||||
},
|
||||
},
|
||||
popupmenu = {
|
||||
border = {
|
||||
style = "single",
|
||||
},
|
||||
},
|
||||
confirm = {
|
||||
backend = "popup",
|
||||
border = {
|
||||
@@ -55,5 +60,7 @@ return {
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
require("telescope").load_extension("noice")
|
||||
end,
|
||||
}
|
||||
|
||||
@@ -27,6 +27,12 @@ return {
|
||||
|
||||
vim.api.nvim_set_hl(0, "NoiceFormatProgressTodo", { link = "Normal" })
|
||||
vim.api.nvim_set_hl(0, "NoiceFormatProgressDone", { link = "Normal" })
|
||||
|
||||
vim.api.nvim_set_hl(0, "NoiceCmdlinePopupBorder", { fg = catppuccin_colors.peach })
|
||||
vim.api.nvim_set_hl(0, "NoiceCmdlineIconCmdline", { fg = catppuccin_colors.peach })
|
||||
vim.api.nvim_set_hl(0, "NoiceCmdlineIconHelp", { fg = catppuccin_colors.blue })
|
||||
vim.api.nvim_set_hl(0, "NoiceCmdlineIconSearch", { fg = catppuccin_colors.blue })
|
||||
vim.api.nvim_set_hl(0, "NoiceCmdlinePopupBorderSearch", { fg = catppuccin_colors.blue })
|
||||
end
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user