update, use zeal
This commit is contained in:
parent
b361bf52e1
commit
1225e52427
2 changed files with 3 additions and 1 deletions
|
|
@ -19,6 +19,7 @@
|
||||||
blame = "gblame"
|
blame = "gblame"
|
||||||
reabsorb = rebase -i --autosquash
|
reabsorb = rebase -i --autosquash
|
||||||
flog = "!f() { git ls-tree -r --full-name HEAD | awk '{print $4}' | xargs -i sh -c 'echo $(git log --oneline {} | wc -l) {}'; }; f"
|
flog = "!f() { git ls-tree -r --full-name HEAD | awk '{print $4}' | xargs -i sh -c 'echo $(git log --oneline {} | wc -l) {}'; }; f"
|
||||||
|
fileprimary = "!f() { git blame --line-porcelain $@ | grep \"author \" | cut -d \" \" -f 2- | sort | uniq -c | sort -n | tail -n 1 | sed -e 's/\\s\\+[0-9]\\+ //g'; }; f"
|
||||||
|
|
||||||
[diff]
|
[diff]
|
||||||
renamelimit = 0
|
renamelimit = 0
|
||||||
|
|
|
||||||
3
.vimrc
3
.vimrc
|
|
@ -651,7 +651,8 @@ nnoremap gK :bdelete!<CR>
|
||||||
" I use gn/gp to cycle through open tabs/buffers
|
" I use gn/gp to cycle through open tabs/buffers
|
||||||
nnoremap gn :bn<CR>
|
nnoremap gn :bn<CR>
|
||||||
nnoremap gp :bp<CR>
|
nnoremap gp :bp<CR>
|
||||||
nnoremap gz :pclose<CR>
|
"nnoremap gz :pclose<CR>
|
||||||
|
nnoremap gz :!zeal "<cword>"&<CR><CR>
|
||||||
" The single most handy way to get around a file. Cursor over a word, and then
|
" The single most handy way to get around a file. Cursor over a word, and then
|
||||||
" type g* -- you'll go to the next instance of that word in the file. Make it
|
" type g* -- you'll go to the next instance of that word in the file. Make it
|
||||||
" easier to reach by calling it gw (go-word) instead of hidden away.
|
" easier to reach by calling it gw (go-word) instead of hidden away.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue