Skip to content

Instantly share code, notes, and snippets.

@groovecoder
Created April 28, 2011 19:40
Show Gist options
  • Save groovecoder/947150 to your computer and use it in GitHub Desktop.
Save groovecoder/947150 to your computer and use it in GitHub Desktop.
vim command to remove the 3-byte unicode character under the cursor from the whole file
exec '%s/'.getline('.')[col('.')-1].getline('.')[col('.')].getline('.')[col('.')+1].'//g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment