Suggestion to use Ctrl+Up/Down for beginning/end of paragraph
Submitted by Luke Hutchison
Link to original bug (#737230)
Description
Background:
It has been a recurring feature request over many years to use Ctrl+PageUp/PageDown for tab switching in gEdit (so much so that it's in the gEdit FAQ), however that binding is grabbed by GtkTextView for moving to the beginning/end of the paragraph. I figured I'd ask again to see if opinions have changed, along with proposing an alternative to the current behavior.
There are often two or three different ways to switch tabs on a platform, but in almost every application with a tabbed interface on every major platform, Ctrl+PageUp/PageDown long ago became the de facto standard, or the common and expected way to switch between tabs. gEdit is the one main application on the Linux desktop that does not support switching with these shortcuts, because of its dependence on GtkTextView. If this shortcut were not caught by GtkTextView, gEdit would implement the expected behavior, because GtkNotebook supports tab switching via Ctrl+PageUp/PageDown if the views it wraps do not capture those shortcuts.
Proposed alternative:
Currently Alt+Home/End does not seem bound to anything in GtkTextView. I propose using Alt+Home/End to move to the beginning/end of the paragraph, and releasing the Ctrl+PageUp/PageDown key bindings so that GtkNotebook can "do the right thing" and implement the expected tab switching behavior on Ctrl+PageUp/PageDown.
Reasoning:
(1) Alt+Home/End is a more mnemonic shortcut combination for "beginning/end of paragraph" than Ctrl+PageUp/PageDown, because the desired behavior of navigating to the beginning or end of the paragraph has nothing to do with paging, but everything to do with going to the beginning/end of something, which is what the Home and End keys are understood to do.
(2) Changing these keybindings would make a lot of gEdit users happy.
Version: 3.22.x