tig
ebiken.iconの設定
commit, commit --amend, fetch, pull, push のキーバインドを設定してる
code:.tigrc
# view settings
set main-view = id:yes date:default,local=yes author commit-title:graph=yes,refs=yes,overflow=false
set blame-view = date:default id:yes,color line-number:yes,interval=1 text
set pager-view = text
set stage-view = text
set log-view = text
set blob-view = text
set diff-view = text:yes,commit-title-overflow=no
set tab-size = 2
set ignore-case = true
set split-view-width = 80%
set split-view-height = 80%
set diff-options = -m --first-parent
set refresh-mode = auto
color cursor black white bold
# key bindings
bind generic C !git commit
bind generic A !git commit --amend
bind generic F !git fetch %(remote)
bind generic U !git pull %(remote)
bind generic P !git push origin %(repo:head)
bind generic g move-first-line
bind generic G move-last-line
ebiken.icon使い方
status view
u add, unstage
1 add -p, unstage
! checkout
Shift+c commit
Shift+acommit --amend
generic (どこでも)
Shift+r 画面更新
Shift+f fetch
Shift+U pull
Shift+P push