1 gtk-enable-mnemonics = 0
3 binding "gtk-mac-alt-arrows"
5 bind "<alt>Right" { "move-cursor" (words, 1, 0) }
6 bind "<alt>KP_Right" { "move-cursor" (words, 1, 0) }
7 bind "<alt>Left" { "move-cursor" (words, -1, 0) }
8 bind "<alt>KP_Left" { "move-cursor" (words, -1, 0) }
9 bind "<shift><alt>Right" { "move-cursor" (words, 1, 1) }
10 bind "<shift><alt>KP_Right" { "move-cursor" (words, 1, 1) }
11 bind "<shift><alt>Left" { "move-cursor" (words, -1, 1) }
12 bind "<shift><alt>KP_Left" { "move-cursor" (words, -1, 1) }
15 class "GtkTextView" binding "gtk-mac-alt-arrows"
16 class "GtkLabel" binding "gtk-mac-alt-arrows"
17 class "GtkEntry" binding "gtk-mac-alt-arrows"
20 binding "gtk-mac-alt-delete"
22 bind "<alt>Delete" { "delete-from-cursor" (word-ends, 1) }
23 bind "<alt>KP_Delete" { "delete-from-cursor" (word-ends, 1) }
24 bind "<alt>BackSpace" { "delete-from-cursor" (word-ends, -1) }
27 class "GtkTextView" binding "gtk-mac-alt-delete"
28 class "GtkEntry" binding "gtk-mac-alt-delete"
31 binding "gtk-mac-cmd-c"
33 bind "<meta>x" { "cut-clipboard" () }
34 bind "<meta>c" { "copy-clipboard" () }
35 bind "<meta>v" { "paste-clipboard" () }
41 class "GtkTextView" binding "gtk-mac-cmd-c"
42 class "GtkEntry" binding "gtk-mac-cmd-c"
45 binding "gtk-mac-text-view"
47 bind "<shift><meta>a" { "select-all" (0) }
48 bind "<meta>a" { "select-all" (1) }
49 unbind "<shift><ctrl>a"
53 class "GtkTextView" binding "gtk-mac-text-view"
56 binding "gtk-mac-label"
59 "move-cursor" (paragraph-ends, -1, 0)
60 "move-cursor" (paragraph-ends, 1, 1)
62 bind "<shift><meta>a" { "move-cursor" (paragraph-ends, 0, 0) }
63 bind "<meta>c" { "copy-clipboard" () }
65 unbind "<shift><ctrl>a"
69 class "GtkLabel" binding "gtk-mac-label"
72 binding "gtk-mac-entry"
75 "move-cursor" (buffer-ends, -1, 0)
76 "move-cursor" (buffer-ends, 1, 1)
78 bind "<shift><meta>a" { "move-cursor" (visual-positions, 0, 0) }
80 unbind "<shift><ctrl>a"
83 class "GtkEntry" binding "gtk-mac-entry"
86 binding "gtk-mac-cmd-arrows"
88 bind "<meta>Left" { "move-cursor" (paragraph-ends, -1, 0) }
89 bind "<meta>KP_Left" { "move-cursor" (paragraph-ends, -1, 0) }
90 bind "<shift><meta>Left" { "move-cursor" (paragraph-ends, -1, 1) }
91 bind "<shift><meta>KP_Left" { "move-cursor" (paragraph-ends, -1, 1) }
92 bind "<meta>Right" { "move-cursor" (paragraph-ends, 1, 0) }
93 bind "<meta>KP_Right" { "move-cursor" (paragraph-ends, 1, 0) }
94 bind "<shift><meta>Right" { "move-cursor" (paragraph-ends, 1, 1) }
95 bind "<shift><meta>KP_Right" { "move-cursor" (paragraph-ends, 1, 1) }
98 class "GtkTextView" binding "gtk-mac-cmd-arrows"
99 class "GtkLabel" binding "gtk-mac-cmd-arrows"
100 class "GtkEntry" binding "gtk-mac-cmd-arrows"
103 binding "gtk-mac-emacs-like"
105 bind "<ctrl>a" { "move-cursor" (paragraph-ends, -1, 0) }
106 bind "<shift><ctrl>a" { "move-cursor" (paragraph-ends, -1, 1) }
107 bind "<ctrl>e" { "move-cursor" (paragraph-ends, 1, 0) }
108 bind "<shift><ctrl>e" { "move-cursor" (paragraph-ends, 1, 1) }
110 bind "<ctrl>b" { "move-cursor" (logical-positions, -1, 0) }
111 bind "<shift><ctrl>b" { "move-cursor" (logical-positions, -1, 1) }
112 bind "<ctrl>f" { "move-cursor" (logical-positions, 1, 0) }
113 bind "<shift><ctrl>f" { "move-cursor" (logical-positions, 1, 1) }
116 class "GtkTextView" binding "gtk-mac-emacs-like"
117 class "GtkLabel" binding "gtk-mac-emacs-like"
118 class "GtkEntry" binding "gtk-mac-emacs-like
121 binding "gtk-mac-file-chooser"
123 bind "<meta>v" { "location-popup-on-paste" () }
126 bind "<meta><shift>G" { "location-popup" () }
127 bind "<meta><shift>H" { "home-folder" () }
128 bind "<meta>Up" { "up-folder" () }
131 class "GtkFileChooserDefault" binding "gtk-mac-file-chooser"
134 binding "gtk-mac-tree-view"
136 bind "<meta>a" { "select-all" () }
137 bind "<shift><meta>a" { "unselect-all" () }
138 bind "<meta>f" { "start-interactive-search" () }
139 bind "<meta>F" { "start-interactive-search" () }
141 unbind "<shift><ctrl>a"
146 class "GtkTreeView" binding "gtk-mac-tree-view"
149 binding "gtk-mac-icon-view"
151 bind "<meta>a" { "select-all" () }
152 bind "<shift><meta>a" { "unselect-all" () }
154 unbind "<shift><ctrl>a"
157 class "GtkIconView" binding "gtk-mac-icon-view"