GNOME Bugzilla – Bug 671958
Hotkeys could be more convenient for diffs across many files
Last modified: 2017-12-13 18:59:36 UTC
Created attachment 209556 [details] [review] 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.
So the Ctrl+Alt+PgUp/Down shortcuts are pretty common. Most importantly, they're the same as in gedit, which we try to keep pretty close to. For that reason alone, they're not going away. That doesn't mean that we can't have additional shortcuts for those entries though. At the moment, I don't feel confident that nothing else uses the Alt+Up/Down shortcuts. I can see the appeal of not having to change which modifiers you're holding though. It's also worth keeping in mind the possibility of adding a next-tab shortcut for the not-yet-existent numpad-merge-mode; * or / would be possibilities. This would also get rid of the different modifier usage.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/meld/issues/41.