Questions tagged [hotkeys]

Hotkeys provide quick access to user interface application or system actions via combinatorial key presses.

Good software design assumes no point-and-click device present, and allows the user to access all application commands via the keyboard.

On Windows, main menu shortcuts are usually indicated by it's underlined letter, called a mnemonic. They are activated like so:

  • hold Alt
  • tap the mnemonic
  • release Alt

Menu item shortcuts could have mnemonics as well, and are activated by pressing their mnemonic key (no Alt-modifier necessary at this point). These menu items may also have application-wide shortcuts, normally displayed next to the menu item itself.

Some applications implement system-wide global shortcuts, which activate regardless of which application has the user's focus. These are called hotkeys, so see the [hotkey] tag for those questions.

Shortcuts can consist of a combination of Alt/Option, Ctrl, Shift, (on Macs), and function and character keys. Some applications use key-of-chord like shortcuts, where you press a combination (chord) of the above keys in sequence.

Consult the application's user manual for details on what shortcuts it provides.

Useful Links

1159 questions
43
votes
3 answers

How to change the terminal to the current directory in visual studio code ? (hotkey)

In class we had a hotkey for using the terminal with the currently choosen directory. I fixed an issue now with the debugger and everything seems to run smoothly now. Yet, what hotkey fixes this issue?
Dimitri Williams
  • 628
  • 1
  • 6
  • 18
43
votes
6 answers

Hotkey to open TFS Source Control Explorer in Visual Studio 2012?

Currently I have to open Team Explorer and click on Source Control Explorer as below snapshot. I do this very often and need a hotkey for that. What is it then?
Nam G VU
  • 33,193
  • 69
  • 233
  • 372
40
votes
5 answers

Is there a command in Xcode 4.2 to swap two views in Assistant Editor mode from left to right and vice versa?

I would like to quickly swap two views from one side to the other and wonder if there is a hotkey for this functionality?
pdenlinger
  • 3,897
  • 10
  • 60
  • 92
40
votes
9 answers

Visual Studio: hotkeys to move line up/down and move through recent changes

I'm moving from Eclipse to Visual Studio .NET and have found all my beloved hotkeys except two: in Eclipse you can press ALT-← and ALT-→ to visit recent changes you have made, something I use frequently to go back to where I was in some other file…
Edward Tanguay
  • 189,012
  • 314
  • 712
  • 1,047
40
votes
6 answers

AngularJS ng-keydown directive only working for context?

I am pretty new to AngularJS but found it quite to my liking so far. For my current project I need hotkey functionality and was happy to see that it is supported since the 1.1.2 release. The ng-keydown directive…
Lukas N.P. Egger
  • 923
  • 2
  • 9
  • 12
38
votes
6 answers

How can I hide and unhide the project folder tree in sublime-text

I can no longer see the project folder navigation tree on the left side of my interface. I suspect I have hit some shortcut by accident that made it go away. What are the shortuts to make the project folder navigation tree hide and unhide in…
Dave Gault
  • 381
  • 1
  • 3
  • 3
36
votes
5 answers

Xcode fix-it shortcut

I am wondering is there any shortcut or hotkey that can apply the fix-it suggestion from Xcode? (Xcode 7) In Android Studio, we can just use ctrl+enter to apply the correction. Is there anything similar to that in Xcode? some ref:…
Yao
  • 709
  • 2
  • 11
  • 22
35
votes
3 answers

Global Hotkey with X11/Xlib

My goal is to have a program that sleeps in the background but can be activated by the user via some "hotkey". From digging around the Xlib manual and the Xlib O'reilly manual, I gather that the correct way to to this is with XGrabKey. However my…
cheshirekow
  • 4,797
  • 6
  • 43
  • 47
35
votes
6 answers

Hotkey to end the line with a semicolon and jump to a new line in Sublime Text 2

I'm trying to figure out a hotkey at work. I just got this job and I am using a Mac for more or less the first time in my life. Back home on my Laptop, when using Eclipse, I seem to remember there being a single hotkey which would both: Add a ; to…
Samuel Stiles
  • 2,118
  • 5
  • 22
  • 27
34
votes
3 answers

XCode Show Function Parameters Hotkey

One of the few things I haven't figured out how to do in XCode that I could do in Visual Studio is list the parameters of a function. I've Googled this a few times now, and still haven't found an answer. If I start typing out, for example round( I…
Mr. Smith
  • 4,288
  • 7
  • 40
  • 82
32
votes
4 answers

Is it possible to Command-click a symbol into a new tab in Xcode?

I am searching for a keyboard shortcut that allows me to combine 'Cmd-t' (open new tab) and 'Cmd-click on a symbol' (jump to definition). I want to be able to open the symbol definition in a new tab, much like Cmd-click (Ctrl-click on Windows) opens…
kraftydevil
  • 5,144
  • 6
  • 43
  • 65
31
votes
2 answers

Is there any shortcut for CodeBlocks to format the code?

Is there any shortcut for CodeBlocks to format the code? I haven't find any tip in google. I found only "format use AStyle", but it come up with right mouse button only...
Twi
  • 765
  • 3
  • 13
  • 29
31
votes
8 answers

Switching between Chrome browser windows

I want to create a gesture for StrokesPlus that will switch between the Google Chrome windows. Of course it is possible to switch with Alt + Tab, but I don't want to see other programs that are running. It seems like in Mac OS there exists cmd +…
trante
  • 33,518
  • 47
  • 192
  • 272
26
votes
3 answers

Implement a global hotkey in golang?

Let's say someone wants to create a cross-platform (Mac, Linux, Windows) global hotkey in Go (golang) - you press a hotkey combination anywhere in OS and let's say something is printed in terminal. Currently, (July 2016) I haven't found any library…
Slava V
  • 16,686
  • 14
  • 60
  • 63
25
votes
4 answers

Find usages of primary constructor of a Kotlin class

Imagine you have a super important and widely-used class in your Kotlin-based project. It has the only constructor which is defined like that: class MyAwesomeManager(argOne: String, argTwo: String) For some reason, you need to quickly find all uses…
AlexeyGorovoy
  • 760
  • 5
  • 23
1
2
3
77 78