# Setup fzf
# ---------
+
+
+if [ -d "/usr/local/opt/fzf" ]; then
+
if [[ ! "$PATH" == */usr/local/opt/fzf/bin* ]]; then
export PATH="$PATH:/usr/local/opt/fzf/bin"
fi
# ------------
source "/usr/local/opt/fzf/shell/key-bindings.bash"
+
+fi
ready = rebase -i @{u}
rbi = "!r() { git rebase -i HEAD~$1; }; r"
ec = config --global -e
- l = log --oneline --decorate
+ l = log --oneline --decorate --reverse
lg = log --pretty=format:"%C(yellow)%h\\ %C(green)%ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short --graph
tail = !"git lg -10 HEAD"
last = log -1 HEAD
rebase = true
[push]
default = tracking
-[include]
- path = ~/.gitconfig_local
-[init]
- templatedir = ~/.git_template
-[core]
- excludesfile = ~/.gitignore_global
- autocrlf = false
- editor = vim
[diff]
tool = vimdiff
[difftool]
conflictstyle = diff3
[mergetool]
prompt = false
+[init]
+ templatedir = ~/.git_template
+[core]
+ excludesfile = ~/.gitignore_global
+ editor = vim
+[include]
+ path = ~/.gitconfig_local
Plug 'thanthese/Tortoise-Typing'
Plug 'altercation/vim-colors-solarized'
Plug 'editorconfig/editorconfig-vim'
+Plug 'scrooloose/nerdtree'
+Plug 'vim-scripts/a.vim'
call plug#end()
"let g:airline#extensions#tabline#enabled = 1
let g:EditorConfig_exclude_patterns = ['fugitive://.*', 'scp://.*']
-let g:EditorConfig_verbose=1
-
+let g:EditorConfig_verbose=1
+let g:NERDTreeWinSize=30
" }}}2
" Section: Commands {{{1
"-----------------------