diff options
author | Yigit Sever | 2021-11-18 23:02:16 +0300 |
---|---|---|
committer | Yigit Sever | 2021-11-18 23:02:16 +0300 |
commit | a21f762076355b5fcc74e36c5e3a1fc583f71510 (patch) | |
tree | b330b36191ff9f15a18f48f40f9dae37ec18c8ac /.config | |
parent | ebda811de1d2a916f4aaf62f156b625b865d9035 (diff) | |
download | dotfiles-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.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 | ||