Re: [Evolution] Bring Back Control-U



[ resend, cause temporarily broken list server denies knowledge ]


This has nothing to do with Evolution, but is rather a GTK+ 1 vs GTK+ 2
difference.  Control-u is available in the Emacs style bindings (Desktop
Prefs -> Keyboard Shortcuts iirc), but if you want Windows-style key
bindings with control-u, then add this to your ~/.gtkrc-2.0
Where can I find this "DesktopPrefs -> Keybo...." (I am using KDE and
everything else seems to use control-u)

"Desktop Prefernces aka Gnome Control Center.

As you are using KDE, run 'gnome-keybinding-properties' from a console
manually. Regardless of you using KDE, Gnome apps will only respect
Gnome properties (just like with KDE apps and KDE properties).


and where can I put this, or does it already exist?

~/.gtkrc-2.0

Didn't the sentence before this snippet just say that??


binding "ctrl-u-binding"
{
  bind "<ctrl>u" {
     "move-cursor" (paragraph-ends, -1, 0)
     "delete-from-cursor" (paragraph-ends, 1)
  }
}
class "GtkEntry" binding "ctrl-u-binding"
class "GtkTextView" binding "ctrl-u-binding"

...guenther


-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]