23

Vim has :sort command, which sorts using case-sensitive by default. I would like to sort several lines using case-insensitive. I tried using :isort, however this command is not defined.

Edit: I have found the solution in :help sort, the command is :sort i.

0

1 Answer 1

34

:sort i - sorts case-insensitive.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.