-- Highlight trailing whitespace (darker red) and remove all with Ctrl+w vim.cmd 'highlight WhitespaceEOL ctermbg=red guibg=#ab0d0d' vim.cmd 'match WhitespaceEOL /\\s\\+\\%#\\@