By default, showing hidden files in Finder is disabled. (e.g., file names start with ‘.’)
“.bash_profile” or “.vimrc” such configuration files are only available on terminal and some time it is tricky.
There is an workaround to enable the showing feature in Finder.
1. Open your terminal
2. just type the following
defaults write com.apple.finder AppleShowAllFiles YES
3. Relaunch your finder by choosing “relaunch”. This menu can be found from top left apple and select “Force Quit…” and choose “Finder”.
You will be able to see hidden files.