back

keybindings

hawk does not come with many keybindings.

other than vim bindings in the editor, the only keybinding that hawk comes with is cmd+e which toggles the code tab.


however, if you're a power user, you can overwrite the contents of /~/system/web/scripts/keyboard

to do this, copy that file to /~/config/web/scripts/keyboard and customize the javascript logic however you'd like.

this file is meant only for global keybindings.

if you're making a hawk file and you want keybindings for just that page, or just on that template, you'd add the keybinding javascript there.