Pressing ctrl+Shift+P and typing vimrc allows editing a very-limited .vimrc-like configuration file for CodeMirror's ViM mode. See the relevant post on the Joplin forum.