From: Jonas Fonseca Date: Sat, 20 May 2006 01:39:07 +0000 (+0200) Subject: Make Enter in the main view switch to the split diff view X-Git-Tag: tig-0.4~82 X-Git-Url: https://git.distorted.org.uk/~mdw/tig/commitdiff_plain/89e4aafd17b2b16687555045201e38f23fc9a21f Make Enter in the main view switch to the split diff view This way, holding down Enter will open the commit diff and start scrolling much like Mutt behaves. Requested-by: Aneesh Kumar Signed-off-by: Jonas Fonseca --- diff --git a/tig.c b/tig.c index 95da3db..41105b9 100644 --- a/tig.c +++ b/tig.c @@ -1748,7 +1748,7 @@ main_read(struct view *view, char *line) static bool main_enter(struct view *view) { - open_view(view, REQ_VIEW_DIFF, OPEN_SPLIT | OPEN_BACKGROUNDED); + open_view(view, REQ_VIEW_DIFF, OPEN_SPLIT); return TRUE; }