I've setup my 4coder to be modal, similar to vim. When starting a fresh instance of 4coder, I'd like to be in normal mode instead of insert mode. The custom command below is what I use to switch into normal mode while I'm editing.
| uint32_t access = AccessAll;
View_Summary view = get_active_view(app, access);
Buffer_Summary buffer = get_buffer(app, view.buffer_id, access);
switch_keymap(app, normal_map);
|
I assumed I could simply call this command within the my_start HOOK, but it doesn't work. Any pointers on how to switch keymaps on startup?