From 89e4aafd17b2b16687555045201e38f23fc9a21f Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Sat, 20 May 2006 03:39:07 +0200 Subject: [PATCH] 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 --- tig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2