Moved configs to seperate files
This commit is contained in:
parent
fdb565ce87
commit
3b96ad1b57
26 changed files with 578 additions and 229 deletions
78
lua/angryluck/plugins/init.lua
Normal file
78
lua/angryluck/plugins/init.lua
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
-- Own plugins, too small for own file
|
||||
-- Probably better to add one file for each
|
||||
return {
|
||||
"fladson/vim-kitty",
|
||||
|
||||
-- OWN PLUGINS
|
||||
-- Better scrolloff
|
||||
{
|
||||
"Aasim-A/scrollEOF.nvim",
|
||||
event = { "CursorMoved", "WinScrolled" },
|
||||
opts = {},
|
||||
},
|
||||
|
||||
{
|
||||
"renerocksai/telekasten.nvim",
|
||||
dependencies = { "nvim-telescope/telescope.nvim" },
|
||||
},
|
||||
|
||||
-- install without yarn or npm
|
||||
{
|
||||
"iamcco/markdown-preview.nvim",
|
||||
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
|
||||
ft = { "markdown" },
|
||||
build = function()
|
||||
vim.fn["mkdp#util#install"]()
|
||||
end,
|
||||
},
|
||||
|
||||
-- Better than mini.surround, imo
|
||||
-- Remember: y for "yadd".
|
||||
{
|
||||
"kylechui/nvim-surround",
|
||||
version = "*", -- Use for stability; omit to use `main` branch for the latest features
|
||||
event = "VeryLazy",
|
||||
config = function()
|
||||
require("nvim-surround").setup({
|
||||
-- Configuration here, or leave empty to use defaults
|
||||
})
|
||||
end,
|
||||
},
|
||||
|
||||
-- "." repeats plugincommands
|
||||
"tpope/vim-repeat",
|
||||
|
||||
-- {
|
||||
-- "ggandor/leap.nvim",
|
||||
-- -- opts = {},
|
||||
-- config = function()
|
||||
-- require("leap").create_default_mappings()
|
||||
-- end,
|
||||
-- },
|
||||
|
||||
{
|
||||
"folke/flash.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {},
|
||||
keys = {
|
||||
-- stylua: ignore start
|
||||
{ "s", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash", },
|
||||
{ "S", mode = { "n", "x", "o" }, function() require("flash").treesitter() end, desc = "Flash Treesitter", },
|
||||
{ "r", mode = "o", function() require("flash").remote() end, desc = "Remote Flash", },
|
||||
{ "R", mode = { "o", "x" }, function() require("flash").treesitter_search() end, desc = "Treesitter Search", },
|
||||
{ "<c-s>", mode = { "c" }, function() require("flash").toggle() end, desc = "Toggle Flash Search", },
|
||||
-- stylua: ignore end
|
||||
},
|
||||
},
|
||||
|
||||
-- Edit files like nvim buffer
|
||||
{
|
||||
"stevearc/oil.nvim",
|
||||
opts = {},
|
||||
-- Optional dependencies
|
||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||
config = function()
|
||||
require("oil").setup()
|
||||
end,
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue