How to set identifier for specific path in vim?
怪我咯
怪我咯 2017-05-16 16:42:26
0
2
698

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

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(2)
仅有的幸福

Use alias:

:ab path ~/your/path

Enter the path like this, and after the space, it will automatically change to the set long directory. Multiple aliases can be set and added to the configuration file so that they do not need to be set every time.

:h abbreviate
Peter_Zhu

Use the NERDTree plug-in and set Bookmark.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template