Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I paste multi-line python script into ConEmu?

Is it possible to copy and paste muti-line python into Git Bash? (in Windows 10)

Currently, if I have Python in Sublime text

enter image description here

when I paste it into Git Bash (I'm running Git Bash inside ConEmu), the line breaks are ignored.

enter image description here

I know about execfile(), but in my case I need to be able to be able see both the pasted code and result.

Thanks!

like image 211
Dave Molinero Avatar asked Jan 19 '17 03:01

Dave Molinero


1 Answers

ConeMu has two paste modes

Instead of ctrl+ v (paste mode #1) you can use paste mode #2 by

  • shift+insert or

  • right click

like image 200
Frank Fu Avatar answered Nov 04 '22 14:11

Frank Fu