mirror of
https://github.com/Cian-H/my_nvim_config.git
synced 2025-12-22 20:21:57 +00:00
Added missing which-key icons
This commit is contained in:
@@ -12,6 +12,11 @@ return {
|
|||||||
{ "<leader>h", group = "[H]arpoon", icon="" },
|
{ "<leader>h", group = "[H]arpoon", icon="" },
|
||||||
{ "<leader>x", group = "[X] Trouble", icon="" },
|
{ "<leader>x", group = "[X] Trouble", icon="" },
|
||||||
},
|
},
|
||||||
|
commands = {
|
||||||
|
{ "<leader>f", group = "[F]ormat", icon="" },
|
||||||
|
{ "<leader>p", group = "[P]recognition", icon="" },
|
||||||
|
{ "<leader>?", group = "[?] Cheatsheet", icon="" },
|
||||||
|
},
|
||||||
gitsigns = {
|
gitsigns = {
|
||||||
{
|
{
|
||||||
"<leader>gs",
|
"<leader>gs",
|
||||||
@@ -231,7 +236,6 @@ return {
|
|||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
desc = "[P]recognition",
|
desc = "[P]recognition",
|
||||||
icon = "",
|
|
||||||
mode = "n",
|
mode = "n",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ vim.keymap.set("n", "<A-;>", "<C-w>x", { noremap = true, silent = true })
|
|||||||
vim.keymap.set("n", "<A-q>", ":q<CR>", { noremap = true, silent = true })
|
vim.keymap.set("n", "<A-q>", ":q<CR>", { noremap = true, silent = true })
|
||||||
-- Non standard key mappings are here
|
-- Non standard key mappings are here
|
||||||
vim.keymap.set("n", "<leader>d", vim.diagnostic.open_float, { desc = "[D]iagnostics" })
|
vim.keymap.set("n", "<leader>d", vim.diagnostic.open_float, { desc = "[D]iagnostics" })
|
||||||
vim.keymap.set("n", "<leader>f", vim.lsp.buf.format, { desc = "[F]ormat", icon="" })
|
vim.keymap.set("n", "<leader>f", vim.lsp.buf.format, { desc = "[F]ormat" })
|
||||||
vim.keymap.set(
|
vim.keymap.set(
|
||||||
"n",
|
"n",
|
||||||
"<leader>ci",
|
"<leader>ci",
|
||||||
|
|||||||
@@ -10,11 +10,13 @@ return { -- UI components and other visual elements are declared here
|
|||||||
{ "MunifTanjim/nui.nvim", lazy = true },
|
{ "MunifTanjim/nui.nvim", lazy = true },
|
||||||
{ -- Useful plugin to show you pending keybinds.
|
{ -- Useful plugin to show you pending keybinds.
|
||||||
"folke/which-key.nvim",
|
"folke/which-key.nvim",
|
||||||
event = "VimEnter",
|
event = "VeryLazy",
|
||||||
config = function()
|
config = function()
|
||||||
local wk = require("which-key")
|
local wk = require("which-key")
|
||||||
local groups = require("config.keys").groups
|
local groups = require("config.keys").groups
|
||||||
|
local commands = require("config.keys").commands
|
||||||
wk.add(groups)
|
wk.add(groups)
|
||||||
|
wk.add(commands)
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user