3

I don't understand the output of :ls (note no exclamation point) in VIM Adventures. Here's what it says for me:

1   %   ground

Anyone know what that means?

2 Answers 2

5

According to the Vim Wiki:

To list all buffers use the :ls command. Each buffer is assigned a number that is displayed in the first column.

The second column describes the state of the buffer. The different states are explained at :help :ls. The third column is the file name associated with the buffer.

So the first column is just a number for what buffer it is. Looking at the :help :ls page, % means the buffer is the current window. Lastly, ground simply means the name of the file that is associated with the buffer.

1

Starting with level 11, you have to be able to switch between the buffers. One is named "ground", which is the only one you can see (with the :ls command) before level 11.

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.