问题
I am on Windows 7 and I have Git Bash at my disposal after installing Git for Windows.
I found mouse inconvenient to select-copy-paste in terminal window. What is the shortcut for text selection (like Shift+←, Shift+→ in Notepad editor)?
I have seen many irrelevant verbose replies to this question, but all, what I am looking for is just an appropriate shortcut (like Ctrl+Insert for Copy and Shift+Insert for Paste). - Thank you.
回答1:
It is best to install a CMD enhancer like ConEmu.
From there, you can type "bash
", and you will see in that Git bash session, that simple CTRL+C, Ctrl+V are enough for copy/paste.
And for selecting the text (in a ConEmu session), Shift+←, Shift+→ works too. For W7 or W10.
来源:https://stackoverflow.com/questions/41319448/how-can-i-select-text-in-git-bash-terminal-in-windows-7-without-mouse