Skip to content

Instantly share code, notes, and snippets.

@riceissa
Created April 30, 2014 08:26
Show Gist options
  • 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