From cc1f83fbdff1ae248c91ab231ab4100351e1ba0a Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Tue, 8 May 2007 21:38:46 -0400 Subject: [PATCH] git-gui: Allow shift-{k,j} to select a range of branches to merge I found it useful to be able to use j/k (vi-like keys) to move up and down the list of branches to merge and shift-j/k to do the selection, much as shift-up/down (arrow keys) would alter the selection. Signed-off-by: Shawn O. Pearce --- lib/merge.tcl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/merge.tcl b/lib/merge.tcl index 3dce856e5..642d6eefb 100644 --- a/lib/merge.tcl +++ b/lib/merge.tcl @@ -238,6 +238,8 @@ proc dialog {} { $subj([lindex $ref 0])] } + bind $w.source.l [list event generate %W ] + bind $w.source.l [list event generate %W ] bind $w.source.l [list event generate %W ] bind $w.source.l [list event generate %W ] bind $w.source.l [list event generate %W ] -- 2.30.2