DarthJarJar

Q: Keyboard shortcuts in Mac Terminal

I'm trying to change the keyboard shortcuts in Mac Terminal app for some functions like selecting next tab, selecting previous tab and killing a process. Under System Preferences > Keyboard > Shortcuts > Shortcuts > App Shortcuts > Terminal > + > "Menu Title" > "Keyboard Shortcut"

 

Keyboard Shortcut :: Menu Title

Control-Tab :: Select Next Tab

Control-Shift-Tab :: Select Previous Tab

⌘C :: Kill Process/Abort/KeyboardInterrupt


None of them have worked. I am assuming the problem is mismatch of the menu title. How can I get the exact menu title used for the functions?


OS: Mac OS X El Capitan

MacBook Air (13-inch, Early 2015), iOS 9.2

Posted on Jan 8, 2016 6:17 AM

Close

Q: Keyboard shortcuts in Mac Terminal

  • All replies
  • Helpful answers

  • by BobHarris,

    BobHarris BobHarris Jan 8, 2016 6:30 AM in response to DarthJarJar
    Level 6 (19,405 points)
    Mac OS X
    Jan 8, 2016 6:30 AM in response to DarthJarJar

    I was able to get Control-Tab and Control-Shift-Tab working using the wording you specified.  Exact capitalization and extra spaces, etc...

     

    I do not know where you saw "Kill Process/Abort/KeyboardInterrupt" as a menu item.  I looked and could not find it.


    Also Command-C is the global Copy selected text.  You can remap it, but I just do not know what menu you were looking at to get "Kill Process/Abort/KeyboardInterrupt".  Maybe a screen shot.


    Of course it does make me wonder why Control-C (the standard on every Unix platform to kill the current command) is more difficult than Command-C to use to kill the current process.  You are willing to use Control when switching tabs, but not to kill a process?


    Other thoughts.  Do you have any kind of other key mapping software installed that would interfere with your mappings?

  • by DarthJarJar,

    DarthJarJar DarthJarJar Jan 8, 2016 6:44 AM in response to BobHarris
    Level 1 (2 points)
    Jan 8, 2016 6:44 AM in response to BobHarris

    I overlooked the mapping of Command-C with Copying selected text. I guess it is safe to live with Ctrl-C for aborting a process.

     

    However, the other two functions, for switching between tabs are not working. I have tried quitting the terminal and restarting it again. Still fails to work. Any guesses?

  • by BobHarris,Solvedanswer

    BobHarris BobHarris Jan 8, 2016 11:21 AM in response to DarthJarJar
    Level 6 (19,405 points)
    Mac OS X
    Jan 8, 2016 11:21 AM in response to DarthJarJar

    However, the other two functions, for switching between tabs are not working. I have tried quitting the terminal and restarting it again. Still fails to work. Any guesses?

    It worked for as soon as I entered the System Preferences -> Keyboard -> Shortcut for Terminal.  It did NOT need to restart anything to get it to work.

    Screen Shot 2016-01-08 at 2.18.52 PM.png

    So After starting from scratch and carefully entering the menu entries, if it does not work, then boot into Safe mode and see if it works that way

    <http://support.apple.com/kb/ht1564>

    This will make sure there are no 3rd party additions interfering with your shortcuts.

     

    After that, create a new account via System Preferences -> Users & Groups, and see if it works from that account.  This would isolate if there is something about your normal account that is affecting the shortcuts.

  • by DarthJarJar,

    DarthJarJar DarthJarJar Jan 8, 2016 11:27 AM in response to BobHarris
    Level 1 (2 points)
    Jan 8, 2016 11:27 AM in response to BobHarris

    Aah....it is 'Show' instead of 'Select'. That was the difference. Now it worked. Thanks.