nvim/lua/Filetype/Html.lua
2023-01-22 22:20:39 +08:00

7 lines
258 B
Lua

local map = vim.api.nvim_set_keymap
local openPreview = ":CocCommand markdown-preview-enhanced.openPreview<CR>:CocCommand markdown-preview-enhanced.openPreviewBackground<CR>"
map('n', '<leader>rr', openPreview, {noremap = false})
print("markdown sourced")