Merge branch 'master' of github.com:ntietz/config

This commit is contained in:
Nicole Tietz-Sokolskaya 2020-04-17 09:58:37 -04:00
commit e9894bf933
5 changed files with 35 additions and 7 deletions

View file

@ -62,4 +62,13 @@ vimwiki() {
cd -
}
set_term_colors() {
bash -c "$(wget -qO- https://git.io/vQgMr)"
}
print_available_colors() {
for i in {0..255} ; do printf "\x1b[38;5;${i}mcolour${i}\n"; done
}

View file

@ -61,3 +61,19 @@ then
fi
export PATH="$HOME/.poetry/bin:$PATH"
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/nicholas/.conda/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/nicholas/.conda/etc/profile.d/conda.sh" ]; then
. "/home/nicholas/.conda/etc/profile.d/conda.sh"
else
export PATH="/home/nicholas/.conda/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<

View file

@ -1,6 +1,8 @@
let g:airline_theme="papercolor"
set termguicolors
set background=dark
set background=light
let g:gruvbox_italic=1
let g:gruvbox_italicize_strings=1
colorscheme gruvbox

View file

@ -10,6 +10,7 @@ Plug 'airblade/vim-gitgutter' " Shows a diff in the gutter
" TODO: what is this section called?
" TODO: consider switching to powerline
Plug 'vim-airline/vim-airline' " Display more contextual information
Plug 'vim-airline/vim-airline-themes'
" language support
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }

View file

@ -12,17 +12,17 @@ set-window-option -g automatic-rename-format "#{pane_current_command}"
set-window-option -g allow-rename off
# window status
setw -g window-status-format "#[bg=colour241,fg=colour233] #I #(basename #{pane_current_path})/#W "
setw -g window-status-current-format "#[bg=colour245,fg=colour233] #I #(basename #{pane_current_path})/#W "
setw -g window-status-format "#[bg=colour252,fg=colour240]#I #(basename #{pane_current_path})→ #W"
setw -g window-status-current-format "#[bg=colour255,fg=colour240,bold]#I #(basename #{pane_current_path})→ #W"
# The statusbar
set -g status-interval 2
set -g status-position bottom
set -g status-bg colour234
set -g status-fg colour137
set -g status-bg colour0
set -g status-fg colour0
set -g status-attr dim
set -g status-left '#[fg=colour245] #(whoami)@#H > #S '
set -g status-right '#[fg=colour233,bg=colour241,bold] %m/%d #[fg=colour233,bg=colour245,bold] %I:%M '
set -g status-left '#[fg=colour240] (#S) '
set -g status-right '#[fg=colour240,bg=colour0,italics] #(whoami)@#H %m/%d %I:%M '
set -g status-right-length 50
set -g status-left-length 40
set -g clock-mode-style 12