11

Please read my answer and bmike's comment before voting to close. Someone is going to come along and say I should just learn Mac shortcuts, but I must say I use Chromebooks, Windows, & Linux boxes and they all put the Ctrl/Cmd in the bottom left and right hand corner of the computer. I'm sorry but changing one operating system is way easier then changing the other three (especially considering the speed lag of some softwares.)

To alleviate the most common keyboard shortcuts, I have the left Ctrl mapped to the Cmd on my Apple computer. And have switched the right Cmd and Opt (Alt) on the right hand side. I then switched Cmd and Ctrl again in iTerm (a very well made application).

Now unfortunately Ctrl+Tab no longer works to switch between browser tabs. Well, tabs in any application actually.

I would like Cmd+Tab = Ctrl+Tab and Cmd+Tab+Shift = Ctrl+Tab+Shift.

I am on El Captain using Karabiner Elements and would prefer to stay away from Karabiner (the older version).

4
  • 1
  • @Allan I have remapped manually all the shortcuts in the answer above. I just can't do the Cmd+Tab = Ctrl+Tab myself. This is about a specific shortcut. I would like to add that is not answer at all(mac is the outlier here.)
    – William
    Aug 21, 2018 at 0:30
  • 1
    Yes. Let’s leave this open since it’s super interesting how to only remap these two combinations and not just swap all instances of command with control. The link to the similar question is solid and should remain as they are close cousins indeed.
    – bmike
    Aug 21, 2018 at 2:39
  • @bmike for those that type on Dvorak cmd QWERTY is some desire to do it the way I have listed. I should have concluded that with the question.
    – William
    Jul 10, 2021 at 21:34

1 Answer 1

6

Here is the JSON to remap these keys only.

https://ke-complex-modifications.pqrs.org/?q=swap%20command%20control%20shift%20with%20optional%20shift

If you save the following as a HTML file onto the Desktop and save the t.json above as a t.json file it should let you add as a modification.

<script>
var t = document.location.href.split('/');
t.pop();
t.push('t.json');
t.shift();
t.shift();
t.shift();
var url = 'karabiner://karabiner/assets/complex_modifications/import?url=file%3A%2F%2F%2F'+encodeURIComponent(t.join('/'));


document.write('<a href="'+url+'">Add Modification</a>');

</script>
4
  • 3
    For those new to Karabiner and MacOS like myself: Save the JSON file under ~/.config/karabiner/assets/complex_modifications and then it will be automatically imported when adding a rule under the complex modifications tab. May 14, 2019 at 18:17
  • ok, this is nice, but WHERE are you supposed to paste this into?
    – ahnbizcad
    Jul 9, 2021 at 21:36
  • @ahnbizcad check the comment above. karabiner-elements.pqrs.org/docs/json/location go to terminal and type cd ~/.config/karabiner/assets/
    – William
    Jul 9, 2021 at 21:43
  • @ahnbizcad then type pwd and enter to get path of file
    – William
    Jul 10, 2021 at 17:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .