keyboard-shortcuts

In OS X (lion) how can I find whether a key combination is in use as a keyboard shortcut?

有些话、适合烂在心里 提交于 2020-01-02 19:14:30
问题 I want to put a bunch of keyboard shortcuts in my app (OS X lion) so I can do most things from the keyboard. There are of course a bunch of lists of hot key combos in use already, including the one in the HIG. Is there some utility that can be used to type a key combination and find out if it already means something (either globally, or mac standard -- I'm not too worried about reusing some special combo used by another app -- or should I be?)? 回答1: You can use Carbon to do this. Don't be

Add keyboard shortcut to open Builds view in Visual Studio 2012

点点圈 提交于 2020-01-02 14:55:25
问题 I am wondering if there is Visual Studio command for showing the Builds view in Team Explorer, so that I can bind a keyboard shortcut to it. For example, I was able to create CTRL + W , CTRL + G shortcut bound to View.TfsPendingChanges command which shows directly Pending Changes view within Team Explorer. EDIT: As it is not obvious from the answer, the command TeamFoundationContextMenus.Commands.GoToBuilds is the one I was looking for. 回答1: There is a command. Tools > Options > Environment >

Keyboard shortcut for Show All Files

微笑、不失礼 提交于 2020-01-02 08:22:25
问题 Has anyone found a keyboard shortcut for the "Show All Files" in the Solution Explorer ? And a related question ... is there any tool that can show the keyboard shortcut for any operation you're doing in VS ? Cheers, SteveC. 回答1: There is none by default. But: Go to Tools / Options / Environment / Keyboard. In 'Show commands containing", type: showall Scrolling in the list of commands reveals: Project.ShowAllFiles . Select it and type the shortcut you want in the "Press shortcut keys" edit

Move to the end of line character in Vi, past the last character in the line

喜夏-厌秋 提交于 2020-01-02 01:54:09
问题 How come in Vi, when I hit $ , it goes to the last character in the line instead of the end of the line character? How would I go to the end of the line character in one keystroke, and what is the fastest way to delete the end of the line character? 回答1: How come in Vi, when I hit $ , it goes to the last character in the line instead of the end of the line character? Because that’s sufficient for anything you might want to achieve. How would I go to the end of the line character in one

Copy and pasting multiple items to the clipboard in IntelliJ IDEA

吃可爱长大的小学妹 提交于 2020-01-02 01:02:17
问题 In IntelliJ IDEA, is it possible to have multiple items in your clipboard and choose which item to paste? What are the keyboard shortcuts? 回答1: Yes, it is possible. Whilst Ctrl + V is normally used to paste, use Ctrl + Shift + V (IntelliJ Default Key map) which will bring a pop-up of the items in the clipboard to paste. The default size of the clipboard is 5; it will show the last five things have have been copied. The option to change this is called "Maximum number of contents to keep in

Moving focus to next tab group in Visual Studio 2008/Visual Studio 2010 via the keyboard?

倖福魔咒の 提交于 2020-01-02 00:48:23
问题 Is it possible to move to the next vertical tab group in Visual Studio 2008 or 2010 by using the keyboard? There are commands for moving the active window to the next or previous tab group, but I couldn't find one for moving the focus from one tab group to the next. The only workaround that I found is by using DPack's File Browser dialog, but it requires a lot of keystrokes and they depend on the name of file in the currently active windows in the tab groups. 回答1: The VSStreamliner extension

vscode: Open file instead of previewing file from quick open

久未见 提交于 2020-01-02 00:20:34
问题 When I open up the Command Palette ( Ctrl or Cmd + P ), type in a filename and hit Enter , the file will automatically be opened in Preview mode. Open File Permanently What I want is to have an option to open a file permanently from the Command Palette. I am aware of the "workbench.editor.enablePreviewFromQuickOpen" settings, but that will disable Preview mode. For example, selecting a file in the Command Palette and hitting Ctrl + Enter will open the file as Preview in a new Split view. I am

Visual Studio 2010: How Can I remap F2 to Rename File rather than Open Object Browser

岁酱吖の 提交于 2020-01-02 00:13:19
问题 In Visual Studio 2010 Solution Explorer tree view, how can I remap the F2 key to Rename the Selected File rather than open Object Browser? 回答1: Do the following Tools -> Options Expand Environment and select Keyboard Type "File.Rename" into the text box Put the Focus on the "Press Shortcut keys" box and hit F2 Click Assign 回答2: I don't know about you, but in my copy of VS2010, F2 in the Solution Explorer DOES rename the file. What exactly do you have selected when you hit F2 ? 回答3: To enable

Visual Studio 2010: How Can I remap F2 to Rename File rather than Open Object Browser

…衆ロ難τιáo~ 提交于 2020-01-02 00:13:03
问题 In Visual Studio 2010 Solution Explorer tree view, how can I remap the F2 key to Rename the Selected File rather than open Object Browser? 回答1: Do the following Tools -> Options Expand Environment and select Keyboard Type "File.Rename" into the text box Put the Focus on the "Press Shortcut keys" box and hit F2 Click Assign 回答2: I don't know about you, but in my copy of VS2010, F2 in the Solution Explorer DOES rename the file. What exactly do you have selected when you hit F2 ? 回答3: To enable

How to map arrow keys with an AutoHotKey script like Vim?

╄→尐↘猪︶ㄣ 提交于 2020-01-01 19:41:54
问题 Referring to question Windows 7 Map CTRL + j to the Down Arrow Key How can I map the arrow keys with AutoHotKey like vim? Ctrl+h = Move left Ctrl+j = Move down Ctrl+k = Move up Ctrl+l = Move right 回答1: Make an AutoHotKey-script like this: ^h:: Send, {Left down}{Left up} Return ^j:: Send, {Down down}{Down up} Return ^k:: Send, {Up down}{Up up} Return ^l:: Send, {Right down}{Right up} Return 来源: https://stackoverflow.com/questions/31425458/how-to-map-arrow-keys-with-an-autohotkey-script-like