After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 671958 - Hotkeys could be more convenient for diffs across many files
Hotkeys could be more convenient for diffs across many files
Status: RESOLVED OBSOLETE
Product: meld
Classification: Other
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: meld-maint
meld-maint
Depends on:
Blocks:
 
 
Reported: 2012-03-13 01:58 UTC by Julian de Bhal
Modified: 2017-12-13 18:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ctrl+alt+page up/down -> alt+page up/down for previous/next tab (1.10 KB, patch)
2012-03-13 01:58 UTC, Julian de Bhal
none Details | Review

Description Julian de Bhal 2012-03-13 01:58:09 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.
Comment 1 Kai Willadsen 2012-03-24 22:40:18 UTC
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.
Comment 2 GNOME Infrastructure Team 2017-12-13 18:59:36 UTC
-- 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.