X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=tigrc;h=a5d2ce2fb4971a891af193c1465522a7d98668f6;hb=9f73960533b77a4fba9d95709099ea5f9eb1c4c4;hp=a64fb8b9aa05b6d36815562a819ed1b2094c0098;hpb=e8a6c3d6944295a871e4523e6f9fefd63a192aa9;p=config%2Fdotfiles.git diff --git a/tigrc b/tigrc index a64fb8b..a5d2ce2 100644 --- a/tigrc +++ b/tigrc @@ -15,6 +15,23 @@ set show-date = relative 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 @@ -24,6 +41,7 @@ color date default default color delimiter default default # ~ if text is too long # Main window. +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 @@ -32,8 +50,7 @@ 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 pp-adate default default -color pp-cdate default default +color commit default default color pp-author default default color pp-commit default default color pp-merge default default @@ -49,3 +66,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