aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins.lua
diff options
context:
space:
mode:
authorAlec Goncharow <alec@goncharow.dev>2025-11-15 12:17:44 -0500
committerAlec Goncharow <alec@goncharow.dev>2025-11-15 12:17:44 -0500
commit97c1f354fb570f0374747e54aa80439c88c4abcf (patch)
treebd315e41dcce2bad7a9896a20e902bbaaddab5d6 /.config/nvim/lua/plugins.lua
parenta77fb9a2fa2eabecd422edb7ea59209e939db79d (diff)
yaksmacos
Diffstat (limited to '.config/nvim/lua/plugins.lua')
-rw-r--r--.config/nvim/lua/plugins.lua28
1 files changed, 24 insertions, 4 deletions
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua
index d9f119a..ce64b29 100644
--- a/.config/nvim/lua/plugins.lua
+++ b/.config/nvim/lua/plugins.lua
@@ -45,10 +45,27 @@ return require('lazy').setup({
{ 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate' },
'scrooloose/nerdcommenter', -- commenting shortcuts
- 'tpope/vim-eunuch', -- wrappers UNIX commands
- --'tpope/vim-surround', -- surround characters shortcuts
- 'tpope/vim-endwise', -- wisely add
- 'tpope/vim-repeat', -- repeat for plugins
+ {
+ "kylechui/nvim-surround",
+ version = "^3.0.0", -- Use for stability; omit to use `main` branch for the latest features
+ event = "VeryLazy",
+ config = {
+ keymaps = {
+ insert = '<C-g>z',
+ insert_line = 'gC-ggZ',
+ normal = 'gz',
+ normal_cur = 'gZ',
+ normal_line = 'gzz',
+ normal_cur_line = 'gZZ',
+ visual = 'gz',
+ visual_line = 'gZ',
+ delete = 'gzd',
+ change = 'gzc',
+ }
+ },
+ },
+ 'tpope/vim-endwise', -- wisely add
+ 'tpope/vim-repeat', -- repeat for plugins
-- 'tpope/vim-vinegar', -- make explore better
{
'stevearc/oil.nvim',
@@ -156,4 +173,7 @@ return require('lazy').setup({
background_colour = "#000000"
}
},
+ {
+ 'edluffy/hologram.nvim'
+ },
})