Academic Work Personal
|
Vim /
Identify current character
ProblemYou have some special, non-visible characters (like non-breakable spaces) that you want to remove. SolutionFirst, identify the character under the cursor. You can do it by pressing ga. In the status bar vim will tell you the ASCII code of the given character in decimal, hexa, and octal forms. Then, using the octal value, you can change and replace these characters: :%s/\%oOCT/NEW/gc Where This tip is from http://durgaprasad.wordpress.com/2007/09/25/find-replace-non-printable-characters-in-vim/ . |
![]() anime | bash | blogs | bsd | c/c++ | c64 | calc | comics | convert | cube | del.icio.us | digg | east | eBooks | egeszseg | elite | firefox | flash | fun | games | gimp | google | groovy | hardware | hit&run | howto | java | javascript | knife | lang | latex | liferay | linux | lovecraft | magyar | maths | movies | music | p2p | perl | pdf | photoshop | php | pmwiki | prog | python | radio | recept | rts | scala | scene | sci-fi | scripting | security | shell | space | súlyos | telephone | torrente | translate | ubuntu | vim | wallpapers | webutils | wikis | windows Blogs and Dev. * Ubuntu Incident Places Debrecen | France | Hungary | Montreal | Nancy Notes Hobby Projects * Jabba's Codes Quick Links [ edit ] |