In vim mode, change the cursor shape depending on the mode. This is only applicable if `enable_terminal_cursor` is set to true and there is only one cursor in the editor.