Remove trailing whitespace.
Make :L, :L2, etc., account for 'diff' and 'number'/'relativenumber'.