Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #IfWinActive Microsoft Visual Studio ; Hotkeys for use in VS.
- {
- ~^+F:: ; CTRL-SHIFT-F mapped to Find in Files in VS2015.
- ~^f:: ; Keep this if CTRL-F is also mapped to Find in Files.
- WinWaitActive ahk_class HwndWrapper, Find and Replace, 1
- If ErrorLevel <> 0
- Return
- SendInput !lCurrent Document!n ; Set "where" to "Current Document" then return focus to Find.
- Return
- }
- #IfWinActive ahk_class HwndWrapper, Find and Replace ; Hotkeys for use in Find dialog.
- {
- Enter::SendInput !f ; ENTER sends ALT-F, i.e. Find Next
- +Enter::SendInput !p!p ; SHIFT-ENTER sends ALT-P, i.e. Find Previous (had to be sent twice on mine to work properly)
- }
Advertisement
Add Comment
Please, Sign In to add comment