Skip to content

Instantly share code, notes, and snippets.

@levicole
Last active December 23, 2015 18:09
Show Gist options
  • Save levicole/6673188 to your computer and use it in GitHub Desktop.
Save levicole/6673188 to your computer and use it in GitHub Desktop.
set listchars=tab:>\ ,trail:-,extends:>,precedes:<,nbsp:+
set list " show trailing whiteshace and tabs
command! -bar -range=% Trim :<line1>,<line2>s/\s\+$//e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment