From: OGAWA Hirofumi Date: Tue, 26 Sep 2006 15:27:06 GMT Subject: [PATCH] gitk: add some key-bind Message-ID: <87y7s61wdx.fsf_-_@duaron.myhome.or.jp> In-Reply-To: <873bae3b5x.fsf_-_@duaron.myhome.or.jp> This add initial user of prevfile(), and additional some key-binds for emacs users. Signed-off-by: OGAWA Hirofumi --- gitk | 6 ++++++ 1 file changed, 6 insertions(+) diff -puN gitk~gitk-key-emacs gitk --- git/gitk~gitk-key-emacs 2006-09-27 00:17:31.000000000 +0900 +++ git-hirofumi/gitk 2006-09-27 00:17:31.000000000 +0900 @@ -672,6 +672,10 @@ proc makewindow {} { bind . "allcanvs yview scroll 1 units" bind . "allcanvs yview scroll -1 pages" bind . "allcanvs yview scroll 1 pages" + bind . "$ctext yview scroll -1 units" + bind . "$ctext yview scroll 1 units" + bind . "$ctext yview scroll -1 pages" + bind . "$ctext yview scroll 1 pages" bindkey "$ctext yview scroll -1 pages" bindkey "$ctext yview scroll -1 pages" bindkey "$ctext yview scroll 1 pages" @@ -690,6 +694,8 @@ proc makewindow {} { bindkey {findnext 0} bindkey ? findprev bindkey f nextfile + bindkey P prevfile + bindkey N nextfile bind . doquit bind . dofind bind . {findnext 0} _