1

Actually it may be offtopic, but I believe that vim users know the answer. Earlier, in the proccess of using linux through years, I had noticed that some config files have something like "vim comment" in the end.

Like:

# vim: ft-conf:

(It is from grub-legacy cfg file)

And much more commands in different config files. Is it related to vim? And if so, which way?

5

This is called a modeline. It is used to define file specific settings. For more info, see :h auto-setting and the following parts about modelines.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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