Skip to content

Instantly share code, notes, and snippets.

@zoer
zoer / vimrc
Created September 3, 2017 21:02 — forked from jonmorehouse/vimrc
UUID generator for vim. Inputs a uuid to copy buffer
fu! GenerateUUID()
python << EOF
import uuid
import vim
# output a uuid to the vim variable for insertion below
vim.command("let generatedUUID = \"%s\"" % str(uuid.uuid4()))
EOF