Commit Graph

14 Commits

Author SHA1 Message Date
Ciro Santilli
d00ca9f573 Markdown links from the clipboard 2014-11-21 09:30:50 +01:00
Ciro Santilli
2b09325fc1 Make markdown links consistent on cursor exits
Make the versions of link with and without * behave alike:

-   don't set the 0 location so that the cursor exits.
    Having a 0 in the title is bad because titles are short.

-   either open a new line at end for both, or for neither

    The only case where the newline is certain is for link definitions.
2014-11-21 01:01:51 +01:00
Honza Pokorny
95024ce02a Merge pull request #487 from cirosantilli/markdown-fix-fenced
Fix markdown fenced code blocks.
2014-11-20 15:09:53 -04:00
Honza Pokorny
1e68b203c0 Merge pull request #486 from cirosantilli/markdown-link-no-title
Let the short version of links not have title
2014-11-20 15:09:41 -04:00
Ciro Santilli
fbbe71e534 Fix markdown fenced code blocks.
Broken because backticks were interpreted as vim code execution.

Also simplified the trigger which was too long and unintuitive.
2014-11-20 19:41:30 +01:00
Ciro Santilli
e3ea6460fe Let the short version of links not have title
and create versions with title with "

Rationale: it is more common to have links without title in Markdown.
2014-11-20 19:30:41 +01:00
Ciro Santilli
3ecf47c131 Markdown autolinks <url> 2014-11-20 18:45:34 +01:00
Adnan Zafar
7f9c4f5807 Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
Björn
b4fe1eb09d fix underline length
if you're hasty and type more than three '='s/'-'s, the underline will be longer than the title above. To fix this we need to subtract the (remaining) length of the current line from the length of the title.
2013-08-04 03:52:18 +02:00
Michael Thessel
5da33b7a01 Removed unnecessary whitespace from the end of the line 2013-06-20 23:57:07 +02:00
Nicolas G. Querol
adfd3f4ab8 added pullquote snippet 2012-05-12 02:30:24 +02:00
Nicolas G. Querol
6f79151a2a added octopress snippets for markdown files 2012-05-11 18:51:19 +02:00
David Sanson
508275c6ff Adding clipboard yanking snippets and setext underlining snippets 2011-09-14 18:25:29 -04:00
Marc Weber
94aebfaadd Move all snippet files into a snippets directory so that you can install it
using VAM. The reason is that snipmate automatically looks for snippets
found in &rtp/snippets
2011-06-21 09:02:13 +02:00