minor markdown updates

This commit is contained in:
waldek 2022-05-24 17:12:53 +02:00
parent 9ef45b8529
commit f0b2f87537
2 changed files with 7 additions and 4 deletions

View File

@ -10,7 +10,10 @@ Plugin 'majutsushi/tagbar'
"Plugin 'scrooloose/nerdcommenter'
"Plugin 'kalafut/vim-taskjuggler'
Plugin 'iamcco/markdown-preview.nvim'
"Plugin 'godlygeek/tabular'
"Plugin 'preservim/vim-markdown'
" debugging inside vim
"Plugin 'Shougo/vimproc.vim'
"Plugin 'idanarye/vim-vebugger'

View File

@ -161,7 +161,7 @@ let g:SignatureMap = {
" set to 1, nvim will open the preview window after entering the markdown buffer
" default: 0
let g:mkdp_auto_start = 1
let g:mkdp_auto_start = 0
" set to 1, the nvim will auto close current preview window when change
" from markdown buffer to another buffer
@ -250,6 +250,6 @@ let g:mkdp_page_title = '${name}'
" these filetypes will have MarkdownPreview... commands
let g:mkdp_filetypes = ['markdown']
autocmd FileType mail nmap <F5> <Plug>MarkdownPreview
autocmd FileType mail nmap <F6> <Plug>MarkdownPreviewStop
autocmd FileType mail nmap <F7> <Plug>MarkdownPreviewToggle
autocmd FileType markdown nmap <F5> <Plug>MarkdownPreview
autocmd FileType markdown nmap <F6> <Plug>MarkdownPreviewStop
autocmd FileType markdown nmap <F7> <Plug>MarkdownPreviewToggle