Switching from static to relative numbering defaulted to hybrid mode. Fixed with norelativenumber and nonumber in the function. Also got rid of some white space