" Will learn to port promise function! CreateNote() py3 import uuid exe "e! " . fnameescape("~/nextcloud/personal_wiki/text/box/" . py3eval('str(uuid.uuid4())[:6]') . ".wiki") let l:text="= up =\n\n= down =\n\n= keywords =\n\n" put =l:text norm gg endfunction 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" put! =l:timestap put =l:text endfunction function! CreateReference(citekey) exe "e! " . fnameescape("~/nextcloud/personal_wiki/text/reference/" . a:citekey . ".wiki") let l:timestap="%date " . strftime("%F") let l:text="= Literature Notes =\n\n= Citation =\n\n" put! =l:timestap put =l:text endfunction