Skip to content

Instantly share code, notes, and snippets.

@iorionda
Created April 4, 2016 09:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iorionda/ddb76c93ee1dfb6d09ea73431aeed26f to your computer and use it in GitHub Desktop.
Save iorionda/ddb76c93ee1dfb6d09ea73431aeed26f to your computer and use it in GitHub Desktop.
set main-view = id:width=12 date author commit-title:graph=yes,refs=yes
set vertical-split = yes
set split-view-height = 80%
# 差分の前後の表示行数(diff-context)を指定
set diff-context = 6
set blame-view = date:local author:full id line-number:true,interval=1 text
set main-view = line-number:true,interval=10 date:local author:full id commit-title:true,graph=true,refs=true
set refs-view = date:local author:full id ref:true commit-title:true
set status-view = file-name status:long
set line-graphics = ascii
set horizontal-scroll = 20%
bind main R !git rebase -i %(commit)
bind diff R !git rebase -i %(commit)
bind generic L !git reflog
bind generic <Esc>c !@bash -c "cut -c-7 <<<%(commit) | xargs echo -n | pbcopy"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment