Skip to content

Instantly share code, notes, and snippets.

@sl5net
Last active Dec 26, 2015
Embed
What would you like to do?
AutoHotkey-Script for navigate in PhpStorm 7.0
Switching beetween Editors and zooming text during presentations or so could be complicated.
If you used to do it like in notepad++ may this helps:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#SingleInstance force
; written by sl5.net
#IfWinActive,PhpStorm 7.0 ahk_class SunAwtFrame
^b::
Suspend,On
ControlSend,,^b^`,^`,, PhpStorm 7.0 ahk_class SunAwtFrame
Suspend,Off
return
enter::
tooltip,Ctrl + shift + enter = Complete Current Statement (Settings | Keymap)
Suspend,On
ControlSend,,{CtrlDown}+{enter}{CtrlUp}, PhpStorm 7.0 ahk_class SunAwtFrame
sleep,10
ControlSend,,{enter}, PhpStorm 7.0 ahk_class SunAwtFrame
Suspend,Off
return
^NumpadAdd::
tooltip,Ctrl & NumpadAdd
Suspend,On
send,^{WheelUp}
;~ ControlSend,,^{WheelUp},PhpStorm 7.0 ahk_class SunAwtFrame
Suspend,Off
return
^NumpadSub::
tooltip,Ctrl & NumpadAdd
Suspend,On
send,^{WheelDown}
;~ ControlSend,,^{WheelUp},PhpStorm 7.0 ahk_class SunAwtFrame
Suspend,Off
return
#IfWinActive,Rename ahk_class SunAwtDialog
up::
tooltip,esc
Suspend,On
ControlSend,,{esc},Rename ahk_class SunAwtDialog
Suspend,Off
return
Down::
tooltip,esc
Suspend,On
ControlSend,,{esc},Rename ahk_class SunAwtDialog
Suspend,Off
return
@sl5net
Copy link
Author

sl5net commented Nov 22, 2013

i have updated some ... if you interested pls write me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment