vim-literate-markdown

A Vim plugin to replicate a subset of Org mode's literate programming, for Markdown files.
git clone git://git.alex.balgavy.eu/vim-literate-markdown.git
Log | Files | Refs | README

commit 8344b32ec7c3c9fdd8692451c96ab9183ea228c6
parent e5d15ea333388851e50dc1a279ff50535452ad12
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Wed, 16 Jun 2021 17:01:13 +0200

Add Tangle <Plug> mapping

Diffstat:
Mafter/ftplugin/markdown.vim | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/after/ftplugin/markdown.vim b/after/ftplugin/markdown.vim @@ -1,6 +1,7 @@ command -buffer -bar Tangle call literate_markdown#Tangle() command -buffer -bar ExecPrevBlock call literate_markdown#ExecPreviousBlock() nnoremap <buffer> <Plug>LitMdExecPrevBlock :<c-u>ExecPrevBlock<CR> +nnoremap <buffer> <Plug>LitMdTangle :<c-u>Tangle<CR> let b:undo_ftplugin = (exists('b:undo_ftplugin') ? b:undo_ftplugin.'|' : '') let b:undo_ftplugin .= 'delcommand Tangle | delcommand ExecPrevBlock'