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 673423 - Unexpected keybindings for switching between documents
Unexpected keybindings for switching between documents
Status: RESOLVED DUPLICATE of bug 705648
Product: gedit
Classification: Applications
Component: general
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2012-04-03 10:34 UTC by Mathias Hasselmann (IRC: tbf)
Modified: 2015-02-03 16:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mathias Hasselmann (IRC: tbf) 2012-04-03 10:34:41 UTC
GEdit presents documents in a tabbed interface. The canonical key-binding for switching between tabs are Ctrl-PageUp and Ctrl-PageDown. Check GtkNotebook, GNOME Terminal, Nautilus, Epiphany, Firefox, Chromium, ... for reference.

In contrast to that established behavior Ctrl-PageUp and Ctrl-PageDown in GEdit move the cursor the first and last character of the current line. This is highly unexpected, annoying and actually redundant to the behavior of the dedicated Home and End key.

Actually I am aware of the additional Ctrl-Alt-PageUp and Ctrl-Alt-PageDown bindings, but those bindings are rather useless: First of all they are non-standard. Also key-bindings with three keys are very inconvenient to use[1]. People rightfully make jokes about such key-bindings.

In case you don't feel like changing the behavior of Ctrl-PageUp and Ctrl-PageDown, I'd like to ask to support at least Ctrl-Tab and Ctrl-Shift-Tab for switching between documents, since that's another well-established key-binding for this kind of actions.

[1] http://en.wikipedia.org/wiki/Control-Alt-Delete
Comment 1 Ignacio Casal Quinteiro (nacho) 2012-04-03 10:50:04 UTC
This has been discussed several times: here you have the reason: http://git.gnome.org/browse/gtk+/tree/gtk/gtktextview.c#n1188
Comment 2 Jeffery To 2013-05-02 19:20:18 UTC
I wrote a plugin to add these bindings:
https://github.com/jefferyto/gedit-control-your-tabs

(Moving horizontally with Ctrl-PageUp/PageDown is a logical extension of moving vertically with PageUp/PageDown; in this case though I believe user productivity would be better served by external consistency with other applications.)
Comment 3 Sébastien Wilmet 2015-02-03 16:39:34 UTC

*** This bug has been marked as a duplicate of bug 705648 ***