Changing default editor

  1. Open Registry Editor (with admin UAC confirmation.)
  2. Add key to HKEY_CLASSES_ROOT\AutoHotkeyScript\Shell\Edit\Command
  3. Change (Default) value to the path to the new editor executable file and %1 parameter (e.g. "C:\Program Files\Vim\vim71\gvim.exe" "%1")