summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorYigit Sever2021-11-18 23:02:16 +0300
committerYigit Sever2021-11-18 23:02:16 +0300
commita21f762076355b5fcc74e36c5e3a1fc583f71510 (patch)
treeb330b36191ff9f15a18f48f40f9dae37ec18c8ac /.config
parentebda811de1d2a916f4aaf62f156b625b865d9035 (diff)
downloaddotfiles-a21f762076355b5fcc74e36c5e3a1fc583f71510.tar.gz
dotfiles-a21f762076355b5fcc74e36c5e3a1fc583f71510.tar.bz2
dotfiles-a21f762076355b5fcc74e36c5e3a1fc583f71510.zip
nvim: tracking md and box snippets
Diffstat (limited to '.config')
-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