Add margin and space detector for vim.