All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7c0578d)
To avoid `:helptags` crash with other plugins.
Fix #273
-e "}" \
-e "/^- '[^']*':( |$$)/ {" \
-e "h" -e "# save the matched line to the hold space" \
-e "}" \
-e "/^- '[^']*':( |$$)/ {" \
-e "h" -e "# save the matched line to the hold space" \
- -e "s/^- '([^']*)':.*/ \*\1\*/" -e "# make command reference" \
+ -e "s/^- '([^']{3,})':.*/ \*\1\*/" -e "# make command reference" \
+ -e "s/^- '([^']{1,2})':.*/ \*vim-markdown-\1\*/" -e "# short command" \
-e ":a" -e "s/^(.{1,78})$$/ \1/" -e "ta" -e "# align right" \
-e "G" -e "# append the matched line after the command reference" \
-e "}" > doc/vim-markdown.txt && rm -f doc/tmp.md
-e ":a" -e "s/^(.{1,78})$$/ \1/" -e "ta" -e "# align right" \
-e "G" -e "# append the matched line after the command reference" \
-e "}" > doc/vim-markdown.txt && rm -f doc/tmp.md
The following work on normal and visual modes:
The following work on normal and visual modes:
- 'gx': open the link under the cursor in the same browser as the standard
'gx' command. '<Plug>Markdown_OpenUrlUnderCursor'
- 'gx': open the link under the cursor in the same browser as the standard
'gx' command. '<Plug>Markdown_OpenUrlUnderCursor'
<
Known limitation: does not work for links that span multiple lines.
<
Known limitation: does not work for links that span multiple lines.
- ']]': go to next header. '<Plug>Markdown_MoveToNextHeader'
- ']]': go to next header. '<Plug>Markdown_MoveToNextHeader'
- '[[': go to previous header. Contrast with ']c'.
'<Plug>Markdown_MoveToPreviousHeader'
- '[[': go to previous header. Contrast with ']c'.
'<Plug>Markdown_MoveToPreviousHeader'
- '][': go to next sibling header if any.
'<Plug>Markdown_MoveToNextSiblingHeader'
- '][': go to next sibling header if any.
'<Plug>Markdown_MoveToNextSiblingHeader'
- '[]': go to previous sibling header if any.
'<Plug>Markdown_MoveToPreviousSiblingHeader'
- '[]': go to previous sibling header if any.
'<Plug>Markdown_MoveToPreviousSiblingHeader'
- ']c': go to Current header. '<Plug>Markdown_MoveToCurHeader'
- ']c': go to Current header. '<Plug>Markdown_MoveToCurHeader'
- ']u': go to parent header (Up). '<Plug>Markdown_MoveToParentHeader'
This plugin follows the recommended Vim plugin mapping interface, so to change
- ']u': go to parent header (Up). '<Plug>Markdown_MoveToParentHeader'
This plugin follows the recommended Vim plugin mapping interface, so to change