Currently trying to understand my neovim setup better.

So, looked into what a few classical options are set to.

:set statusline



:help %tab was not very helpful.

So, could someone help me pick this apart? I found out %{%…%} is a lambda expression which gets re-evaluated as statusline expression.

v: would suggest we're entering visual mode, but that makes no sense in the context.

So, I feel completely noobish, here.

  • Try :help v:lua
    – D. Ben Knoble
    Apr 25 at 13:04
  • wait. We have a vim variable that's actually not a variable at all, but evaluated lua code? Uff. That sounds like a design decision! Apr 25 at 13:13


Your Answer

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

Browse other questions tagged or ask your own question.