Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [shortcut]

Series of one or several keys that invoke some software/os action when triggered by the user

60
votes
12answers
57k views

Keyboard shortcut for locking screen in macOS Sierra?

In previous versions of OSX, I could use Ctrl Shift Power on my built in keyboard, or Ctrl Shift Eject on my (old) Apple bluetooth keyboard to lock the screen. After upgrading to Sierra, that ...
50
votes
9answers
22k views

Can I create a shortcut to open a specific application on OS X?

I want to create a keyboard shortcut to i.e. open Firefox while I am working in another application. I know I can use ⌘ CMD+T when I am in Firefox to open a new tab. I haven't found a way to create ...
39
votes
6answers
9k views

Can I globally change the cmd-Q shortcut to require holding for two seconds, like the option in Chrome?

Many, many times, I accidentally press ⌘+Q when I meant to close a tab or window, or switch applications. When I saw the option in Google Chrome to require the shortcut to be held, I was overjoyed. ...
36
votes
7answers
28k views

I've somehow enabled overtype mode in Slack and I can't get back to insert mode

No, dear readers, as the Internet might have you believe, none of these things work on a 2017 Macbook Pro, the kind with the touchbar: Fn+Enter Fn+M Fn+. Fn+Option+Enter Somehow, someway, when I was ...
35
votes
2answers
15k views

Customise Touch Bar for a specific application

So I've been using the MacBook Pro with Touch bar for a week and the Touch Bar seems pretty convenient. However, I haven't found an option to customize the Touch Bar for a specific app. For example, ...
32
votes
11answers
36k views

What is a quick way to duplicate a tab in Safari?

Is there a quick way or shortcut to duplicate a tab in Safari?
29
votes
3answers
30k views

Creating System-Wide Keyboard Shortcut To Launch Applications [duplicate]

I recently switched from Ubuntu, and I was feeling very comfortable with using Ctrl + Alt + T to launch terminal. Can I assign Shift + Cmd + T to do the same thing in Yosemite? Specifically, I want a ...
23
votes
3answers
10k views

Keyboard shortcut to dismiss notifications

I'd like to be able to dismiss and open notifications with the keyboard (Not talking about opening/closing the notification center) Is this possible? And if so, how?
22
votes
11answers
20k views

Maximize windows just like Windows on OS X

I have owned a MacBook Pro for a year, however at work I use a Windows laptop. Since I really like the functionality to maximize a windows by just pushing it to the top of the screen, I would like to ...
22
votes
4answers
25k views

Keyboard shortcuts for switching Spaces?

I have a laptop and a desktop both running 10.11.1; on the laptop I found a way to set up Spaces so that CTRL-1 would take me immediately to screen 1 and similarly for all the other screens. I rely ...
21
votes
3answers
11k views

How can I remap Caps lock to both Escape and Control?

I generally run Linux. I use Vim a lot, so the Escape key is extremely important. I also use other keyboard shortcuts a lot, so Control is "key" as well. On Linux, I've solved this by using xcape to ...
20
votes
9answers
8k views

Is it a good practice to create a desktop shortcut on mac?

I have been installing some popular software for Mac and observed that installation packages do not create a desktop shortcut as they often do on windows. What is good practice to follow: Should I ...
20
votes
1answer
3k views

Selecting text while jumping with cursor in iTerm2

I would like to know if it is possible to get text-editor-like functionality for selecting text in iTerm2. For example, in Sublime Text 3, I can do the following: ⇧ ⌥ → = Select ...
19
votes
4answers
27k views

Keyboard shortcut for powering down MacBook Pro with Touch Bar?

I received my new MacBook Pro with Touch Bar today and quickly realized that the shortcut ctrl+alt+cmd+power (documented here under 'Sleep, log out, and shut down shortcuts') no longer works for ...
17
votes
8answers
28k views

How to automatically trigger a iOS Shortcut (based on location/calendar)

I've done a lot of research and it looks like the only way to run Apple iOS shortcuts is manually - i.e. you have to manually do the trigger - either by pressing a button, getting Siri to do it (by '...
16
votes
1answer
19k views

iterm - what's the key-combo to switch panes?

I've learned how to split my terminal windows with apple-d and apple-shift-d. Its very useful. How do I then switch between the two panes (see below) using the keyboard? I know I can use the mouse ...
16
votes
2answers
8k views

How to pause YouTube video via keyboard shortcut or from menu bar?

