From 074c19d2e6e185747bd1ee3f12c9eec942d125a4 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 4 Sep 2024 15:11:35 +0200 Subject: nvim: slim down create paper --- .config/nvim/after/plugin/functions.vim | 4 ++-- 1 file 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) exe "e! " . fnameescape("~/nextcloud/personal_wiki/text/papers/" . a:citekey . ".wiki") let l:timestap="%date " . strftime("%F") - let l:text="= Came From =\n\n= Takeaways =\n\n= Might Go To =\n\n" + let l:title="%title " put! =l:timestap - put =l:text + put =l:title endfunction function! CreateReference(citekey) -- cgit v1.2.3-70-g09d2