Skip to content

Commit

Permalink
merged Swordfish90#702: Shift+Insert -> paste selection
Browse files Browse the repository at this point in the history
  • Loading branch information
eric2801 committed Aug 14, 2024
1 parent d94517c commit e8223d0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/qml/PreprocessedTerminal.qml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ Item{
kterminal.pasteClipboard()
}
}
Connections {
target: pasteActionAlt

onTriggered: {
kterminal.pasteSelection()
}
}

//When settings are updated sources need to be redrawn.
Connections {
Expand Down
5 changes: 5 additions & 0 deletions app/qml/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit e8223d0

Please sign in to comment.