plugins: add a keymap to display markdown TOC

Co-Authored-by: iGor milhit <igor@milhit.ch>
main
iGor milhit 2024-08-20 16:22:51 +02:00
parent d795b51bd2
commit 28fdaddcf8
Signed by: igor
GPG Key ID: 692D97C3D0228A99
1 changed files with 7 additions and 0 deletions

View File

@ -28,6 +28,13 @@ vim.keymap.set('n',
{desc = 'Toggle autoformat, to deactivate it'} {desc = 'Toggle autoformat, to deactivate it'}
) )
vim.keymap.set(
"n",
"<leader>tc",
"<cmd>TOC<cr>",
{ desc = "[vim-pandoc] Display the Table of Content"}
)
return { return {
{ {
"vim-pandoc/vim-pandoc", "vim-pandoc/vim-pandoc",