Skip to content

Commit 014f973

Browse files
committed
data/ui/shortcuts.ui: Add editing shortcuts
1 parent 41818a0 commit 014f973

1 file changed

Lines changed: 77 additions & 7 deletions

File tree

data/ui/shortcuts.ui

Lines changed: 77 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@
4848
<property name="title" translatable="yes">Refresh comparison</property>
4949
</object>
5050
</child>
51+
<child>
52+
<object class="GtkShortcutsShortcut">
53+
<property name="visible">True</property>
54+
<property name="accelerator">F11</property>
55+
<property name="title" translatable="yes">Fullscreen</property>
56+
</object>
57+
</child>
5158
</object>
5259
</child>
5360
<child>
@@ -95,21 +102,84 @@
95102
<child>
96103
<object class="GtkShortcutsGroup">
97104
<property name="visible">True</property>
98-
<property name="view">navigation</property>
99-
<property name="title" translatable="yes">Navigation</property>
105+
<property name="view">editing</property>
106+
<property name="title" translatable="yes">Editing</property>
107+
<child>
108+
<object class="GtkShortcutsShortcut">
109+
<property name="visible">True</property>
110+
<property name="accelerator">&lt;primary&gt;S</property>
111+
<property name="title" translatable="yes">Save current file</property>
112+
</object>
113+
</child>
114+
<child>
115+
<object class="GtkShortcutsShortcut">
116+
<property name="visible">True</property>
117+
<property name="accelerator">&lt;shift&gt;&lt;primary&gt;S</property>
118+
<property name="title" translatable="yes">Save current file to new path</property>
119+
</object>
120+
</child>
121+
<child>
122+
<object class="GtkShortcutsShortcut">
123+
<property name="visible">True</property>
124+
<property name="accelerator">&lt;primary&gt;Z</property>
125+
<property name="title" translatable="yes">Undo</property>
126+
</object>
127+
</child>
128+
<child>
129+
<object class="GtkShortcutsShortcut">
130+
<property name="visible">True</property>
131+
<property name="accelerator">&lt;shift&gt;&lt;primary&gt;Z</property>
132+
<property name="title" translatable="yes">Redo</property>
133+
</object>
134+
</child>
135+
136+
<child>
137+
<object class="GtkShortcutsShortcut">
138+
<property name="visible">True</property>
139+
<property name="accelerator">&lt;primary&gt;X</property>
140+
<property name="title" translatable="yes">Cut</property>
141+
</object>
142+
</child>
143+
<child>
144+
<object class="GtkShortcutsShortcut">
145+
<property name="visible">True</property>
146+
<property name="accelerator">&lt;primary&gt;C</property>
147+
<property name="title" translatable="yes">Copy</property>
148+
</object>
149+
</child>
150+
<child>
151+
<object class="GtkShortcutsShortcut">
152+
<property name="visible">True</property>
153+
<property name="accelerator">&lt;primary&gt;V</property>
154+
<property name="title" translatable="yes">Paste</property>
155+
</object>
156+
</child>
157+
<child>
158+
<object class="GtkShortcutsShortcut">
159+
<property name="visible">True</property>
160+
<property name="accelerator">&lt;primary&gt;F</property>
161+
<property name="title" translatable="yes">Find</property>
162+
</object>
163+
</child>
164+
<child>
165+
<object class="GtkShortcutsShortcut">
166+
<property name="visible">True</property>
167+
<property name="accelerator">&lt;primary&gt;G</property>
168+
<property name="title" translatable="yes">Find Next</property>
169+
</object>
170+
</child>
100171
<child>
101172
<object class="GtkShortcutsShortcut">
102173
<property name="visible">True</property>
103-
<property name="accelerator">&lt;alt&gt;Up</property>
104-
<property name="direction">ltr</property>
105-
<property name="title" translatable="yes">Go to previous change</property>
174+
<property name="accelerator">&lt;primary&gt;&lt;shift&gt;G</property>
175+
<property name="title" translatable="yes">Find Previous</property>
106176
</object>
107177
</child>
108178
<child>
109179
<object class="GtkShortcutsShortcut">
110180
<property name="visible">True</property>
111-
<property name="accelerator">&lt;alt&gt;Down</property>
112-
<property name="title" translatable="yes">Go to next change</property>
181+
<property name="accelerator">&lt;primary&gt;H</property>
182+
<property name="title" translatable="yes">Replace</property>
113183
</object>
114184
</child>
115185
</object>

0 commit comments

Comments
 (0)