Search notes:

Vim ex command: startinsert

When startinsert is used within vimscript: when the function ends, vim is then in insert mode.
vim does not have a startappend command. Instead, startinsert! (with an exclamation mark) can be used.

See also

Ex commands

Index