nvim/lua/Filetype/markdown.lua

7 lines
258 B
Lua
Raw Normal View History

2023-01-22 22:20:39 +08:00
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")