Comments (10)
I've also having this problem, but in PyCharm.
Would it be possible to only map the left Ctrl
key for Ctrl + c
to copy, and leave the right Ctrl
alone, so that it would still work for sending a normal Ctrl + c
interrupt at the terminal?
from karabiner-windows-mode.
I did a rule that when clicking Ctrl+Shift+C
it will execute the Ctrl+C
, even if it is remapped with the karabiner-elements.
{
"description": "Quit application from terminal with Control+shift+c",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "c",
"modifiers": {
"mandatory": [
"left_control",
"left_shift"
],
"optional": [
"caps_lock"
]
}
},
"to": [
{
"shell_command": "osascript -e 'tell application \"System Events\" to keystroke \"c\" using control down' end tell"
}
]
}
]
}
Hope this helps someone!
from karabiner-windows-mode.
You can set a custom shortcut and target the terminal in vscode.
{
"key": "cmd+c",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "\u0003"
},
"when": "terminalFocus"
}
Note that I have already swapped cmd
with ctl
from karabiner-windows-mode.
I personally got around this problem by excluding VSC from all remappings and then do the mapping inside VSC itself. Then I use ctrl-c to break in Terminal and mac-c to copy.
It's not up-to-date, but my fork is here for comparison. https://github.com/samuelneff/karabiner-windows-mode/tree/sam-additions
from karabiner-windows-mode.
I am also struggling with this very same issue. Have you come to any conclusion?
from karabiner-windows-mode.
@MNorgren Nope, I didn't find any reasonable or comfortable solution. For now, just closing and creating a new terminal in VSC whenever I need it to terminate it 😞
from karabiner-windows-mode.
I just made a change (#58) to use the suggestion of only using left control for the bind. @jedrzejchalubek @MNorgren @WhiteHotLoveTiger, please try the new binding and see if that at least serves as a decent workaround.
There's also the alternative of leaving the IDE's off the CTRL+C binding altogether, meaning CMD+C would have to be used to copy, but that might be a worthy tradeoff? Let me know and we'll work at creating a worthwhile solution.
from karabiner-windows-mode.
It doesn't work well with the PC-Style Copy/Paste/Cut
from karabiner-windows-mode.
Any working solution for this?
from karabiner-windows-mode.
Related Issues (20)
- Why are Terminals exempted? HOT 2
- Dvorak layout doesn't work HOT 8
- @ and ~ keys are still on mac layout HOT 3
- It shouldn't affect code editors and IDEs (vscode, Sublime Text, IntelliJ and Xcode) HOT 6
- Additional command Home,End for terminal and F5 to refresh HOT 1
- Ctrl+click a link on Chrome doesn't open it in a new tab HOT 1
- Ctrl+shift+l doesn't work HOT 1
- Ctrl+Home doesn't work HOT 2
- Emacs doesn't receive control key event. HOT 4
- Language input change HOT 2
- Ctrl + A/C/V/... doesn't work in Vscode HOT 2
- ctrl + alt + arrow shortcut is occupied
- "Win" rule might be broken HOT 1
- Ctrl+left arrow HOT 2
- Most modifications not working HOT 10
- Reporting a vulnerability HOT 1
- iterm2 blocking cmd + number for opening app pinned to dock HOT 1
- mac screen shot no longer works HOT 3
- F1 was doing brightness down now it is zooming out on chrome
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from karabiner-windows-mode.