[BZ#671958] Hotkeys could be more convenient for diffs across many files
Submitted by Julian de Bhal
Link to original bug (#671958)
Description
Created attachment 209556 ctrl+alt+page up/down -> alt+page up/down for previous/next tab
My use case is double-checking the result of a search-and-replace script across my code-base, so it's very small changes but lots of them and across lots of files (49 files, but averaging only 2-3 changes per file).
With the ctrl I'm alternating between alt+down and ctrl+alt+page-down, but having stripped out the ctrl I can just hold down alt and hit down until there are no more changes, and then page-down for the next file, and it feels fantastic.
It's hard to communicate how much better it feels - please try it. Just do something like a search and replace across a codebase e.g. swap "the" for "teh":
for file in find -name *.cpp
; do cat $file | perl -pe 's/\bthe\b/teh/' > $file.tmp && mv $file.tmp $file; done
The specific modifiers don't really matter, as long as they're shared for "next change" and "next tab". Having a second hotkey for either function to achieve this would work too.
Patch 209556, "ctrl+alt+page up/down -> alt+page up/down for previous/next tab":
alt-pagedown-for-next-tab.diff