diff --git a/src/aerc/accounts.conf b/src/aerc/accounts.conf index e6e813f..eb9ee8c 100644 --- a/src/aerc/accounts.conf +++ b/src/aerc/accounts.conf @@ -1,19 +1,19 @@ [Gmail] -source = imaps://britishlink12%40gmail.com@imap.gmail.com:993 -outgoing = smtp+plain://britishlink12%40gmail.com@smtp.gmail.com:587 -default = INBOX -smtp-starttls = yes -from = Tyler Perkins -copy-to = Sent +source = imaps://britishlink12%40gmail.com@imap.gmail.com:993 +outgoing = smtp+plain://britishlink12%40gmail.com@smtp.gmail.com:587 +default = INBOX +smtp-starttls = yes +from = Tyler Perkins +copy-to = Sent outgoing-cred-cmd = pass email/britishlink12@gmail.com -source-cred-cmd = pass email/britishlink12@gmail.com +source-cred-cmd = pass email/britishlink12@gmail.com [School] -source = imaps://tperki17%40kent.edu@imap.gmail.com -outgoing = smtps+plain://tperki17%40kent.edu@smtp.gmail.com -default = INBOX -from = Tyler Perkins -copy-to = Sent +source = imaps://tperki17%40kent.edu@imap.gmail.com +outgoing = smtps+plain://tperki17%40kent.edu@smtp.gmail.com +default = INBOX +from = Tyler Perkins +copy-to = Sent outgoing-cred-cmd = pass email/tperki17@kent.edu -source-cred-cmd = pass email/tperki17@kent.edu +source-cred-cmd = pass email/tperki17@kent.edu diff --git a/src/bash/bashrc b/src/bash/bashrc index 3a3d820..e576179 100644 --- a/src/bash/bashrc +++ b/src/bash/bashrc @@ -17,12 +17,19 @@ set -o vi #add .cargo/bin to path export PATH="/home/tyler/.cargo/bin:$PATH" export PATH="/home/tyler/.local/bin:$PATH" - +export _JAVA_AWT_WM_NONREPARENTING=1 #use vim as editor export EDITOR="/usr/bin/vim" +#pyenv +export PYENV_ROOT="$HOME/.pyenv" +export PATH="$PYENV_ROOT/versions/bin/3.8.12/bin:$PATH" + #proton work directory set as enviroment var export STEAM_COMPAT_DATA_PATH=~/.proton/ +export STEAM_COMPAT_CLIENT_INSTALL_PATH=~/.steam/steam/steamapps/common/Proton\ 6.3/ + +eval "$(register-python-argcomplete pmbootstrap)" #alias set alias l="ls -al" @@ -38,7 +45,7 @@ alias ports="netstat -tulanp | less" alias audio="pulsemixer" alias email="aerc" alias weather="curl wttr.in" -alias http="python -m http.server" +alias httpserver="python -m http.server" alias google="tuxi" alias clipboard="xclip -selection clipboard" alias new-wallpaper="feh --bg-fill --randomize ~/.desktop/wallpaper/" @@ -49,16 +56,17 @@ alias grep="grep -i --color=auto" alias mv="mv -v" alias nnn="nnn -e" alias sudo="doas" -alias arduino="_JAVA_AWT_WM_NONREPARENTING=1 arduino" +alias arduino=" arduino" alias logisim-evolution="_JAVA_AWT_WM_NONREPARENTING=1 logisim-evolution" alias vifm="vifmrun" -alias svn="colorsvn" alias f="vifm" +alias new-motd="vim /home/tyler/.desktop/alarm/motd.txt" alias sched="vim /home/tyler/school/Sched.txt" alias disable-alarm=". /home/tyler/.desktop/alarm/disable-alarm.sh" alias memes-down="rsync -azPv tyler@174.104.135.12:/media/hd/memes/ /media/hd/memes" alias memes-up="rsync -azPv /media/hd/memes/ tyler@174.104.135.12:/media/hd/memes/" +alias battery="cat /sys/class/power_supply/BAT0/capacity" #vim opens vim wiki by default, else the file #function vimw(){ @@ -70,6 +78,7 @@ alias memes-up="rsync -azPv /media/hd/memes/ tyler@174.104.135.12:/media/hd/meme #} #alias vim="vimw" +export PS1="\033[1m\e[0;97m[\e[0;32m\u\e[0;97m@\e[0;31m\h \e[0;97m(\D{}) \w]\n$ \033[0m" #display colors _PROMPT_GREEN_='\033[1;32m' @@ -84,7 +93,7 @@ fi #display stuff at beggining of the shell echo -e "${_PROMPT_HEAD_}#########################" echo -e "${_PROMPT_HEAD_}#Welcome ${_PROMPT_VAR_}$(whoami)" -echo -e "${_PROMPT_HEAD_}#EIp : ${_PROMPT_VAR_}$(ifconfig eno1 | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1')" +echo -e "${_PROMPT_HEAD_}#EIp : ${_PROMPT_VAR_}$(ifconfig eth0 | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1')" #echo -e "${_PROMPT_HEAD_}#WIp : ${_PROMPT_VAR_}$(ifconfig wlo1 | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1')" echo -e "${_PROMPT_HEAD_}#PIp : ${_PROMPT_VAR_}$(curl -s ipinfo.io/ip)" echo -e "${_PROMPT_HEAD_}#Time: ${_PROMPT_VAR_}$(date +"%T")" diff --git a/src/calcurse/keys b/src/calcurse/keys index 0f5ee8d..3304bbb 100644 --- a/src/calcurse/keys +++ b/src/calcurse/keys @@ -16,6 +16,7 @@ generic-reload R generic-copy c generic-paste p ^V generic-change-view TAB +generic-prev-view KEY_BTAB generic-import i I generic-export x X generic-goto g G diff --git a/src/vim/vimrc b/src/vim/vimrc index 2a5a96e..1ab294d 100644 --- a/src/vim/vimrc +++ b/src/vim/vimrc @@ -23,9 +23,18 @@ Plugin 'luochen1990/rainbow' Plugin 'jiangmiao/auto-pairs' Plugin 'jamessan/vim-gnupg' Plugin 'vim-syntastic/syntastic' +Plugin 'ntpeters/vim-better-whitespace' Plugin 'airblade/vim-gitgutter' Plugin 'vimwiki/vimwiki' Plugin 'ekalinin/Dockerfile.vim' +Plugin 'Shirk/vim-gas' +Plugin 'ycm-core/YouCompleteMe' +Plugin 'vim-latex/vim-latex' +Plugin 'posva/vim-vue' + +"Omnisharp +Plugin 'OmniSharp/omnisharp-vim' + "Appearence Plugin 'ap/vim-css-color' @@ -45,6 +54,21 @@ Plugin 'moll/vim-node' "end call vundle#end() filetype plugin indent on +filetype plugin on + +"omnisharp, for C# editing +autocmd BufNewFile,BufRead *.cshtml set syntax=html +let g:syntastic_cs_checkers = ['code_checker'] +let g:OmniSharp_server_sdio = 1 +let g:OmniSharp_server_use_net6 = 1 +let g:OmniSharp_highlighting = 3 +autocmd FileType cs nmap gd (omnisharp_go_to_definition) + +"asyncomplete +inoremap pumvisible() ? "\" : "\" +inoremap pumvisible() ? "\" : "\" + +set encoding=utf-8 "enable hardmode "let g:hardtime_default_on = 1 @@ -72,11 +96,12 @@ let g:syntastic_cpp_remove_include_errors = 1 let g:syntastic_c_remove_include_errors = 1 let g:syntastic_cpp_compiler = "g++" let g:syntastic_cpp_compiler_options = "-Wall -Wextra" - let g:syntastic_asm_checkers = ['nasm'] let g:GPGFilePattern = '*.\(gpg\|asc\|pgp\|gpg\)\(.wiki\)\=' +" Vim latex settings +let g:tex_flavor='latex' "clear sign column hi clear SignColumn @@ -149,8 +174,6 @@ set tw=79 "auto highlight to groff for .ms files autocmd BufNewFile,BufRead *.ms set syntax=groff -"md/groff/latex preview - let mapleader="\\" "call compile @@ -178,4 +201,3 @@ let g:vimwiki_list = [{'path': '$HOME/vimwiki', 'path_html': '$HOME/vimwiki/.htm noremap p :call Preview() noremap q :call Compile() -