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://www.chiark.greenend.org.uk/ucgi/~mdw/git/tig/commitdiff_plain/89e4aafd17b2b16687555045201e38f23fc9a21f?ds=sidebyside;hp=--cc 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 --- 89e4aafd17b2b16687555045201e38f23fc9a21f 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; }