ratpoison-devel
[Top][All Lists]
Advanced

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

Re: [RP] new commands putsel and getsel


From: Joe Corneli
Subject: Re: [RP] new commands putsel and getsel
Date: Thu, 06 Jan 2005 14:28:48 -0600

   On Mon, Dec 13, 2004 at 10:06:44PM -0600, Joe Corneli wrote:
   > 
   >    I've finally fixed the line-editor so it sends killed words and lines
   >    to the X11 selection. I also rewrote the selection pasting. It now
   >    works on my X setup..and hopefully still works on yours (if it ever
   >    did).
   > 
   > Here, C-y pastes, but S-<insert> doesn't.

   It's not bound by default so you'll need to add it yourself.

   Regards,
   Doug

   Index: src/editor.c
   ===================================================================
   RCS file: /cvsroot/ratpoison/ratpoison/src/editor.c,v
   retrieving revision 1.11
   diff -u -r1.11 editor.c
   --- src/editor.c        13 Dec 2004 01:04:15 -0000      1.11
   +++ src/editor.c        14 Dec 2004 07:05:13 -0000
   @@ -87,6 +87,7 @@
         {{XK_k,           RP_CONTROL_MASK},       editor_kill_line},
         {{XK_u,           RP_CONTROL_MASK},
   editor_backward_kill_line},
         {{XK_y,           RP_CONTROL_MASK},       editor_paste_selection},
   +     {{XK_Insert,      RP_SHIFT_MASK},         editor_paste_selection},
         {{XK_p,           RP_CONTROL_MASK},
   editor_history_previous},
         {{XK_Up,          0},
   editor_history_previous},
         {{XK_n,           RP_CONTROL_MASK},       editor_history_next},


Well, I'd vote to add this binding to CVS.

Joe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]