Re: Ctrl-U in location bar

Tommi Komulainen <[email protected]>
Newsgroups gmane.comp.web.galeon.devel
Message-ID <[email protected]>
On Sun, 2003-02-16 at 21:46, Mark Howard wrote:
> Hi,
>   Sorry for raising this issue again when it's been discussed in the
> past.
> 
> I've been getting a few bug reports on the Debian bts recently
> requesting the Ctrl-U shortcut for clearing the location bar. People are
> particularly annoyed because mozilla does support control-u.
> 
> Is there any way to enable it? (or does it require changes to gnome
> library code?)

Well, you can always hit Ctrl-L and simply start typing, though it
doesn't play nice you intent to paste by middle-clicking a new URL.

Another way is to add the following in one's .gtkrc-2.0:

----------8<--------------------8<----------
binding "bash-text-entry"
{
  bind "<ctrl>u" { "move-cursor"        (display-line-ends, 1, 0)
                   "delete-from-cursor" (paragraph-ends, -1)      }
}
                       
class "GtkEntry" binding "bash-text-entry"
----------8<--------------------8<----------


-- 
Tommi Komulainen                                 [email protected]
GPG 1024D/68388EE6    6FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA+T/AlBKiYcWg4juYRAvcaAJ4/HKRbdQTZX6/6QkRXtqKUggZdpACfbtIB
eL4YnoGpQE7XmLqb0zRO6Tc=
=30cq
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.