summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-12-12 23:02:40 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-12-12 23:02:40 +0000
commit7264fdb06a9ff70937da9ae02d506d13d1e06e52 (patch)
treeaa6e3e3dcae8987439470247962facc2e75ee0bf
parentfcfb638ab0260c7f320c5ffe7c50a3d669f9881b (diff)
downloadgtk+-7264fdb06a9ff70937da9ae02d506d13d1e06e52.tar.gz
Add C-u/C-h/C-w. (#72245)
Thu Dec 12 17:58:41 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245)
-rw-r--r--ChangeLog4
-rw-r--r--ChangeLog.pre-2-104
-rw-r--r--ChangeLog.pre-2-24
-rw-r--r--ChangeLog.pre-2-44
-rw-r--r--ChangeLog.pre-2-64
-rw-r--r--ChangeLog.pre-2-84
-rw-r--r--gtk/gtkrc.key.emacs10
7 files changed, 34 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index cee8b826fa..44c6cfe1c2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Dec 12 17:58:41 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245)
+
Thu Dec 12 17:01:38 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_find_widget): Skip insensitive
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index cee8b826fa..44c6cfe1c2 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,7 @@
+Thu Dec 12 17:58:41 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245)
+
Thu Dec 12 17:01:38 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_find_widget): Skip insensitive
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index cee8b826fa..44c6cfe1c2 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,7 @@
+Thu Dec 12 17:58:41 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245)
+
Thu Dec 12 17:01:38 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_find_widget): Skip insensitive
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index cee8b826fa..44c6cfe1c2 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,7 @@
+Thu Dec 12 17:58:41 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245)
+
Thu Dec 12 17:01:38 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_find_widget): Skip insensitive
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index cee8b826fa..44c6cfe1c2 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,7 @@
+Thu Dec 12 17:58:41 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245)
+
Thu Dec 12 17:01:38 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_find_widget): Skip insensitive
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index cee8b826fa..44c6cfe1c2 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,7 @@
+Thu Dec 12 17:58:41 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkrc.key.emacs: Add C-u/C-h/C-w. (#72245)
+
Thu Dec 12 17:01:38 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_find_widget): Skip insensitive
diff --git a/gtk/gtkrc.key.emacs b/gtk/gtkrc.key.emacs
index bd2bd5c74d..29e9228314 100644
--- a/gtk/gtkrc.key.emacs
+++ b/gtk/gtkrc.key.emacs
@@ -34,6 +34,16 @@ binding "gtk-emacs-text-entry"
"insert-at-cursor" (" ") }
bind "<alt>KP_Space" { "delete-from-cursor" (whitespace, 1)
"insert-at-cursor" (" ") }
+
+ #
+ # Some non-Emacs keybindings people are attached to
+ #
+ bind "<ctrl>u" {
+ "move-cursor" (paragraph-ends, -1, 0)
+ "delete-from-cursor" (paragraph-ends, 1)
+ }
+ bind "<ctrl>h" { "delete-from-cursor" (chars, -1) }
+ bind "<ctrl>w" { "delete-from-cursor" (word-ends, -1) }
}
#