Compare commits
3 Commits
e47751c2a5
...
3236e7e289
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3236e7e289 | ||
|
|
fc5be13cac | ||
|
|
85bd433f73 |
6
init.lua
6
init.lua
@@ -7,6 +7,12 @@ vim.g.maplocalleader = ' '
|
|||||||
vim.g.have_nerd_font = false
|
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]]
|
-- [[Setting options]]
|
||||||
-- See `:help vim.o`
|
-- See `:help vim.o`
|
||||||
-- NOTE: You can change these options as you wish!
|
-- NOTE: You can change these options as you wish!
|
||||||
|
|||||||
@@ -17,22 +17,20 @@ return {
|
|||||||
-- - sr)' - [S]urround [R]eplace [)] [']
|
-- - sr)' - [S]urround [R]eplace [)] [']
|
||||||
require('mini.surround').setup()
|
require('mini.surround').setup()
|
||||||
|
|
||||||
-- Simple and easy statusline.
|
require('mini.cursorword').setup()
|
||||||
-- You could remove this setup call if you don't like it,
|
|
||||||
-- and try some other statusline plugin
|
require('mini.indentscope').setup {draw = {delay = 30 }}
|
||||||
--local statusline = require 'mini.statusline'
|
|
||||||
---- set use_icons to true if you have a Nerd Font
|
require('mini.map').setup()
|
||||||
--statusline.setup { use_icons = vim.g.have_nerd_font }
|
|
||||||
|
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,
|
end,
|
||||||
}
|
}
|
||||||
|
|||||||
18
lua/plugins/neogit.lua
Normal file
18
lua/plugins/neogit.lua
Normal 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
12
lua/plugins/resize.lua
Normal 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 } },
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
@@ -10,4 +10,5 @@ return {
|
|||||||
{ 'edluffy/hologram.nvim', auto_display = true,}, --image viewer
|
{ 'edluffy/hologram.nvim', auto_display = true,}, --image viewer
|
||||||
'nvim-tree/nvim-web-devicons', -- nerdfont!
|
'nvim-tree/nvim-web-devicons', -- nerdfont!
|
||||||
'nvim-lualine/lualine.nvim', -- lualine
|
'nvim-lualine/lualine.nvim', -- lualine
|
||||||
|
'TamaMcGlinn/vim-termhere', --simple terminal QOL
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user