I am using VsVim and I would like to make the rest of the menus in visual studio to be navigated using j to go down and k to move up.
For example, when using the Go To All feature, it would be nice to be able to navigate the results using j and k instead of Down Arrow and Up Arrow
I am using autohotkey to bind alt + h/j/k/l to arrow keys.
There is script:
LAlt & h:: Send {Left}
LAlt & j:: Send {Down}
LAlt & k:: Send {Up}
LAlt & l:: Send {Right}
Related
I am currently using a new Mac notebook. I was used to Unix before and now I would like to change the keystrokes so it is more like Unix. For example, when I press Alt Gr + ? it gives me the \ on Unix. But on Mac, I have to press Alt + Ctrl + 7 to get the backslash \.
How can I permanently rebind the keys, so it has the same outcome like Unix/Linux ? I would love to change it in a simple way, if that's possible. Thank you
This is possible with Karabiner-Elements, for example.
You can also search if existing rebind configurations are available for download.
Anybody know if there's shortcut keys to run/view reports in BIRT Report Designer?
ALT R R then press Enter to run in the default web viewer. You could also use arrow keys to select your output format.
To see a list of other shortcuts type: CTRL+Shift+L.
Pressing Alt, R, R, then Enter will do it.
Here's an autohotkey snippet that will make F5 do the same:
#IfWinActive, ahk_exe eclipse.exe ;BIRT
;BIRT F5 to Run Web Viewer
F5::
Send {Alt}
Send r
Send r
Send {enter}
Return
#IfWinActive
I have a process I need to run which can only be run by shortcut keys which are CTRL+ALT+RIGHT SHIFT
To make it easier for users I would like to create a desktop shortcut to click on to run this shortcut.
The way I thought this could be done is by vbs script sendkey.
Am I right in my research to say that right shift key can not be specified?
I know there is ^% for CTRL and ALT and + for generic shift but that does not work for right shift.
Is there a way for me to do this?
I recommend that you use AutoHotkey.
It has a very robust, proven "sendkey" functionality, including the ability to send right shift.
Your script would simply be:
SendInput,^!{RSHIFT}
Furthermore, it comes with a utility that will compile the script into a .exe, which is what you'd want to use on the desktop.
I use my own open source software "sendkeys v0.0.1" for this. You can compile it as a C# console application in Visual Studio 2013.
Source: Sendkey v0.0.1
Then use it in a command window like this:
Sendkey CONTROL down
Sendkey MENU down
Sendkey RSHIFT down
Sendkey CONTROL up
Sendkey MENU up
Sendkey RSHIFT up
Or in vbscript using the .Exec() method.
(N.B. command window is Microsoft slang for 'terminal' or 'console')
With the Firefox web developer toolbar I can select "Miscellaneous → Clear private data → Cache". Is there a way to do the same with a keyboard shortcut?
Edit: I am also using vimperator to drive Firefox with the keyboard; just found out that it's possible using: :emenu Extra.Web Developer.Miscellaneous.Clear Private Data.Cache.
I think Ctrl+Shift+Delete takes out all private data, including the cache. Heres a link that'll tell you how to set up specific options.
You can also reload and clear cache for a certain page with
Cmd + Shift + R
on a mac, or
Ctrl + F5
on a windows/linux machine.
(these are additions to the plain reload shortcuts Cmd+R / F5)
I use the web developer add-on to totally disable my cache on my development machine. That way you never have to worry about clearing your cache.
In Firefox is
CTRL + SHIFT + R
Source
For Mac OSX it is
Command + Shift + Delete
for all browsers (except Safari)
I guess
Ctrl + Shift + Delete
is not what you want?
You can try this combination:
ctrl + F5
What I do is go to
Tools > Options > Privacy > Show Cookies
then just keep the Show Cookies window open.
It stays minimized while on your web page so you just have to hit
Maximize > Remove All cookies
I want to create a windows utility application, which can be called anytime from within any other application using a keyboard shortcut, e.g.:
• Win + T
• Ctrl + T
• Alt + T
• Ctrl + Alt + T
• Ctrl + Shift + T
What key combinations can I use and how to setup those in the windows registry?
(If the shortcut is used by an other application, it should of course not work.)
An option for doing that programatically when your application start is calling this Windows API:
RegisterHotKey(IntPtr hwnd, int id, int fsModifiers, int vk);
And to unregister call this API:
UnregisterHotKey(IntPtr hwnd, int id);
Both exist in user32 APIs
http://www.pinvoke.net/search.aspx?search=RegisterHotKey&namespace=[All]
If you need more advanced scenario to what the shell shortcut offer, you should start with reading Win32 Hooks and Hooks Overview.
More specifically, you need to add a WH_KEYBOARD hook using the SetWindowsHookEx function. You also need to unhook through UnhookWindowsHookEx when you are done.
There's an old article from Dino Esposito how to do Windows Hooks in .NET through some Win32 interop.
If your application (or a shortcut to it) is available on your desktop, you can right-click to get the context menu, select Properties, and enter the Shortcut Key there. Simply click in the Shortcut Key text field, and press the desired shortcut key.
I've assigned WIN + C to my calculator, and WIN + V to my volume control.
I'm afraid this isnt something you can do by simply setting values in the registry, it is as has been indicated in other answers necessary to call some windows API routines to achieve this.