Re: [Evolution] Bring Back Control-U



On Sun, 2003-06-29 at 22:36, Ed Weinberg wrote:
In the past when I wanted to delete all the text in the subject or other
fields in Evolution I used the fairly standard Control-u.  This does not
seem to work in Evo 1.4.0.

As a practical matter it was nice to have an easy way to delete the
entire line.  In other OS's we can simply select the line, then press
delete.  That has a side effect in Linux...it replaces the line in the
cut buffer with the line you deleted!  Not good.

Bring back Control-U

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

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"

This won't work in the text edit view as control-u is the shortcut for
underline...  You could edit the menu files to remove the key binding
and add the above binding to "GtkHTML".

Ross
-- 
Ross Burton                     Software Engineer
OneEighty Software Ltd          Tel: +44 20 8680 8712
Cygnet House                    Fax: +44 20 8680 8453
12-14 Sydenham Road             r burton 180sw com
Croydon, Surrey CR9 2ET, UK     http://www.180sw.com./
====================================================================
Under the Regulation of Investigatory Powers (RIP) Act 2000 together
with any and all Regulations in force pursuant to the Act OneEighty
Software Ltd reserves the right to monitor any or all incoming or
outgoing communications as provided for under the Act

Attachment: signature.asc
Description: This is a digitally signed message part



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