From 29c189c0d42b843f8a1e9a5a00b112ebe4c590cc Mon Sep 17 00:00:00 2001 From: ziro Date: Fri, 7 Aug 2020 08:42:05 +0700 Subject: [PATCH] + Tweaking --- .config/vim/vim_uni | 3 +++ .config/zsh/.zshrc | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.config/vim/vim_uni b/.config/vim/vim_uni index bd40504..f98ca56 100644 --- a/.config/vim/vim_uni +++ b/.config/vim/vim_uni @@ -50,6 +50,9 @@ augroup Binary au BufWritePost *.bin set nomod | endif augroup END +" ----- python for vim +autocmd BufEnter *.py set ai sw=4 ts=4 sta et fo=croql + " ----- Auto refresh vimrc augroup myvimrc au! diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index cd730be..1bbe6ef 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -41,11 +41,12 @@ export KEYTIMEOUT=1 # Keybindings [ -f ~/.config/zsh/keybinds ] && source ~/.config/zsh/keybinds -# Plugins +# ----- Plugins ZSH_PLUGINS="$XDG_DATA_HOME/zsh/plugins" # source $ZSH/oh-my-zsh.sh # emulate -R zsh -c 'source $ZSH_PLUGINS/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' +eval $(thefuck --alias) # thefuck - fix your stupid typo :) source $ZSH_PLUGINS/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh 2>/dev/null source $ZSH_PLUGINS/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh 2>/dev/null #source $ZSH_CUSTOM/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null