Shortcut refers to a short or small path for reaching somewhere rather than the original and longer one.
Questions tagged [shortcuts]
431 questions
422
votes
8 answers
How do I close all open tabs at once?
If I have 10 tabs opened, I have to close each one using ":q" separately.
How can I close them all at once?
![](../../users/profiles/7205.webp)
Srikanth
- 11,148
- 20
- 64
- 87
162
votes
4 answers
How to disable zoom on Ctrl+scroll in Visual Studio 2010?
Visual Studio 2010 adds a zoom setting on the bottom left of the text editor (to the left of the horizontal scroll bar) and also adopts the Ctrl+mouse scroll idiom for zooming in and out.
The former is fine, but I dislike the latter as I am…
![](../../users/profiles/1512.webp)
Lawrence Johnston
- 58,608
- 40
- 113
- 181
84
votes
10 answers
Run a Command Prompt command from Desktop Shortcut
Is it possible to create a desktop shortcut that, when pressed, will open command prompt and run a pre-defined command?
![](../../users/profiles/773263.webp)
Philip Kirkbride
- 17,347
- 30
- 101
- 195
83
votes
3 answers
Wix create non advertised shortcut for all users / per machine
In WIX, how do you create a non advertised shortcut in the allusers profile? So far I've only been able to accomplish this with advertised shortcuts. I prefer non-advertised shortcuts because you can go to the shortcut's properties and use "find…
![](../../users/profiles/135280.webp)
mcdon
- 4,648
- 3
- 34
- 36
76
votes
10 answers
Open Powershell in a specific directory from shortcut
This sounds like it should be so simple... I must be dumb.
All I want is to make a windows short-cut that opens Powershell into a specific directory:
I'm using the target:
%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe
-noexit…
![](../../users/profiles/316300.webp)
Dave Bish
- 17,987
- 6
- 40
- 60
70
votes
15 answers
Making a Windows shortcut start relative to where the folder is?
I have a game that uses this file structure:
GAME FOLDER
->data
->data->run.bat
I want to put a shortcut to run.bat in GAME FOLDER, but if I move it, or someone else installs it it won't work, because the target is wrong. Is there a way to make the…
![](../../users/profiles/62122.webp)
William
- 8,162
- 23
- 73
- 106
54
votes
3 answers
What is the shortcut key for Run to cursor
What is the shortcut key for Run to cursor in Visual Studio 2008?
![](../../users/profiles/3854.webp)
automatic
- 2,647
- 2
- 33
- 29
45
votes
4 answers
Visual Studio Key Strokes: Swapping lines
Is there a keystroke in visual studio similar to Eclipse's Alt + ↑/↓?
For example:
int x = 0; // Cursor is anywhere on this line.
int y = 1;
and Alt + Down were pressed, then:
int y = 1;
int x = 0; // Cursor is anywhere on this line.
![](../../users/profiles/391618.webp)
T.K.
- 2,059
- 5
- 21
- 25
39
votes
4 answers
Can I set an environment variable for an application using a shortcut in Windows?
I have a feeling I should be able add a directory to the PATH environment variable on an application-lifetime basis, but I can't find out how to do this. Is it possible to add a parameter to a Windows shortcut that appends a directory to the current…
![](../../users/profiles/366203.webp)
user366203
- 393
- 1
- 3
- 4
39
votes
5 answers
Binding a WPF ShortCut Key to a Command in the ViewModel
I have a WPF app that is using the MVVM pattern. Hooking up buttons to the VM is pretty straight forward since they implement the ICommand. I have a context menu that works similar. The next step is to create shortcut keys for the context menu. I…
![](../../users/profiles/78331.webp)
Bill Campbell
- 2,243
- 6
- 24
- 32
38
votes
4 answers
How can I make another button highlighten on popup window on Mac by using Keyboard
On the above shown asking popup window on Mac, how can I select another button (left button) by using keyboard.
Without clicking mouse button, I want to make left button highlighten.
Is there any shortcuts?
![](../../users/profiles/360057.webp)
alones
- 2,788
- 2
- 24
- 30
36
votes
6 answers
Eclipse Organize Imports Shortcut (Ctrl+Shift+O) is not working
Eclipse used to import missing packages when I press Ctrl+Shift+O.
The shortcut key has stopped working when used in Java files but the same shortcut is working in Python files (importing missing packages).
Any thoughts on how to fix the issue.…
![](../../users/profiles/3259505.webp)
Jagadeesh
- 387
- 1
- 3
- 9
35
votes
5 answers
VIM: available shortcuts?
I use many shortcuts for my work in vim.
Other shortcuts are taken by plugins.
Sometimes I would like to add a shortcut for a new command but note afterwards that the shortcut was already taken.
Is there a way to see a list of all available…
![](../../users/profiles/662967.webp)
Reman
- 7,319
- 9
- 47
- 83
35
votes
4 answers
Editing shortcut (.lnk) properties with Powershell
I've found a nasty VBS way to do this, but I'm looking for a native PoSh procedure to edit the properties of a .LNK file. The goal is to reach out to remote machines, duplicate an existing shortcut with most of the correct properties, and edit a…
![](../../users/profiles/44831.webp)
Doug Chase
- 591
- 3
- 7
- 15
28
votes
5 answers
Xcode - open current file in a NEW window (a real challenge !)
Say you have File.m showing in the blue area above.
I want File.m to open in a new separate window.
How to do this??
Note that - of course - IF you have the ProjectNavigator showing and IF you can see the filename "File.m", then double-click on the…
![](../../users/profiles/294884.webp)
Fattie
- 30,632
- 54
- 336
- 607