Skip to content

Instantly share code, notes, and snippets.

@sl5net
Last active December 26, 2015 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sl5net/7170280 to your computer and use it in GitHub Desktop.
Save sl5net/7170280 to your computer and use it in GitHub Desktop.
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