Skip to content

Instantly share code, notes, and snippets.

@laixintao
Created February 10, 2023 10:15
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 laixintao/905d35870c733c43d16b9d0c09c27242 to your computer and use it in GitHub Desktop.
Save laixintao/905d35870c733c43d16b9d0c09c27242 to your computer and use it in GitHub Desktop.
Run this command to use v.xbin.io
vim -i NONE \
-c 'set nomore' +'redir! > /dev/stdout' \
+'silent! echo "sK7gstart"' \
+'silent! verbose map' \
+'silent! verbose map!' \
+'silent! echo "aYx9end"' \
+'redir END' \
+'qall' | \
curl -X POST --data-binary @- http://127.0.0.1:5005/n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment