Merge pull request 'Shift+Insert -> paste selection' (#702) from agreppin/kb-shift-insert into master

Reviewed-on: #702
This commit is contained in:
Sebastiaan de Schaetzen 2024-10-11 11:08:02 +02:00
commit edb1a6f9e1
2 changed files with 12 additions and 0 deletions

View File

@ -58,6 +58,13 @@ Item{
kterminal.pasteClipboard() kterminal.pasteClipboard()
} }
} }
Connections {
target: pasteActionAlt
onTriggered: {
kterminal.pasteSelection()
}
}
//When settings are updated sources need to be redrawn. //When settings are updated sources need to be redrawn.
Connections { Connections {

View File

@ -116,6 +116,11 @@ ApplicationWindow {
text: qsTr("Paste") text: qsTr("Paste")
shortcut: "Ctrl+Shift+V" shortcut: "Ctrl+Shift+V"
} }
Action {
id: pasteActionAlt
text: qsTr("Paste selection")
shortcut: "Shift+Insert"
}
Action { Action {
id: zoomIn id: zoomIn
text: qsTr("Zoom In") text: qsTr("Zoom In")