nvim/lua/Filetype/markdown.lua
2023-01-22 22:30:24 +08:00

5 lines
167 B
Lua

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