Is there a piece of software that allows one to pause (& un-pause) a currently playing YouTube video (or, ideally, any online video/audio media), with a keyboard shortcut or a conveniently ...
15
votes
4answers
56k views

List of emoji substitutions for Messages in Mac OS X

I use the Messages application a lot on my Mac Book Pro. It is lovely! Since most of my friends uses iMessage I could send messages directly to them on their phones. I use emojis a lot. I know some ...
14
votes
2answers
2k views

How to type a long/em dash `—`

When writing emails and articles I often find myself in the need to use a long/em dash — character, not to be confused with the hyphen - character. Normally what I end up doing is I type two ...
14
votes
3answers
8k views

Warn before quitting in Safari

Is it possible to activate some safety check, like "Warn Before Quitting" in Chrome, to quit Safari? Sometimes we can press ⌘Q by mistake, and it's a pain to have the entire application closed.
13
votes
6answers
16k views

Is there a keyboard shortcut for 3 fingers slide?

I really like having applications in full screen mode and switch between them using the 3 finger swipe feature. But can I have a shortcut for it? Maybe like command + -> , something like this?
13
votes
3answers
3k views

Find which process receives a given keyboard command

I'm trying to figure out why a certain keyboard combination is no longer working. As an example, Sublime Text 2 ships with a keyboard shortcut for opening the Find/Replace panel: Command + Option + ...
12
votes
3answers
14k views

Changing the shortcut for highlighting text in Preview

How do I change the keyboard shortcut for highlighting text in Preview (OS X Yosemite)? By default it is Ctrl+Command+H, but I'd prefer a different combination (maybe Ctrl+E) as that’s easier to use. ...
12
votes
3answers
2k views

OS X keyboard shortcut precedence

I'm new to Apple, and while the experience has largely been positive, I have been stymied trying to configure keyboard shortcuts to my specifications. For example, I used a rather round-about process ...
11
votes
4answers
12k views

How can I re-enable the (display) sleep shortcut on macOS Sierra?

After upgrading to macOS Sierra the sleep keyboard shortcut doesn't work anymore. How do I re-enable it? [Edit] I was using (cmd+opt+eject) before, apparently it's (ctrl+shift+eject) after the ...
11
votes
1answer
739 views

Sync keyboard shortcuts between macOS computers

I have a couple of custom shortcuts defined using System preferences > Keyboard > Shortcuts and I want to sync those between my two Macs. It seems, this is still not possible using iCloud. Are there ...
10
votes
1answer
19k views

Use F12 to open Developer Tools on Chrome

I have already configured so that F keys act as "standard function keys" (just regular F1-F12). How can I configure F12 to open the Developer Tools on Chrome?
10
votes
1answer
4k views

How to mute a FaceTime iPhone call on OS X through a shortcut?

