diff options
| -rwxr-xr-x | .config/nvim/init.vim | 12 | ||||
| -rw-r--r-- | .taskrc##c.desktop,h.maus | 2 | ||||
| -rw-r--r-- | .zshrc | 23 |
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 | ||
| 173 | function! CreateNote() | 173 | function! 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 |
| 179 | endfunction | 179 | endfunction |
| 180 | 180 | ||
| 181 | function! CreatePaper(citekey) | 181 | function! 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) | |||
| 189 | endfunction | 189 | endfunction |
| 190 | 190 | ||
| 191 | function! CreateReference(citekey) | 191 | function! 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 |
| 472 | let g:vimwiki_list = [{'path': '/home/yigit/Nextcloud/personal_wiki/text', | 472 | let 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 |
| 14 | data.location=/home/yigit/Nextcloud/.task | 14 | data.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 |
| @@ -112,19 +112,19 @@ alias df='df -h' | |||
| 112 | alias mirrors='sudo pacman-mirrors -f 0 && sudo pacman -Syy' | 112 | alias mirrors='sudo pacman-mirrors -f 0 && sudo pacman -Syy' |
| 113 | alias -g C='| xsel -b' # Copy to clipboard | 113 | alias -g C='| xsel -b' # Copy to clipboard |
| 114 | alias bc='bc -l' | 114 | alias bc='bc -l' |
| 115 | alias ledger="ledger -f ~/Nextcloud/ledger.ledger" | 115 | alias ledger="ledger -f ~/nextcloud/ledger.ledger" |
| 116 | alias report="report -f ~/Nextcloud/ledger.ledger" | 116 | alias report="report -f ~/nextcloud/ledger.ledger" |
| 117 | alias think='tickle +1d' #think it over | 117 | alias think='tickle +1d' #think it over |
| 118 | alias lim='nvim /home/yigit/Nextcloud/ledger.ledger' | 118 | alias lim='nvim /home/yigit/nextcloud/ledger.ledger' |
| 119 | alias maybe='task due:someday list' | 119 | alias maybe='task due:someday list' |
| 120 | alias music='mpv --no-vid' | 120 | alias music='mpv --no-vid' |
| 121 | alias s="du -hs * | sort -rh | head -5" | 121 | alias s="du -hs * | sort -rh | head -5" |
| 122 | alias b="buku --suggest --colors 'onlxm'" | 122 | alias b="buku --suggest --colors 'onlxm'" |
| 123 | alias tp='trash-put' | 123 | alias tp='trash-put' |
| 124 | alias ls='exa' | 124 | alias ls='exa' |
| 125 | alias wim='nvim /home/yigit/Nextcloud/personal_wiki/text/index.wiki' | 125 | alias wim='nvim /home/yigit/nextcloud/personal_wiki/text/index.wiki' |
| 126 | alias ssh='TERM=xterm-256color ssh' | 126 | alias ssh='TERM=xterm-256color ssh' |
| 127 | alias torem='cd /home/yigit/Nextcloud/remind/' | 127 | alias torem='cd /home/yigit/nextcloud/remind/' |
| 128 | alias ta='task add +next +@home' | 128 | alias ta='task add +next +@home' |
| 129 | 129 | ||
| 130 | export MANPAGER="nvim +Man! -c ':set signcolumn='" | 130 | export MANPAGER="nvim +Man! -c ':set signcolumn='" |
| @@ -181,10 +181,21 @@ n () | |||
| 181 | fi | 181 | fi |
| 182 | } | 182 | } |
| 183 | 183 | ||
| 184 | export NNN_BMS='w:~/Nextcloud/personal_wiki;r:~/Nextcloud/remind;n:~/Nextcloud' | 184 | export NNN_BMS='w:~/nextcloud/personal_wiki;r:~/nextcloud/remind;n:~/nextcloud' |
| 185 | export NNN_COLORS="2136" # use a different color for each context | 185 | export NNN_COLORS="2136" # use a different color for each context |
| 186 | export NNN_FCOLORS='c1e2272e006033f7c6d6abc4' | 186 | export NNN_FCOLORS='c1e2272e006033f7c6d6abc4' |
| 187 | export NNN_PLUG='d:dragdrop;z:fzz;p:preview-tui' | 187 | export 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. |
| 190 | export PATH="$PATH:$HOME/.rvm/bin" | 190 | export PATH="$PATH:$HOME/.rvm/bin" |
| 191 | |||
| 192 | PATH="/home/yigit/perl5/bin${PATH:+:${PATH}}"; export PATH; | ||
| 193 | PERL5LIB="/home/yigit/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB; | ||
| 194 | PERL_LOCAL_LIB_ROOT="/home/yigit/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT; | ||
| 195 | PERL_MB_OPT="--install_base \"/home/yigit/perl5\""; export PERL_MB_OPT; | ||
| 196 | PERL_MM_OPT="INSTALL_BASE=/home/yigit/perl5"; export PERL_MM_OPT; | ||
| 197 | |||
| 198 | if [ -n "$DESKTOP_SESSION" ];then | ||
| 199 | eval $(gnome-keyring-daemon --start) | ||
| 200 | export SSH_AUTH_SOCK | ||
| 201 | fi | ||
