Is it possible to edit a macOS alias with vim?
macOS aliases are just normal files. macOS knows when an alias is being accessed and passes the right file along to the app. Since aliases are just normal files, other tools just open the alias file itself rather than reading the contents of the file and finding where it points to.

If you actually want a link to another file, you can create a symbolic link instead of using aliases:


How can I create a symbolic link in Terminal?