Skip to content
This repository was archived by the owner on Mar 9, 2020. It is now read-only.

Commit c68a8ad

Browse files
committed
modifying vimfootnotes to generate markdown footnotes; renaming
1 parent 03bd5b1 commit c68a8ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugin/vimfootnotes.vim renamed to plugin/markdownfootnotes.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,13 +252,13 @@ function! s:VimFootnotes(appendcmd)
252252
let g:vimfootnotemark = <sid>VimFootnoteType(g:vimfootnotenumber)
253253
let cr = "\<cr>"
254254
endif
255-
exe "normal ".a:appendcmd."[".g:vimfootnotemark."]\<esc>"
255+
exe "normal ".a:appendcmd."[^".g:vimfootnotemark."]\<esc>"
256256
:below 4split
257257
normal G
258258
if search("^-- $", "bW")
259-
exe "normal O".cr."[".g:vimfootnotemark."] "
259+
exe "normal O".cr."[^".g:vimfootnotemark."]: "
260260
else
261-
exe "normal o".cr."[".g:vimfootnotemark."] "
261+
exe "normal o".cr."[^".g:vimfootnotemark."]: "
262262
endif
263263
startinsert!
264264
endfunction

0 commit comments

Comments
 (0)