git bash how to enable quick edit mode?
Asked Answered
F

3

7

(my OS is win 10) I can't find option to enable QuickEdit mode?

when I select block with left click, git bash copy(extend from win 10 command line) by execute Ctrl + C automatically. So it terminate process as the following picture. How can I do?

PS: Ctrl-C is not my action,but by terminal automatically when I release left mouse clicking for selecting text

Feoffee answered 7/6, 2017 at 14:53 Comment(5)
I douby you're using Windows, but some kind of unix emulator. It's very likely that simply highlighting text will copy it to the clipboard.Bangui
what is quick edit mode? you cannot edit command in your terminal or what?Clarhe
@Bangui Git Bash is a software package for Windows that includes Git, Bash and a lot of Linux tools ported on Windows. All these run on top of Cygwin.Timework
@axiac, Thanks for confirming what I said. Cygwin is a unix emulation layer.Bangui
@Kent, QuickEdit mode is a setting for the Windows Console. With QuickEdit mode on, you can select text to copy without first right-clicking and selecting Mark.Bangui
B
0

You're not using the Windows Console; you're using a terminal built for cygwin, a unix emulation environment. The usual default behaviour for unix terminals is to place text in the clipboard as soon as you select it. You don't need to press Ctrl-C or any other key.

(I don't have your terminal, so I can't verify that this will help, but there's a very good chance that this will address your issue.)

Bangui answered 7/6, 2017 at 15:53 Comment(0)
S
0

You can just select/highlight the text and it will automatically be placed on clipboard. then you can Past it using mouse Right Click and Clicking Past or pressing Shift+Insert from keyboard on Windows machines.

Scotty answered 22/1, 2018 at 12:5 Comment(0)
C
0

QuickEdit Mode was available in Git 1.x, but your screenshot is from Git 2.x

You can use Ctrl+Shift+c for copy as shown here.

You can also use your mouse as shown here.

Also, note that starting from Windows 10 the Ctrl+c, Ctrl+v can be used for copy/paste as mentioned here.

Chrysostom answered 28/3, 2019 at 11:48 Comment(2)
Your link about using Windows 10 Ctrl+c says to turn Quick Edit mode on, which doesn't answer the question -- WHERE IS QUICK EDIT MODE IN 2.x?Intemperance
There may be a workaround that I haven't tried because I don't have Windows 10. During GIT Installation, you can choose the option "Use Git from the Windows Command Prompt" as shown here. Then, you can enable QuickEdit Mode in cmd.exe as shown here. Please, tell me if it worked.Chrysostom

© 2022 - 2024 — McMap. All rights reserved.