Refactored code into autoload/tablemode/table.vim