···2626Plug 'christoomey/vim-system-copy'
2727"Plug 'valloric/youcompleteme'
2828Plug 'tpope/vim-surround' " Surrounding ysw)
2929+3030+"Text Objects:
3131+"Utilities for user-defined text objects
3232+Plug 'kana/vim-textobj-user'
3333+"Text objects for indentation levels
3434+Plug 'kana/vim-textobj-indent'
3535+"Text objects for Python
3636+Plug 'bps/vim-textobj-python'
3737+3838+" comment healper
3939+" Plug 'preservim/nerdcommenter'
4040+2941"Plug 'ambv/black'
3042Plug 'psf/black', { 'branch': 'stable' }
3143Plug 'tpope/vim-fugitive'
···140152let g:coc_global_extensions = ['coc-json', 'coc-git']
141153nnoremap <Leader>tg :CocCommand git.toggleGutters<CR> " toggle coc-git gutter
142154155155+" This will run a python file by hitting 'enter' and debug it directly in
156156+" debug mode with -i
157157+"FileType settings {{{
158158+augroup mb_filetype
159159+ autocmd!
160160+ autocmd FileType brainfuck xmap <buffer> R "xygv*;%s;;<c-r>x;g<left><left>
161161+ autocmd FileType yaml nnoremap <buffer> <CR> :AnsibleDoc<CR>
162162+ autocmd FileType python iabbrev <buffer> im import
163163+ autocmd FileType python iabbrev <buffer> rt return
164164+ autocmd FileType python iabbrev <buffer> yl yield
165165+ autocmd FileType python iabbrev <buffer> fa False
166166+ autocmd FileType python iabbrev <buffer> tr True
167167+ autocmd FileType python iabbrev <buffer> br break
168168+ autocmd FileType python nnoremap <buffer> <cr> :silent w<bar>only<bar>vsp<bar>term ipython3 -i %<cr>
169169+augroup
170170+"}}}
171171+143172" jedi - shortcuts -> replced with coc
144173" let g:jedi#goto_command = "<leader>d"
145174" let g:jedi#goto_assignments_command = "<leader>g"
···151180" let g:jedi#rename_command = "<leader>r"
152181153182" PEP 8 indentation
154154-au BufNewFile,BufRead *.py
155155- \ set tabstop=4
156156- \ set softtabstop=4
157157- \ set shiftwidth=4
158158- \ set textwidth=79
159159- \ set expandtab
160160- \ set autoindent
161161- \ set fileformat=unix
183183+" au BufNewFile,BufRead *.py
184184+" \ set tabstop=4
185185+" \ set softtabstop=4
186186+" \ set shiftwidth=4
187187+" \ set textwidth=79
188188+" \ set expandtab
189189+" \ set autoindent
190190+" \ set fileformat=unix
162191163192" Other Languages and indentaion
164193au BufNewFile,BufRead *.js, *.html, *.css
···261290"nnoremap <leader>n :NERDTreeFocus<CR>
262291"nnoremap <C-n> :NERDTree<CR>
263292nnoremap <C-l> :NERDTreeToggle<CR>
264264-nmap <leader>l :NERDTreeToggle<CR>
265265-" nnoremap <C-f> :NERDTreeFind<CR>
293293+"nmap <leader>l :NERDTreeToggle<CR>
294294+nmap <leader>l :NERDTreeFind<CR>
266295267296" Outline Shortcut
268297nmap <leader>o :SymbolsOutline<CR>
+35
zsh/configs.shrc
···11+set -o vi
22+33+#bash completion
44+[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh"
55+66+#This will create separate history files in your home directory
77+MYTTY=`tty`
88+HISTFILE=$HOME/.bash_history_`basename $MYTTY`
99+1010+# #allow e.g. "pip install -e .[full]" to work -> zsh uses square brackets for globbing / pattern matching.
1111+# #alias pip='noglob pip'
1212+1313+#always move hidden files as well
1414+#shopt -s dotglob
1515+1616+# bindkey '^r' history-incremental-search-backward
1717+bindkey -M viins 'jk' vi-cmd-mode
1818+bindkey -M viins 'kj' vi-cmd-mode
1919+2020+# fzf search
2121+[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
2222+2323+#on slow internet connection brew update takes ages. Disabling it per default here
2424+export HOMEBREW_NO_AUTO_UPDATE=1
2525+2626+# Add Visual Studio Code (code)
2727+export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
2828+2929+#adoptopenjdk to change java versions with e.g. "jdk 11"
3030+jdk() {
3131+ version=$1
3232+ export JAVA_HOME=$(/usr/libexec/java_home -v"$version");
3333+ java -version
3434+ }
3535+
+10
zsh/end.shrc
···11+22+# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
33+[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
44+55+#autocompletion kubernetes
66+source <(kubectl completion zsh)
77+88+#needs to be on the end:
99+source /usr/local/share/zsh-syntax-highlighting-active/zsh-syntax-highlighting.zsh
1010+source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh
···11+# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
22+# Initialization code that may require console input (password prompts, [y/n]
33+# confirmations, etc.) must go above this block; everything else may go below.
44+if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
55+ source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
66+fi
77+88+# If you come from bash you might have to change your $PATH.
99+# export PATH=$HOME/bin:/usr/local/bin:$PATH
1010+1111+# Path to your oh-my-zsh installation.
1212+export ZSH="/Users/sspaeti/.oh-my-zsh"
1313+1414+# load a random theme each time oh-my-zsh is loaded, in which case,
1515+# to know which specific one was loaded, run: echo $RANDOM_THEME
1616+# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
1717+#ZSH_THEME="robbyrussell" #"agnoster" #"pygmalion" #"robbyrussell"
1818+ZSH_THEME="powerlevel10k/powerlevel10k"
1919+#POWERLEVEL9K_MODE="awesome-patched"
2020+#ZSH_THEME="gruvbox"
2121+#SOLARIZED_THEME="dark"
2222+2323+# Set list of themes to pick from when loading at random
2424+# Setting this variable when ZSH_THEME=random will cause zsh to load
2525+# a theme from this variable instead of looking in $ZSH/themes/
2626+# If set to an empty array, this variable will have no effect.
2727+# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
2828+2929+# Uncomment the following line to use case-sensitive completion.
3030+# CASE_SENSITIVE="true"
3131+3232+# Uncomment the following line to use hyphen-insensitive completion.
3333+# Case-sensitive completion must be off. _ and - will be interchangeable.
3434+# HYPHEN_INSENSITIVE="true"
3535+3636+# Uncomment the following line to disable bi-weekly auto-update checks.
3737+# DISABLE_AUTO_UPDATE="true"
3838+3939+# Uncomment the following line to automatically update without prompting.
4040+# DISABLE_UPDATE_PROMPT="true"
4141+4242+# Uncomment the following line to change how often to auto-update (in days).
4343+# export UPDATE_ZSH_DAYS=13
4444+4545+# Uncomment the following line if pasting URLs and other text is messed up.
4646+# DISABLE_MAGIC_FUNCTIONS="true"
4747+4848+# Uncomment the following line to disable colors in ls.
4949+# DISABLE_LS_COLORS="true"
5050+5151+# Uncomment the following line to disable auto-setting terminal title.
5252+# DISABLE_AUTO_TITLE="true"
5353+5454+# Uncomment the following line to enable command auto-correction.
5555+# ENABLE_CORRECTION="true"
5656+5757+# Uncomment the following line to display red dots whilst waiting for completion.
5858+# COMPLETION_WAITING_DOTS="true"
5959+6060+# Uncomment the following line if you want to disable marking untracked files
6161+# under VCS as dirty. This makes repository status check for large repositories
6262+# much, much faster.
6363+# DISABLE_UNTRACKED_FILES_DIRTY="true"
6464+6565+# Uncomment the following line if you want to change the command execution time
6666+# stamp shown in the history command output.
6767+# You can set one of the optional three formats:
6868+# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
6969+# or set a custom format using the strftime function format specifications,
7070+# see 'man strftime' for details.
7171+# HIST_STAMPS="mm/dd/yyyy"
7272+7373+# Would you like to use another custom folder than $ZSH/custom?
7474+# ZSH_CUSTOM=/path/to/new-custom-folder
7575+7676+export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/usr/local/share/zsh-syntax-highlighting/highlighters
7777+7878+# Which plugins would you like to load?
7979+# Standard plugins can be found in $ZSH/plugins/
8080+# Custom plugins may be added to $ZSH_CUSTOM/plugins/
8181+# Example format: plugins=(rails git textmate ruby lighthouse)
8282+# Add wisely, as too many plugins slow down shell startup.
8383+# source ~/.oh-my-zsh/plugins/git/git.plugin.zsh
8484+plugins=(git macos docker docker-compose virtualenv vi-mode)
8585+#installed with brew therefor not in above list: zsh-syntax-highlighting zsh-autosuggestions
8686+8787+source $ZSH/oh-my-zsh.sh
8888+8989+# User configuration
9090+9191+# export MANPATH="/usr/local/man:$MANPATH"
9292+9393+# You may need to manually set your language environment
9494+# export LANG=en_US.UTF-8
9595+9696+# Preferred editor for local and remote sessions
9797+# if [[ -n $SSH_CONNECTION ]]; then
9898+# export EDITOR='vim'
9999+# else
100100+# export EDITOR='mvim'
101101+# fi
102102+103103+# Compilation flags
104104+# export ARCHFLAGS="-arch x86_64"
105105+106106+# Set personal aliases, overriding those provided by oh-my-zsh libs,
107107+# plugins, and themes. Aliases can be placed here, though oh-my-zsh
108108+# users are encouraged to define aliases within the ZSH_CUSTOM folder.
109109+# For a full list of active aliases, run `alias`.
110110+#
111111+# Example aliases
112112+# alias zshconfig="mate ~/.zshrc"
113113+# alias ohmyzsh="mate ~/.oh-my-zsh"
114114+115115+116116+#
117117+# sspaeti customized properties
118118+#
119119+source ~/.dotfiles/zsh/aliases.shrc
120120+source ~/.dotfiles/zsh/.secrets
121121+source ~/.dotfiles/zsh/paths.shrc
122122+source ~/.dotfiles/zsh/configs.shrc
123123+source ~/.dotfiles/zsh/end.shrc