keyboard-shortcuts

How do i select individual words of a camelized word in IntelliJ IDEA

What is the shortcut in IntelliJ IDEA to move across or select individual words of a camelized word? Lets say i have aLongMultiWordVariableName, I want to be able to move the cursor to each word for editing or select parts of the variable. Eclipse has a shortcut to do this Ctrl + Left/Right for move and Ctrl + Shift + Left/Right for sel...

Read keyboard characters to determine shortcuts

I'm working on a document application and part of this application I've to add support to read the keyboard pressed events and replace the pre-defined characters set if that keyboard entry is match with the pre-defind short form/word.The actual application has implemented in C++. Please provide me your thoughts on how to implement this....

Making Mac shortcuts (e.g. Cmd-C) work on linux

Is there a way to map Cmd-C to Copy in linux? (instead of Ctrl-C) Would be nice if I could also have the emacs style ones, like Ctrl-B to move left by one character. ...

What is the difference between a keyboard accelerator and a shortcut key?

What is the difference between a keyboard accelerator and a shortcut key? ...

Can I use SPACE as mapleader in VIM?

Hello, From http://items.sjbach.com/319/configuring-vim-right I got that you were supposed to be able to use SPACE as the mapleader in vim. I've tried but it does not seem to work. Anyone who have made it work? Tried: let mapleader = <space> Thanks, -Martin ...

Can I assign keyboard shortcut to the Microsoft Intellitype keyboard?

Hi, Anyone know if I can assign a keyboard shortcut such as "CTRL-F4" (for closing the current tab in IE/Firefix etc) to the Microsoft Keyboard favourite keys 1-5. I have Microsoft Keyboard software installed and I can only browse to applications I want to run and cant seem to see anywhere else where I can assign shortcuts. Thanks ...

Is there anyway to modify the keyboard shortcuts in eclipse?

Title more or less says it all. Specifically, I've become increasingly annoyed that in order to run an ant script I have to use alt-shift-x, q. But I think If I had this power I would many things I would change the shortcuts for/add shortcuts for things that don't currently have them. ...

How to read or capture Ctrl+some key or Alt+some key in C ?

For example I want to do some thing when some combination of Ctrl key with any other key is pressed (or it may be Alt key).Then from the standard input how to read that key combination in C program as an input. I tried with simple getchar() to know the ascii values of these combinations. But it was some 1 to 25 and some other values for...

XCode: Delete line hot-key

I'm looking for a way to map some hot-keys to "delete the line that my cursor is on" in Xcode. I found "delete to end of line" and "delete to beginning of line" in the text key bindings, but I am missing how to completely delete the line no matter what I have selected. TextMate has this functionality mapped to Ctrl+Shift+D and I'd like t...

Strategies for localising keyboard shortcuts

I'm currently involved in a heavily localised WPF application and we've had a bug raised about keyboard shortcuts on menus in non-English languages. The bug referred to modifer key names (Shift, Ctrl, etc.) not being translated, which is easy enough to fix. However, this got me thinking about the shortcut keys themselves, which are oft...

Is there a keyboard shortcut in Eclipse to fold the current method/block?

Hey, question says it all. I have folding turned on in Eclipse (v3.4), and rather than having to click the little +/- in the page gutter, I'm wondering if there's a keyboard shortcut to just "fold the current method". A quick look at the menus and what-not in eclipse doesn't show a menu item for it, so maybe you just can't do it. Anyon...

Commonly used keyboard shortcuts in web apps

I'm setting up keyboard shortcuts for a web app, and I'm wondering: What are the most commonly used keyboard shortcuts (in web applications)? For example, Google's gmail and reader uses j / k : previous/next o / Enter: open/expand which seems to have stuck, but they also use p/n: previous / next message ...which to me see...

Netbeans - Executing files in different projects with [SHIFT]+[F6]

In Netbeans you can run a file by pressing Shift+F6 (on Windows) So I have three projects open at the moment. What I want to do is jump between the three projects and compare the results of executing a program in each of these three panes. Netbeans seems to have a problem with this. It doesn't seem to be able to recognize that I want ...

Safe keyboard shortcut for activating code completion style functionality in Mac OS X browsers

I'm building some code completion style text expansion functionality for text areas and inputs in a web application. I'm trying to work out a safe keyboard shortcut for invoking the completion proposals for browsers running on Mac OS X. I've eliminated some potential candidates: Command+Space - activates the Spotlight search field Con...

Does anyone know how to map Microsoft's Instant Viewer mouse function to a keyboard?

After reading Jeff's review of Microsoft's Natural Ergonomic Keyboard 4000. I decided to get one. It comes with this really nice Instant Viewer feature that it assigns to the middle button of your mouse. Not wanting to lose my middle button "open in new tab" function. I wanted to assign it to the keyboard. I'v looked at task manager when...

How do you get by without a Mouse?

I've been slowly using my mouse less and less over the past few years. As a developer who prefers the command line over IDE bloat: the less I move from my keyboard, the more productive I tend to be. So, a few days ago, I decided to do an experiment and unplug my mouse for the entire day. I definitely could have prepared myself bette...

keyboard shortcuts broken for a remote Xwindows program

There is a remote machine, on which I login with ssh. On that machine, we have a Xwindows GUI program, namely nedit. All the keyboards shortcuts like CTRL-O or ALT-F for that program are broken (whereas other programs work just fine). Now the weird thing is that for another user these shurtcuts work! He has the same shell (bash) and th...

Block commenting in Ruby

Does Ruby have block comments? If not, is there an efficient way of inserting # in front of a block of highlighted code in TextMate? ...

How do I get AccessKey or AcceleratorKey to work in Silverlight?

I have some buttons in my Silverlight 2 app that I want the user to access from the keyboard. If I understand correctly, I should be able to use AutomationProperties.AccessKey. For example: <Button Content="Close" Name="btnClose" AutomationProperties.AccessKey="CTRL+Q" HorizontalAlignment="Left" /> But I can't get this to work? What...

"Right Click" keyboard short cut for Visual Studio?

Argggg!, I'm trying to force myself to use as little mouse as possible and I can't find the answer to this simple short-cut anywhere! Here the the steps: Open up Visual Studio. Open any C# file (or any code file I believe) Point your mouse anywhere on the window/file. Right Click Is there a shortcut key for this so I don't have to m...