diff options
Diffstat (limited to '.config/nvim/my_snippets')
-rw-r--r-- | .config/nvim/my_snippets/all.snippets | 6 | ||||
-rw-r--r-- | .config/nvim/my_snippets/markdown.snippets | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/.config/nvim/my_snippets/all.snippets b/.config/nvim/my_snippets/all.snippets new file mode 100644 index 0000000..e6f932c --- /dev/null +++ b/.config/nvim/my_snippets/all.snippets | |||
@@ -0,0 +1,6 @@ | |||
1 | snippet box "Box" | ||
2 | `!p snip.rv = '┌' + '─' * (len(t[1]) + 2) + '┐'` | ||
3 | │ $1 │ | ||
4 | `!p snip.rv = '└' + '─' * (len(t[1]) + 2) + '┘'` | ||
5 | $0 | ||
6 | endsnippet | ||
diff --git a/.config/nvim/my_snippets/markdown.snippets b/.config/nvim/my_snippets/markdown.snippets new file mode 100644 index 0000000..e567ce6 --- /dev/null +++ b/.config/nvim/my_snippets/markdown.snippets | |||
@@ -0,0 +1,3 @@ | |||
1 | snippet link "hyperlink" w | ||
2 | [${1:text}](`xsel -ob`) | ||
3 | endsnippet | ||