Merge branch 'master' of ssh://vcs.murgi.de:2244/dotfiles_fabian/dotfiles

This commit is contained in:
Fabian Ising
2021-10-27 14:59:01 +02:00
11 changed files with 1705 additions and 11 deletions

View File

@@ -0,0 +1,48 @@
font:
# The size to use.
size: 12
# The normal (roman) font face to use.
normal:
family: DejaVu Sans Mono For Powerline
# Style can be specified to pick a specific face.
style: Regular
# The bold font face
bold:
family: DejaVu Sans Mono For Powerline
# Style can be specified to pick a specific face.
# style: Bold
# The italic font face
italic:
family: DejaVu Sans Mono For Powerline
# Style can be specified to pick a specific face.
# style: Italic
colors:
# Default colors
primary:
background: '0x323232'
foreground: '0xeeeeec'
# Normal colors
normal:
black: '0x2e3436'
red: '0xcc0000'
green: '0x4e9a06'
yellow: '0xc4a000'
blue: '0x3465a4'
magenta: '0x75507b'
cyan: '0x06989a'
white: '0xd3d7cf'
# Bright colors
bright:
black: '0x555753'
red: '0xef2929'
green: '0x8ae234'
yellow: '0xfce94f'
blue: '0x729fcf'
magenta: '0xad7fa8'
cyan: '0x34e2e2'
white: '0xeeeeec'

View File

@@ -0,0 +1 @@
set rtp+=$HOME/.local/lib/python3.9/site-packages/powerline/bindings/vim

View File

@@ -1,4 +1,3 @@
" For c files
call tagbar#autoopen(0)
let g:easytags_async=1
autocmd BufWritePost * exe ":UpdateTags"

View File

@@ -1,4 +1,3 @@
" For header files
call tagbar#autoopen(0)
let g:easytags_async = 1
autocmd BufWritePost * exe ":UpdateTags"

View File

@@ -13,7 +13,7 @@ Plugin 'vim-airline/vim-airline-themes'
" Tags
Plugin 'xolox/vim-misc'
Plugin 'ludovicchabant/vim-gutentags'
"Plugin 'ludovicchabant/vim-gutentags'
Plugin 'majutsushi/tagbar'
" Templates
@@ -242,3 +242,4 @@ catch
" Ignore non existing file
endtry
let g:tex_flavor = "latex"
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab

View File

@@ -1,7 +1,7 @@
set-environment -g PATH "/usr/local/bin:/bin:/usr/bin"
set -g default-terminal "xterm-256color"
set -g history-limit 999999999
set -g history-limit 100000
# Remap prefix
unbind C-b
@@ -13,8 +13,6 @@ bind-key -n C-b send-keys C-b
setw -g mode-keys vi
set-option -g status-keys vi
bind-key -n C-E split-window -h
bind-key -n C-O split-window -v
bind | split-window -h -c '#{pane_current_path}'
bind - split-window -v -c '#{pane_current_path}'
@@ -29,6 +27,7 @@ unbind '%'
#bind-key -n M-up select-pane -U
#bind-key -n M-down select-pane -D
bind-key -n C-x resize-pane -Z
bind-key C-x send-keys C-x
bind k clear-history
@@ -60,7 +59,7 @@ bind-key C-o send-keys C-o
# move x clipboard into tmux paste buffer
bind C-p run "tmux set-buffer \"$(xclip -o)\"; tmux paste-buffer"
# move tmux copy buffer into x clipboard
set-option -s set-clipboard off
set-option -s set-clipboard on
if '[ `uname` == Darwin ]' \
'source-file ~/.tmux/.mac_config'

View File

@@ -0,0 +1,2 @@
source $HOME/.local/lib/python3.9/site-packages/powerline/bindings/tmux/powerline.conf

1634
zsh/.p10k.zsh Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@
source $HOME/.local/lib/python3.9/site-packages/powerline/bindings/zsh/powerline.zsh

View File

@@ -1,9 +1,17 @@
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
export PATH="$HOME/.local/bin:$PATH"
[[ -f ~/.zsh/.powerline_config ]] && source ~/.zsh/.powerline_config
[[ -f ~/.zsh/.user_config ]] && source ~/.zsh/.user_config
[[ -f ~/.zsh/.virtual_env_config.zsh ]] && source ~/.zsh/.virtual_env_config.zsh
[[ -f /usr/share/doc/find-the-command/ftc.zsh ]] && source /usr/share/doc/find-the-command/ftc.zsh
[[ -f ~/.zsh/.local_config ]] && source ~/.zsh/.local_config
POWERLEVEL9K_INSTALLATION_PATH=$ANTIGEN_BUNDLES/bhilburn/powerlevel9k
# Load Antigen
setopt interactivecomments
source ~/.zsh/antigen/antigen.zsh
@@ -15,7 +23,7 @@ bindkey '^q' clear-screen
antigen use oh-my-zsh
# Antigen Theme
antigen theme bhilburn/powerlevel9k powerlevel9k
antigen theme romkatv/powerlevel10k powerlevel10k
# Antigen Bundles
@@ -56,6 +64,7 @@ PERL_LOCAL_LIB_ROOT="/home/fabian/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_
PERL_MB_OPT="--install_base \"/home/fabian/perl5\""; export PERL_MB_OPT;
PERL_MM_OPT="INSTALL_BASE=/home/fabian/perl5"; export PERL_MM_OPT;
alias ls="ls --color=always"
export PATH="$PATH:${HOME}/Labor/tls-in-muas/starttls-research/99-Tools:/home/fabian/go/bin"
# For ccache
export CCACHE_CPP2=YES
@@ -65,5 +74,6 @@ delzip() {
# mitmproxy
export MITMPROXY_SSLKEYLOGFILE="~/.mitmproxy/sslkeylogfile.txt"
[[ -f ~/.zsh/.mac_config ]] && source ~/.zsh/.mac_config
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.zsh/.p10k.zsh ]] || source ~/.zsh/.p10k.zsh