diff options
-rwxr-xr-x | .config/nvim/init.vim | 12 | ||||
-rw-r--r-- | .zshrc | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 7dcf6a7..9c5126f 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim | |||
@@ -162,14 +162,14 @@ autocmd FileType vimwiki setlocal formatprg=/home/yigit/bin/sentences | |||
162 | 162 | ||
163 | function! CreateNote() | 163 | function! CreateNote() |
164 | py3 import uuid | 164 | py3 import uuid |
165 | exe "e! " . fnameescape("~/Nextcloud/personal_wiki/box/" . py3eval('str(uuid.uuid4())[:6]') . ".wiki") | 165 | exe "e! " . fnameescape("~/Nextcloud/personal_wiki/text/box/" . py3eval('str(uuid.uuid4())[:6]') . ".wiki") |
166 | let l:text="= up =\n\n= down =\n\n= keywords =\n\n" | 166 | let l:text="= up =\n\n= down =\n\n= keywords =\n\n" |
167 | put =l:text | 167 | put =l:text |
168 | norm gg | 168 | norm gg |
169 | endfunction | 169 | endfunction |
170 | 170 | ||
171 | function! CreatePaper(citekey) | 171 | function! CreatePaper(citekey) |
172 | exe "e! " . fnameescape("~/Nextcloud/personal_wiki/papers/" . a:citekey . ".wiki") | 172 | exe "e! " . fnameescape("~/Nextcloud/personal_wiki/text/papers/" . a:citekey . ".wiki") |
173 | 173 | ||
174 | let l:timestap="%date " . strftime("%F") | 174 | let l:timestap="%date " . strftime("%F") |
175 | let l:text="= Came From =\n\n= Takeaways =\n\n= Might Go To =\n\n" | 175 | let l:text="= Came From =\n\n= Takeaways =\n\n= Might Go To =\n\n" |
@@ -179,7 +179,7 @@ function! CreatePaper(citekey) | |||
179 | endfunction | 179 | endfunction |
180 | 180 | ||
181 | function! CreateReference(citekey) | 181 | function! CreateReference(citekey) |
182 | exe "e! " . fnameescape("~/Nextcloud/personal_wiki/reference/" . a:citekey . ".wiki") | 182 | exe "e! " . fnameescape("~/Nextcloud/personal_wiki/text/reference/" . a:citekey . ".wiki") |
183 | 183 | ||
184 | let l:timestap="%date " . strftime("%F") | 184 | let l:timestap="%date " . strftime("%F") |
185 | let l:text="= Literature Notes =\n\n= Citation =\n\n" | 185 | let l:text="= Literature Notes =\n\n= Citation =\n\n" |
@@ -458,13 +458,13 @@ let g:startify_custom_header = | |||
458 | "}}} | 458 | "}}} |
459 | 459 | ||
460 | "{{{ vimwiki | 460 | "{{{ vimwiki |
461 | let g:vimwiki_list = [{'path': '/home/yigit/Nextcloud/personal_wiki', | 461 | let g:vimwiki_list = [{'path': '/home/yigit/Nextcloud/personal_wiki/text', |
462 | \ 'path_html': '/home/yigit/Nextcloud/personal_wiki_html', | 462 | \ 'path_html': '/home/yigit/Nextcloud/personal_wiki/html', |
463 | \ 'auto_diary_index': 1, | 463 | \ 'auto_diary_index': 1, |
464 | \ 'auto_generate_links': 1, | 464 | \ 'auto_generate_links': 1, |
465 | \ 'auto_generate_tags': 1, | 465 | \ 'auto_generate_tags': 1, |
466 | \ 'automatic_nested_syntaxes': 1, | 466 | \ 'automatic_nested_syntaxes': 1, |
467 | \ 'template_path': '/home/yigit/Nextcloud/personal_wiki/', | 467 | \ 'template_path': '/home/yigit/Nextcloud/personal_wiki/templates', |
468 | \ 'template_default': 'default_template', | 468 | \ 'template_default': 'default_template', |
469 | \ 'template_ext': '.html', | 469 | \ 'template_ext': '.html', |
470 | \ 'auto_export': 1, | 470 | \ 'auto_export': 1, |
@@ -125,7 +125,7 @@ alias s="du -hs * | sort -rh | head -5" | |||
125 | alias b="buku --suggest --colors 'onlxm'" | 125 | alias b="buku --suggest --colors 'onlxm'" |
126 | alias tp='trash-put' | 126 | alias tp='trash-put' |
127 | alias ls='exa' | 127 | alias ls='exa' |
128 | alias wim='nvim /home/yigit/Nextcloud/personal_wiki/index.wiki' | 128 | alias wim='nvim /home/yigit/Nextcloud/personal_wiki/text/index.wiki' |
129 | alias ssh='TERM=xterm-256color ssh' | 129 | alias ssh='TERM=xterm-256color ssh' |
130 | alias torem='cd /home/yigit/Nextcloud/remind/' | 130 | alias torem='cd /home/yigit/Nextcloud/remind/' |
131 | alias ta='task add +next +@home' | 131 | alias ta='task add +next +@home' |