2023-07-19 13:38:30 +02:00
|
|
|
-- Install Lazy.nvim
|
|
|
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
|
|
|
if not vim.loop.fs_stat(lazypath) then
|
2023-09-06 16:28:37 +02:00
|
|
|
vim.fn.system({
|
|
|
|
"git",
|
|
|
|
"clone",
|
|
|
|
"--filter=blob:none",
|
|
|
|
"https://github.com/folke/lazy.nvim.git",
|
|
|
|
"--branch=stable", -- latest stable release
|
|
|
|
lazypath,
|
|
|
|
})
|
2023-07-19 13:38:30 +02:00
|
|
|
end
|
|
|
|
vim.opt.rtp:prepend(lazypath)
|
|
|
|
|
|
|
|
require('lazy').setup({
|
|
|
|
'ConradIrwin/vim-bracketed-paste',
|
2023-07-19 13:47:26 +02:00
|
|
|
'airblade/vim-rooter',
|
2023-08-25 22:44:42 +02:00
|
|
|
'debugloop/telescope-undo.nvim',
|
2023-08-27 19:29:36 +02:00
|
|
|
'intrntbrn/awesomewm-vim-tmux-navigator',
|
|
|
|
'mhartington/formatter.nvim',
|
2023-08-27 23:34:20 +02:00
|
|
|
{'vimwiki/vimwiki', init = function ()
|
2023-09-17 21:36:21 +02:00
|
|
|
vim.g.vimwiki_list = {{path = '~/Workspace/DnD/Lumentis Campaign Setting/', syntax = 'markdown', ext = '.md'}}
|
2023-08-27 23:34:20 +02:00
|
|
|
vim.g.vimwiki_key_mappings = { table_mappings = 0 }
|
|
|
|
vim.g.vimwiki_markdown_link_ext = 1
|
|
|
|
vim.g.vimwiki_global_ext = 0
|
|
|
|
end, ft='markdown' },
|
|
|
|
{'stevearc/oil.nvim', opts = {
|
|
|
|
keymaps = {
|
|
|
|
["g?"] = "actions.show_help",
|
|
|
|
["<CR>"] = "actions.select",
|
|
|
|
["<leader>v"] = "actions.select_vsplit",
|
|
|
|
["<leader>s"] = "actions.select_split",
|
|
|
|
["<leader>p"] = "actions.preview",
|
|
|
|
["<escape>"] = "actions.close",
|
|
|
|
["<leader>r"] = "actions.refresh",
|
|
|
|
["-"] = "actions.parent",
|
|
|
|
["_"] = "actions.open_cwd",
|
|
|
|
["`"] = "actions.cd",
|
|
|
|
["~"] = "actions.tcd",
|
|
|
|
["g."] = "actions.toggle_hidden",
|
|
|
|
},
|
|
|
|
-- Set to false to disable all of the above keymaps
|
|
|
|
use_default_keymaps = false,
|
|
|
|
}, dependencies = { "nvim-tree/nvim-web-devicons" }, lazy = true},
|
|
|
|
{'windwp/nvim-autopairs', event = "InsertEnter", opts = {}},
|
2023-08-28 23:22:24 +02:00
|
|
|
{"folke/flash.nvim", event = "VeryLazy", opts = {highlight = {backdrop=false}, modes = {char = {highlight = {backdrop = false}}, search = {enabled = false}}, prompt = {enabled = false}}, keys = {{"s", mode = {"n","x","o"}, function() require("flash").jump() end}}},
|
2023-08-27 20:20:35 +02:00
|
|
|
{'NeogitOrg/neogit', dependencies = {"nvim-lua/plenary.nvim", "nvim-telescope/telescope.nvim", "sindrets/diffview.nvim"}, config = true, lazy = true},
|
2023-08-27 21:27:50 +02:00
|
|
|
{'akinsho/bufferline.nvim', version = "*", dependencies = 'nvim-tree/nvim-web-devicons'},
|
2023-08-27 19:29:36 +02:00
|
|
|
{'cappyzawa/trim.nvim', config = function () require("trim").setup({ ft_blocklist= {"markdown", "vimwiki"}, patterns = { [[%s/\s\+$//e]], [[%s/\($\n\s*\)\+\%$//]], [[%s/\%^\n\+//]], }, }) end},
|
2023-08-27 20:20:35 +02:00
|
|
|
{'folke/trouble.nvim', dependencies = {"nvim-tree/nvim-web-devicons"}, config = function () require('trouble').setup() end, lazy = true},
|
2023-08-27 21:27:50 +02:00
|
|
|
{'hrsh7th/nvim-cmp', dependencies = {'hrsh7th/cmp-buffer', 'hrsh7th/cmp-cmdline', 'hrsh7th/cmp-nvim-lsp', 'hrsh7th/cmp-path', 'dcampos/nvim-snippy', 'honza/vim-snippets','dcampos/cmp-snippy' }},
|
2023-08-27 19:29:36 +02:00
|
|
|
{'lervag/vimtex', ft='latex'},
|
|
|
|
{'numToStr/Comment.nvim', config = function () require('Comment').setup() end},
|
2023-07-19 13:38:30 +02:00
|
|
|
{'nvim-lualine/lualine.nvim', dependencies = { 'nvim-tree/nvim-web-devicons', opt = true }},
|
2023-07-19 13:47:26 +02:00
|
|
|
{'nvim-telescope/telescope-fzf-native.nvim', build = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build' },
|
2023-07-19 13:38:30 +02:00
|
|
|
{'nvim-telescope/telescope.nvim', dependencies = {'nvim-lua/plenary.nvim'}},
|
|
|
|
{'nvim-tree/nvim-tree.lua', dependencies = {'nvim-tree/nvim-web-devicons'}, tag = 'nightly'},
|
2023-08-27 19:29:36 +02:00
|
|
|
{'nvim-treesitter/nvim-treesitter', build = ":TSUpdate"},
|
|
|
|
{'williamboman/mason-lspconfig.nvim', dependencies = {'williamboman/mason.nvim', 'neovim/nvim-lspconfig'}},
|
2023-08-26 00:13:11 +02:00
|
|
|
{dir = '~/.config/nvim/colorschemes/material', dependencies= {"rktjmp/lush.nvim"}, config = function () vim.cmd("colorscheme material") end},
|
2023-07-19 13:38:30 +02:00
|
|
|
})
|