default_bindings_cheatsheet.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 | #define CHEATSHEET_TXT_FILE "{{ path to cheatsheet}}\\default_bindings_cheatsheet.txt" CUSTOM_COMMAND_SIG(open_default_keybindings_cheatsheet) CUSTOM_DOC("Open cheatsheet.") { change_active_panel(app); View_ID view = get_active_view(app, Access_ReadVisible); Buffer_ID buffer = view_get_buffer(app, view, Access_ReadVisible); if(buffer_exists(app, buffer)) { // TODO make the buffer read-only view_open_file(app, view, string_u8_litexpr(CHEATSHEET_TXT_FILE), false); } } |
I've also generated a key combination map that should have every possible key combination listed for a normal us layout style keyboard. For those of us that want to keep a cheat sheet with our own keybindings.
key_combination_map.txt