In vim, how can I find the next occurrence of the character under the cursor? I want something like * but for a single character instead of a word.
Example:
H|o|w are you?
goes to:
How are y|o|u?
The reason I want it is because there is a strange looking character (one that I don't even know how to type) all over my file and I want to remove them all quickly.
Best Answer
Also look at
ga (show character under cursor as ascii)
g8 (show character under cursor as utf8, including Unicode stuff, hex codes etc)
And most usefully:
8g8
Update
Use Tim Pope's
vim-characterize
plugin to get full UNICODE names and data: