Add logic to only update if links was successful

Only start sudo pacman system update command if the links web browser
exited without an error.
NOTE: this is possibly bloat
Prettify vimrc

Organize code into logical groups, make some things explicit, and remove
some redundant things.
The code should stay functionally the same.