diff options
author | Yigit Sever | 2021-11-12 20:53:16 +0300 |
---|---|---|
committer | Yigit Sever | 2021-11-12 20:53:16 +0300 |
commit | bb29976e383d9e305e92d9fc4977471535ed70f5 (patch) | |
tree | 4065f91b50f64a5695f797b2c790e122b123fdd9 /.config/nvim/my_snippets/vimwiki.snippets | |
parent | f3975362723d9e04a1156c7a5833f114d48db548 (diff) | |
download | dotfiles-bb29976e383d9e305e92d9fc4977471535ed70f5.tar.gz dotfiles-bb29976e383d9e305e92d9fc4977471535ed70f5.tar.bz2 dotfiles-bb29976e383d9e305e92d9fc4977471535ed70f5.zip |
nvim: expand spotlight snippet from clipboard
Diffstat (limited to '.config/nvim/my_snippets/vimwiki.snippets')
-rw-r--r-- | .config/nvim/my_snippets/vimwiki.snippets | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/my_snippets/vimwiki.snippets b/.config/nvim/my_snippets/vimwiki.snippets index c13b886..21c1b22 100644 --- a/.config/nvim/my_snippets/vimwiki.snippets +++ b/.config/nvim/my_snippets/vimwiki.snippets | |||
@@ -9,5 +9,5 @@ $\mathcal{O}(n)$ | |||
9 | endsnippet | 9 | endsnippet |
10 | 10 | ||
11 | snippet s "Create a new spotlight item" b | 11 | snippet s "Create a new spotlight item" b |
12 | - (`!v strftime("%F %R")`) ${1:URL} -- ${2:Summary} | 12 | - (`!v strftime("%F %R")`) ${1:`!v substitute(@+, ' \|\n', '', 'g' )`} -- ${2:Summary} |
13 | endsnippet | 13 | endsnippet |