Do some cleaning using vim-vimlint

Mostly turning global variables into script variables