Skip to content

Instantly share code, notes, and snippets.

@iamalbert
Created May 15, 2017 06:04
Show Gist options
  • Save iamalbert/296688caa23120f71d05a56e0e3fe49e to your computer and use it in GitHub Desktop.
Save iamalbert/296688caa23120f71d05a56e0e3fe49e to your computer and use it in GitHub Desktop.
vim commands
" convert \xHHHH into Unicode character.
:%s#\\x\([0-9a-f]\{4\}\)#\=nr2char(str2nr(submatch(1),16))#g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment