Thu 12 Apr 2007
Word boundaries for Ctrl-{Left,Right} in Firefox and other Gecko browsers
Posted by Markus Bertheau under computerNo Comments
By default Gecko based browsers (Firefox, Epiphany) don’t take punctuation symbols for a word boundary. This means that when you navigate by-word in the URL bar, text inputs or text areas using Ctrl-Left, Ctrl-Right or Ctrl-Backspace, it moves right to the next resp. previous white space. I have found this to be inconvenient when editing URLs, or source code snippets in bug reports and in other places. Thanks to an entry Unbreaking Firefox’s address bar from Marius Gedminas I came to learn how to unbreak this behaviour: Search for punctuation in about:config; Gecko finds layout.word_select.stop_at_punctuation which you need to set to true. More information in the blog post I linked to.
I can generally recommend Marius Gdeminas’ blog, I found quite a lot of interesting things in there, including a link to his GTimeLog, Bash prompts: showing the command in the window title, xsel: the power of Unix, …