Is there a way to display current mode in statusline? I have tried vim methods but I get errors on reloading the configuration
Something like mode() in Vim? There is no such function at the moment.
mode()