GNOME Bugzilla – Bug 673423
Unexpected keybindings for switching between documents
Last modified: 2015-02-03 16:39:34 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
This has been discussed several times: here you have the reason: http://git.gnome.org/browse/gtk+/tree/gtk/gtktextview.c#n1188
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.)
*** This bug has been marked as a duplicate of bug 705648 ***