summaryrefslogtreecommitdiffstats
path: root/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/my_snippets/all.snippets6
-rw-r--r--.config/nvim/my_snippets/markdown.snippets3
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 @@
1snippet box "Box"
2`!p snip.rv = '┌' + '─' * (len(t[1]) + 2) + '┐'`
3│ $1 │
4`!p snip.rv = '└' + '─' * (len(t[1]) + 2) + '┘'`
5$0
6endsnippet
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 @@
1snippet link "hyperlink" w
2[${1:text}](`xsel -ob`)
3endsnippet