|  |  | 
| EnderUNIX tipsMail to My Friend , Home Page[ Editor ] "Converting caps in VI" - Ülkü SAYILAN - (2004-06-19 17:20:57) [3288] Converting caps in VI To convert: THE CAT SAT ON THE MAT to The Cat Sat On The Mat in vim, add the following to .vimrc: map #1 :s/\([A-Z]\)\([A-Z][A-Z]*\)/\1\L\2/g It maps a suitable regular-expression based search and replace to the F1 function key. Mail to My Friend , Home Page |  |