summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.config/nvim/init.vim12
-rw-r--r--.zshrc2
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
163function! CreateNote() 163function! 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
169endfunction 169endfunction
170 170
171function! CreatePaper(citekey) 171function! 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)
179endfunction 179endfunction
180 180
181function! CreateReference(citekey) 181function! 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
461let g:vimwiki_list = [{'path': '/home/yigit/Nextcloud/personal_wiki', 461let 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,
diff --git a/.zshrc b/.zshrc
index f350138..dff9d43 100644
--- a/.zshrc
+++ b/.zshrc
@@ -125,7 +125,7 @@ alias s="du -hs * | sort -rh | head -5"
125alias b="buku --suggest --colors 'onlxm'" 125alias b="buku --suggest --colors 'onlxm'"
126alias tp='trash-put' 126alias tp='trash-put'
127alias ls='exa' 127alias ls='exa'
128alias wim='nvim /home/yigit/Nextcloud/personal_wiki/index.wiki' 128alias wim='nvim /home/yigit/Nextcloud/personal_wiki/text/index.wiki'
129alias ssh='TERM=xterm-256color ssh' 129alias ssh='TERM=xterm-256color ssh'
130alias torem='cd /home/yigit/Nextcloud/remind/' 130alias torem='cd /home/yigit/Nextcloud/remind/'
131alias ta='task add +next +@home' 131alias ta='task add +next +@home'