-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tigrc
102 lines (83 loc) · 3.3 KB
/
.tigrc
1
bind generic G none# -----------------------------# Option manipulation# -----------------------------bind generic h scroll-leftbind generic j move-downbind generic k move-upbind generic l scroll-rightbind generic s :toggle sort-orderbind generic S :toggle sort-fieldbind generic <Hash> :toggle line-numberbind generic ~ :toggle line-graphicsbind generic i :toggle idbind generic d :toggle datebind generic a :toggle authorbind generic f :toggle file-namebind generic F :toggle file-sizebind generic % :toggle file-filterbind generic I :toggle statusbind generic U :toggle status-untracked-dirsbind generic W :toggle ignore-spacebind generic | :toggle vertical-splitbind generic c :toggle show-changesbind generic O :toggle commit-orderbind generic T :toggle commit-title-overflow# set blame-view = date:default author:full file-name:auto id:yes,color line-number:no,interval=1 text# set grep-view = file-name:no line-number:yes,interval=1 text# set main-view = line-number:no,interval=1 id:no date:default author:full commit-title:yes,graph,refs,overflow=no# set refs-view = line-number:no id:no date:default author:full ref commit-title# set stash-view = line-number:no,interval=1 id:no date:default author:full commit-title# set status-view = line-number:no,interval=1 status:short file-name# set tree-view = line-number:no,interval=1 mode author:full file-size date:default id:no file-nameset main-view = date:display=relative author:display=full commit-title:graph=v2,refs=trueset stash-view = date:display=relative author:display=full commit-title:graph=v2,refs=trueset tree-view = mode author:display=full date:display=relative id file-size file-name# Searchingbind generic / searchbind generic ? search-backbind generic n find-nextbind generic N find-prevbind generic g nonebind generic gg move-first-linebind main G move-last-linebind generic G move-last-linebind generic v nonebind generic vm view-mainbind generic vd view-diffbind generic vl view-logbind generic vt view-treebind generic vb view-blobbind generic vx view-blamebind generic vr view-refsbind generic vs view-statusbind generic vu view-stagebind generic vy view-stashbind generic vg view-grepbind generic vp view-pagerbind generic vh view-help# Stash# Drop the selected stash:bind stash D !?git stash drop %(stash)# Apply the selected stash:bind stash A !?git stash apply %(stash)# Stash the unstaged changes:bind status S !?git stash save --keep-index %(prompt)bind status <F4> !sh -c "git difftool -y \"$(git rev-parse --show-toplevel)/%(file)\""bind main <F4> !git difftool -d %(commit)^!# Stage a single line:bind stage 1 stage-update-line# Interactive rebase:bind main B !git rebase -i %(commit)# Add/edit notes for the current commit used during a review:bind generic T !git notes edit %(commit)# Option manipulationbind generic o options # Open the options menu# Bindings for toggling settingsbind generic I :toggle sort-order # Toggle ascending/descending sort orderbind generic i :toggle sort-field # Toggle field to sort bybind generic <Hash> :toggle line-number # Toggle line numbersbind generic D :toggle date # Toggle date displaybind generic A :toggle author # Toggle author displaybind generic r refreshbind generic y <?bash -c "echo -n '%(commit)' | pbcopy"