diff --git a/dotfiles/.bash_aliases b/dotfiles/.bash_aliases index fd17642..6f17df3 100644 --- a/dotfiles/.bash_aliases +++ b/dotfiles/.bash_aliases @@ -1,10 +1,10 @@ in_lab=false -cdSchool="c ~/Documents/School"; +cd_school="c ~/Documents/School"; if [ -d "/h/u3/c7/" ]; then TERM=xterm-256color xmodmap -e "clear Lock" in_lab=true - cdSchool="c ~"; + cd_school="c ~"; fi # system @@ -59,17 +59,18 @@ else fi # school -alias sch="$cdSchool" -alias 136="$cdSchool/136" -alias mt="ok ~/Documents/School/136/calc-textbook.pdf" -alias psy="$cdSchool/psy" +alias sch="$cd_school" +alias 136="$cd_school/136" +alias pr2="c \"$cd_school\"/136/par/1" +alias mt="ok \"$cd_school\"/136/calc-textbook.pdf" +alias psy="$cd_school/psy" # 209 alias ll="ls -l" - alias 209="$cdSchool/209" - alias 9r="$cdSchool/209/mokkar" - alias l3="$cdSchool/209/mokkar/lab3" - alias a1="$cdSchool/209/mokkar/a1" + alias 209="$cd_school/209" + alias 9r="$cd_school/209/mokkar" + alias l3="$cd_school/209/mokkar/lab3" + alias a1="$cd_school/209/mokkar/a1" gcc9() { gcc -Wall -std=gnu99 -g -o "${1%.*}.out" "$1" } diff --git a/dotfiles/.vimrc b/dotfiles/.vimrc index 688cd86..9371d16 100644 --- a/dotfiles/.vimrc +++ b/dotfiles/.vimrc @@ -4,6 +4,8 @@ set background=dark filetype plugin on syntax on set tabstop=4 +set tw=80 +set colorcolumn=80 set shiftwidth=4 set autoindent set mouse=c @@ -29,6 +31,7 @@ Plug 'nathanaelkane/vim-indent-guides' Plug 'flazz/vim-colorschemes' Plug 'felixhummel/setcolors.vim' Plug '907th/vim-auto-save' +Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' } " Plug 'artur-shaik/vim-javacomplete2' " autocmd FileType java setlocal omnifunc=javacomplete#Complete @@ -39,6 +42,7 @@ colorscheme gotham256 map :wa map :wqa map :qa! +map :LLPStartPreview map :AutoSaveToggle map :PlugInstall map :.,$s/:\(\w\)/: \1/g diff --git a/dotfiles/termConfig b/dotfiles/termConfig index 1942f63..5e4de62 100644 --- a/dotfiles/termConfig +++ b/dotfiles/termConfig @@ -1,6 +1,5 @@ [global_config] inactive_color_offset = 1.0 - suppress_multiple_term_dialog = True title_font = Noto Sans 10 title_transmit_bg_color = "#3d3d3d" [keybindings] @@ -28,7 +27,7 @@ copy_on_selection = True cursor_color = "#b9b9b9" custom_command = env TERM=xterm-256color bash - font = Monospace 13 + font = Monospace 8.5 foreground_color = "#0077ff" palette = "#000000:#aa0000:#00aa00:#aa5500:#0000aa:#aa00aa:#00aaaa:#aaaaaa:#555555:#ff5555:#55ff55:#ffff55:#5555ff:#ff55ff:#55ffff:#ffffff" scrollbar_position = hidden