added some netrw support and neogit
This commit is contained in:
5
init.lua
5
init.lua
@@ -4,8 +4,11 @@
|
||||
vim.g.mapleader = ' '
|
||||
vim.g.maplocalleader = ' '
|
||||
-- Set to true if you have a Nerd Font installed and selected in the terminal
|
||||
vim.g.have_nerd_font = false
|
||||
vim.g.have_nerd_font = true
|
||||
|
||||
vim.g.netrw_winsize = 20
|
||||
vim.g.netrw_banner = 0
|
||||
vim.g.netrw_liststyle = 3
|
||||
|
||||
-- [[Setting options]]
|
||||
-- See `:help vim.o`
|
||||
|
||||
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" }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user