I have a problem with Geany. I can set a keyboard shortcut to send selection to the terminal. But these line are just copied on the terminal, not executed. So, if you select this line:
R
and send it to the terminal, R
is not actually executed, instead the letter R
appears in the terminal prompt. If I press "enter" then R
is launched. How can I make that last "enter" be automatically send to the terminal together with the selection?
Is there a keyboard shortcut to send and execute the selection in the terminal?
решение1
Changing send_selection_unsafe=false
to send_selection_unsafe=true
in the geany.conf
file (~/.config/geany/geany.conf
) fixed this for me.
решение2
I am not familiar with geany so I could be wrong here but you probably need to add CrLf to the end of the line. Most programs this can be specified with \r\n maybe that will help.