summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f0bc498)
raw | patch | inline | side by side (parent: f0bc498)
author | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 9 May 2007 01:38:46 +0000 (21:38 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 9 May 2007 01:38:46 +0000 (21:38 -0400) |
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 <spearce@spearce.org>
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 <spearce@spearce.org>
lib/merge.tcl | patch | blob | history |
diff --git a/lib/merge.tcl b/lib/merge.tcl
index 3dce856e5ef29663f10fec818a2b25a9737060c0..642d6eefbda00ec61c4e017ba0a78cc13caa6352 100644 (file)
--- a/lib/merge.tcl
+++ b/lib/merge.tcl
$subj([lindex $ref 0])]
}
+ bind $w.source.l <Key-K> [list event generate %W <Shift-Key-Up>]
+ bind $w.source.l <Key-J> [list event generate %W <Shift-Key-Down>]
bind $w.source.l <Key-k> [list event generate %W <Key-Up>]
bind $w.source.l <Key-j> [list event generate %W <Key-Down>]
bind $w.source.l <Key-h> [list event generate %W <Key-Left>]