From cc714e2b3eccf3e771ed9962aa2ae02bce32446f Mon Sep 17 00:00:00 2001 From: Jose Carvajal Date: Sun, 1 Jun 2025 15:57:58 -0600 Subject: [PATCH] Update config from local --- init.lua | 2 +- lazy-lock.json | 1 + lua/kickstart/plugins/which-key.lua | 13 ++++++++----- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/init.lua b/init.lua index 3784c1a1..6c6d42bd 100644 --- a/init.lua +++ b/init.lua @@ -91,7 +91,7 @@ vim.g.mapleader = ' ' vim.g.maplocalleader = ' ' -- Set to true if you have a Nerd Font installed and selected in the terminal -vim.g.have_nerd_font = false +vim.g.have_nerd_font = true -- [[ Setting options ]] require 'options' diff --git a/lazy-lock.json b/lazy-lock.json index 168d180e..ab3e1c38 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -21,6 +21,7 @@ "nvim-lspconfig": { "branch": "master", "commit": "562487bc108bf73c2493f9e701b9334b48163216" }, "nvim-notify": { "branch": "master", "commit": "b5825cf9ee881dd8e43309c93374ed5b87b7a896" }, "nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" }, + "nvim-web-devicons": { "branch": "master", "commit": "1fb58cca9aebbc4fd32b086cb413548ce132c127" }, "oil.nvim": { "branch": "master", "commit": "685cdb4ffa74473d75a1b97451f8654ceeab0f4a" }, "plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" }, "snacks.nvim": { "branch": "main", "commit": "bc0630e43be5699bb94dadc302c0d21615421d93" }, diff --git a/lua/kickstart/plugins/which-key.lua b/lua/kickstart/plugins/which-key.lua index 82eb4adb..cda8a159 100644 --- a/lua/kickstart/plugins/which-key.lua +++ b/lua/kickstart/plugins/which-key.lua @@ -1,4 +1,3 @@ --- NOTE: Plugins can also be configured to run Lua code when they are loaded. -- -- This is often very useful to both group configuration, as well as handle -- lazy loading plugins that don't need to be loaded immediately at startup. @@ -56,14 +55,18 @@ return { F12 = '', }, }, - + }, + config = function() + local wk = require 'which-key' -- Document existing key chains - spec = { + wk.add { { 's', group = '[S]earch' }, { 't', group = '[T]oggle' }, { 'h', group = 'Git [H]unk', mode = { 'n', 'v' } }, - }, - }, + { 'c', group = 'Trouble Sym/LSP' }, + { 'x', group = 'Quickfi[X]/Trouble' }, + } + end, }, } -- vim: ts=2 sts=2 sw=2 et