Use Notepad++ and add this line into the keyboard Lua file which can be found here (Users/Saved Games/DCS/Config/Input/F-18C/keyboard
{combos = {{key = "G", reformers = {"LAlt", }}, }, down = iCommandPlaneHook, name = "Tail Hook", category = "Systems"},