diff options
-rw-r--r-- | .config/nvim/my_snippets/markdown.snippets | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.config/nvim/my_snippets/markdown.snippets b/.config/nvim/my_snippets/markdown.snippets index e567ce6..3486dd2 100644 --- a/.config/nvim/my_snippets/markdown.snippets +++ b/.config/nvim/my_snippets/markdown.snippets | |||
@@ -1,3 +1,5 @@ | |||
1 | snippet link "hyperlink" w | 1 | # vim:ft=snippets: |
2 | [${1:text}](`xsel -ob`) | 2 | |
3 | snippet link "Link to something" b | ||
4 | [${1:${VISUAL:Text}}](`xsel -ob`)$0 | ||
3 | endsnippet | 5 | endsnippet |