You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When pasting text sometimes you want it to be evaluated via shell immediately, for example you cat readme file and want to run something that you select there. To do this now you need to paste selection and then press enter
Specification
Add argument for PasteSelection action, named execute so you can configure whether to run selected command
then key mapping entry can look like
At first I wanted to propose to extend SendChars action isntead, by allowing it to also send the clipboard (in a variable substitution format like syntax) plus a final linefeed like \n). But I think SendChars should not issue bracketed paste (as it's not doing right now, but should then, if clipboard is involved).
Maybe the solution would. be to rename your suggestion a bit. execute sounds misleading. All it would do is to append a linefeed. 🤔 (thinking out loud here)
Abstract
When pasting text sometimes you want it to be evaluated via shell immediately, for example you
cat
readme file and want to run something that you select there. To do this now you need to paste selection and then pressenter
Specification
Add argument for
PasteSelection
action, namedexecute
so you can configure whether to run selected commandthen key mapping entry can look like
The text was updated successfully, but these errors were encountered: