give modes proper compile commands and keybindings