diff --git a/gitconfig b/gitconfig index 6a26494..0e983dd 100644 --- a/gitconfig +++ b/gitconfig @@ -25,6 +25,7 @@ ll = log --stat --abbrev-commit # Way more information on git log lb = log --stat --no-merges origin/master.. logtree= "log --graph --oneline --decorate --all" # show a tree with branches merging + ob = "!vim $(git diff --name-only origin/master | grep -v .tsv | grep -v .sql | grep -v static)" p = push pr = !"pr() { git fetch origin pull/$1/head:pr-$1; git checkout pr-$1; }; pr" recent = "!git for-each-ref --format=\"%(committerdate:relative) | %(refname)\" --sort=-committerdate refs/heads | sed '/master/d' | head -n 15" # get the most 10 recent branches worked on diff --git a/vimrc b/vimrc index e1f615b..4dc5816 100644 --- a/vimrc +++ b/vimrc @@ -107,7 +107,8 @@ let g:ctrlp_custom_ignore = { let g:ctrlp_working_path_mode = 'r' " Use a leader instead of the actual named binding -nmap p :CtrlP +nmap pb :CtrlPBuffer +nmap :CtrlPBuffer " Easy bindings for its various modes nmap bb :CtrlPBuffer @@ -154,5 +155,10 @@ if filereadable($HOME . "/.vimrc.local") endif " Set the ctags file name -set tags=./tags; +set tags=./.tags; let g:tagbar_ctags_bin='/usr/local/bin/ctags' +let g:session_autoload = 'no' + +let g:airline#extensions#tabline#fnamemod = ':.' + +