summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.config/nvim/init.vim12
-rw-r--r--.taskrc##c.desktop,h.maus2
-rw-r--r--.zshrc23
3 files changed, 24 insertions, 13 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,
diff --git a/.taskrc##c.desktop,h.maus b/.taskrc##c.desktop,h.maus
index a29ff5f..0f3fff9 100644
--- a/.taskrc##c.desktop,h.maus
+++ b/.taskrc##c.desktop,h.maus
@@ -11,7 +11,7 @@
11# Use the command 'task show' to see all defaults and overrides 11# Use the command 'task show' to see all defaults and overrides
12 12
13# Files 13# Files
14data.location=/home/yigit/Nextcloud/.task 14data.location=/home/yigit/nextcloud/.task
15 15
16# Color theme (uncomment one to use) 16# Color theme (uncomment one to use)
17#include /usr/share/doc/task/rc/light-16.theme 17#include /usr/share/doc/task/rc/light-16.theme
diff --git a/.zshrc b/.zshrc
index c334881..050a45a 100644
--- a/.zshrc
+++ b/.zshrc
@@ -112,19 +112,19 @@ alias df='df -h'
112alias mirrors='sudo pacman-mirrors -f 0 && sudo pacman -Syy' 112alias mirrors='sudo pacman-mirrors -f 0 && sudo pacman -Syy'
113alias -g C='| xsel -b' # Copy to clipboard 113alias -g C='| xsel -b' # Copy to clipboard
114alias bc='bc -l' 114alias bc='bc -l'
115alias ledger="ledger -f ~/Nextcloud/ledger.ledger" 115alias ledger="ledger -f ~/nextcloud/ledger.ledger"
116alias report="report -f ~/Nextcloud/ledger.ledger" 116alias report="report -f ~/nextcloud/ledger.ledger"
117alias think='tickle +1d' #think it over 117alias think='tickle +1d' #think it over
118alias lim='nvim /home/yigit/Nextcloud/ledger.ledger' 118alias lim='nvim /home/yigit/nextcloud/ledger.ledger'
119alias maybe='task due:someday list' 119alias maybe='task due:someday list'
120alias music='mpv --no-vid' 120alias music='mpv --no-vid'
121alias s="du -hs * | sort -rh | head -5" 121alias s="du -hs * | sort -rh | head -5"
122alias b="buku --suggest --colors 'onlxm'" 122alias b="buku --suggest --colors 'onlxm'"
123alias tp='trash-put' 123alias tp='trash-put'
124alias ls='exa' 124alias ls='exa'
125alias wim='nvim /home/yigit/Nextcloud/personal_wiki/text/index.wiki' 125alias wim='nvim /home/yigit/nextcloud/personal_wiki/text/index.wiki'
126alias ssh='TERM=xterm-256color ssh' 126alias ssh='TERM=xterm-256color ssh'
127alias torem='cd /home/yigit/Nextcloud/remind/' 127alias torem='cd /home/yigit/nextcloud/remind/'
128alias ta='task add +next +@home' 128alias ta='task add +next +@home'
129 129
130export MANPAGER="nvim +Man! -c ':set signcolumn='" 130export MANPAGER="nvim +Man! -c ':set signcolumn='"
@@ -181,10 +181,21 @@ n ()
181 fi 181 fi
182} 182}
183 183
184export NNN_BMS='w:~/Nextcloud/personal_wiki;r:~/Nextcloud/remind;n:~/Nextcloud' 184export NNN_BMS='w:~/nextcloud/personal_wiki;r:~/nextcloud/remind;n:~/nextcloud'
185export NNN_COLORS="2136" # use a different color for each context 185export NNN_COLORS="2136" # use a different color for each context
186export NNN_FCOLORS='c1e2272e006033f7c6d6abc4' 186export NNN_FCOLORS='c1e2272e006033f7c6d6abc4'
187export NNN_PLUG='d:dragdrop;z:fzz;p:preview-tui' 187export NNN_PLUG='d:dragdrop;z:fzz;p:preview-tui'
188 188
189# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. 189# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
190export PATH="$PATH:$HOME/.rvm/bin" 190export PATH="$PATH:$HOME/.rvm/bin"
191
192PATH="/home/yigit/perl5/bin${PATH:+:${PATH}}"; export PATH;
193PERL5LIB="/home/yigit/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
194PERL_LOCAL_LIB_ROOT="/home/yigit/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
195PERL_MB_OPT="--install_base \"/home/yigit/perl5\""; export PERL_MB_OPT;
196PERL_MM_OPT="INSTALL_BASE=/home/yigit/perl5"; export PERL_MM_OPT;
197
198if [ -n "$DESKTOP_SESSION" ];then
199 eval $(gnome-keyring-daemon --start)
200 export SSH_AUTH_SOCK
201fi