Require magit before defining util functions
Disable linum-mode and add goto-line-with-feedback fn