diff --git a/.Xresources b/.Xresources index 87b4aa6..be702e0 100755 --- a/.Xresources +++ b/.Xresources @@ -24,7 +24,14 @@ urxvt*scrollWithBuffer: true urxvt.perl-ext-common: default,tabbedex,background,font-size,matcher urxvt.loginShell: true urxvt*dynamicColors: on -urxvt*font: xft:DejaVu Sans Mono:pixelsize=13,xft:Symbola + +urxvt*font: xft:DejaVu Sans Mono:pixelsize=13:style=Regular,xft:Symbola +urxvt*italicFont: xft:Bitstream Vera Sans Mono:pixelsize=13:italic:autohint=true,xft:Symbola +!*.font: xft:Iosevka:style=Regular:size=13 +!*.boldFont: xft:Iosevka:style=Bold:size=13 +!*.italicFont: xft:Iosevka:style=Italic:size=13 +!*.boldItalicFont: xft:Iosevka:style=Bold Italic:size=13 + urxvt.keysym.C-Up: font-size:increase urxvt.keysym.C-Down: font-size:decrease URxvt.cursorUnderline: false @@ -34,7 +41,7 @@ urxvt.matcher.button: 1 urxvt.background: rgba:0000/0000/0000/5555 urxvt.foreground: rgba:FFFF/FFFF/FFFF/FFFF -urxvt.color0: #000000 +urxvt.color0: #111111 urxvt.color1: #cc0000 urxvt.color2: #4e9a06 urxvt.color3: #c4a000 @@ -51,6 +58,9 @@ urxvt.color13: #ad7fa8 urxvt.color14: #34e2e2 urxvt.color15: #eeeeec +!urxvt.colorBD: white +!urxvt.colorIT: green + !https://unix.stackexchange.com/questions/232881/urxvt-change-background-color-on-the-fly URxvt*keysym.Control-Shift-F9: command:\033]10;#1d1f21\007\ \033]11;#fffff0\007\ @@ -77,23 +87,23 @@ urxvt*keysym.Control-Shift-F10: command:\033]11;#00000f\007\ \033]4;0;#3f3f3f\007\ \033]4;1;#705050\007\ \033]4;2;#60b48a\007\ - \033]4;3;#dfaf8f\007\ + \033]4;3;#c4a000\007\ \033]4;4;#9ab8d7\007\ - \033]4;5;#dc8cc3\007\ + \033]4;5;#992374\007\ \033]4;6;#8cd0d3\007\ \033]4;7;#dcdcdc\007\ \033]4;8;#709080\007\ \033]4;9;#dca3a3\007\ \033]4;10;#72d5a3\007\ \033]4;11;#f0dfaf\007\ - \033]4;12;#94bff3\007\ + \033]4;12;#4D88D0\007\ \033]4;13;#ec93d3\007\ \033]4;14;#93e0e3\007\ \033]4;15;#ffffff\007 URxvt*keysym.Control-Shift-F11: command:\033]11;rgba:0000/0000/0000/5555\007\ \033]10;#ffffff\007\ \033]12;#ffffff\007\ - \033]4;0;#000000\007\ + \033]4;0;#111111\007\ \033]4;1;#cc0000\007\ \033]4;2;#4e9a06\007\ \033]4;3;#c4a000\007\ diff --git a/.compton.conf b/.compton.conf index 4b7cdb1..f047f2f 100644 --- a/.compton.conf +++ b/.compton.conf @@ -1,4 +1,4 @@ -shadow-opacity = 1; +shadow-opacity = 0.8; shadow = true; shadow-radius = 0; shadow-offset-x = -2; diff --git a/.config/cmus/autosave b/.config/cmus/autosave index 00f70fd..fdd8842 100644 --- a/.config/cmus/autosave +++ b/.config/cmus/autosave @@ -46,7 +46,7 @@ set color_win_title_attr=default set color_win_title_bg=default set color_win_title_fg=white set confirm_run=true -set continue=true +set continue=false set continue_album=true set device=/dev/cdrom set display_artist_sort_name=false diff --git a/.muttrc b/.muttrc index 0b7157a..32cace4 100644 --- a/.muttrc +++ b/.muttrc @@ -93,3 +93,4 @@ alias rianaroux \"Roux, Riana [rianaroux@sun.ac.za]\" alias Dario Dario <20854714@sun.ac.za> alias rewitzky \"Rewitzky, IM, Prof [rewitzky@sun.ac.za]\" alias ajcollett \"Collett, Andrew, Mnr [ajcollett@sun.ac.za]\" +alias bpackbus Backpacker Bus diff --git a/.tmux.conf b/.tmux.conf index 1a969c8..8181380 100755 --- a/.tmux.conf +++ b/.tmux.conf @@ -189,3 +189,5 @@ bind-key s command-prompt -p "send pane to:" "join-pane -t '%%'" #bind-key V switchc -t '0' bind -n C-k clear-history + +set -g default-terminal "tmux" diff --git a/.vim/colors/noctu_adapted.vim b/.vim/colors/noctu_adapted.vim index 122b34f..edeb533 100644 --- a/.vim/colors/noctu_adapted.vim +++ b/.vim/colors/noctu_adapted.vim @@ -25,7 +25,7 @@ hi Pmenu ctermfg=15 ctermbg=0 hi PmenuThumb ctermbg=7 hi PmenuSBar ctermbg=8 hi PmenuSel ctermfg=0 ctermbg=4 -hi ColorColumn ctermbg=3 +hi ColorColumn ctermbg=5 hi SpellBad ctermfg=1 ctermbg=NONE cterm=underline hi SpellCap ctermfg=10 ctermbg=NONE cterm=underline hi SpellRare ctermfg=11 ctermbg=NONE cterm=underline @@ -73,7 +73,7 @@ hi! link SpecialKey NonText "}}} " Generic syntax {{{ hi Delimiter ctermfg=7 -hi Comment ctermfg=6 +hi Comment ctermfg=6 cterm=italic hi Underlined ctermfg=4 cterm=underline hi Type ctermfg=4 hi String ctermfg=11 diff --git a/.vimrc b/.vimrc index 01b78dc..81ae93c 100644 --- a/.vimrc +++ b/.vimrc @@ -4,6 +4,7 @@ set nocompatible execute pathogen#infect() syntax enable +syntax sync fromstart filetype plugin on filetype indent on @@ -35,6 +36,10 @@ set tags=./tags,./TAGS,tags,TAGS set nojoinspaces +"escape codes for italics +set t_ZH= +set t_ZR= + map gn :bn map gp :bp "map "zyiw :tjump z @@ -202,11 +207,13 @@ let g:Tex_ViewRule_pdf = "qpdfview" let g:tex_flavor='latex' let g:Tex_GotoError=0 +let g:tex_comment_nospell=1 -autocmd BufNewFile,BufRead *.tex set syntax=plaintex -autocmd BufNewFile,BufRead *.tex syntax enable +autocmd BufNewFile,BufRead *.tex syntax sync fromstart autocmd BufNewFile,BufRead *.tex set spelllang=en_gb spell autocmd BufNewFile,BufRead *.tex syntax match Comment "%.*" +autocmd BufNewFile,BufRead *.tex call TexNewMathZone("M", "align", 1) +autocmd BufNewFile,BufRead *.tex set foldtext=FoldText() autocmd BufNewFile,BufRead *.tex set textwidth=80 autocmd BufNewFile,BufRead *.tex let g:syntastic_auto_jump = 0