From the help file for showcmd:

Show (partial) command in the last line of the screen

Is it possible to have the commands displayed on the first line instead? I can't find anything in the help or on the web on this subject.

1 Answer 1


Since Vim 9.0.1061 (Dec 2022) you can use showcmdloc=tabline to display the showcmd in the tabline (assuming that is what's intended with "first line"). You can also use showcmd=statusline, or use %S in the 'statusline' or 'tabline' settings.

Neovim seems to have ported this patch, but it's not in any release at the time of writing. Presumably it will be in the upcoming 0.9 release.

For older versions you're out of luck, as it's all hard-coded.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.