commit 19aa81dd7e181919e49f55caa983244c9c1b6e41
parent f2bdb5196b7a97383272c0e014cab8bbbd72df04
Author: Wim Dupont <wim@wimdupont.com>
Date: Tue, 16 Jul 2024 23:07:55 +0200
added md2html
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vimrc b/vimrc
@@ -121,7 +121,8 @@ cmap suw w !sudo tee > /dev/null %
autocmd BufWritePost,FileWritePost config.def.h !sudo rm config.h && sudo make install
autocmd VimEnter * call Set_Highlights()
-autocmd FileType asciidoc map <F2> :w <CR> :!adoc %< <CR>
+autocmd FileType asciidoc map <F2> :w <CR> :!htmlconv %<CR>
+autocmd FileType markdown map <F2> :w <CR> :!htmlconv %<CR>
autocmd FileType c map <F2> :w <CR> :!gcc % -o %< && ./%< <CR>
autocmd FileType c map <F3> :w <CR> :!gcc % -g -o %< && gdb ./%< <CR>
autocmd FileType cpp map <F2> :w <CR> :!g++ % -o %< && ./%< <CR>