feat: enhance statusline with icon and text concatenation

This commit is contained in:
2024-10-11 12:49:00 -04:00
parent 77b20b2831
commit a09d836f0d
5 changed files with 40 additions and 20 deletions
+10 -3
View File
@@ -13,7 +13,7 @@ local rootiest = require("config.rootiest")
M.alternate = {
{ -- Toggle Alternate
"<leader>a",
"<leader>A",
"<cmd>Alternate<cr>",
desc = "Toggle Alternate",
},
@@ -535,6 +535,13 @@ M.gp = {
}
M.group = {
avante = {
{ -- Avante
lhs = "<leader>a",
icon = { icon = "", color = "red" },
group = "Avante",
},
},
chatgpt = { -- ChatGPT
lhs = "<leader>cx",
group = "ChatGPT",
@@ -804,7 +811,7 @@ M.lazygit = {
end,
desc = "LazyGit",
},
{ -- LazyGit
{ -- LazyGit
"<leader>gg",
function()
require("data.func").open_lazygit_popup()
@@ -906,7 +913,7 @@ M.misc = {
{ -- Telescope Find Files
lhs = "<leader><leader>",
rhs = function()
LazyVim.pick("find_files")()
LazyVim.pick("files")()
end,
desc = "Find Files",
},