feat: Configuration changes.

This commit is contained in:
2025-03-29 23:41:16 -04:00
parent e10715940f
commit fa0cf72ae0
6 changed files with 107 additions and 5 deletions

View File

@@ -0,0 +1,56 @@
return {
"folke/flash.nvim",
event = "VeryLazy",
opts = {
search = {
mode = "normal",
},
modes = {
char = {
enabled = false,
},
},
},
keys = {
{
"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",
},
},
}

View File

@@ -0,0 +1,24 @@
-- This needs some work, as it's not working. May need to install a different browser??
return {
"iamcco/markdown-preview.nvim",
enabled = false,
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
ft = { "markdown" },
config = function()
return {
mkdp_browser = "Vivaldi",
}
end,
keys = {
{
"<leader>mp",
ft = "markdown",
"<cmd>MarkdownPreviewToggle<cr>",
desc = "Markdown Preview",
},
},
build = "cd app && yarn install",
init = function()
vim.g.mkdp_filetypes = { "markdown" }
end,
}