From: Shawn O. Pearce Date: Wed, 9 May 2007 01:38:46 +0000 (-0400) Subject: git-gui: Allow shift-{k,j} to select a range of branches to merge X-Git-Tag: gitgui-0.7.0~11 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cc1f83fbdff1ae248c91ab231ab4100351e1ba0a;p=git.git 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 --- 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 ]