summaryrefslogtreecommitdiff
path: root/nvim/lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua')
-rw-r--r--nvim/lua/config/lazy.lua21
1 files changed, 17 insertions, 4 deletions
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 <b>HTML t*ags</b> dst remove HTML tags
+ -- 'change quot*es' cs'" "change quotes"
+ -- <b>or tag* types</b> csth1<CR> <h1>or tag types</h1>
+ -- 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,