summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2021-11-19 12:27:10 +0300
committerYigit Sever2021-11-19 12:27:10 +0300
commit95dc5ae052b18a9b00afd131d1d921a7767c6e09 (patch)
treed9102dfcfaf68523e7b7fc9a65b44512e1a11fe3
parenta21f762076355b5fcc74e36c5e3a1fc583f71510 (diff)
downloaddotfiles-95dc5ae052b18a9b00afd131d1d921a7767c6e09.tar.gz
dotfiles-95dc5ae052b18a9b00afd131d1d921a7767c6e09.tar.bz2
dotfiles-95dc5ae052b18a9b00afd131d1d921a7767c6e09.zip
nvim: better md link snippet
-rw-r--r--.config/nvim/my_snippets/markdown.snippets6
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 @@
1snippet link "hyperlink" w 1# vim:ft=snippets:
2[${1:text}](`xsel -ob`) 2
3snippet link "Link to something" b
4[${1:${VISUAL:Text}}](`xsel -ob`)$0
3endsnippet 5endsnippet