@@ -59,30 +59,53 @@ class Keyboard.Shortcuts.ConflictsManager : GLib.Object {
59
59
// putting this in standard_shortcuts initially doesn't work because we don't create an instance of ConflictsManager
60
60
if (standard_shortcuts == null ) {
61
61
standard_shortcuts = {
62
+ // / The name of Ctrl + C shortcut: "Edit -> Copy"
62
63
{new Shortcut .parse (" <Ctrl>C" ), _(" Edit" ), _(" Copy" )},
64
+ // / The name of Ctrl + V shortcut: "Edit -> Paste"
63
65
{new Shortcut .parse (" <Ctrl>V" ), _(" Edit" ), _(" Paste" )},
66
+ // / The name of Ctrl + X shortcut: "Edit -> Cut"
64
67
{new Shortcut .parse (" <Ctrl>X" ), _(" Edit" ), _(" Cut" )},
68
+ // / The name of Ctrl + Z shortcut: "Edit -> Undo"
65
69
{new Shortcut .parse (" <Ctrl>Z" ), _(" Edit" ), _(" Undo" )},
70
+ // / The name of Ctrl + Y shortcut: "Edit -> Redo"
66
71
{new Shortcut .parse (" <Ctrl>Y" ), _(" Edit" ), _(" Redo" )},
72
+ // / The name of Ctrl + F shortcut: "Edit -> Find"
67
73
{new Shortcut .parse (" <Ctrl>F" ), _(" Edit" ), _(" Find" )},
68
74
75
+ // / The name of Ctrl + A shortcut: "Selection -> Select All"
69
76
{new Shortcut .parse (" <Ctrl>A" ), _(" Selection" ), _(" Select All" )},
77
+ // / The name of Ctrl + Right shortcut: "Selection -> Move Right by Word"
70
78
{new Shortcut .parse (" <Shift>Right" ), _(" Selection" ), _(" Move Right by Word" )},
79
+ // / The name of Ctrl + Left shortcut: "Selection -> Move Left by Word"
71
80
{new Shortcut .parse (" <Ctrl>Left" ), _(" Selection" ), _(" Move Left by Word" )},
81
+ // / The name of Shift + Right shortcut: "Selection -> Expand Selection"
72
82
{new Shortcut .parse (" <Shift>Right" ), _(" Selection" ), _(" Expand Selection" )},
83
+ // / The name of Shift + Left shortcut: "Selection -> Shrink Selection"
73
84
{new Shortcut .parse (" <Shift>Left" ), _(" Selection" ), _(" Shrink Selection" )},
85
+ // / The name of Shift + Ctrl + Right shortcut: "Selection -> Expand Selection by Word"
74
86
{new Shortcut .parse (" <Shift><Ctrl>Right" ), _(" Selection" ), _(" Expand Selection by Word" )},
87
+ // / The name of Shift + Ctrl + Left shortcut: "Selection -> Shrink Selection by Word"
75
88
{new Shortcut .parse (" <Shift><Ctrl>Left" ), _(" Selection" ), _(" Shrink Selection by Word" )},
89
+ // / The name of Shift + Up shortcut: "Selection -> Expand Selection Up"
76
90
{new Shortcut .parse (" <Shift>Up" ), _(" Selection" ), _(" Expand Selection Up" )},
91
+ // / The name of Shift + Down shortcut: "Selection -> Expand Selection Down"
77
92
{new Shortcut .parse (" <Shift>Down" ), _(" Selection" ), _(" Expand Selection Down" )},
78
93
94
+ // / The name of Ctrl + S shortcut: "File -> Save"
79
95
{new Shortcut .parse (" <Ctrl>S" ), _(" File" ), _(" Save" )},
96
+ // / The name of Ctrl + Shift + S shortcut: "File -> Save As"
80
97
{new Shortcut .parse (" <Ctrl><Shift>S" ), _(" File" ), _(" Save As" )},
98
+ // / The name of Ctrl + N shortcut: "File -> New"
81
99
{new Shortcut .parse (" <Ctrl>N" ), _(" File" ), _(" New" )},
100
+ // / The name of Ctrl + W shortcut: "File -> Close"
82
101
{new Shortcut .parse (" <Ctrl>W" ), _(" File" ), _(" Close" )},
102
+ // / The name of Ctrl + T shortcut: "File -> New Tab"
83
103
{new Shortcut .parse (" <Ctrl>T" ), _(" File" ), _(" New Tab" )},
104
+ // / The name of Ctrl + Shift + T shortcut: "File -> Restore Closed Tab"
84
105
{new Shortcut .parse (" <Ctrl><Shift>T" ), _(" File" ), _(" Restore Closed Tab" )},
85
- {new Shortcut .parse (" <Ctrl>R" ), _(" File" ), _(" Refresh" )},
106
+ // / The name of Ctrl + R shortcut: "File -> Refresh"
107
+ {new Shortcut .parse (" <Ctrl>R" ), _(" File" ), C_ (" keyboard" , " Refresh" )},
108
+ // / The name of Ctrl + Q shortcut: "File -> Quit"
86
109
{new Shortcut .parse (" <Ctrl>Q" ), _(" File" ), _(" Quit" )},
87
110
};
88
111
}
0 commit comments