Shift+Insert -> paste selection

This commit is contained in:
Alain Greppin 2022-02-16 18:02:19 +01:00
parent 74ae511f92
commit b8d854ae4b
2 changed files with 12 additions and 0 deletions

View File

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

View File

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