1 CTRL-G and
:pwd return related but different results:
1 CTRL-G "~/dev/src/tiff.c" 170 lines --15%-- :pwd /home/user/src
CTRL-G returns the file, not the working directory, but interestingly enough uses the tilde (~) shortcut to the home directory, but
pwd does not give the tilde, but expands it out. Also,
CTRL-G surrounds the path in quotation marks, but
pwd does not.
What is the significance of these differences? For example, why would CTRL-G have quotation marks around it, but pwd not?