diff options
author | Yigit Sever | 2021-11-19 12:27:10 +0300 |
---|---|---|
committer | Yigit Sever | 2021-11-19 12:27:10 +0300 |
commit | 95dc5ae052b18a9b00afd131d1d921a7767c6e09 (patch) | |
tree | d9102dfcfaf68523e7b7fc9a65b44512e1a11fe3 /.config/nvim/my_snippets/markdown.snippets | |
parent | a21f762076355b5fcc74e36c5e3a1fc583f71510 (diff) | |
download | dotfiles-95dc5ae052b18a9b00afd131d1d921a7767c6e09.tar.gz dotfiles-95dc5ae052b18a9b00afd131d1d921a7767c6e09.tar.bz2 dotfiles-95dc5ae052b18a9b00afd131d1d921a7767c6e09.zip |
nvim: better md link snippet
Diffstat (limited to '.config/nvim/my_snippets/markdown.snippets')
-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 |