Powered by
Movable Type 3.38 mod_perl/2

Linux Firefox punctuation boundaries in text input editing

There is one behaviour on Windows’ which I much prefer over Linux:

You can use the key Ctrl+<Action> to navigate between word boundaries, for example Ctrl+Backspace to delete the last word. This/is/especially/useful/when/editing/the/URL.html because it provides an easy means to delete back to the last /.

Unfortunately, on Linux, the only accepted boundary seems to be whitespace characters, so this is not very practical.

For my command line shell (zsh), I have changed this default behaviour with the command

WORDCHARS=${WORDCHARS//[&=\/;\!#%\{]}

This means that the characters &=/;!#%{ will also be recognised as valid word boundaries.

Unfortunately, Firefox does not allow such a fine grained control. Fortunately, you can at least bring the Windows Firefox behaviour to Linux. Here’s how:

  1. Go to about:config
  2. Search for layout.word_select.stop_at_punctuation
  3. If it doesn’t exist, right-click and choose New > Boolean
  4. Set layout.word_select.stop_at_punctuation to true

Enjoy.


TrackBack

» 2006-11-29 (manual trackback)
today, lets get rid of some Firefox 2 annoyances. first, enter about:config into your address bar, and change the value of browser.tabs.closeButtons to 3. this reverts back to a single close button on the very right of the tab bar. the firefox UI team ...

TrackBack URL for this entry:
http://anti.teamidiot.de/mt-tb/9