68256cc3a949beb3624fad156dfff79838ae5a40
[mono.git] / bockbuild / mac-sdk / patches / gtk / bxc3457_more_standard_keyboard_shortcuts.patch
1 diff --git a/gtk/gtkrc.key.mac b/gtk/gtkrc.key.mac
2 index 980f3e4..91033a6 100644
3 --- a/gtk/gtkrc.key.mac
4 +++ b/gtk/gtkrc.key.mac
5 @@ -10,6 +10,8 @@ binding "gtk-mac-alt-arrows"
6    bind "<shift><alt>KP_Right" { "move-cursor" (words, 1, 1) }
7    bind "<shift><alt>Left"     { "move-cursor" (words, -1, 1) }
8    bind "<shift><alt>KP_Left"  { "move-cursor" (words, -1, 1) }
9 +  bind "<ctrl>p"              { "move-cursor" (display-lines, -1, 0) }
10 +  bind "<ctrl>n"              { "move-cursor" (display-lines, 1, 0) }
11  }
12
13  class "GtkTextView" binding "gtk-mac-alt-arrows"
14 @@ -19,6 +21,8 @@ class "GtkEntry" binding "gtk-mac-alt-arrows"
15
16  binding "gtk-mac-alt-delete"
17  {
18 +  bind "<ctrl>d" { "delete-from-cursor" (chars, 1) }
19 +  bind "<ctrl>k" { "delete-from-cursor" (paragraph-ends, 1) }
20    bind "<alt>Delete" { "delete-from-cursor" (word-ends, 1) }
21    bind "<alt>KP_Delete" { "delete-from-cursor" (word-ends, 1) }
22    bind "<alt>BackSpace" { "delete-from-cursor" (word-ends, -1) }