kotlin-interactive-shell icon indicating copy to clipboard operation
kotlin-interactive-shell copied to clipboard

Document pattern for prompt

Open IRus opened this issue 4 years ago • 1 comments

:prompt [pattern] What is syntax for variables in prompt?

IRus avatar Apr 01 '21 10:04 IRus

I'm a bit late but I hope it could still help.

You can retrieve the help of any plugin by typing :h [plugin]. So to get help for the prompt command, you'll need to type :h prompt.

Here's the output:

The command customizes prompt.
Format can contain following specials:
%d      current time
%e      evaluation time
%h      host name
%l      line number
%m      maximum memory
%t      total memory
%u      user name

The default value (to this date) is [%l].

evowizz avatar May 26 '21 15:05 evowizz