1
vote
2answers
118 views

What locale does VIM use for sorting and regular expressions?

Suppose I have a file with the following content: c C b B a A When I do :%sort, I get the following result: A B C a b c When I do :%!sort (note the '!'), I get a A b B c C I get the same ...
2
votes
2answers
4k views

How to use UTF-8 in vim on Mac OS X?

I want to edit UTF-8 documents with vim (7.2 installed via MacPorts, big feautre set, iconv support enabled, multi-byte support enabled) on Mac OS X 10.4 within terminal.app. Terminal.app is ...