Unsigned :( - vimrc changes and gitob

This commit is contained in:
Tyrel Souza 2017-06-08 13:20:09 -04:00
parent f2a1589176
commit a33cd3b397
2 changed files with 9 additions and 2 deletions

View File

@ -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

10
vimrc
View File

@ -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 <leader>p :CtrlP<cr>
nmap <leader>pb :CtrlPBuffer<cr>
nmap <S-t> :CtrlPBuffer<cr>
" Easy bindings for its various modes
nmap <leader>bb :CtrlPBuffer<cr>
@ -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 = ':.'