Compare commits

...

3 Commits

Author SHA1 Message Date
venus
3236e7e289 Added more plugins including resize and mini 2025-12-24 02:23:13 -06:00
venus
fc5be13cac added more netrw settings 2025-12-24 01:29:58 -06:00
venus
85bd433f73 added some netrw support and neogit 2025-12-24 01:23:20 -06:00
5 changed files with 50 additions and 15 deletions

View File

@@ -7,6 +7,12 @@ vim.g.maplocalleader = ' '
vim.g.have_nerd_font = false
vim.g.netrw_liststyle = 3
vim.g.netrw_banner = 1
vim.g.netrw_altv = 1 -- Create the split of the Netrw window to the left
vim.g.netrw_winsize = 30 -- Set the width of the "drawer"
vim.g.netrw_browse_split = 4 -- Open files in previous window. This emulates the typical "drawer" behaviorkjk
-- [[Setting options]]
-- See `:help vim.o`
-- NOTE: You can change these options as you wish!

View File

@@ -17,22 +17,20 @@ return {
-- - sr)' - [S]urround [R]eplace [)] [']
require('mini.surround').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 }
require('mini.cursorword').setup()
require('mini.indentscope').setup {draw = {delay = 30 }}
require('mini.map').setup()
require('mini.tabline').setup()
require('mini.move').setup()
require('mini.clue').setup()
require('mini.pairs').setup()
---- You can configure sections in the statusline by overriding their
---- default behavior. For example, here we set the section for
---- cursor location to LINE:COLUMN
-----@diagnostic disable-next-line: duplicate-set-field
--statusline.section_location = function()
-- return '%2l:%-2v'
--end
-- ... and there is more!
-- Check out: https://github.com/echasnovski/mini.nvim
end,
}

18
lua/plugins/neogit.lua Normal file
View File

@@ -0,0 +1,18 @@
return {
"NeogitOrg/neogit",
lazy = true,
dependencies = {
"nvim-lua/plenary.nvim", -- required
"sindrets/diffview.nvim", -- optional - Diff integration
-- Only one of these is needed.
"nvim-telescope/telescope.nvim", -- optional
"ibhagwan/fzf-lua", -- optional
"nvim-mini/mini.pick", -- optional
"folke/snacks.nvim", -- optional
},
cmd = "Neogit",
keys = {
{ "<leader>gg", "<cmd>Neogit<cr>", desc = "Show Neogit UI" }
}
}

12
lua/plugins/resize.lua Normal file
View File

@@ -0,0 +1,12 @@
return {
'0xm4n/resize.nvim',
keys = {
-- Format: { 'key', 'command', desc = 'description', [opts]
{ '<M-Left>', "<cmd>lua require('resize').ResizeLeft()<CR>", { silent = true } },
{ '<M-Right>', "<cmd>lua require('resize').ResizeRight()<CR>", { silent = true } },
{ '<M-Up>', "<cmd>lua require('resize').ResizeUp()<CR>", { silent = true } },
{ '<M-Down>', "<cmd>lua require('resize').ResizeDown()<CR>", { silent = true } },
},
}

View File

@@ -10,4 +10,5 @@ return {
{ 'edluffy/hologram.nvim', auto_display = true,}, --image viewer
'nvim-tree/nvim-web-devicons', -- nerdfont!
'nvim-lualine/lualine.nvim', -- lualine
'TamaMcGlinn/vim-termhere', --simple terminal QOL
}