Skip to content
v0n edited this page Sep 25, 2012 · 33 revisions

Here's a collection of custom bindings you can easily add to your tigrc.

  • Move in diff view with arrow keys: bind diff Up move-up and bind diff Down move-down
  • Intent to add: bind status N !@git add -N %(file) (might be useful if you want to add-patch a newly created file)
  • Stage a single line: bind stage 1 stage-update-line
  • Interactive rebase: bind main B !git rebase -i %(commit)
  • Revert: bind main ! !git revert %(commit)
  • Create a new branch: bind branch n !@git branch %(prompt)
Clone this wiki locally