2009年12月23日 星期三

Vim - Trim space

To trim space on current line or multiline:

I like command name in lower case so i added the 'cabbr'.

Basically you can select a visual block and type ":TrimSpace" , then the tailing spaces will be trimmed.