nvim/lua/Filetype/markdown.lua

5 lines
167 B
Lua
Raw Normal View History

2023-01-22 22:20:39 +08:00
local map = vim.api.nvim_set_keymap
2023-01-22 22:30:24 +08:00
local openPreview = ":CocCommand markdown-preview-enhanced.openPreview<CR>"
2023-01-22 22:20:39 +08:00
2023-01-22 22:23:51 +08:00
map('n', '<leader>r', openPreview, {noremap = false})