feat(nvim): add key for markdown open
This commit is contained in:
parent
88a870eb69
commit
a2a9b9e13d
@ -1,3 +1,8 @@
|
||||
vim.opt_local.tabstop = 2
|
||||
vim.opt_local.shiftwidth = 2
|
||||
vim.opt_local.textwidth = 0
|
||||
|
||||
vim.keymap.set("n", "<leader>fr", "<cmd>MarkdownPreview<CR>", {
|
||||
buffer = true,
|
||||
})
|
||||
|
||||
|
@ -456,10 +456,6 @@ lazy.setup({
|
||||
{
|
||||
"iamcco/markdown-preview.nvim",
|
||||
build = "cd app && npm install",
|
||||
init = function()
|
||||
vim.g.mkdp_filetypes = { "markdown" }
|
||||
vim.g.mkdp_browser = "firefox-developer-edition"
|
||||
end,
|
||||
ft = { "markdown" },
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user