Call the function whitespace#strip_trailing()
to strip trailing whitespace.
e.g. nnoremap <leader><space> :call whitespace#strip_trailing()<CR>
Cursor position and prev search will be maintained.
Call the function whitespace#strip_trailing()
to strip trailing whitespace.
e.g. nnoremap <leader><space> :call whitespace#strip_trailing()<CR>
Cursor position and prev search will be maintained.