I would like to be able to map actions to key bindings when in insert mode. However using the code here just inserts the text :action EditorCompleteStatement
into the buffer.
inoremap <a-j> :action EditorCompleteStatement<CR>
Why is this not working and how can I change it to work?