When using FaceTime on OS X 10.10 to initiate a call using the iPhone, is there a shortcut that allows me to mute the call from the keyboard? Is there a keyboard shortcut (or a way to setup a ...
10
votes
2answers
2k views

How do I change Mission Control shortcuts from the command line?

I have been trying to figure this out for a long time. I have a pretty typical Mac OS provisioning script: https://gist.github.com/ryanpcmcquen/b2e608311f286a4ab3e1 I would like to change the ...
10
votes
4answers
10k views

Keyboard shortcut not working in yosemite

Here is the screen shot and it's not working anymore after upgrading to Yosemite NOTE: Although if I add this shortcuts under all applications then it works. I don't know why it's not working, wasted ...
9
votes
2answers
12k views

How can I map the “Eject” key on a Microsoft keyboard or create a new shortcut for locking my screen?

I like using Control + Shift + Eject to lock my screen quickly. The Eject key does not exist on my Microsoft keyboard, and there does not seem to be easy way to do map another key to that key through ...
9
votes
5answers
11k views

Keyboard shortcuts not working in Safari and Firefox after update to Yosemite

After updating two distinct Macs (a MacBook Air and a Mac Mini, both using the same iCloud account) from Mavericks to Yosemite, I noticed the following weird bug: All keyboard shortcuts in Safari and ...
9
votes
1answer
5k views

How can you assign a custom shortcut to stop a QuickTime screen recording?

I am looking to record my screen using QuickTime on my Mac, but stopping a screen recording requires you to press ControlCommandEsc. I would like to know if it is possible to create a custom keyboard ...
8
votes
2answers
1k views

Is it possible to enter emojis directly using a keyboard shortcut?

I would like to enter emojis directly from the keyboard. E.g. that I type ‘:D’ and it gets converted to ‘😀’. Is that possible? I know about the control + command + space shortcut to open the emoji ...
8
votes
2answers
8k views

How to set ⌘ + H to enable show hidden files

I want my Mac to show hidden files when i hit ⌘ + H (like ubuntu). I can see hidden files by putting this defaults write com.apple.finder AppleShowAllFiles YES command in terminal but i want to get a ...
8
votes
2answers
3k views

Keyboard shortcut for service only works after I manually run the service

After I assign a keyboard shortcut to initiate a service in System Preferences, I press the keyboard shortcut and nothing happens. I have to first click on the service title under the services menu (...
8
votes
4answers
44k views

What is Format Painter shortcut in Excel 2011 for Mac?

I've been looking on the Internet for the shortcut to the Format Painter tool. No luck so far, it seems there's no shortcut for this tool. Maybe someone here knows better.
8
votes
5answers
13k views

Windows-Logo-Key + Left/Right Arrow — Keyboard shortcut equivalent on Mac

I have both a mac and a PC. One simple extremely useful feature on PCs that I can't find on a mac is the shortcut Windows+RightArrow to maximize the active window, but only take up exactly the right ...
8
votes
2answers
3k views

Open a link in Safari with a keyboard shortcut

In Safari, is it possible to navigate through links on the webpage by means of the keyboard? For example, I made a search in Google and would like to open the first or second link from the web ...
7
votes
2answers
12k views

Open terminal via AppleScript

I'm tring to write a shortcut script in spark for opening the terminal. on run {input, parameters} tell application "Utilities/Terminal" // tried Utilities:Terminal and Terminal too reopen ...
7
votes
2answers
3k views

When can they use ESC to close windows?

So, I coincidentally noticed the following behavior: Some windows can be closed by pressing the esc key, like the Preference window in any app or the 'Safari help' window or the 'Fonts' window in ...
7
votes
4answers
9k views

MBP Touch Bar Mirror Displays Keyboard Shorcut

On the new macbooks with the Touch Bar, what keyboard shortcut can be used to mirror displays? On Macbook Pros without the touchbar, the keyboard shortcut for mirroring displays was Command+F1. This ...
7
votes
1answer
828 views

Paste path into File Open/Save Dialog?

How do I paste a file path into a standard file open/save dialog? I have googled this and found articles that say that the normal ⌘ CMD-V will work, however it does not work for me. I'm ...
7
votes
3answers
1k views

How do I get Safari to search all tabs from all Safari windows in the Tab Overview, instead of only those in the current window?

When I press the shiftcommand\ keyboard shortcut, it goes into 'expose' mode and allows to search thru only the tabs in the current window, not all windows. It would be super handy to be able to ...
7
votes
3answers
3k views

Is it possible to enable OSX keyboard text substitution in more apps?

OSX has built into text substitution that is configured in System Preferences > Keyboard > Text. This works great in certain apps, such as Evernote and Textedit, but seems to be disabled in other apps/...
7
votes
5answers
3k views

How to toggle with grayscale in Yosemite?

I prefer greyscale over inverting color when working in low light plus in general as its less strain on the eyes. But its too many clicks to toggle the settings. I am aware that to invert display ...
7
votes
1answer
506 views

How do I access workspaces by number on macOS Sierra?

I'm running macOS Sierra 0.12.3 (16D32). By exploding the desktop (four finger swipe up on trackpad) and then moving the mouse to the top bar I can create/update/destroy my workspaces. With a four-...
6
votes
3answers
1k views

Any other way to move cursor to the end of line, instead of <Cmd>+<right-arrow>

Cmd + → is not finger-friendly for me. So I wonder any other way without the 4-arrow-key to do the same, any one will be appreciated. System: MacOS X El Capitan Version 10.11.6 Usage: move the ...
6
votes
4answers
5k views

Keyboard shortcut to change tabs in terminal not working anymore in yosemite

I've set up a custom shortcut for Terminal to change tabs: cmd+option+left/right (the same as in most browsers, for convenience). I did this by going to System Preferences > Keyboard > ...
6
votes
2answers
383 views

Replace keyboard shortcut for ⌥ + d

I want to replace the keyboard shortcut for ⌥Option + d = ∂ with ⌥Option + d = ð How can I do that?