How does vim set identifiers for specific paths?

  question, vim

Some paths are long but often used. How can I set identifiers for these paths for easy use?

Use alias:

:ab path ~/your/path

If you enter path, the space will automatically become the set long directory. You can set multiple aliases and add them to the configuration file so that you don’t have to set them every time.

:h abbreviate