4 ms·
Sublime has the settings: `trim_trailing_white_space_on_save` and `ensure_newline_at_eof_on_save`, I found these very satisfactory. But there's almost certainl
by jrimbault 10y ago
Sublime has the settings: `trim_trailing_white_space_on_save` and `ensure_newline_at_eof_on_save`, I found these very satisfactory.
But there's almost certainly a ST extension for your particular taste.
- protomyth 10y agoI actually want it to trigger on each line when hitting return. It really helps with macros you can write when text munging. I didn't spend as much time as I would have liked looking at each editor but a command-key that deletes all ending whitspace on a line would also be acceptable.
- jrimbault 10y agoFor vim you can bind: `:%s/\s/+$//e` I usually have ST and vim open at the same time myself.