X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=tigrc;h=4c0980cfc8787356ea1d044f31355b38bcd957ed;hb=79fbdb30b001118daf1517cf2cbcb3f2870873b3;hp=c951ea1f6f64d025cf709a00bd1eab951b144207;hpb=2df20abd4b255a775972df040294fc4d42de518c;p=config%2Fdotfiles.git diff --git a/tigrc b/tigrc index c951ea1..4c0980c 100644 --- a/tigrc +++ b/tigrc @@ -4,24 +4,53 @@ # Show the revision graph like gitk does. set show-rev-graph = yes +# Use relative dates. +set show-date = relative + + +# BINDINGS + +# Allow moving in the main menu while displaying a diff in the bottom of the +# screen. +bind generic J next +bind generic K previous + +# Mutt like bindings to move to first and last line. +bind generic = move-first-line +bind generic * move-last-line + +# Close current view like in mutt. +bind diff i view-close + +# Unbind commands which may change the repository. I use tig only as a viewer. +bind generic u none +bind generic ! none +bind generic M none +bind generic @ none +bind generic e none +bind generic G none +bind generic C none +bind generic i none + # COLORS # Try to mimic gitk's colors. -color date default default -color author default default - +color date default default color delimiter default default # ~ if text is too long # Main window. -color main-head green default bold # HEAD -color main-ref green default # branches -color main-remote yellow default # remote branches -color main-tag yellow default bold # tags -color main-local-tag yellow default bold # local tags (normal tags) +color cursor black cyan # currently selected line +color main-author default default # just 'author' in newer versions +color main-head green default bold # HEAD +color main-ref green default # branches +color main-remote yellow default # remote branches +color main-tag yellow default bold # tags +color main-local-tag yellow default bold # local tags (normal tags) # Information at the top of the commit diff. +color commit default default color pp-adate default default color pp-cdate default default color pp-author default default @@ -39,3 +68,5 @@ color acked default default color diff-header default default bold # diff --git a/.. b/.. color diff-index default default bold # index abc..def color diff-chunk cyan default # @@ -.. +.. @@ + +# vim: ft=muttrc