简体   繁体   中英

Select line with Ctrl/C in PyCharm like Sublime Text does

Is there a way to make PyCharm use Ctrl/C to copy the line where the cursor is if no text is selected (which is what Sublime Text does out of the box). It is really handy feature.

When cursor in the line pressing of cntrl + c would select and copy text of libe into buffer ( i am on OS X). Please give more details regarding your OS, pycharm version ,etc if it doesn't work for you.

If you have cmd+C (OS X) You can setup pycharm to copy with cntrl+c by adjusting pycharm keymap for that perform next steps:

  1. Go to Pycharm Preferences
  2. Open Keymap Settings
  3. Find copy shortcut in shortcuts list
  4. Double click on it
  5. Choos "Add Keyboard Shortcut" option
  6. Change to CNTRL +C
  7. Save and applky changes

You are done.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM