Unsigned :( - vimrc changes and gitob
This commit is contained in:
parent
f2a1589176
commit
a33cd3b397
@ -25,6 +25,7 @@
|
|||||||
ll = log --stat --abbrev-commit # Way more information on git log
|
ll = log --stat --abbrev-commit # Way more information on git log
|
||||||
lb = log --stat --no-merges origin/master..
|
lb = log --stat --no-merges origin/master..
|
||||||
logtree= "log --graph --oneline --decorate --all" # show a tree with branches merging
|
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
|
p = push
|
||||||
pr = !"pr() { git fetch origin pull/$1/head:pr-$1; git checkout pr-$1; }; pr"
|
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
|
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
10
vimrc
@ -107,7 +107,8 @@ let g:ctrlp_custom_ignore = {
|
|||||||
let g:ctrlp_working_path_mode = 'r'
|
let g:ctrlp_working_path_mode = 'r'
|
||||||
|
|
||||||
" Use a leader instead of the actual named binding
|
" 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
|
" Easy bindings for its various modes
|
||||||
nmap <leader>bb :CtrlPBuffer<cr>
|
nmap <leader>bb :CtrlPBuffer<cr>
|
||||||
@ -154,5 +155,10 @@ if filereadable($HOME . "/.vimrc.local")
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" Set the ctags file name
|
" Set the ctags file name
|
||||||
set tags=./tags;
|
set tags=./.tags;
|
||||||
let g:tagbar_ctags_bin='/usr/local/bin/ctags'
|
let g:tagbar_ctags_bin='/usr/local/bin/ctags'
|
||||||
|
let g:session_autoload = 'no'
|
||||||
|
|
||||||
|
let g:airline#extensions#tabline#fnamemod = ':.'
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user