<leader>my/<leader>msy: Add mimetype for wl-copy
This commit is contained in:
parent
9506be9938
commit
32371d317f
@ -14,9 +14,9 @@ vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
|
||||
vim.o.spelllang = 'en'
|
||||
vim.o.formatoptions = "qj"
|
||||
-- email commands: my/msy to paste the html inside the clipboard
|
||||
vim.keymap.set('', '<LocalLeader>msy', ':w !pandoc -f markdown+emoji -t html5 -s | wl-copy<CR><CR>',
|
||||
vim.keymap.set('', '<LocalLeader>msy', ':w !pandoc -f markdown+emoji -t html5 -s | wl-copy --type text/html<CR><CR>',
|
||||
{ noremap = true, silent = true, desc = "[M]arkdown to [S]ingle page [Y]ank" })
|
||||
vim.keymap.set('', '<LocalLeader>my', ':w !pandoc -f markdown+emoji --wrap=none -t html5 | wl-copy<CR><CR>',
|
||||
vim.keymap.set('', '<LocalLeader>my', ':w !pandoc -f markdown+emoji --wrap=none -t html5 | wl-copy --type text/html<CR><CR>',
|
||||
{ noremap = true, silent = true, desc = "[M]arkdown to HTML [Y]ank" })
|
||||
vim.keymap.set('', '<LocalLeader>mp', '<Plug>MarkdownPreviewToggle', { noremap = true, silent = true, desc = "[M]arkdown [Preview]" })
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user