Git Product home page Git Product logo

Comments (12)

antoinelmtre avatar antoinelmtre commented on September 27, 2024 35

On Git Bash terminal

You can also go in Option > Keys and select "Ctrl+Shift+letter shortcut".
Then you will be able to use Ctrl+Shift+c and Ctrl+Shift+v which is a bit more natural than Ctrl+Insert and Shift+Insert

from learn.

spencerrichardhenry avatar spencerrichardhenry commented on September 27, 2024 4

Is there anyway to edit the shortcut so it can be ctrl+c and ctrl+v

from learn.

amrrox avatar amrrox commented on September 27, 2024 1

THANK YOU SO MUCH

from learn.

AnnanFay avatar AnnanFay commented on September 27, 2024 1

How do you select text in order to copy it?

If you use the mouse to select it then it's pretty quick to copy using the right click context menu. The only time you normally want to use a keyboard shortcut to copy text is if you aren't using the mouse to select text so you don't need to remove your hands from the keyboard.

from learn.

alinz07 avatar alinz07 commented on September 27, 2024 1

I have quickedit mode and ctrl key shortcuts enabled in the properties, options tab. Ctrl v still doesn't work. I'm sure it's because of a setting I chose during setup, but I found that if I ctrl c anything, I can just right click and it will paste. Not what I'm used to, I wish I had ctrl v, available, but I don't care to fiddle with versions or console settings.

from learn.

maurolepore avatar maurolepore commented on September 27, 2024

@spencerrichardhenry, maybe you'll find some answers here: https://community.rstudio.com/tags/git

from learn.

nitink66 avatar nitink66 commented on September 27, 2024

not working on windows.
Its says bash: colrm: command not found
Untitled

from learn.

Johnrobmiller avatar Johnrobmiller commented on September 27, 2024

This is just my opinion, but since Windows users use ctrl+c and ctrl+v to copy/paste, the Git Bash should have shipped with that as the default key binding for Windows users. Furthermore, they optionally let people use ctrl+shift+c/v but not ctrl+c/v, which is very questionable. I don't mean any offense to the original developers or anything, but I'm not sure why people put up with this.

from learn.

triciasdmngo avatar triciasdmngo commented on September 27, 2024

This is just my opinion, but since Windows users use ctrl+c and ctrl+v to copy/paste, the Git Bash should have shipped with that as the default key binding for Windows users. Furthermore, they optionally let people use ctrl+shift+c/v but not ctrl+c/v, which is very questionable. I don't mean any offense to the original developers or anything, but I'm not sure why people put up with this.

I think (but I am not sure as well) the reason might be is because the Ctrl+C command is being used in a different way in the terminal? I was watching CS50 Harvard lesson in Git and Github and the instructor is discussing something about SASS. The thing about scss files is that it should be converted into css files before they can be read by the browser right? but to do the converting, you should key in sass <file name>.scss <file name>.css so it would take effect. But it would be tiresome to always to do this when you want to implement changes in the css file so he taught a command where the computer will continuously watch the following files and automatically update it. I don't remember the command but it starts with a --watch, and when he demoed it I saw the message on the terminal say 'click Ctrl+C if you want the action to stop' (not exact words but pretty much what it says). Not sure about this though because I am still conflicted on the differences of using Git Bash and my default command line, and I am sure that the instructor is rather using his default terminal on Mac and not Git Bash.

from learn.

cendern avatar cendern commented on September 27, 2024

@Asparagus-inator you're correct about ctrl+c and ctrl+v being used in Bash already. ctrl+c kills a program that's running in the foreground and ctrl+v is a special command that lets you type literal characters like tab or newline.

With Git Bash's Copy on select behavior as the default, there's no reason to use a keyboard shortcut to explicitly copy.
You'll also find that shift+insert does the same thing as ctrl+v in Windows. That's because, like many other features, Microsoft originally stole that behavior from Unix/Linux.

from learn.

LukeAvea avatar LukeAvea commented on September 27, 2024

In both of these cases I chose Windows Console as the terminal during GIT installation. My home Windows machine is running GIT 2.23 and pasting with control-V works. On my work laptop I was running GIT 2.33 and pasting with control-V did not work, instead inserting control characters. Anyone know the latest version of GIT for Windows that supports control-V paste? I downgraded my work version so I could restore this capability but don't love running an outdated version. Alternatively, is there some GIT setting I can change to restore control-V pasting even in new versions? Forgive me if this was already mentioned in the thread and i missed it. Thanks.

from learn.

Mr-FarzandAli avatar Mr-FarzandAli commented on September 27, 2024

when i shift + insrt or right click paste a URl after git clone it gets pasted like
GUBGMHVpwcTsPFvNNVdG5DKtpv6UwksAfzw5aULcGzgG
not the url itself
git img

from learn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.