From 62933b1a7f6cbf59d51701c6290942939cda3f94 Mon Sep 17 00:00:00 2001 From: Thomas Lazarus Date: Sat, 3 Jan 2026 11:15:10 -0600 Subject: [PATCH] Adds mini.surround --- lua/kickstart/plugins/mini.lua | 3 ++- lua/kickstart/plugins/which-key.lua | 38 ++--------------------------- lua/lazy-plugins.lua | 18 +------------- 3 files changed, 5 insertions(+), 54 deletions(-) diff --git a/lua/kickstart/plugins/mini.lua b/lua/kickstart/plugins/mini.lua index 12f12240..20d5a749 100644 --- a/lua/kickstart/plugins/mini.lua +++ b/lua/kickstart/plugins/mini.lua @@ -18,11 +18,12 @@ return { -- Collection of various small independent plugins/modules require('mini.comment').setup() + require('mini.pairs').setup() + -- Simple and easy statusline. -- You could remove this setup call if you don't like it, -- and try some other statusline plugin local statusline = require 'mini.statusline' - -- set use_icons to true if you have a Nerd Font statusline.setup { use_icons = vim.g.have_nerd_font } -- You can configure sections in the statusline by overriding their diff --git a/lua/kickstart/plugins/which-key.lua b/lua/kickstart/plugins/which-key.lua index 3e398429..4a1acfa5 100644 --- a/lua/kickstart/plugins/which-key.lua +++ b/lua/kickstart/plugins/which-key.lua @@ -2,47 +2,13 @@ return { -- Useful plugin to show you pending keybinds. 'folke/which-key.nvim', event = 'VimEnter', -- Sets the loading event to 'VimEnter' opts = { - -- delay between pressing a key and opening which-key (milliseconds) - -- this setting is independent of vim.o.timeoutlen + preset = 'helix', delay = 0, icons = { - -- set icon mappings to true if you have a Nerd Font mappings = vim.g.have_nerd_font, - -- If you are using a Nerd Font: set icons.keys to an empty table which will use the - -- default which-key.nvim defined Nerd Font icons, otherwise define a string table - keys = vim.g.have_nerd_font and {} or { - Up = ' ', - Down = ' ', - Left = ' ', - Right = ' ', - C = ' ', - M = ' ', - D = ' ', - S = ' ', - CR = ' ', - Esc = ' ', - ScrollWheelDown = ' ', - ScrollWheelUp = ' ', - NL = ' ', - BS = ' ', - Space = ' ', - Tab = ' ', - F1 = '', - F2 = '', - F3 = '', - F4 = '', - F5 = '', - F6 = '', - F7 = '', - F8 = '', - F9 = '', - F10 = '', - F11 = '', - F12 = '', - }, + keys = {}, }, - -- Document existing key chains spec = { { 's', group = '[S]earch' }, { 't', group = '[T]oggle' }, diff --git a/lua/lazy-plugins.lua b/lua/lazy-plugins.lua index f27be90e..a59e67ab 100644 --- a/lua/lazy-plugins.lua +++ b/lua/lazy-plugins.lua @@ -32,22 +32,6 @@ require('lazy').setup({ require 'kickstart.plugins.snacks', }, { ui = { - -- If you are using a Nerd Font: set icons to an empty table which will use the - -- default lazy.nvim defined Nerd Font icons, otherwise define a unicode icons table - icons = vim.g.have_nerd_font and {} or { - cmd = '⌘', - config = '🛠', - event = '📅', - ft = '📂', - init = '⚙', - keys = '🗝', - plugin = '🔌', - runtime = '💻', - require = '🌙', - source = '📄', - start = '🚀', - task = '📌', - lazy = '💤 ', - }, + icons = {}, }, })