2023-12-30 14:48:18 +00:00
|
|
|
vim.g.mapleader = " " -- Set map leader
|
|
|
|
|
|
|
|
-- Bootstrap package manager (lazy.nvim)
|
|
|
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
|
|
|
if not vim.loop.fs_stat(lazypath) then
|
|
|
|
vim.fn.system({
|
|
|
|
"git",
|
|
|
|
"clone",
|
|
|
|
"--filter=blob:none",
|
|
|
|
"https://github.com/folke/lazy.nvim.git",
|
|
|
|
"--branch=stable",
|
|
|
|
lazypath,
|
|
|
|
})
|
|
|
|
end
|
|
|
|
vim.opt.rtp:prepend(lazypath)
|
|
|
|
|
|
|
|
-- Setup the package manager with plugins and configuration options
|
|
|
|
require("lazy").setup({
|
2024-01-16 20:34:00 +00:00
|
|
|
-- Default theme
|
|
|
|
"devraza/kagayaki.nvim",
|
|
|
|
|
2023-12-30 14:48:18 +00:00
|
|
|
"folke/which-key.nvim",
|
2024-01-16 20:34:00 +00:00
|
|
|
{
|
|
|
|
"nvim-telescope/telescope.nvim",
|
|
|
|
dependencies = { 'nvim-lua/plenary.nvim' },
|
|
|
|
},
|
2023-12-30 14:48:18 +00:00
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
"romgrk/barbar.nvim",
|
|
|
|
"nvim-lualine/lualine.nvim",
|
|
|
|
{
|
2024-01-16 20:34:00 +00:00
|
|
|
"NeogitOrg/neogit",
|
2023-12-30 14:48:18 +00:00
|
|
|
dependencies = {
|
|
|
|
"nvim-lua/plenary.nvim",
|
2024-01-16 20:34:00 +00:00
|
|
|
"sindrets/diffview.nvim",
|
|
|
|
"nvim-telescope/telescope.nvim",
|
|
|
|
},
|
|
|
|
config = true
|
2023-12-30 14:48:18 +00:00
|
|
|
},
|
2024-01-16 20:34:00 +00:00
|
|
|
{"ellisonleao/glow.nvim", config = true, cmd = "Glow"},
|
2023-12-30 14:48:18 +00:00
|
|
|
{
|
2024-01-16 20:34:00 +00:00
|
|
|
"max397574/better-escape.nvim",
|
|
|
|
config = function()
|
|
|
|
require("better_escape").setup()
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
"rktjmp/lush.nvim",
|
|
|
|
{
|
|
|
|
'goolord/alpha-nvim',
|
|
|
|
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
|
|
|
};
|
2024-01-17 23:22:23 +00:00
|
|
|
{
|
|
|
|
"nvim-neorg/neorg",
|
|
|
|
build = ":Neorg sync-parsers",
|
2024-01-20 15:15:19 +00:00
|
|
|
branch = "main",
|
2024-01-17 23:22:23 +00:00
|
|
|
dependencies = { "nvim-lua/plenary.nvim" },
|
|
|
|
},
|
2023-12-30 14:48:18 +00:00
|
|
|
})
|
|
|
|
|
|
|
|
-- Imports from files
|
|
|
|
require 'core'
|