diff options
author | Yigit Sever | 2024-09-04 15:11:35 +0200 |
---|---|---|
committer | Yigit Sever | 2024-09-04 15:11:35 +0200 |
commit | 074c19d2e6e185747bd1ee3f12c9eec942d125a4 (patch) | |
tree | 07ad43380296b9de6e0078db4e301156d9a64388 /.config | |
parent | 31dc4351f9601d839ba13117fcf6e1ed26559f03 (diff) | |
download | dotfiles-074c19d2e6e185747bd1ee3f12c9eec942d125a4.tar.gz dotfiles-074c19d2e6e185747bd1ee3f12c9eec942d125a4.tar.bz2 dotfiles-074c19d2e6e185747bd1ee3f12c9eec942d125a4.zip |
nvim: slim down create paper
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/after/plugin/functions.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/nvim/after/plugin/functions.vim b/.config/nvim/after/plugin/functions.vim index 87a1072..415ad51 100644 --- a/.config/nvim/after/plugin/functions.vim +++ b/.config/nvim/after/plugin/functions.vim | |||
@@ -11,10 +11,10 @@ function! CreatePaper(citekey) | |||
11 | exe "e! " . fnameescape("~/nextcloud/personal_wiki/text/papers/" . a:citekey . ".wiki") | 11 | exe "e! " . fnameescape("~/nextcloud/personal_wiki/text/papers/" . a:citekey . ".wiki") |
12 | 12 | ||
13 | let l:timestap="%date " . strftime("%F") | 13 | let l:timestap="%date " . strftime("%F") |
14 | let l:text="= Came From =\n\n= Takeaways =\n\n= Might Go To =\n\n" | 14 | let l:title="%title " |
15 | 15 | ||
16 | put! =l:timestap | 16 | put! =l:timestap |
17 | put =l:text | 17 | put =l:title |
18 | endfunction | 18 | endfunction |
19 | 19 | ||
20 | function! CreateReference(citekey) | 20 | function! CreateReference(citekey) |