From 051855d2a8e1a0920f5976b34955325b52740100 Mon Sep 17 00:00:00 2001 From: Skladnayazebra Date: Sun, 12 Oct 2025 20:36:07 +0200 Subject: update nvim config comments --- nvim/lua/config/lazy.lua | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'nvim/lua') diff --git a/nvim/lua/config/lazy.lua b/nvim/lua/config/lazy.lua index 7547ff5..de4c001 100644 --- a/nvim/lua/config/lazy.lua +++ b/nvim/lua/config/lazy.lua @@ -23,9 +23,11 @@ vim.g.maplocalleader = "\\" -- Setup lazy.nvim require("lazy").setup({ + -- Plugins spec = { - -- import your plugins + -- Color scheme { "ellisonleao/gruvbox.nvim", priority = 1000, config = true }, + -- Manages LSP stuff { "mason-org/mason.nvim", opts = {} }, { @@ -36,12 +38,15 @@ require("lazy").setup({ "neovim/nvim-lspconfig", }, }, + -- Shows git diff info in the gutter { "lewis6991/gitsigns.nvim" }, + -- Enables motion to comment stuff out -- Line comment: gc{motion} or gcc -- Block comment: gb{motion} or gbc { "numToStr/Comment.nvim" }, + -- Fuzzy finder { "ibhagwan/fzf-lua", @@ -50,16 +55,24 @@ require("lazy").setup({ }, { - -- Wrap: ys{motion}{char} - -- Unwrap: ds{motion}{char} - -- Replace: cs{motion}{char} "kylechui/nvim-surround", + -- Old text Command New text + ------------------------------------------------------------------------------ + -- surr*ound_words ysiw) (surround_words) + -- surr*ound_words ysiw( ( surround_words ) + -- *make strings ys$" "make strings" + -- [delete ar*ound me!] ds] delete around me! + -- remove HTML t*ags dst remove HTML tags + -- 'change quot*es' cs'" "change quotes" + -- or tag* types csth1

or tag types

+ -- delete(functi*on calls) dsf function calls version = "^3.0.0", -- Use for stability; omit to use `main` branch for the latest features event = "VeryLazy", config = function() require("nvim-surround").setup({}) end }, + -- Autocomplete { "saghen/blink.cmp", enabled = false, -- cgit v1.3.1