Re: Ctrl-U in location bar
Luis Villa <[email protected]>
| Newsgroups | gmane.comp.web.galeon.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 2003-02-16 at 15:10, Tommi Komulainen wrote:
> 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<----------
Actually if you are using gtk 2.2 Owen DTRT and made the emacs key
bindings include ctl+u. You can select that in applications->desktop
preferences->keyboard shortcuts.
Luis
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf