fix keyboard shortcuts for code view