X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=tigrc;h=273d382bc6db7a910399413ec1c5369027d9dcc0;hp=aa74de13e13dc22a7a4cc84a87b7b01c559e8850;hb=1ac8cbd79e9fd2af79c76ae0bfc6128ae1754759;hpb=d5d7971c950917b711df9a0cd57269167713de68 diff --git a/tigrc b/tigrc index aa74de1..273d382 100644 --- a/tigrc +++ b/tigrc @@ -1,6 +1,6 @@ # tig configuration file. -# Copyright (C) 2011-2012 Simon Ruderich +# Copyright (C) 2011-2015 Simon Ruderich # # This file is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,16 +16,16 @@ # along with this file. If not, see . -# Show the revision graph like gitk does. -set show-rev-graph = yes - -# Use relative dates. -set show-date = relative - # Don't display uncommitted changes. set show-changes = no +# DISPLAY + +# Same as the default, but use relative dates. +set main-view = date:relative author:full commit-title:yes,graph,refs + + # BINDINGS # Allow moving in the main menu while displaying a diff in the bottom of the @@ -39,7 +39,6 @@ bind generic * move-last-line # Close current view like in mutt. bind diff i view-close - # Unbind unnecessary views. I only use the main view and view diffs of # commits. bind generic m none @@ -47,20 +46,16 @@ bind generic d none bind generic l none bind generic t none bind generic f none -bind generic B none -bind generic H none -bind generic p none +bind generic b none +bind generic r none +bind generic s none bind generic S none bind generic c none +bind generic y none +bind generic g none +bind generic p none # Unbind commands which may change the repository. I use tig only as a viewer. -bind generic C none -bind generic u none -bind generic ! none -bind generic M none -bind generic 1 none -bind generic @ none -bind generic e none -bind generic G none +bind main C none # COLORS @@ -72,7 +67,7 @@ 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 author default default color main-head green default bold # HEAD color main-ref green default # branches color main-remote yellow default # remote branches @@ -80,17 +75,17 @@ 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-author default default -color pp-commit default default -color pp-merge default default -color pp-date default default -color pp-adate default default -color pp-cdate default default -color pp-refs default default +color commit default default +color "Author: " default default +color "Commit: " default default +color pp-merge default default +color "Date: " default default +color "AuthorDate: " default default +color "CommitDate: " default default +color pp-refs default default # Special parts of the commit message. -color signoff default default -color acked default default +color " Signed-off-by" default default +color " Acked-by" default default # Diff coloring. color diff-header default default bold # diff --git a/.. b/..