Michael Gerz wrote:

So you propose

\bind "C-M-v"            "primary-selection-paste"
\bind "C-S-v"            "primary-selection-paste paragraph"

Yes, why not. Lars? Can I commit the (modified) patch?

The 1.4 patch is in the repository.

So you wouldn't mind removing/replacing the following two bindings in LyX 1.3.7?

\bind "C-S-C"                   "layout-copy"
\bind "C-S-V"                   "layout-paste"

I really would like to use "C-S-V" for the "paste" function, because it is quite intuive.

I have prepared a patch for 1.3 (see attachment). If you like it, please let me know.

Michael

Index: lib/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/ChangeLog,v
retrieving revision 1.363.2.120
diff -u -r1.363.2.120 ChangeLog
--- lib/ChangeLog	20 Jul 2005 09:38:33 -0000	1.363.2.120
+++ lib/ChangeLog	6 Sep 2005 17:00:01 -0000
@@ -1,3 +1,9 @@
+2005-09-06  Michael Gerz  <[EMAIL PROTECTED]>
+
+        * bind/cua.bind:
+        * bind/mac.bind:
+        * bind/sciword.bind: bind "paste-primary-selection (paragraph)"
+
 2005-07-20  José Matos  <[EMAIL PROTECTED]>
 
 	* lyx2lyx/lyx_1_4.py (convert_minipage, convert_frameless_box):
Index: lib/bind/cua.bind
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/bind/cua.bind,v
retrieving revision 1.19.2.1
diff -u -r1.19.2.1 cua.bind
--- lib/bind/cua.bind	22 Oct 2004 10:25:10 -0000	1.19.2.1
+++ lib/bind/cua.bind	6 Sep 2005 17:00:03 -0000
@@ -62,9 +62,8 @@
 \bind "C-c"			"copy"
 \bind "C-x"			"cut"
 \bind "C-v"			"paste"
-
-\bind "C-S-C"			"layout-copy"
-\bind "C-S-V"			"layout-paste"
+\bind "C-M-v"			"primary-selection-paste"
+\bind "C-S-v"			"primary-selection-paste paragraph"
 
 \bind "C-z"			"undo"
 \bind "C-S-Z"			"redo"
Index: lib/bind/mac.bind
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/bind/mac.bind,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 mac.bind
--- lib/bind/mac.bind	5 Nov 2004 13:30:47 -0000	1.1.2.4
+++ lib/bind/mac.bind	6 Sep 2005 17:00:04 -0000
@@ -60,9 +60,8 @@
 \bind "C-c"			"copy"
 \bind "C-x"			"cut"
 \bind "C-v"			"paste"
-
-\bind "C-S-C"			"layout-copy"
-\bind "C-S-V"			"layout-paste"
+\bind "C-M-v"			"primary-selection-paste"
+\bind "C-S-v"			"primary-selection-paste paragraph"
 
 \bind "C-z"			"undo"
 \bind "C-S-Z"			"redo"
Index: lib/bind/sciword.bind
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/bind/sciword.bind,v
retrieving revision 1.19.2.1
diff -u -r1.19.2.1 sciword.bind
--- lib/bind/sciword.bind	6 Mar 2003 15:36:21 -0000	1.19.2.1
+++ lib/bind/sciword.bind	6 Sep 2005 17:00:04 -0000
@@ -102,6 +102,8 @@
 
 \bind "C-u"	"font-underline"
 \bind "C-v"	"paste"
+\bind "C-M-v"	"primary-selection-paste"
+\bind "C-S-v"	"primary-selection-paste paragraph"
 \bind "C-w"	"buffer-close"
 \bind "C-x"	"cut"
 \bind "C-z"	"undo"

Reply via email to