Re: [PATCH] gitk: Fix nextfile() and more
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> writes:
Show 14 quoted lines
> The current nextfile() jumps to last hunk, but I think this is not
> intention, probably, it's forgetting to add "break;". Right? And this
> patch also adds prevfile(), it jumps to previous hunk.
>
> The following part is just my favorite the key-binds, it doesn't matter.
>
> + bind . <Control-p> "$ctext yview scroll -1 units"
> + bind . <Control-n> "$ctext yview scroll 1 units"
> + bind . <Alt-v> "$ctext yview scroll -1 pages"
> + bind . <Control-v> "$ctext yview scroll 1 pages"
> + bindkey P prevfile
> + bindkey N nextfile
>
> What do you think of this?
. As a patch e-mail, the initial Hi and trailing Thanks add
additional work for the person who applies patch.
. ACK on missing "break" and addition of prevfile for symmetry.
. I do not have preference on the extra bindings. I do not
speak for Paul, but I suspect he would have liked them in a
separate patch.