mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
update vim-markdownfootnote settings
This commit is contained in:
@@ -3,8 +3,10 @@ set synmaxcol=3000 " For long Chinese paragraphs
|
||||
|
||||
" Fix minor issue with footnote, see https://github.com/vim-pandoc/vim-markdownfootnotes/issues/22
|
||||
if exists(':FootnoteNumber')
|
||||
nnoremap <buffer> <Plug>AddVimFootnote :<C-U>call markdownfootnotes#VimFootnotes('i')<CR>
|
||||
inoremap <buffer> <Plug>AddVimFootnote <C-O>:<C-U>call markdownfootnotes#VimFootnotes('i')<CR>
|
||||
nnoremap <buffer><silent> ^^ :<C-U>call markdownfootnotes#VimFootnotes('i')<CR>
|
||||
inoremap <buffer><silent> ^^ <C-O>:<C-U>call markdownfootnotes#VimFootnotes('i')<CR>
|
||||
imap <buffer> <silent> @@ <Plug>ReturnFromFootnote
|
||||
nmap <buffer> <silent> @@ <Plug>ReturnFromFootnote
|
||||
endif
|
||||
|
||||
" Text objects for Markdown code blocks.
|
||||
|
||||
Reference in New Issue
Block a user