diff --git a/.vimrc b/.vimrc index 0f66771..542f973 100755 --- a/.vimrc +++ b/.vimrc @@ -428,7 +428,6 @@ set bg=dark " Make left gutter bar not grey autocmd ColorScheme * highlight! link SignColumn LineNr -" let g:neodark#background = '#202020' " let g:neodark#terminal_transparent = 1 " let g:airline_theme='zenburn' let g:gruvbox_contrast_dark='medium' diff --git a/.zshrc b/.zshrc index 069e6a7..b6bf714 100755 --- a/.zshrc +++ b/.zshrc @@ -69,7 +69,7 @@ plugins=( ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=3' source $ZSH/oh-my-zsh.sh -export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow --glob "!.git/*"' +export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow --glob "!{node_modules/*,log/*,vendor/bundle/*,tmp/*,.git/*}"' export FZF_CTRL_T_OPTS="--preview '(highlight -O ansi -l {} 2> /dev/null || cat {} || tree -C {}) 2> /dev/null | head -200'" # export FZF_DEFAULT_COMMAND='rg --files ---hidden --follow -g "!.git" 2> /dev/null' @@ -100,6 +100,8 @@ alias rr="bin/rails routes" alias brc="bundle exec rubocop" alias rdb="bin/rails db:" +alias rubocopdiff='git diff master --name-only --diff-filter=d | grep "\.rb" | xargs bundle exec rubocop --force-exclusion -A' + ## git alias gpf="git push fork $(current_branch)" alias ggmsg="git commit -m"