keyboard-shortcuts

List of globally available shortcuts on a Windows system including 3rd party

Is there a way to get a list of globally available shortcuts on a Windows system, including 3rd party software? Random examples: WndHop - winkey+enter to move a window between monitors Dexpot - ctrl+spacebar to open task switcher Launchy - alt+spacebar My goal is to track down shortcut conflicts. Most of the above software can be ...

Bash's equivalent of Tcsh's ESC-p to jump to command starting with what you typed so far.

I recently made the insanely long overdue switch from tcsh to bash. The only thing I miss is tcsh's ESC-p feature: Start typing a command and then hit ESC-p (I actually found the equivalent ctrl-[p easier to type) and it jumps to the most recent command in your history that starts with what you've typed so far. Perhaps the best answer i...

How do I run some simple C# code for a given keypress?

I have a button on a XAML form that calls the btnName_Click() code in the backing cs file. I also want to assign a keyboard shortcut to run that same code. Basically CTRL<- or something similar. This needs to work regardless of the control I'm currently in (there's a TextBox for example that I want to ensure doesn't capture the event i...

Re-map Ctrl+S to File.Save in Visual Studio 2010

I was messing around with the keyboard shortcuts the other day, and by mistake saved a setting that overrides the default behavior for Ctrl+s - I soon found out this wasn't what I wanted (obviously), but now I can't find how to reset it. I have looked in Tools->Options...->Keyboard for "File.Save" and "File.Save[whatever]", but neither ...

How to set Emacs gdb so that it shows recent command on arrow-up?

How can I set Emacs gdb so that it shows the most recent command when I press arrow-up? In the Emacs gdb it will just go one line up in the buffer. I know you can always just search backwards in the buffer and select a recent command there, but getting the command directly with arrow-up would be more convenient. ...

How to create keybindings for a custom minor mode in Emacs

Question: How do I create custom keybindings for minor modes? Something like this. Here is what I have so far. I'm trying to get just one custom keybinding to work: (define-minor-mode num-mode "Toggle the Num pad keys. With no argument, this command toggles the mode. Non-null prefix argument turns on the mode. Nu...

emacs keystroke representation confusion

I usually define new keybindings in emacs using "C-x (" --> (command kmacro-start-macro) "C-x )" --> (kmacro-end-macro) (name-last-kbd-macro) (insert-kbd-macro) But the code it generates looks different than the code I read and modify in various major / minor modes and other emacs utilities. I recently came across this blog post that c...

How can I bind a specific key to different launch configurations in Eclipse?

I have several launch configurations for the code I work on. One configuration (#1) means "run the unit tests for the file in the frontmost editor (i.e. selected resource)". I would really like to be able to always make this be bound to a key. Another configuration (#2) means "run the server that I am working on (in the frontmost proj...

command to write symbol as text (Resharper? VS2010?)

I was watching a screencast of someone using Resharper (on VS 2010 or 2008, not sure) where they were able to fill in a test name with a string literal: public class FooTest { public void "runs backgrounnd process until complete" and then some command transformed it to public class FooTest { public void runs_backgrounnd_proce...

In Eclipse, How to sort methods by class during auto-complete?

In Eclipse, you can press period after an object to see its methods and the methods it inherited from its super-classes. Is there a way, (keyboard shortcut during auto-complete or otherwise) that allows you to organize the methods by class, (this, super, super's super)? This would help find methods specific to this subclass much faster. ...

query-replace for macros in emacs?

I use the builtin f3/f4 bindings in emacs a lot to record and repeat macros, and find it to be a very powerful and useful feature, especially when combined with search. However, I noticed recently that whenever I do a query-replace (M-S-5 by default) that recording my macro stops! Is there a way to prevent this? I know that query-replace...

Possible to simulate a keyboard shortcut being pressed by clicking on link using JavaScript?

Hi, I'm creating a touch application in the "Itunes LP" format which uses html, css and javascript within Itunes to create a "digital LP". The application will have several LP's to explore through a touchscreen. In fullscreen mode (within Itunes and the LP) you can press the "esc key" to exit the LP and enter "coverflow view" where yo...

keyboard shortcut for viewing/applying available refactorings

I just installed CodeRush Express and was wondering is there any keyboard shortcut for viewing/applying available refactorings. Currently I have to click on the small underline/underscore to get the available refactorings. ...

I've broken debugging in Visual Studio. I think I pressed a wrong key.

I don't know what I've done. Visual Studio used to stop when it hit an exception and now it just continues and doesn't take me to the offending code. Does anyone know what I've pressed to turn it off? And how to turn it back on? Thanks. ...

Preventing redefining existing buffer mapping

I want to prevent *noremap command from remapping an existing sequence, but only if this sequence is local to buffer: noremap a b " Will fail, must succeed noremap <buffer> <unique> a c noremap <buffer> a b " Will fail, OK noremap <unique> <buffer> a c noremap a b noremap <buffer> a c " Will fail, OK noremap <unique> <buffer> a d ...

How do I get my Eclipse shortcuts working again in Helios?

Since upgrading to Helios, some of my main shortcuts have stopped working; I use Control+Option+C for Subversion commit, but since the upgrade, hitting this combination in the navigator view behaves the same as just hitting C (moves to the next element that starts with C). I've tried a few variations, but either get the same behaviour, ...

How to bind key to another key in ubuntu?

Hey guys, I would like to map my "WASD" to the arrows. I don't like moving my hands around. I already fixed it for my editor by calling W for arrowUp. But, how can I bind it for the entire system? When I call W, I want it to call the arrow UP. I can't bind those keys one software at the time. Any ideas? Thanks. -hbt ...

xmodmap: how to map Alt_L+w to arrowUp

Hi, I've been playing with this for hours and I can't figure it out. I would like to map the WASD to the arrows but only when pressing ALT_L + (wasd). I used xmodmap Here is what I have so far. keycode 25 = w W KP_Up ! also tried Up.... clear mod1 add mod1 = Alt_L Meta_L The only time I managed to make it work is with the Shift_L...

How to tab between fields in Xcode's Data Model editor

I'm creating a Core Data model in Xcode. Once I've created a new entity, I found that I can add attributes with a key binding (apparently defaults to CMD+CTRL+A). Once I create that new attribute, the focus is on the name -- well and good. But the next thing is to select from among the "Optional/Transient/Indexed" checkboxes, and I can'...

Which keyboard mappings are still available?

I'm recording some macro like: collapsing all outlining, locating opened file in solution explorer, opening the pending changes pane... But I'm having difficulty in choosing the keyboard mapping for my macros. It seems like any mapping I choose are reserved by Visual Studio IDE default setting. What mappings are you using? [Edit] I fo...