Skip to content

Commit 13ddbc4

Browse files
Spynaferdnyc
andauthored
keyboard shortcut "R" to toogle the razor tool (#4007)
* keyboard shortcut "R" to toogle the razor tool * toogle the razor tool: update docs * Add setting for actionRazorTool shortcut Co-authored-by: FeRD (Frank Dana) <[email protected]>
1 parent 8c57d38 commit 13ddbc4

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

doc/main_window.rst

+1
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ Ctrl+K Slice All: Keep Both Sides
130130
Ctrl+L Slice All: Keep Left Side
131131
Ctrl+J Slice All: Keep Right Side
132132
Ctrl+G Toggle Snapping
133+
R Toggle Razor tool
133134
Ctrl+X Split Clip
134135
Ctrl+Shift+D Thumbnail View
135136
Ctrl+T Title Editor

src/settings/_default.settings

+8
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,14 @@
518518
"value": "Ctrl+M",
519519
"type": "text"
520520
},
521+
{
522+
"category": "Keyboard",
523+
"title": "Toggle Razor",
524+
"restart": true,
525+
"setting": "actionRazorTool",
526+
"value": "R",
527+
"type": "text"
528+
},
521529
{
522530
"category": "Keyboard",
523531
"title": "Previous Marker",

src/windows/ui/main-window.ui

+3
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,9 @@
884884
<property name="toolTip">
885885
<string>Razor Tool</string>
886886
</property>
887+
<property name="shortcut">
888+
<string>R</string>
889+
</property>
887890
</action>
888891
<action name="actionSnappingTool">
889892
<property name="checkable">

0 commit comments

Comments
 (0)