Skip to content

Instantly share code, notes, and snippets.

@dhwthompson
Created May 21, 2011 15:22
Show Gist options
  • Save dhwthompson/984602 to your computer and use it in GitHub Desktop.
Save dhwthompson/984602 to your computer and use it in GitHub Desktop.
A snippet of Vim code to sort the current contiguous line block: useful for Python imports
@dhwthompson
Copy link
Author

Unfortunately doesn’t work on the first block of a file: my Vim-fu isn’t yet sufficient to work out a better way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment