Let the navigation bar to work correctly

1. Modify the navigation bar URL, so that it can properly navigate.
2. Modify .gitignore file, let it more user-friendly to Vim, MacOS users.