Skip to content

Instantly share code, notes, and snippets.

@do3cc
Created June 18, 2013 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save do3cc/5805562 to your computer and use it in GitHub Desktop.
Save do3cc/5805562 to your computer and use it in GitHub Desktop.
Ordering imports or other things in vim can be done with !sort If you have some proper locales set, sort always sorts case insensitive and there is no flag to tell him to stop that. You can, however, run sort with a different locale. Doing so from vim is a bit much to type though, therefor, add the alias below
# Works in bash AND zsh
alias sort="LC_ALL=C sort"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment