summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rwxr-xr-x.config/nvim/init.vim12
1 files changed, 6 insertions, 6 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 806e591..d451e86 100755
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -172,14 +172,14 @@ autocmd FileType vimwiki,latex,tex setlocal formatprg=/home/yigit/bin/sentences
172 172
173function! CreateNote() 173function! CreateNote()
174 py3 import uuid 174 py3 import uuid
175 exe "e! " . fnameescape("~/Nextcloud/personal_wiki/text/box/" . py3eval('str(uuid.uuid4())[:6]') . ".wiki") 175 exe "e! " . fnameescape("~/nextcloud/personal_wiki/text/box/" . py3eval('str(uuid.uuid4())[:6]') . ".wiki")
176 let l:text="= up =\n\n= down =\n\n= keywords =\n\n" 176 let l:text="= up =\n\n= down =\n\n= keywords =\n\n"
177 put =l:text 177 put =l:text
178 norm gg 178 norm gg
179endfunction 179endfunction
180 180
181function! CreatePaper(citekey) 181function! CreatePaper(citekey)
182 exe "e! " . fnameescape("~/Nextcloud/personal_wiki/text/papers/" . a:citekey . ".wiki") 182 exe "e! " . fnameescape("~/nextcloud/personal_wiki/text/papers/" . a:citekey . ".wiki")
183 183
184 let l:timestap="%date " . strftime("%F") 184 let l:timestap="%date " . strftime("%F")
185 let l:text="= Came From =\n\n= Takeaways =\n\n= Might Go To =\n\n" 185 let l:text="= Came From =\n\n= Takeaways =\n\n= Might Go To =\n\n"
@@ -189,7 +189,7 @@ function! CreatePaper(citekey)
189endfunction 189endfunction
190 190
191function! CreateReference(citekey) 191function! CreateReference(citekey)
192 exe "e! " . fnameescape("~/Nextcloud/personal_wiki/text/reference/" . a:citekey . ".wiki") 192 exe "e! " . fnameescape("~/nextcloud/personal_wiki/text/reference/" . a:citekey . ".wiki")
193 193
194 let l:timestap="%date " . strftime("%F") 194 let l:timestap="%date " . strftime("%F")
195 let l:text="= Literature Notes =\n\n= Citation =\n\n" 195 let l:text="= Literature Notes =\n\n= Citation =\n\n"
@@ -469,11 +469,11 @@ let g:startify_custom_header =
469"}}} 469"}}}
470 470
471"{{{ vimwiki 471"{{{ vimwiki
472let g:vimwiki_list = [{'path': '/home/yigit/Nextcloud/personal_wiki/text', 472let g:vimwiki_list = [{'path': '/home/yigit/nextcloud/personal_wiki/text',
473 \ 'path_html': '/home/yigit/Nextcloud/personal_wiki/html', 473 \ 'path_html': '/home/yigit/nextcloud/personal_wiki/html',
474 \ 'auto_generate_tags': 1, 474 \ 'auto_generate_tags': 1,
475 \ 'automatic_nested_syntaxes': 1, 475 \ 'automatic_nested_syntaxes': 1,
476 \ 'template_path': '/home/yigit/Nextcloud/personal_wiki/templates', 476 \ 'template_path': '/home/yigit/nextcloud/personal_wiki/templates',
477 \ 'template_default': 'default_template', 477 \ 'template_default': 'default_template',
478 \ 'template_ext': '.html', 478 \ 'template_ext': '.html',
479 \ 'auto_export': 1, 479 \ 'auto_export': 1,