Skip to content

Instantly share code, notes, and snippets.

@riceissa
Created April 30, 2014 08:26
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 riceissa/97fe7684204b8e204129 to your computer and use it in GitHub Desktop.
Save riceissa/97fe7684204b8e204129 to your computer and use it in GitHub Desktop.
snippet hash "insert sha1 hash of the current file"
`!v strpart(system("sha1sum ".expand("%")), 0, 40)`
endsnippet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment