keyboard-shortcuts

Can emacs differentiate between ctrl-r and ctrl-shift-r?

I'd like to bind ctrl-r to 'isearch-backward and bind ctrl-shift-r to 'tags-apropos but I can't distinguish between the two key presses. Can emacs differentiate between ctrl-r and ctrl-shift-r? What should go into my .emacs file to allow this keybinding? ...

Visual Studio - quick key or snippet for <% %>

My goal is to be able to quickly type this: <%= %> Can anyone suggest a way to make it easier within Visual Studio to insert the HTML code escape block. (I am not even sure the name of this piece of code!) I realize that typing <% in the code editor will autocomplete the escape block for me, but perhaps there's an easier way to input...

Create macro to reset all keyboard bindings Visual Studio 2008

I have a macro to import keyboard settings into Visual Studio 2008. Before I import the key bindings I would like to reset all current bindings. I know this can be done manually through import and export settings, but I would like the macro to do this for me. Any help much appreciated. Cheers, Rob ...

Code complete keyboard shortcut in NetBeans on MBP

Just got a MBP and I cannot figure out the shortcut for code completion. Its says ^-space but what is the "^" character? ...

Xcode's Change Case of Letter shortcut doesn't seem to work

In Preferences->Key Bindings->Text Key Bindings Xcode has a "Change Case of Letter" key binding. However, when I assign a shortcut to this binding and then attempt to utilize it to swap the case of a letter in one of my source code files, it doesn't seem to do anything. I've tried positioning the cursor before and after the letter, and...

Multimedia Key Assign

Im running a ddell studio 17 and use winamp to play music. all the media keys such as play pause etc work fine. The media button when pressed does not do anything. Is there anyway i could get the media button to launch winamp wen pressed? ...

Way to see assigned visual studio shortcuts with given prefix

Is there a simple way to see assigned shortcuts with given prefix? Something similar to emacs CTRL+M, CTRL+H. I can do it in following way, but hope, that there is more simple solution: Tools -> Customize -> Keyboard In "Press shorcut keys" press given prefix (say CTRL+M) In "Shortcut currently used by" combo-box there is a list of ass...

Using command as ctrl in a Mac OS X terminal

I'd like to have my command key work as a ctrl key in the Mac OS X terminal. That is, I want "command-c" to do the same thing as "ctrl-c". Does anyone know of a way to do this? Specifically, I would really like this to work in emacs. Emacs uses a LOT of ctrl key bindings and reaching for the control key is beginning to strain my wr...

Is there a better shortcut for "move to next suggestion" in Xcode

In Xcode, if I type nsmut then escape, I'm offered a number of NSMutable suggestions (NSMutableArray, NSMutableSet, etc). I use the arrow keys to get the one I want. This forces me to take my fingers off the home keys. I was wondering if there's another keyboard shortcut to select the next and previous selection in the dropdown menu th...

keyboard shortcuts do not work when adding a form to a panel c#

I am writing an application where I have a form with a panel. I have noticed that when I add another form to the panel, that the added form's keyboard shortcuts stop working. I am using the following code : MainMenu m = new MainMenu(); m.TopLevel = false; m.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; m.Dock = System.Wi...

Can I make Textmate completions ignore capitalisation?

I've used Textmate for a couple of years, but for objective-c I'm finding that Xcode is easier. One of the reasons I like Xcode is that I can type "nsui" and it will suggest NSUInteger for me. If I want the same thing in Textmate, I have to type "NSUI" since the start of the suggestion I want is all capitalised. Textmate won't match the ...

Outlook macro to jump to (open) IMAP Inbox

I am using Outlook to sync mail with GMail via IMAP. Unfortunately, Outlook's default shortcut to go to the Inbox (Shift+Ctrl+I) opens the original Inbox, not the new default IMAP Inbox (which I have specified as the new Outlook default e-mail account). I'd like to create a macro that I can bind to another keystroke, which will open th...

How to hijack key combos in javascript?

In gmail, for example, when one presses CTRL+B, instead of it getting passed to the browser (which would normally bring up some sort of bookmark manager), it hijacks it for formatting purposes, i.e. turn on bold formatting for the message ur in the middle of comoposing. Same for C-i, C-u. How is this done? ...

What is the difference between `global-set-key` and `define-key global-map` in Emacs

If you had two snippets: (global-set-key "\C-d" delete-char) and (define-key global-map "\C-d" delete-char) Is there a difference between the two? If so, when would you use one over the other? ...

ASP.NET MVC Ajax - Is it possible to execute a -GENERATED- Ajax link with keyboard input?

Is anybody able to -execute- a generated Ajax.ActionLink when a user presses a key on the keyboard? (This is needed for accessibility) NOTE: I'm using ASP.NET MVC + Microsoft Js libraries (...Ajax.js / ...MvcAjax.js) + jQuery Javascript to capture keypress (IE + Firefox) $(document).keypress(function(event) { if(event.keyCode == 2...

Key Shortcuts in Web Application

I'm thinking about creating some keyboard shortcuts to my web application. But, most of the important shortcuts are already attached to the browser itself (like F1, F2, Fn; Ctrl+N; Ctrl+P, Alt+P, Alt+A, etc...) I've notice that the browsers don't use any Shift+Key combination. But, Shift+Key are already reserved to type uppercase lette...

Visual studio commands don't work. ctrl + f5 doesn't run my application

I used to be able to build and run my console applications by hitting ctrl + f5 in visual studio. This no longer works. I looked everywhere. Does anyone know how to re-enable this command? ...

How can I redefine a built in keyboard shortcut's behavior?

I am attempting to re-implement the Copy behavior for a QTextEdit object. The custom context menu I create works as expected when the 'Copy' button is clicked, but Ctrl+C isn't being handled correctly. Since the context menu doesn't have any issues, I'll omit that portion of the code. // Create a text edit box for text editing QTextEdit...

Which keyCodes kan I safely use to make my website accessible?

Hi, update: Got a beautiful app with exclusive shortcuts for every view, all javascript. I'm gonna look into Fogbugz, i like the hovering shortcut-codes, thanks for the reference. i want to make my site accessible and more usable for visitors. Which keyCodes can I safely use to handle certain javascript actions? With safely I mean: ...

Visual Studio: Cycling through breakpoints

Is there a shortcut to cycle through my breakpoints? I often lose track of the breakpoints when debugging a project. When I finish working with one bug, I have to reset my breakpoints for a new bug that I am about to solve. It would be handy to have a keystroke that would allow me to cycle through the breakpoints and disable ones I don't...