changed a load of shit
This commit is contained in:
@@ -3,11 +3,13 @@ return {
|
||||
version = "",
|
||||
|
||||
config = function()
|
||||
local animate = require("mini.animate")
|
||||
require("mini.pairs").setup() -- Bracket pairs and stuff
|
||||
|
||||
require("mini.ai").setup() -- Around and In extension for visual mode
|
||||
|
||||
require("mini.cursorword").setup() -- Underline current word below cursor (makes it easier to c and d)
|
||||
require("mini.indentscope").setup({
|
||||
|
||||
require("mini.indentscope").setup({ -- shows indents
|
||||
symbol = "│",
|
||||
draw = {
|
||||
delay = 10,
|
||||
@@ -17,24 +19,20 @@ return {
|
||||
easing = "out",
|
||||
}),
|
||||
},
|
||||
}) -- Indent lines
|
||||
})
|
||||
|
||||
require("mini.trailspace").setup() -- Shows useless spaces
|
||||
require("mini.sessions").setup({
|
||||
|
||||
require("mini.sessions").setup({ -- dir based session management
|
||||
autoread = true,
|
||||
autowrite = true,
|
||||
file = ".session",
|
||||
force = { read = false, write = true, delete = true },
|
||||
})
|
||||
-- require("mini.notify").setup({
|
||||
-- window = { winblend = 0 },
|
||||
-- }) -- Better Notifications
|
||||
-- vim.notify = MiniNotify.make_notify({
|
||||
-- ERROR = { duration = 5000 },
|
||||
-- WARN = { duration = 4000 },
|
||||
-- INFO = { duration = 3000 },
|
||||
-- })
|
||||
|
||||
require("mini.surround").setup() -- Suround selections with characters
|
||||
require("mini.move").setup({
|
||||
|
||||
require("mini.move").setup({ -- move selection in visual mode
|
||||
mappings = {
|
||||
down = "J",
|
||||
up = "K",
|
||||
@@ -42,6 +40,8 @@ return {
|
||||
})
|
||||
|
||||
require("mini.icons").setup() -- Icon provider
|
||||
|
||||
local animate = require("mini.animate") -- animations ovs
|
||||
require("mini.animate").setup({
|
||||
cursor = {
|
||||
enable = false,
|
||||
@@ -58,7 +58,7 @@ return {
|
||||
-- Animate with wiping from nearest edge instead of default static one
|
||||
winconfig = animate.gen_winconfig.wipe({ direction = "from_edge" }),
|
||||
-- Make bigger windows more transparent
|
||||
winblend = animate.gen_winblend.linear({ from = 80, to = 100 }),
|
||||
winblend = animate.gen_winblend.linear({ from = 0, to = 0 }),
|
||||
},
|
||||
close = {
|
||||
-- Animate for 400 milliseconds with linear easing
|
||||
@@ -66,7 +66,7 @@ return {
|
||||
-- Animate with wiping to nearest edge instead of default static one
|
||||
winconfig = animate.gen_winconfig.wipe({ direction = "to_edge" }),
|
||||
-- Make bigger windows more transparent
|
||||
winblend = animate.gen_winblend.linear({ from = 100, to = 80 }),
|
||||
winblend = animate.gen_winblend.linear({ from = 0, to = 0 }),
|
||||
},
|
||||
})
|
||||
end,
|
||||
|
||||
@@ -8,8 +8,22 @@ return {
|
||||
load = {
|
||||
["core.defaults"] = {},
|
||||
["core.concealer"] = {},
|
||||
["core.qol.toc"] = {
|
||||
config = {
|
||||
close_after_use = true,
|
||||
},
|
||||
},
|
||||
["core.integrations.treesitter"] = {},
|
||||
["core.looking-glass"] = {},
|
||||
["core.itero"] = {
|
||||
config = {
|
||||
iterables = {
|
||||
"unordered_list%d",
|
||||
"ordered_list%d",
|
||||
"quote%d",
|
||||
},
|
||||
},
|
||||
},
|
||||
["core.completion"] = {
|
||||
config = { engine = { module_name = "external.lsp-completion" } },
|
||||
},
|
||||
@@ -52,5 +66,15 @@ return {
|
||||
})
|
||||
vim.wo.foldlevel = 99
|
||||
vim.wo.conceallevel = 2
|
||||
|
||||
vim.api.nvim_create_autocmd("Filetype", {
|
||||
pattern = "norg",
|
||||
callback = function()
|
||||
vim.keymap.set("n", "<CR>", "<Plug>(neorg.esupports.hop.hop-link.vsplit)", { buffer = true })
|
||||
vim.keymap.set("i", "<CR>", "<Plug>(neorg.itero.next-iteration)", { buffer = true })
|
||||
vim.keymap.set("n", "<localleader>m", "<cmd>Neorg inject-metadata<CR>", { buffer = true })
|
||||
vim.keymap.set("n", "<localleader>f", "<cmd>Telescope neorg insert_link<CR>", { buffer = true })
|
||||
end,
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
return {
|
||||
"nvim-telescope/telescope-ui-select.nvim",
|
||||
dependencies = { "nvim-telescope/telescope.nvim", "nvim-lua/plenary.nvim" },
|
||||
}
|
||||
@@ -4,6 +4,7 @@ return {
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-telescope/telescope-symbols.nvim",
|
||||
"nvim-telescope/telescope-ui-select.nvim",
|
||||
{ "nvim-telescope/telescope-fzf-native.nvim", build = "make" },
|
||||
},
|
||||
config = function()
|
||||
|
||||
Reference in New Issue
Block a user